Documentation

LeanPool.InflationTermination.TriangleInflation.Graph.TriangleWitness

The triangle witness at q = Θ(1/t) #

AUDIT-NOTES B2(ii) / Theorem thm:trianglelinear: with the corrected density of Linear.lean (m = 3, c = 4) the parity-perfect triangle target Π(−q,−q,−q) lies in the ancestral-independence feasible set of the triangle module at every order t for q = 1/(16t) (triangle_linear_witness). Everything here is proved.

The triangle witness of Theorem thm:trianglelinear #

The auxiliary development behind triangle_linear_witness: the copied observations A^{ij} = x_i z_j, B^{ik} = x_i y_k, C^{jk} = z_j y_k as exclusive ors of the auxiliary signs, the pushforward of triDensity along them, and the boundary computation of Lemma lem:boundary. Every character prescribed by the diagonal law, by an injectable marginal or by an ancestral-independence product has a boundary that is empty or meets two sign families, so the correction of triCoeff never reaches it and triW_moment returns the target value (−q)^{|∂|/2}.

Signs and Walsh characters #

The sign of an exclusive or is the product of the signs.

Pushforwards #

theorem TriangleInflation.Graph.TriWitnessAux.sum_mul_pushforward {α : Type u_1} {β : Type u_2} [Fintype α] [Fintype β] [DecidableEq β] (w : α → ℝ) (F : α → β) (f : β → ℝ) :
∑ b : β, f b * pushforward w F b = ∑ a : α, f (F a) * w a
theorem TriangleInflation.Graph.TriWitnessAux.pushforward_isLaw {α : Type u_1} {β : Type u_2} [Fintype α] [Fintype β] [DecidableEq β] {w : α → ℝ} (h : IsLaw w) (F : α → β) :
theorem TriangleInflation.Graph.TriWitnessAux.funext_of_walsh_moments_equiv {α : Type u_1} [Fintype α] {ι : Type u_2} [Finite ι] (e : α ≃ (ι → Bool)) (P Q : α → ℝ) (h : ∀ (S : Finset ι), ∑ a : α, walsh S (e a) * P a = ∑ a : α, walsh S (e a) * Q a) :
P = Q

Fourier uniqueness transported along an identification of a finite type with a sign cube.

The copied observations of the triangle witness #

The copied observations of the witness: A^{ij} = x_i z_j, B^{ik} = x_i y_k, C^{jk} = z_j y_k, written as exclusive ors of the auxiliary signs.

Equations
Instances For

    Moments of the density and of the target #

    theorem TriangleInflation.Graph.TriWitnessAux.triDensity_moment (t : ℕ) (q : ℝ) (hq : 0 ≤ q) (S : Finset (TriSign t)) :
    ∑ s : TriSign t → Bool, walsh S s * triDensity t q s = triCoeff S * triMom q S.card

    Moments of the parity-perfect target.

    The boundary of an injectable block #

    theorem TriangleInflation.Graph.TriWitnessAux.walsh_pair {ι : Type u_1} [DecidableEq ι] {v w : ι} (h : v ≠ w) (s : ι → Bool) :
    walsh {v, w} s = sgn (s v) * sgn (s w)
    theorem TriangleInflation.Graph.TriWitnessAux.pair_ne {t : ℕ} {v w : TriSign t} (h : v.1 ≠ w.1) :
    v ≠ w
    theorem TriangleInflation.Graph.TriWitnessAux.pair_card {t : ℕ} {v w : TriSign t} (h : v.1 ≠ w.1) :
    {v, w}.card = 2
    theorem TriangleInflation.Graph.TriWitnessAux.pair_fam {t : ℕ} {v w : TriSign t} (h : v.1 ≠ w.1) :
    ∃ a ∈ {v, w}, ∃ b ∈ {v, w}, a.1 ≠ b.1
    theorem TriangleInflation.Graph.TriWitnessAux.subset_triple {α : Type u_1} [DecidableEq α] {U : Finset α} {a b c : α} (h : U ⊆ {a, b, c}) :
    U = ∅ ∨ U = {a} ∨ U = {b} ∨ U = {c} ∨ U = {a, b} ∨ U = {a, c} ∨ U = {b, c} ∨ U = {a, b, c}

    A subset of a three-element set is one of eight explicit sets.

    noncomputable def TriangleInflation.Graph.TriWitnessAux.tgt {t : ℕ} (q : ℝ) (U : Finset (Obs t)) :

    The moment that the parity-perfect target prescribes for a set of copied observations.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      theorem TriangleInflation.Graph.TriWitnessAux.block_boundary {t : ℕ} (q : ℝ) (i j k : Fin t) (U : Finset (Obs t)) (hU : U ⊆ copiedTriangle i j k) :
      ∃ (B : Finset (TriSign t)), (∀ (s : TriSign t → Bool), ∏ u ∈ U, sgn (triObs s u) = walsh B s) ∧ B ⊆ Finset.image latSign (ancestorsOf U) ∧ B.card % 2 = 0 ∧ (B = ∅ ∨ ∃ a ∈ B, ∃ b ∈ B, a.1 ≠ b.1) ∧ triMom q B.card = tgt q U

      The boundary of a subset of a copied triangle: an explicit set of auxiliary signs that carries the character of the subset, lies inside the image of its copied ancestry, has even cardinality, is empty or meets two families, and whose moment is the prescribed one.

      The master character computation #

      theorem TriangleInflation.Graph.TriWitnessAux.triMom_add (q : ℝ) {a b : ℕ} (ha : a % 2 = 0) (hb : b % 2 = 0) :
      triMom q (a + b) = triMom q a * triMom q b
      theorem TriangleInflation.Graph.TriWitnessAux.triMom_sum {ι : Type u_1} (q : ℝ) (s : Finset ι) (c : ι → ℕ) (h : ∀ m ∈ s, c m % 2 = 0) :
      triMom q (∑ m ∈ s, c m) = ∏ m ∈ s, triMom q (c m)
      theorem TriangleInflation.Graph.TriWitnessAux.triCoeff_eq_one {t : ℕ} (B : Finset (TriSign t)) (h : B = ∅ ∨ ∃ a ∈ B, ∃ b ∈ B, a.1 ≠ b.1) :
      noncomputable def TriangleInflation.Graph.TriWitnessAux.triGamma (t : ℕ) (q : ℝ) :
      Assign t → ℝ

      The witness law on the copied observations: the pushforward of the corrected density along A^{ij} = x_i z_j, B^{ik} = x_i y_k, C^{jk} = z_j y_k.

      Equations
      Instances For
        theorem TriangleInflation.Graph.TriWitnessAux.master1 {t : ℕ} (q : ℝ) (hq : 0 ≤ q) (i j k : Fin t) (U : Finset (Obs t)) (hU : U ⊆ copiedTriangle i j k) :
        ∑ s : TriSign t → Bool, (∏ u ∈ U, sgn (triObs s u)) * triDensity t q s = tgt q U

        One injectable block: the character of any subset of a copied triangle has the moment that the parity-perfect target prescribes.

        theorem TriangleInflation.Graph.TriWitnessAux.master {t : ℕ} (q : ℝ) (hq : 0 ≤ q) {n : ℕ} (S : Fin n → Finset (Obs t)) (hinj : ∀ (m : Fin n), Injectable (S m)) (hindep : ∀ (m m' : Fin n), m ≠ m' → AncestrallyIndependent (S m) (S m')) (U : Fin n → Finset (Obs t)) (hUS : ∀ (m : Fin n), U m ⊆ S m) :
        ∑ s : TriSign t → Bool, (∏ m : Fin n, ∏ u ∈ U m, sgn (triObs s u)) * triDensity t q s = ∏ m : Fin n, tgt q (U m)

        Pairwise ancestrally independent injectable blocks: the joint character factorizes into the prescribed moments.

        Symmetry of the witness #

        The permutation of copy indices attached to a sign family.

        Equations
        Instances For

          The induced permutation of the auxiliary signs.

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

            Relabelling the auxiliary signs, as a permutation of sign assignments.

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

              The relabelling of copied observations, as a permutation.

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                theorem TriangleInflation.Graph.TriWitnessAux.triFactor_perm (t : ℕ) (q : ℝ) (π : Equiv.Perm (Fin t) × Equiv.Perm (Fin t) × Equiv.Perm (Fin t)) (s : TriSign t → Bool) (g : Fin 3) :
                triFactor t q (fun (v : TriSign t) => s ((signPerm π) v)) g = triFactor t q s g
                theorem TriangleInflation.Graph.TriWitnessAux.triDensity_perm (t : ℕ) (q : ℝ) (π : Equiv.Perm (Fin t) × Equiv.Perm (Fin t) × Equiv.Perm (Fin t)) (s : TriSign t → Bool) :
                (triDensity t q fun (v : TriSign t) => s ((signPerm π) v)) = triDensity t q s
                theorem TriangleInflation.Graph.TriWitnessAux.triObs_perm (t : ℕ) (π : Equiv.Perm (Fin t) × Equiv.Perm (Fin t) × Equiv.Perm (Fin t)) (s : TriSign t → Bool) :
                (triObs fun (v : TriSign t) => s ((signPerm π) v)) = relabel π (triObs s)
                theorem TriangleInflation.Graph.TriWitnessAux.triGamma_isLaw (t : ℕ) (q : ℝ) (hq0 : 0 ≤ q) (hq : ↑t * q ≤ 1 / 16) :

                The injectable marginals #

                The ancestral-independence products #

                def TriangleInflation.Graph.TriWitnessAux.sigmaFun {n : ℕ} (β : Fin n → Type) :
                ((m : Fin n) → β m → Bool) ≃ ((m : Fin n) × β m → Bool)

                Uncurrying a family of sign assignments.

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

                  The diagonal law #

                  The bit that the g-th party reads off a three-bit outcome.

                  Equations
                  Instances For

                    The g-th copied observation of the diagonal triangle Δ_{lll}.

                    Equations
                    Instances For

                      The three diagonal outcomes, flattened into signs.

                      Equations
                      • One or more equations did not get rendered due to their size.
                      Instances For
                        theorem TriangleInflation.Graph.TriWitnessAux.flatD_readDiagonal {t : ℕ} (ω : Assign t) (x : (_ : Fin t) × Fin 3) :
                        (flatD t) (readDiagonal ω) x = ω (obsDiag x.fst x.snd)
                        theorem TriangleInflation.Graph.triangle_linear_witness (t : ℕ) (ht : 1 ≤ t) (q : ℝ) (hq : q = 1 / (16 * ↑t)) :

                        AUDIT-NOTES B2(ii), stated in the triangle types of TriangleInflation so that it can be proved against the existing definitions. With the m = 3, c = 4 density (W ≥ 3/5 for tq ≤ 1/16) and A^{ij} = x_i z_j, B^{ik} = x_i y_k, C^{jk} = z_j y_k, the parity-perfect target Π(−q,−q,−q) lies in I^AI_t for q = 1/(16t).

                        AUDIT-NOTES records this as a new consequence, not claimed in the packet, which "MUST be confirmed by the exact checker at t = 1, 2, 3 (positivity of every atom of the witness, symmetry, full diagonal law, all AI character equalities) before it enters the paper".