Documentation

LeanPool.Wallace.FiniteCombinatorics

Finite combinatorics used in the Wallace construction #

This file formalizes the finite torsion-free-group bookkeeping used in Sections 4 and 5 of the current paper:

The paper writes integer bounds as |c| ≤ M. We use Int.natAbs c ≤ M, which is definitionally the corresponding natural-number inequality.

The support condition in the triangular enumeration: every coordinate occurring in a term of the sequence lies strictly below its assigned index.

Equations
Instances For

    A finite set is M-independent if every integer relation whose coefficients have absolute value at most M is trivial. This is the paper's definition, specialized to a finite set.

    Equations
    Instances For
      def Wallace.FiniteCombinatorics.Forbidden {G : Type u} [AddCommGroup G] (M : ) (B : Finset G) (x : G) :

      A point is forbidden over B if it satisfies one of the finitely many bounded equations used in the bounded-independence extraction argument.

      Equations
      Instances For

        The finite interval of integer coefficients of absolute value at most M.

        Equations
        Instances For
          noncomputable def Wallace.FiniteCombinatorics.coefficientPatterns {G : Type u} (M : ) (B : Finset G) :
          Finset (B)

          All bounded coefficient functions on a finite set.

          Equations
          Instances For
            @[simp]
            theorem Wallace.FiniteCombinatorics.mem_coefficientPatterns_iff {G : Type u} {M : } {B : Finset G} {c : B} :
            c coefficientPatterns M B ∀ (b : B), (c b).natAbs M
            noncomputable def Wallace.FiniteCombinatorics.forbiddenFinset {G : Type u} [AddCommGroup G] (M : ) (B : Finset G) :

            A concrete finite set containing every forbidden point.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              theorem Wallace.FiniteCombinatorics.exists_integer_dependence (s : ) (b : Fin (s + 1)Fin s) :
              ∃ (coeff : Fin (s + 1)), (∃ (i : Fin (s + 1)), coeff i 0) ∀ (j : Fin s), i : Fin (s + 1), coeff i * b i j = 0

              s+1 integer vectors in ℤ^s have a nontrivial integer dependence.

              We first obtain a rational dependence by the dimension theorem and then clear all denominators using mathlib's localization API.

              @[reducible, inline]

              Integer coefficients in [-Q,Q], as a finite type.

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

                A uniform bound for an integer dependence among any s+1 vectors in ℤ^s, for s ≤ r, whose entries have absolute value at most Q. Finiteness of the parameter space gives the uniformity; no unproved determinant estimate is used.

                Equations
                Instances For
                  theorem Wallace.FiniteCombinatorics.exists_uniform_integer_dependence {r Q s : } (hs : s r) (b : Fin (s + 1)Fin s) (hb : ∀ (i : Fin (s + 1)) (j : Fin s), (b i j).natAbs Q) :
                  ∃ (coeff : Fin (s + 1)), (∃ (i : Fin (s + 1)), coeff i 0) (∀ (j : Fin s), i : Fin (s + 1), coeff i * b i j = 0) ∀ (i : Fin (s + 1)), (coeff i).natAbs integerDependenceBound r Q

                  A bounded relation using both the finite families A and Y.

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

                    No nontrivial relation of coefficient height at most Q uses both A and Y.

                    Equations
                    Instances For
                      theorem Wallace.FiniteCombinatorics.exists_maximal_mixedRelationFree {G : Type u} [AddCommGroup G] [DecidableEq G] (Q : ) (A X : Finset G) :
                      YX, MixedRelationFree Q A Y xX, xYHasMixedRelation Q A (insert x Y)

                      A maximal relation-free subset of X. Maximality is by cardinality and therefore implies that adjoining any omitted point creates a mixed relation.

                      theorem Wallace.FiniteCombinatorics.mixedRelation_insert_witness {G : Type u} [AddCommGroup G] [DecidableEq G] {Q : } {A Y : Finset G} {x : G} (hY : MixedRelationFree Q A Y) (hxY : xY) (hrel : HasMixedRelation Q A (insert x Y)) :
                      ∃ (b : G) (c : G), (∀ aA, (b a).natAbs Q) (∀ zinsert x Y, (c z).natAbs Q) (∃ aA, b a 0) c x 0 aA, b a a + zinsert x Y, c z z = 0

                      The independence threshold from the current paper. Here integerDependenceBound r Q is the finite maximum denoted by B(r,Q), so this is exactly M(r,Q) = (r+1) B(r,Q) Q.

                      Equations
                      Instances For
                        theorem Wallace.FiniteCombinatorics.bounded_deletion {G : Type u} [AddCommGroup G] [DecidableEq G] (r Q : ) (A X : Finset G) (hAr : A.card r) (hX : BoundedIndependent (deletionIndependenceBound r Q) X) :
                        YX, (X \ Y).card A.card MixedRelationFree Q A Y

                        Bounded deletion (Lemma lem:bounded-deletion in the paper).

                        From an adequately bounded-independent finite set X, delete at most |A| points so that no bounded relation uses both A and the retained set. The threshold and the conclusion—including the sharp deletion count |X \ Y| ≤ |A|—are the ones in the paper.