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.equationSolution {G : Type u} [AddCommGroup G] (B : Finset G) (q : ℤ) (c : ↥B → ℤ) :
            G

            Choose a solution to the finite integer equation when one exists, and zero otherwise.

            Equations
            Instances For
              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

                  All bounded vector families of every dimension at most r.

                  • size : Fin (r + 1)

                    The dimension of the bounded integer vectors.

                  • vec : Fin (↑self.size + 1) → Fin ↑self.size → ↥(BoundedInt Q)

                    A family of one more bounded integer vectors than its dimension.

                  Instances For
                    @[instance_reducible]
                    Equations
                    • One or more equations did not get rendered due to their size.
                    noncomputable def Wallace.FiniteCombinatorics.chosenIntegerDependence {r Q : ℕ} (B : BoundedVectorFamily r Q) :
                    Fin (↑B.size + 1) → ℤ

                    Choose a nontrivial integer dependence among the bounded vectors.

                    Equations
                    Instances For

                      Bound the absolute values of the chosen integer dependence coefficients.

                      Equations
                      Instances For

                        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) :
                              ∃ Y ⊆ X, MixedRelationFree Q A Y ∧ ∀ x ∈ X, x ∉ Y → HasMixedRelation 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 : x ∉ Y) (hrel : HasMixedRelation Q A (insert x Y)) :
                              ∃ (b : G → ℤ) (c : G → ℤ), (∀ a ∈ A, (b a).natAbs ≤ Q) ∧ (∀ z ∈ insert x Y, (c z).natAbs ≤ Q) ∧ (∃ a ∈ A, b a ≠ 0) ∧ c x ≠ 0 ∧ ∑ a ∈ A, b a • a + ∑ z ∈ insert 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) :
                                ∃ Y ⊆ X, (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.