Documentation

LeanPool.GapCVP.Part08D

GapCVP proof, part 08, continuation 04 #

GapCVP reduction support.

Equations
  • One or more equations did not get rendered due to their size.
Instances For

    GapCVP reduction support.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      noncomputable def GapCVP.gapFactor400 (I : GapCVPInstance) :

      GapCVP reduction support.

      Equations
      Instances For
        noncomputable def GapCVP.gapYES400 (I : GapCVPInstance) :

        GapCVP reduction support.

        Equations
        Instances For
          noncomputable def GapCVP.gapNO400 (I : GapCVPInstance) :

          GapCVP reduction support.

          Equations
          Instances For

            GapCVP reduction support.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              @[reducible, inline]

              GapCVP reduction support.

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                structure GapCVP.Core.Literal (variableCount : ) :

                GapCVP reduction support.

                • variableIndex : Fin variableCount

                  GapCVP reduction support.

                • satisfyingValue : Bool

                  GapCVP reduction support.

                Instances For
                  def GapCVP.Core.instDecidableEqLiteral.decEq {variableCount✝ : } (x✝ x✝¹ : Literal variableCount✝) :
                  Decidable (x✝ = x✝¹)
                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For
                    structure GapCVP.Core.Clause (variableCount : ) :

                    GapCVP reduction support.

                    Instances For

                      GapCVP reduction support.

                      Instances For
                        noncomputable def GapCVP.Core.Clause.Satisfied {variableCount : } (clause : Clause variableCount) (assignment : Fin variableCountBool) :

                        GapCVP reduction support.

                        Equations
                        Instances For
                          noncomputable def GapCVP.Core.Formula.Satisfied (formula : Formula) (assignment : Fin formula.variableCountBool) :

                          GapCVP reduction support.

                          Equations
                          Instances For
                            noncomputable def GapCVP.Core.Formula.Satisfiable (formula : Formula) :

                            GapCVP reduction support.

                            Equations
                            Instances For
                              theorem GapCVP.Factor400FormulaBridge.formula_satisfied_iff_forall_mem (formula : Core.Formula) (assignment : Fin formula.variableCountBool) :
                              formula.Satisfied assignment = true clauseformula.clauses, clause.Satisfied assignment = true
                              theorem GapCVP.BinarySourceVariableCompaction.mem_formulaVariables_iff_exists_literal (formula : ThreeCNF) (name : ) :
                              name SourceMachineCert.formulaVariables formula clauseformula, ∃ (index : Fin 3), (clause index).1 = name

                              GapCVP reduction support.

                              Instances For
                                noncomputable def GapCVP.Core.EffectiveBinaryGaussian.System.Satisfies {m n : } (system : System m n) (assignment : Fin nZMod 2) :

                                GapCVP reduction support.

                                Equations
                                Instances For
                                  def GapCVP.Core.EffectiveBinaryGaussian.swapRows {m n : } (system : System m n) (left right : Fin m) :
                                  System m n

                                  GapCVP reduction support.

                                  Equations
                                  • One or more equations did not get rendered due to their size.
                                  Instances For
                                    theorem GapCVP.Core.EffectiveBinaryGaussian.swapRows_satisfies_iff {m n : } (system : System m n) (left right : Fin m) (assignment : Fin nZMod 2) :
                                    (swapRows system left right).Satisfies assignment = true system.Satisfies assignment = true
                                    def GapCVP.Core.EffectiveBinaryGaussian.addRow {m n : } (system : System m n) (source target : Fin m) :
                                    System m n

                                    GapCVP reduction support.

                                    Equations
                                    • One or more equations did not get rendered due to their size.
                                    Instances For
                                      theorem GapCVP.Core.EffectiveBinaryGaussian.addRow_satisfies_iff {m n : } (system : System m n) (source target : Fin m) (hne : source target) (assignment : Fin nZMod 2) :
                                      (addRow system source target).Satisfies assignment = true system.Satisfies assignment = true

                                      GapCVP reduction support.

                                      Instances For

                                        GapCVP reduction support.

                                        Equations
                                        Instances For
                                          theorem GapCVP.Core.EffectiveBinaryGaussian.RowOperation.satisfies_iff {m n : } (operation : RowOperation m) (system : System m n) (assignment : Fin nZMod 2) :
                                          (operation.apply system).Satisfies assignment = true system.Satisfies assignment = true

                                          GapCVP reduction support.

                                          • system : System m n

                                            GapCVP reduction support.

                                          • nextPivot :

                                            GapCVP reduction support.

                                          • pivots : List (Fin m × Fin n)

                                            GapCVP reduction support.

                                          • operations : List (RowOperation m)

                                            GapCVP reduction support.

                                          Instances For

                                            GapCVP reduction support.

                                            Equations
                                            Instances For
                                              def GapCVP.Core.EffectiveBinaryGaussian.applyOperation {m n : } (state : State m n) (operation : RowOperation m) :
                                              State m n

                                              GapCVP reduction support.

                                              Equations
                                              • One or more equations did not get rendered due to their size.
                                              Instances For
                                                def GapCVP.Core.EffectiveBinaryGaussian.findPivotOption {m n : } (state : State m n) (column : Fin n) :

                                                GapCVP reduction support.

                                                Equations
                                                Instances For
                                                  theorem GapCVP.Core.EffectiveBinaryGaussian.findPivotOption_some {m n : } (state : State m n) (column : Fin n) (row : Fin m) (h : findPivotOption state column = some row) :
                                                  state.nextPivot row state.system.check row column = 1
                                                  def GapCVP.Core.EffectiveBinaryGaussian.clearTarget {m n : } (pivot : Fin m) (column : Fin n) (state : State m n) (target : Fin m) :
                                                  State m n

                                                  GapCVP reduction support.

                                                  Equations
                                                  • One or more equations did not get rendered due to their size.
                                                  Instances For
                                                    theorem GapCVP.Core.EffectiveBinaryGaussian.clearTarget_check_pivot {m n : } (pivot : Fin m) (column otherColumn : Fin n) (state : State m n) (target : Fin m) :
                                                    (clearTarget pivot column state target).system.check pivot otherColumn = state.system.check pivot otherColumn
                                                    theorem GapCVP.Core.EffectiveBinaryGaussian.clearTarget_rhs_pivot {m n : } (pivot : Fin m) (column : Fin n) (state : State m n) (target : Fin m) :
                                                    (clearTarget pivot column state target).system.rhs pivot = state.system.rhs pivot
                                                    def GapCVP.Core.EffectiveBinaryGaussian.clearTargets {m n : } (pivot : Fin m) (column : Fin n) (targets : List (Fin m)) (state : State m n) :
                                                    State m n

                                                    GapCVP reduction support.

                                                    Equations
                                                    Instances For
                                                      def GapCVP.Core.EffectiveBinaryGaussian.columnStep {m n : } (state : State m n) (column : Fin n) :
                                                      State m n

                                                      GapCVP reduction support.

                                                      Equations
                                                      • One or more equations did not get rendered due to their size.
                                                      Instances For
                                                        theorem GapCVP.Core.EffectiveBinaryGaussian.columnStep_pivot_column {m n : } (state : State m n) (column : Fin n) (hrow : state.nextPivot < m) (candidate : Fin m) (hfound : findPivotOption state column = some candidate) (row : Fin m) :
                                                        (columnStep state column).system.check row column = if row = state.nextPivot, hrow then 1 else 0
                                                        theorem GapCVP.Core.EffectiveBinaryGaussian.clearTargets_check_of_pivot_zero {m n : } (pivot : Fin m) (pivotColumn oldColumn : Fin n) (targets : List (Fin m)) (state : State m n) (hzero : state.system.check pivot oldColumn = 0) (row : Fin m) :
                                                        (clearTargets pivot pivotColumn targets state).system.check row oldColumn = state.system.check row oldColumn
                                                        def GapCVP.Core.EffectiveBinaryGaussian.runColumns {m n : } (columns : List (Fin n)) (state : State m n) :
                                                        State m n

                                                        GapCVP reduction support.

                                                        Equations
                                                        Instances For
                                                          theorem GapCVP.Core.EffectiveBinaryGaussian.eliminate_satisfies_iff {m n : } (system : System m n) (assignment : Fin nZMod 2) :
                                                          (eliminate system).system.Satisfies assignment = true system.Satisfies assignment = true
                                                          @[reducible, inline]

                                                          GapCVP reduction support.

                                                          Equations
                                                          Instances For

                                                            GapCVP reduction support.

                                                            Equations
                                                            Instances For

                                                              GapCVP reduction support.

                                                              Equations
                                                              Instances For

                                                                GapCVP reduction support.

                                                                Equations
                                                                Instances For
                                                                  @[simp]

                                                                  GapCVP reduction support.

                                                                  Equations
                                                                  Instances For

                                                                    GapCVP reduction support.

                                                                    Equations
                                                                    • One or more equations did not get rendered due to their size.
                                                                    Instances For

                                                                      GapCVP reduction support.

                                                                      Equations
                                                                      Instances For

                                                                        GapCVP reduction support.

                                                                        Equations
                                                                        • One or more equations did not get rendered due to their size.
                                                                        Instances For
                                                                          theorem GapCVP.Core.EffectiveBinaryField.noProperFactors_eq_true_iff {e : } (lower : Word e) :
                                                                          noProperFactors e lower = true ∀ (left right : Word e), multiplyWords left right monicWord lower
                                                                          def GapCVP.Core.EffectiveBinaryField.xorAt {d : } (word : Word d) (index : Fin d) (bit : Bool) :

                                                                          GapCVP reduction support.

                                                                          Equations
                                                                          Instances For
                                                                            theorem GapCVP.Core.EffectiveBinaryField.wordPolynomial_xorAt {d : } (word : Word d) (index : Fin d) (bit : Bool) :
                                                                            wordPolynomial (xorAt word index bit) = wordPolynomial word + (Polynomial.monomial index) (bitValue bit)
                                                                            def GapCVP.Core.EffectiveBinaryField.shiftXor {e : } (lower : Word e) (degree : ) (word : Word (2 * e)) :
                                                                            Word (2 * e)

                                                                            GapCVP reduction support.

                                                                            Equations
                                                                            • One or more equations did not get rendered due to their size.
                                                                            Instances For
                                                                              def GapCVP.Core.EffectiveBinaryField.reduceAt {e : } (lower : Word e) (degree : ) (word : Word (2 * e)) :
                                                                              Word (2 * e)

                                                                              GapCVP reduction support.

                                                                              Equations
                                                                              • One or more equations did not get rendered due to their size.
                                                                              Instances For
                                                                                def GapCVP.Core.EffectiveBinaryField.reduceProduct {e : } (lower : Word e) (word : Word (2 * e)) :
                                                                                Word (2 * e)

                                                                                GapCVP reduction support.

                                                                                Equations
                                                                                • One or more equations did not get rendered due to their size.
                                                                                Instances For
                                                                                  def GapCVP.Core.EffectiveBinaryField.multiplyMod {e : } (lower left right : Word e) :

                                                                                  GapCVP reduction support.

                                                                                  Equations
                                                                                  Instances For
                                                                                    def GapCVP.BinaryFieldBasis.indexedWord (degree : ) (index : Fin (2 ^ degree)) :

                                                                                    GapCVP reduction support.

                                                                                    Equations
                                                                                    Instances For
                                                                                      def GapCVP.BinaryFieldBasis.boundedWordIndex {degree count : } (hcount : count 2 ^ degree) :
                                                                                      Fin count Fin (2 ^ degree)

                                                                                      GapCVP reduction support.

                                                                                      Equations
                                                                                      Instances For
                                                                                        def GapCVP.BinaryFieldBasis.evaluationWordIndex {degree count : } (hcount : count 2 ^ degree) :
                                                                                        Fin (2 ^ degree - count) Fin (2 ^ degree)

                                                                                        GapCVP reduction support.

                                                                                        Equations
                                                                                        Instances For
                                                                                          @[instance_reducible, instance 100]
                                                                                          noncomputable instance GapCVP.BinaryFieldBasis.factor400GaloisFieldFintype (degree : ) :
                                                                                          Fintype (GaloisField 2 degree)
                                                                                          Equations
                                                                                          noncomputable def GapCVP.BinaryFieldBasis.effectiveFieldBasis (degree : ) (hdegree : 0 < degree) :
                                                                                          Module.Basis (Fin degree) (ZMod 2) (GaloisField 2 degree)

                                                                                          GapCVP reduction support.

                                                                                          Equations
                                                                                          • One or more equations did not get rendered due to their size.
                                                                                          Instances For
                                                                                            noncomputable def GapCVP.BinaryFieldBasis.indexedFieldEquiv (degree : ) (hdegree : 0 < degree) :
                                                                                            Fin (2 ^ degree) GaloisField 2 degree

                                                                                            GapCVP reduction support.

                                                                                            Equations
                                                                                            Instances For
                                                                                              noncomputable def GapCVP.BinaryFieldBasis.effectiveAnchor (degree : ) (hdegree : 0 < degree) {count : } (hcount : count 2 ^ degree) :
                                                                                              Fin count GaloisField 2 degree

                                                                                              GapCVP reduction support.

                                                                                              Equations
                                                                                              • One or more equations did not get rendered due to their size.
                                                                                              Instances For
                                                                                                noncomputable def GapCVP.BinaryFieldBasis.effectiveEvaluationEmbedding (degree : ) (hdegree : 0 < degree) {count : } (hcount : count 2 ^ degree) :
                                                                                                Fin (2 ^ degree - count) GaloisField 2 degree

                                                                                                GapCVP reduction support.

                                                                                                Equations
                                                                                                • One or more equations did not get rendered due to their size.
                                                                                                Instances For
                                                                                                  theorem GapCVP.BinaryFieldBasis.effectiveEvaluationEmbedding_ne_anchor (degree : ) (hdegree : 0 < degree) {count : } (hcount : count 2 ^ degree) (point : Fin (2 ^ degree - count)) (anchor : Fin count) :
                                                                                                  (effectiveEvaluationEmbedding degree hdegree hcount) point (effectiveAnchor degree hdegree hcount) anchor
                                                                                                  noncomputable def GapCVP.Core.binaryFieldVectorEquiv {K : Type u_1} [Field K] [Algebra (ZMod 2) K] {e : } (basis : Module.Basis (Fin e) (ZMod 2) K) (dimension : ) :
                                                                                                  (Fin dimensionK) ≃ₗ[ZMod 2] Fin dimension × Fin eZMod 2

                                                                                                  GapCVP reduction support.

                                                                                                  Equations
                                                                                                  • One or more equations did not get rendered due to their size.
                                                                                                  Instances For
                                                                                                    def GapCVP.Core.binaryFieldBitEmbedding {K : Type u_1} [Field K] [Algebra (ZMod 2) K] (dimension : ) :
                                                                                                    (Fin dimensionZMod 2) →ₗ[ZMod 2] Fin dimensionK

                                                                                                    GapCVP reduction support.

                                                                                                    Equations
                                                                                                    Instances For
                                                                                                      noncomputable def GapCVP.Core.binaryFieldParityLinearMap {K : Type u_1} [Field K] [Algebra (ZMod 2) K] {e m n : } (basis : Module.Basis (Fin e) (ZMod 2) K) (checks : Matrix (Fin m) (Fin n) K) :
                                                                                                      (Fin nZMod 2) →ₗ[ZMod 2] Fin m × Fin eZMod 2

                                                                                                      GapCVP reduction support.

                                                                                                      Equations
                                                                                                      Instances For
                                                                                                        noncomputable def GapCVP.Core.binaryFieldParityMatrix {K : Type u_1} [Field K] [Algebra (ZMod 2) K] {e m n : } (basis : Module.Basis (Fin e) (ZMod 2) K) (checks : Matrix (Fin m) (Fin n) K) :
                                                                                                        Matrix (Fin m × Fin e) (Fin n) (ZMod 2)

                                                                                                        GapCVP reduction support.

                                                                                                        Equations
                                                                                                        Instances For
                                                                                                          def GapCVP.Core.binaryResidue {n : } (z : Fin n) :
                                                                                                          Fin nZMod 2

                                                                                                          GapCVP reduction support.

                                                                                                          Equations
                                                                                                          Instances For

                                                                                                            GapCVP reduction support.

                                                                                                            Instances For
                                                                                                              noncomputable def GapCVP.Core.BinaryAffineSystem.Solves (system : BinaryAffineSystem) (z : Fin system.dimension) :

                                                                                                              GapCVP reduction support.

                                                                                                              Equations
                                                                                                              Instances For
                                                                                                                noncomputable def GapCVP.Core.BinaryAffineSystem.InLattice (system : BinaryAffineSystem) (z : Fin system.dimension) :

                                                                                                                GapCVP reduction support.

                                                                                                                Equations
                                                                                                                Instances For
                                                                                                                  theorem GapCVP.Core.BinaryAffineSystem.solves_sub_iff_inLattice (system : BinaryAffineSystem) {u : Fin system.dimension} (hu : system.Solves u = true) (z : Fin system.dimension) :
                                                                                                                  system.Solves (u - z) = true system.InLattice z = true
                                                                                                                  @[reducible, inline]
                                                                                                                  abbrev GapCVP.Core.assembledBinaryRow {ι : Type u_1} (rowCounts : ι) (e : ) :
                                                                                                                  Type u_1

                                                                                                                  GapCVP reduction support.

                                                                                                                  Equations
                                                                                                                  Instances For
                                                                                                                    noncomputable def GapCVP.Core.assembledBinaryParityMatrix {ι : Type u_1} {K : Type u_2} [Field K] [Algebra (ZMod 2) K] {e n : } (basis : Module.Basis (Fin e) (ZMod 2) K) (rowCounts : ι) (checks : (family : ι) → Matrix (Fin (rowCounts family)) (Fin n) K) :
                                                                                                                    Matrix (assembledBinaryRow rowCounts e) (Fin n) (ZMod 2)

                                                                                                                    GapCVP reduction support.

                                                                                                                    Equations
                                                                                                                    Instances For
                                                                                                                      noncomputable def GapCVP.Core.assembledBinaryRightHandSide {ι : Type u_1} {K : Type u_2} [Field K] [Algebra (ZMod 2) K] {e : } (basis : Module.Basis (Fin e) (ZMod 2) K) (rowCounts : ι) (targets : (family : ι) → Fin (rowCounts family)K) :
                                                                                                                      assembledBinaryRow rowCounts eZMod 2

                                                                                                                      GapCVP reduction support.

                                                                                                                      Equations
                                                                                                                      Instances For
                                                                                                                        @[simp]
                                                                                                                        theorem GapCVP.Core.assembledBinaryParityMatrix_mulVec_apply {ι : Type u_1} {K : Type u_2} [Field K] [Algebra (ZMod 2) K] {e n : } (basis : Module.Basis (Fin e) (ZMod 2) K) (rowCounts : ι) (checks : (family : ι) → Matrix (Fin (rowCounts family)) (Fin n) K) (bits : Fin nZMod 2) (row : assembledBinaryRow rowCounts e) :
                                                                                                                        (assembledBinaryParityMatrix basis rowCounts checks).mulVec bits row = (binaryFieldParityMatrix basis (checks row.fst)).mulVec bits row.snd
                                                                                                                        theorem GapCVP.Core.assembledBinaryParityMatrix_mulVec_eq_iff {ι : Type u_1} {K : Type u_2} [Field K] [Algebra (ZMod 2) K] {e n : } (basis : Module.Basis (Fin e) (ZMod 2) K) (rowCounts : ι) (checks : (family : ι) → Matrix (Fin (rowCounts family)) (Fin n) K) (bits : Fin nZMod 2) (targets : (family : ι) → Fin (rowCounts family)K) :
                                                                                                                        (assembledBinaryParityMatrix basis rowCounts checks).mulVec bits = assembledBinaryRightHandSide basis rowCounts targets ∀ (family : ι), ((checks family).mulVec fun (position : Fin n) => (algebraMap (ZMod 2) K) (bits position)) = targets family
                                                                                                                        @[reducible, inline]
                                                                                                                        noncomputable abbrev GapCVP.Core.assembledBinaryAffineSystem {ι : Type u_1} {K : Type u_2} [Field K] [Algebra (ZMod 2) K] {e n : } [Fintype ι] (basis : Module.Basis (Fin e) (ZMod 2) K) (rowCounts : ι) (checks : (family : ι) → Matrix (Fin (rowCounts family)) (Fin n) K) (targets : (family : ι) → Fin (rowCounts family)K) :

                                                                                                                        GapCVP reduction support.

                                                                                                                        Equations
                                                                                                                        • One or more equations did not get rendered due to their size.
                                                                                                                        Instances For
                                                                                                                          theorem GapCVP.Core.assembledBinaryAffineSystem_solves_iff {ι : Type u_1} {K : Type u_2} [Field K] [Algebra (ZMod 2) K] {e n : } [Fintype ι] (basis : Module.Basis (Fin e) (ZMod 2) K) (rowCounts : ι) (checks : (family : ι) → Matrix (Fin (rowCounts family)) (Fin n) K) (targets : (family : ι) → Fin (rowCounts family)K) (z : Fin n) :
                                                                                                                          (assembledBinaryAffineSystem basis rowCounts checks targets).Solves z = true ∀ (family : ι), ((checks family).mulVec fun (position : Fin n) => (algebraMap (ZMod 2) K) (z position)) = targets family
                                                                                                                          theorem GapCVP.Core.source_moment_degree_le {N d : } (hd : d N) :
                                                                                                                          d * N ^ 30 N ^ 31
                                                                                                                          def GapCVP.Core.sourcePuncturedGrid {k : Type u_1} [Fintype k] [DecidableEq k] (variablePlaces : Finset k) :

                                                                                                                          GapCVP reduction support.

                                                                                                                          Equations
                                                                                                                          Instances For
                                                                                                                            theorem GapCVP.Core.source_moment_degree_lt_actual_grid {k : Type u_1} [Fintype k] [DecidableEq k] {N : } (variablePlaces : Finset k) (hN : 100 N) (hq : N ^ 200 Fintype.card k) (hplaces : variablePlaces.card N) :
                                                                                                                            N ^ 31 < (sourcePuncturedGrid variablePlaces).card
                                                                                                                            theorem GapCVP.Core.source_cleared_moment_degree_lt_half_field_size {N q : } (hN : 100 N) (hq : N ^ 200 q) :
                                                                                                                            2 * N ^ 39 < q / 2
                                                                                                                            theorem GapCVP.Core.source_clause_support_lt_moment_budget {N : } (hN : 100 N) :
                                                                                                                            9 * N ^ 4 < N ^ 30
                                                                                                                            theorem GapCVP.Core.source_valuation_index_lt_moment_budget {N h U : } (hN : 100 N) (hh : h N ^ 4) (hU : U 4 * N ^ 17) :
                                                                                                                            h * U + h < N ^ 30
                                                                                                                            theorem GapCVP.Core.source_cleared_moment_degree_le {N d h j : } (hd : d N) (hh : h N ^ 4) (hj : j N ^ 30) :
                                                                                                                            2 * d * h ^ 2 * j 2 * N ^ 39
                                                                                                                            @[irreducible]

                                                                                                                            GapCVP reduction support.

                                                                                                                            Equations
                                                                                                                            Instances For
                                                                                                                              @[reducible, inline]

                                                                                                                              GapCVP reduction support.

                                                                                                                              Equations
                                                                                                                              Instances For
                                                                                                                                theorem GapCVP.Core.hankel_det_eq_vandermonde_det_sq {R : Type u_1} [CommRing R] {n : } (v : Fin nR) :
                                                                                                                                (Matrix.of fun (i j : Fin n) => k : Fin n, v k ^ (i + j)).det = (Matrix.vandermonde v).det ^ 2
                                                                                                                                theorem GapCVP.Core.hankel_det_ne_zero_of_injective {R : Type u_1} [CommRing R] [IsDomain R] {n : } {v : Fin nR} (hv : Function.Injective v) :
                                                                                                                                (Matrix.of fun (i j : Fin n) => k : Fin n, v k ^ (i + j)).det 0
                                                                                                                                theorem GapCVP.Core.polynomial_eq_of_agree_on_points {K : Type u_1} [Field K] (points : Finset K) (f g : Polynomial K) (hdeg : max f.natDegree g.natDegree < points.card) (hagree : xpoints, Polynomial.eval x f = Polynomial.eval x g) :
                                                                                                                                f = g
                                                                                                                                noncomputable def GapCVP.Core.supportMoment {K : Type u_1} [Field K] (support : Finset K) (j : ) :
                                                                                                                                K

                                                                                                                                GapCVP reduction support.

                                                                                                                                Equations
                                                                                                                                Instances For

                                                                                                                                  GapCVP reduction support.

                                                                                                                                  Equations
                                                                                                                                  Instances For
                                                                                                                                    theorem GapCVP.Core.global_root_mem_subtype_of_moment_refinement {K : Type u_1} [Field K] [CharP K 2] [DecidableEq K] (global : Finset K) (subtypes : List (Finset K)) (hmoments : j < global.card + (paritySupport subtypes).card, supportMoment global j = (List.map (fun (s : Finset K) => supportMoment s j) subtypes).sum) {a : K} (ha : a global) :
                                                                                                                                    ssubtypes, a s
                                                                                                                                    theorem GapCVP.Core.scaled_shifted_supportMoment {K : Type u_1} [Field K] (support : Finset K) (β π : K) (j : ) ( : π 0) :
                                                                                                                                    π ^ j * wsupport, ((w - β) / π) ^ j = lFinset.range (j + 1), (j.choose l) * (-β) ^ (j - l) * supportMoment support l
                                                                                                                                    noncomputable def GapCVP.Core.shiftedMomentCombination {K : Type u_1} [Field K] (moments : Polynomial K) (β : K) (j : ) :

                                                                                                                                    GapCVP reduction support.

                                                                                                                                    Equations
                                                                                                                                    Instances For
                                                                                                                                      def GapCVP.Core.sourceSizeParameter (encodingLength : ) (formula : Formula) :

                                                                                                                                      GapCVP reduction support.

                                                                                                                                      Equations
                                                                                                                                      Instances For
                                                                                                                                        theorem GapCVP.Core.sourceSizeParameter_ge_one_hundred (encodingLength : ) (formula : Formula) :
                                                                                                                                        100 sourceSizeParameter encodingLength formula
                                                                                                                                        theorem GapCVP.Core.source_variableCount_le_size (encodingLength : ) (formula : Formula) :
                                                                                                                                        formula.variableCount sourceSizeParameter encodingLength formula
                                                                                                                                        theorem GapCVP.Core.source_clauseCount_le_size (encodingLength : ) (formula : Formula) :
                                                                                                                                        formula.clauses.length sourceSizeParameter encodingLength formula

                                                                                                                                        GapCVP reduction support.

                                                                                                                                        Equations
                                                                                                                                        Instances For
                                                                                                                                          @[reducible, inline]

                                                                                                                                          GapCVP reduction support.

                                                                                                                                          Equations
                                                                                                                                          Instances For
                                                                                                                                            @[reducible, inline]

                                                                                                                                            GapCVP reduction support.

                                                                                                                                            Equations
                                                                                                                                            Instances For
                                                                                                                                              noncomputable def GapCVP.Core.Clause.LocalSatisfied {m : } (C : Clause m) (assignment : C.LocalAssignment) :

                                                                                                                                              GapCVP reduction support.

                                                                                                                                              Equations
                                                                                                                                              Instances For
                                                                                                                                                @[reducible, inline]

                                                                                                                                                GapCVP reduction support.

                                                                                                                                                Equations
                                                                                                                                                Instances For
                                                                                                                                                  def GapCVP.Core.Clause.restrictAssignment {m : } (C : Clause m) (assignment : Fin mBool) :

                                                                                                                                                  GapCVP reduction support.

                                                                                                                                                  Equations
                                                                                                                                                  Instances For
                                                                                                                                                    theorem GapCVP.Core.Clause.localSatisfied_restrict_iff {m : } (C : Clause m) (assignment : Fin mBool) :
                                                                                                                                                    C.LocalSatisfied (C.restrictAssignment assignment) = true C.Satisfied assignment = true
                                                                                                                                                    def GapCVP.Core.Clause.satisfyingLocalTupleOfAssignment {m : } (C : Clause m) (assignment : Fin mBool) (h : C.Satisfied assignment = true) :

                                                                                                                                                    GapCVP reduction support.

                                                                                                                                                    Equations
                                                                                                                                                    Instances For
                                                                                                                                                      @[reducible, inline]

                                                                                                                                                      GapCVP reduction support.

                                                                                                                                                      Equations
                                                                                                                                                      Instances For
                                                                                                                                                        @[reducible, inline]
                                                                                                                                                        abbrev GapCVP.Core.sourceSATGridPoint {K : Type u_1} (points : Finset K) :
                                                                                                                                                        Type u_1

                                                                                                                                                        GapCVP reduction support.

                                                                                                                                                        Equations
                                                                                                                                                        Instances For
                                                                                                                                                          @[reducible, inline]
                                                                                                                                                          abbrev GapCVP.Core.sourceSATTableCoordinate (F : Formula) (K : Type u_1) (points : Finset K) :
                                                                                                                                                          Type u_1

                                                                                                                                                          GapCVP reduction support.

                                                                                                                                                          Equations
                                                                                                                                                          Instances For
                                                                                                                                                            noncomputable def GapCVP.Core.sourceSATTableDimension (F : Formula) (K : Type u_1) [Fintype K] (points : Finset K) :

                                                                                                                                                            GapCVP reduction support.

                                                                                                                                                            Equations
                                                                                                                                                            Instances For
                                                                                                                                                              theorem GapCVP.Core.sourceSATTableDimension_le (F : Formula) (K : Type u_1) [Fintype K] (points : Finset K) (N : ) (hN : 100 N) (hclauses : F.clauses.length N) (hgrid : points.card Fintype.card K) (hfield : Fintype.card K < 2 * N ^ 200) :
                                                                                                                                                              sourceSATTableDimension F K points 40 * N ^ 401
                                                                                                                                                              noncomputable def GapCVP.Core.sourceReedSolomonCode {K : Type u_1} [Field K] (points : Finset K) (degreeBound : ) :
                                                                                                                                                              Submodule K (sourceSATGridPoint pointsK)

                                                                                                                                                              GapCVP reduction support.

                                                                                                                                                              Equations
                                                                                                                                                              Instances For
                                                                                                                                                                theorem GapCVP.Core.sourceReedSolomonCode_mem_iff {K : Type u_1} [Field K] (points : Finset K) (degreeBound : ) (values : sourceSATGridPoint pointsK) :
                                                                                                                                                                values sourceReedSolomonCode points degreeBound ∃ (polynomial : Polynomial K), polynomial.natDegree degreeBound ∀ (point : sourceSATGridPoint points), Polynomial.eval (↑point) polynomial = values point
                                                                                                                                                                noncomputable def GapCVP.Core.sourceFiniteReindexLinearEquiv {K : Type u_1} [Field K] (α : Type u_2) [Fintype α] :
                                                                                                                                                                (αK) ≃ₗ[K] Fin (Fintype.card α)K

                                                                                                                                                                GapCVP reduction support.

                                                                                                                                                                Equations
                                                                                                                                                                Instances For
                                                                                                                                                                  noncomputable def GapCVP.Core.sourceSATColumnIndex {K : Type u_1} (F : Formula) [Fintype K] (points : Finset K) (tableType : sourceSATTableType F) (point : sourceSATGridPoint points) (value : K) :

                                                                                                                                                                  GapCVP reduction support.

                                                                                                                                                                  Equations
                                                                                                                                                                  Instances For
                                                                                                                                                                    noncomputable def GapCVP.Core.sourceGlobalNormalizationMap {K : Type u_1} [Field K] (F : Formula) [Fintype K] (points : Finset K) :
                                                                                                                                                                    (Fin (sourceSATTableDimension F K points)K) →ₗ[K] sourceSATGridPoint pointsK

                                                                                                                                                                    GapCVP reduction support.

                                                                                                                                                                    Equations
                                                                                                                                                                    • One or more equations did not get rendered due to their size.
                                                                                                                                                                    Instances For
                                                                                                                                                                      noncomputable def GapCVP.Core.sourceClauseRefinementMap {K : Type u_1} [Field K] (F : Formula) [Fintype K] (points : Finset K) (clause : Fin F.clauses.length) :
                                                                                                                                                                      (Fin (sourceSATTableDimension F K points)K) →ₗ[K] sourceSATGridPoint points × KK

                                                                                                                                                                      GapCVP reduction support.

                                                                                                                                                                      Equations
                                                                                                                                                                      • One or more equations did not get rendered due to their size.
                                                                                                                                                                      Instances For
                                                                                                                                                                        noncomputable def GapCVP.Core.sourceOrdinaryMomentMap {K : Type u_1} [Field K] (F : Formula) [Fintype K] (points : Finset K) (tableType : sourceSATTableType F) (j : ) :
                                                                                                                                                                        (Fin (sourceSATTableDimension F K points)K) →ₗ[K] sourceSATGridPoint pointsK

                                                                                                                                                                        GapCVP reduction support.

                                                                                                                                                                        Equations
                                                                                                                                                                        • One or more equations did not get rendered due to their size.
                                                                                                                                                                        Instances For
                                                                                                                                                                          def GapCVP.Core.sourceSATFieldBit {K : Type u_1} [Field K] (bit : Bool) :
                                                                                                                                                                          K

                                                                                                                                                                          GapCVP reduction support.

                                                                                                                                                                          Equations
                                                                                                                                                                          Instances For
                                                                                                                                                                            noncomputable def GapCVP.Core.sourceShiftedMomentMap {K : Type u_1} [Field K] (F : Formula) [Fintype K] (points : Finset K) (variablePlace : Fin F.variableCountK) (clause : Fin F.clauses.length) (tuple : (F.clauses.get clause).SatisfyingLocalTuple) (localVar : (F.clauses.get clause).LocalVariable) (j : ) :
                                                                                                                                                                            (Fin (sourceSATTableDimension F K points)K) →ₗ[K] sourceSATGridPoint pointsK

                                                                                                                                                                            GapCVP reduction support.

                                                                                                                                                                            Equations
                                                                                                                                                                            • One or more equations did not get rendered due to their size.
                                                                                                                                                                            Instances For
                                                                                                                                                                              @[reducible, inline]
                                                                                                                                                                              abbrev GapCVP.Core.sourceSATConstraintFamily (F : Formula) (momentBudget : ) :

                                                                                                                                                                              GapCVP reduction support.

                                                                                                                                                                              Equations
                                                                                                                                                                              • One or more equations did not get rendered due to their size.
                                                                                                                                                                              Instances For
                                                                                                                                                                                noncomputable def GapCVP.Core.concreteSATBinaryAffineSystem {K : Type u_1} [Field K] [Algebra (ZMod 2) K] [Fintype K] (F : Formula) {e : } (fieldBasis : Module.Basis (Fin e) (ZMod 2) K) (points : Finset K) (variablePlace : Fin F.variableCountK) (momentBudget : ) :

                                                                                                                                                                                GapCVP reduction support.

                                                                                                                                                                                Equations
                                                                                                                                                                                • One or more equations did not get rendered due to their size.
                                                                                                                                                                                Instances For
                                                                                                                                                                                  noncomputable def GapCVP.Core.concreteSATFieldChecks {K : Type u_1} [Field K] (F : Formula) [Fintype K] (points : Finset K) (variablePlace : Fin F.variableCountK) (momentBudget : ) (values : Fin (sourceSATTableDimension F K points)K) :

                                                                                                                                                                                  GapCVP reduction support.

                                                                                                                                                                                  Equations
                                                                                                                                                                                  • One or more equations did not get rendered due to their size.
                                                                                                                                                                                  Instances For
                                                                                                                                                                                    theorem GapCVP.Core.concreteSATBinaryAffineSystem_solves_iff {K : Type u_1} [Field K] [Algebra (ZMod 2) K] [Fintype K] (F : Formula) {e : } (fieldBasis : Module.Basis (Fin e) (ZMod 2) K) (points : Finset K) (variablePlace : Fin F.variableCountK) (momentBudget : ) (z : Fin (sourceSATTableDimension F K points)) :
                                                                                                                                                                                    (concreteSATBinaryAffineSystem F fieldBasis points variablePlace momentBudget).Solves z = true (concreteSATFieldChecks F points variablePlace momentBudget fun (position : Fin (sourceSATTableDimension F K points)) => (algebraMap (ZMod 2) K) (z position)) = true
                                                                                                                                                                                    noncomputable def GapCVP.Core.sourceSATPuncturedGrid {K : Type u_1} (F : Formula) [Fintype K] (variablePlace : Fin F.variableCountK) :

                                                                                                                                                                                    GapCVP reduction support.

                                                                                                                                                                                    Equations
                                                                                                                                                                                    Instances For
                                                                                                                                                                                      theorem GapCVP.Core.sourceSATPuncturedGrid_card {K : Type u_1} (F : Formula) [Fintype K] (variablePlace : Fin F.variableCountK) (hinjective : Function.Injective variablePlace) :
                                                                                                                                                                                      theorem GapCVP.Core.sourceSATPuncturedGrid_sub_ne_zero {K : Type u_1} [Field K] (F : Formula) [Fintype K] (variablePlace : Fin F.variableCountK) (point : sourceSATGridPoint (sourceSATPuncturedGrid F variablePlace)) (i : Fin F.variableCount) :
                                                                                                                                                                                      point - variablePlace i 0
                                                                                                                                                                                      @[reducible, inline]
                                                                                                                                                                                      abbrev GapCVP.Core.sourceFormulaField (encodingLength : ) (F : Formula) :

                                                                                                                                                                                      GapCVP reduction support.

                                                                                                                                                                                      Equations
                                                                                                                                                                                      Instances For
                                                                                                                                                                                        def GapCVP.Core.sourceActiveLocalTuple (F : Formula) (assignment : Fin F.variableCountBool) (hsatisfies : F.Satisfied assignment = true) (clause : Fin F.clauses.length) :

                                                                                                                                                                                        GapCVP reduction support.

                                                                                                                                                                                        Equations
                                                                                                                                                                                        Instances For
                                                                                                                                                                                          theorem GapCVP.Core.exists_sourceSAT_assignment_interpolant_of_injective {K : Type u_1} [Field K] (F : Formula) (variablePlace : Fin F.variableCountK) (hinjective : Function.Injective variablePlace) (assignment : Fin F.variableCountBool) :
                                                                                                                                                                                          ∃ (interpolant : Polynomial K), interpolant.natDegree F.variableCount - 1 ∀ (i : Fin F.variableCount), Polynomial.eval (variablePlace i) interpolant = sourceSATFieldBit (assignment i)
                                                                                                                                                                                          noncomputable def GapCVP.Core.sourceOneHotSignedTable {K : Type u_1} [Field K] [Fintype K] [DecidableEq K] (F : Formula) (points : Finset K) (assignment : Fin F.variableCountBool) (hsatisfies : F.Satisfied assignment = true) (interpolant : Polynomial K) :

                                                                                                                                                                                          GapCVP reduction support.

                                                                                                                                                                                          Equations
                                                                                                                                                                                          • One or more equations did not get rendered due to their size.
                                                                                                                                                                                          Instances For
                                                                                                                                                                                            theorem GapCVP.Core.sourceOneHot_solves_concreteSATBinaryAffineSystem {K : Type u_1} [Field K] [Fintype K] [DecidableEq K] [Algebra (ZMod 2) K] (F : Formula) {e : } (fieldBasis : Module.Basis (Fin e) (ZMod 2) K) (points : Finset K) (variablePlace : Fin F.variableCountK) (assignment : Fin F.variableCountBool) (hsatisfies : F.Satisfied assignment = true) (interpolant : Polynomial K) (hdegree : interpolant.natDegree F.variableCount - 1) (hinterpolant : ∀ (i : Fin F.variableCount), Polynomial.eval (variablePlace i) interpolant = sourceSATFieldBit (assignment i)) (hplaces : ∀ (point : sourceSATGridPoint points) (i : Fin F.variableCount), point - variablePlace i 0) (momentBudget : ) :
                                                                                                                                                                                            (concreteSATBinaryAffineSystem F fieldBasis points variablePlace momentBudget).Solves (sourceOneHotSignedTable F points assignment hsatisfies interpolant) = true
                                                                                                                                                                                            theorem GapCVP.Core.sourceOneHotSignedTable_squaredNorm {K : Type u_1} [Field K] [Fintype K] [DecidableEq K] (F : Formula) (points : Finset K) (assignment : Fin F.variableCountBool) (hsatisfies : F.Satisfied assignment = true) (interpolant : Polynomial K) :
                                                                                                                                                                                            position : Fin (sourceSATTableDimension F K points), (sourceOneHotSignedTable F points assignment hsatisfies interpolant position).natAbs ^ 2 = (F.clauses.length + 1) * points.card

                                                                                                                                                                                            GapCVP reduction support.

                                                                                                                                                                                            Equations
                                                                                                                                                                                            Instances For
                                                                                                                                                                                              noncomputable def GapCVP.Core.sourceOneHotCompletenessRadius (F : Formula) {α : Type u_2} (points : Finset α) :

                                                                                                                                                                                              GapCVP reduction support.

                                                                                                                                                                                              Equations
                                                                                                                                                                                              Instances For
                                                                                                                                                                                                theorem GapCVP.Core.sourceOneHotCompletenessRadius_pos (F : Formula) {α : Type u_2} (points : Finset α) (hpoints : 0 < points.card) :