Documentation

LeanPool.TrilinearHilbertTransform.Auto.Sec162QuantitativeInequality.Setup

Section 16.2: The quantitative inequality #

This file was automatically generated by Claude.

Formalization of blueprint Section 16, "Normalized absorption and the operator estimate" (sec:completion), subsection 2, "The quantitative inequality" (lines 2843-2892) of blueprint/formalization_blueprint.tex.

def TrilinearHT.Auto.sidePat (l : Fin 4) :
Fin 4 → Fin 3

The single-side patterns: the side in the slot l, cores elsewhere.

Equations
Instances For
    theorem TrilinearHT.Auto.sidePat_ne_zero (l : Fin 4) :
    sidePat l ≠ fun (x : Fin 4) => 0
    theorem TrilinearHT.Auto.corePats_subset :
    {τ : Fin 4 → Fin 3 | (∀ (l : Fin 4), τ l ≠ 2) ∧ 3 ≤ patternCount τ 0} ⊆ insert (fun (x : Fin 4) => 0) (Finset.image sidePat Finset.univ)

    The patterns with at least three cores and no error are the four-core pattern and the four single-side patterns (core_pattern_cases).

    theorem TrilinearHT.Auto.core_leaf_patterns (Gd : RealDyadicGrid) (R : ℤ × ℤ) (T : Finset (ℤ × ℤ)) {γ : Type u_1} (gs : ℤ × ℤ → Finset γ) (F : (Fin 4 → Fin 3) → ℤ × ℤ → γ → ℂ) {η : ℝ} (hη : 0 ≤ η) (M4 : ℝ) (M3 : Fin 4 → ℝ) (E4 : ℤ × ℤ → ℝ) (E3 : Fin 4 → ℤ × ℤ → ℝ) (h4 : ∑ I ∈ T, dyadicGridLength Gd I.1 * min η (∑ g ∈ gs I, ‖F (fun (x : Fin 4) => 0) I g‖) ≤ η ^ (1 - (1 - 1 / 300 / 4)) * (dyadicGridLength Gd R.1 * M4) + ∑ I ∈ T, dyadicGridLength Gd I.1 * E4 I) (h3 : ∀ (l : Fin 4), ∑ I ∈ T, dyadicGridLength Gd I.1 * min η (∑ g ∈ gs I, ‖F (fun (k : Fin 4) => if k = l then 1 else 0) I g‖) ≤ η ^ (1 - (1 - 1 / 300 / 4)) * (dyadicGridLength Gd R.1 * M3 l) + ∑ I ∈ T, dyadicGridLength Gd I.1 * E3 l I) :
    ∑ I ∈ T, dyadicGridLength Gd I.1 * min η ‖∑ τ : Fin 4 → Fin 3 with (∀ (l : Fin 4), τ l ≠ 2) ∧ 3 ≤ patternCount τ 0, ∑ g ∈ gs I, F τ I g‖ ≤ η ^ (1 / 1200) * (dyadicGridLength Gd R.1 * (M4 + ∑ l : Fin 4, M3 l)) + ∑ I ∈ T, dyadicGridLength Gd I.1 * (E4 I + ∑ l : Fin 4, E3 l I)

    Blueprint lines 2820-2822 (declaration core-estimate) on one leaf: the weighted active minimum of the patterns with at least three cores is at most the sum of the bounds of eq:core-final for the four-core pattern and the four three-core patterns (core_final_patterns, the triangle inequality over the patterns and groups).

    theorem TrilinearHT.Auto.physSq_le {V : Type u_1} [Fintype V] (x : ↥(ColumnL2 V)) (a r : ℝ) (hr : 0 < r) :
    r⁻¹ * ∫ (y : ℝ) in a..a + r, ‖augPhys x y‖ ^ 2 ≤ (‖x‖ / √r) ^ 2

    The normalized physical square of a column on an interval is at most its normalized square norm.

    theorem TrilinearHT.Auto.ActiveSetup.BasicFamilies.FamParams.SideInput.compsAt_eq_empty {κ' : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ' c₀} {bf : A.BasicFamilies} {fp : bf.FamParams} (D : fp.SideInput) {l : Fin 4} {G : bf.Grp} {I : ℤ × ℤ} (h : ¬((D.Ms l G).alive (ancAt A.G (D.preAt I) (A.blkStart D.S.K I.1 - 4 * ↑D.S.K))).Nonempty) :
    D.compsAt l G I = ∅

    Without alive modes of the role l at the decision cell of I there are no core components of the role at I.

    theorem TrilinearHT.Auto.ActiveSetup.BasicFamilies.FamParams.SideInput.coreAt_eq_zero {κ' : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ' c₀} {bf : A.BasicFamilies} {fp : bf.FamParams} (D : fp.SideInput) {l : Fin 4} {G : bf.Grp} {I : ℤ × ℤ} (h : ¬((D.Ms l G).alive (ancAt A.G (D.preAt I) (A.blkStart D.S.K I.1 - 4 * ↑D.S.K))).Nonempty) :
    D.coreAt l G I = 0

    Without alive modes of the role l at the decision cell of I the core of the role at I vanishes.

    theorem TrilinearHT.Auto.ActiveSetup.BasicFamilies.FamParams.SideInput.form_pattern_zero {κ' : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ' c₀} {bf : A.BasicFamilies} {fp : bf.FamParams} (I : ℤ × ℤ) (a s e : Fin 4 → ↥(ColumnL2 (bf.Lab ⊕ Fin fp.Mc))) (τ : Fin 4 → Fin 3) {l : Fin 4} (hτ : τ l = 0) (ha : a l = 0) :
    (fp.Λc I) (patternPiece a s e τ) = 0

    A pattern form with a core slot whose core vanishes is zero.

    theorem TrilinearHT.Auto.ActiveSetup.BasicFamilies.FamParams.SideInput.four_form_zero {κ' : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ' c₀} {bf : A.BasicFamilies} {fp : bf.FamParams} (D : fp.SideInput) {G : bf.Grp} {I : ℤ × ℤ} (hA : ¬D.AncNe G I) (s e : Fin 4 → ↥(ColumnL2 (bf.Lab ⊕ Fin fp.Mc))) :
    (fp.Λc I) (patternPiece (fun (l : Fin 4) => D.coreAt l G I) s e fun (x : Fin 4) => 0) = 0

    Blueprint lines 2467-2470: without anchors (some role has no alive mode at the decision cell) the four-core pattern form vanishes.

    theorem TrilinearHT.Auto.ActiveSetup.BasicFamilies.FamParams.SideInput.three_form_zero {κ' : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ' c₀} {bf : A.BasicFamilies} {fp : bf.FamParams} (D : fp.SideInput) {G : bf.Grp} {I : ℤ × ℤ} {l : Fin 4} (hA : ¬D.AncNe3 G I l) (s e : Fin 4 → ↥(ColumnL2 (bf.Lab ⊕ Fin fp.Mc))) :
    (fp.Λc I) (patternPiece (fun (l : Fin 4) => D.coreAt l G I) s e fun (k : Fin 4) => if k = l then 1 else 0) = 0

    Without anchors of the core roles the three-core pattern form with side role l vanishes.

    noncomputable def TrilinearHT.Auto.ActiveSetup.BasicFamilies.FamParams.SideInput.fourErr {κ' : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ' c₀} {bf : A.BasicFamilies} {fp : bf.FamParams} (D : fp.SideInput) (J : ℕ) (G : bf.Grp) (I : ℤ × ℤ) :

    The absolute tuple errors of eq:core-numerical for the four-core pattern at a cell and group (the error term of four_core_principal_bins).

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      theorem TrilinearHT.Auto.ActiveSetup.BasicFamilies.FamParams.SideInput.elim_coefSum_nonneg {κ' : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ' c₀} {bf : A.BasicFamilies} {fp : bf.FamParams} (D : fp.SideInput) {l : Fin 4} {G : bf.Grp} {I : ℤ × ℤ} (o : Option (Finset (D.Ms l G).Md)) :
      0 ≤ o.elim 1 fun (K : Finset (D.Ms l G).Md) => ∑ m ∈ K, ‖D.c l G (A.blkStart D.S.K I.1) (D.preAt I) m‖
      theorem TrilinearHT.Auto.ActiveSetup.BasicFamilies.FamParams.SideInput.fourErr_nonneg {κ' : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ' c₀} {bf : A.BasicFamilies} {fp : bf.FamParams} (D : fp.SideInput) (J : ℕ) (G : bf.Grp) (I : ℤ × ℤ) :
      0 ≤ D.fourErr J G I
      noncomputable def TrilinearHT.Auto.ActiveSetup.BasicFamilies.FamParams.SideInput.threeErr {κ' : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ' c₀} {bf : A.BasicFamilies} {fp : bf.FamParams} (D : fp.SideInput) (J Aw : ℕ) (l : Fin 4) (G : bf.Grp) (I : ℤ × ℤ) :

      The absolute tuple errors of eq:core-numerical for the three-core pattern with side role l at a cell and group (the error term of three_core_principal_bins).

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        theorem TrilinearHT.Auto.ActiveSetup.BasicFamilies.FamParams.SideInput.threeErr_nonneg {κ' : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ' c₀} {bf : A.BasicFamilies} {fp : bf.FamParams} (D : fp.SideInput) (J Aw : ℕ) (l : Fin 4) (G : bf.Grp) (I : ℤ × ℤ) :
        0 ≤ D.threeErr J Aw l G I
        theorem TrilinearHT.Auto.ActiveSetup.BasicFamilies.FamParams.SideInput.four_core_leaf {κ' : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ' c₀} {bf : A.BasicFamilies} {fp : bf.FamParams} (D : fp.SideInput) {Cj CA CT CK : ℕ} {δs W : ℝ} (hV : D.S.Valid Cj CA CT CK δs W) (hCA : 1 ≤ CA) (hCT : 4 ≤ CT) (hd2 : 2 ≤ D.S.dmax) (hD : 2 ≤ D.S.Dstar) (hB : 2 ≤ D.S.Bstar) (hQ0 : 1 ≤ D.S.Q0) (hSP : D.SP = D.S.sideParams δs) (hdD : ↑D.S.dmax ≤ D.S.Dstar) (qG : bf.Grp → ℕ) (hqG : ∀ (G : bf.Grp), 1 ≤ qG G ∧ qG G ≤ D.S.Q0) (J : ℕ) (hJ : 1 ≤ J) (R : ℤ × ℤ) (T : Finset (ℤ × ℤ)) (hT : ∀ I ∈ T, dyadicGridCell A.G I.1 I.2 ⊆ dyadicGridCell A.G R.1 R.2) (gs : ℤ × ℤ → Finset bf.Grp) (z : bf.Grp → ChartTag) (hGc : ∀ I ∈ T, ∀ G ∈ gs I, (∀ (j : Fin 4), 8 * (D.Ms j G).Λ ≤ D.S.Ξ) ∧ (∀ (j : Fin 4), (D.Ms j G).zc = z G) ∧ (z G).dim ≤ D.S.dmax) (rep : ℕ → (G : bf.Grp) → (j : Fin 4) → ℕ → ℕ → ℤ × (ℤ × ℤ) × (D.Ms j G).Md → (D.Ms j G).Md) (hrep : ∀ h ∈ ModeComponents.upperHeights D.SP.Jst D.SP.δs, ∀ I ∈ T, ∀ G ∈ gs I, ∀ (j : Fin 4), (D.withQ0 (qG G)).RepOK G j h T (rep h G j)) (anc : (I : ℤ × ℤ) → (G : bf.Grp) → D.AncNe G I → ℕ → (j : Fin 4) → Finset (D.Ms j G).Md → ↥((D.Ms j G).alive (ancAt A.G (D.preAt I) (A.blkStart D.S.K I.1 - 4 * ↑D.S.K)))) (hanc : ∀ (h : ℕ) (hh : h ∈ ModeComponents.upperHeights D.SP.Jst D.SP.δs) (I : ℤ × ℤ) (hI : I ∈ T) (G : bf.Grp) (hG : G ∈ gs I) (hA : D.AncNe G I) (j : Fin 4) (F : Finset ((D.withQ0 (qG G)).Ms j G).Md) (hF : F ∈ (D.withQ0 (qG G)).goodCls G I j h), anc I G hA h j F = (D.withQ0 (qG G)).repAnchor G I j h (rep h G j) ⋯ hF) (hcard : ∀ I ∈ T, ∀ G ∈ gs I, ∀ (j : Fin 4), ↑((D.Ms j G).alive (ancAt A.G (D.preAt I) (A.blkStart D.S.K I.1 - 4 * ↑D.S.K))).card ≤ D.S.Dstar) {U ε : ℝ} (hε : 0 < ε) (hεU : ε ≤ U) (hU : ∀ I ∈ T, ∀ G ∈ gs I, ∀ h ∈ ModeComponents.upperHeights D.SP.Jst D.SP.δs, ∀ (j : Fin 4), ∀ F ∈ (D.withQ0 (qG G)).goodCls G I j h, (D.withQ0 (qG G)).clsSize G I j F ≤ U) {K : ℝ} (hK : 0 ≤ K) (hcap : ∀ (y : ℝ), ∀ h ∈ ModeComponents.upperHeights D.SP.Jst D.SP.δs, 10 ≤ h → ∀ (c : ℝ × ℝ × (Fin 4 → ℝ)), 0 < c.1 → c.1 ≤ 1 → 1 ≤ c.2.1 → (∀ (i : Fin 4), 0 < c.2.2 i) → (∀ (j : Fin 4), ε ≤ c.2.2 j ∧ c.2.2 j ≤ U ∧ ∃ (k : ℤ), c.2.2 j = 2 ^ k) → ∀ (κ : Fin 4 → ℕ × ℕ) (i : Fin 4), ∑ G ∈ pathGroups T gs y, ↑((D.withQ0 (qG G)).fourUsedReps G h y (pathCell A.G T y) (fun (s : ℤ) => anc (pathCell A.G T y s) G) c κ (pathDepths T gs y G) i).card ≤ K * c.2.2 i ^ (-2)) (hq : 4 * (2 * D.SP.δs) ^ (1 / 4) < 1) (L : (l : Fin 4) → (G : bf.Grp) → LiftData (bf.Lab ⊕ Fin fp.Mc) (D.Ms l G).Md) (hPB : ∀ I ∈ T, ∀ G ∈ gs I, ∀ (hA : D.AncNe G I), ∀ y ∈ dyadicGridCell A.G I.1 I.2, ‖(fp.Λc I) (patternPiece (fun (l : Fin 4) => (D.withQ0 (qG G)).coreAt l G I) (fun (l : Fin 4) => (D.withQ0 (qG G)).toLeaf.sv l G I) (fun (l : Fin 4) => (D.withQ0 (qG G)).errAt L l G I) fun (x : Fin 4) => 0)‖ ≤ (2 ^ 4 * ∑ h ∈ ModeComponents.upperHeights D.SP.Jst D.SP.δs, (↑(ModeComponents.upperHeights D.SP.Jst D.SP.δs).card)⁻¹ * ∑ c ∈ Finset.image ((D.withQ0 (qG G)).fourBinOf G I y (anc I G hA) h) ((D.withQ0 (qG G)).fourTested G I y (anc I G hA) h), fourBinVal κ' J c * ↑{p ∈ (D.withQ0 (qG G)).fourTested G I y (anc I G hA) h | (D.withQ0 (qG G)).fourBinOf G I y (anc I G hA) h p = c}.card) / (1 - 4 * (2 * D.SP.δs) ^ (1 / 4)) + (D.withQ0 (qG G)).fourErr J G I) {η : ℝ} (hη : 0 ≤ η) :
        ∑ I ∈ T, dyadicGridLength A.G I.1 * min η (∑ G ∈ gs I, ‖(fp.Λc I) (patternPiece (fun (l : Fin 4) => (D.withQ0 (qG G)).coreAt l G I) (fun (l : Fin 4) => (D.withQ0 (qG G)).toLeaf.sv l G I) (fun (l : Fin 4) => (D.withQ0 (qG G)).errAt L l G I) fun (x : Fin 4) => 0)‖) ≤ η ^ (1 - (1 - 1 / 300 / 4)) * (dyadicGridLength A.G R.1 * (↑(ModeComponents.upperHeights D.SP.Jst D.SP.δs).card * ↑D.fourTypes.card * ((2 ^ 4 / (1 - 4 * (2 * D.SP.δs) ^ (1 / 4)) * (fourKC κ' J * 2 * 12 ^ 4)) ^ (1 - 1 / 300 / 4) * (D.fourCc * K ^ (2 - 1 / 300 / 2)) * ((Real.logb 2 (U / ε) + 1) ^ 4 * bandC (1 - 1 / 300 / 4) J)))) + ∑ I ∈ T, dyadicGridLength A.G I.1 * ∑ G ∈ gs I, ((D.withQ0 (qG G)).fourErr J G I + 2 ^ 4 / (1 - 4 * (2 * D.SP.δs) ^ (1 / 4)) * (2 * fourKC κ' J * 12 ^ 4 * ε * U ^ 3 * D.S.Dstar ^ 4))

        Blueprint eq:core-final (lines 2808-2817) for the four-core pattern of one leaf, in terms of the pattern forms: at the cells and groups with anchors the principal bound of eq:principal-core holds (four_core_principal_bins, hypothesis hPB in its conclusion form), at the others the pattern form vanishes (four_form_zero); so four_core_final_side applies with K₁ = 2⁴/(1 - 4(2δ_*)^{1/4}), the upper heights and the absolute tuple errors fourErr.

        theorem TrilinearHT.Auto.ActiveSetup.BasicFamilies.FamParams.SideInput.three_core_leaf {κ' : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ' c₀} {bf : A.BasicFamilies} {fp : bf.FamParams} (D : fp.SideInput) {Cj CA CT CK : ℕ} {δs W : ℝ} (hV : D.S.Valid Cj CA CT CK δs W) (hCA : 1 ≤ CA) (hCT : 4 ≤ CT) (hd2 : 2 ≤ D.S.dmax) (hD : 2 ≤ D.S.Dstar) (hB : 2 ≤ D.S.Bstar) (hQ0 : 1 ≤ D.S.Q0) (hSP : D.SP = D.S.sideParams δs) (hdD : ↑D.S.dmax ≤ D.S.Dstar) (qG : bf.Grp → ℕ) (hqG : ∀ (G : bf.Grp), 1 ≤ qG G ∧ qG G ≤ D.S.Q0) (J : ℕ) (hJ : 1 ≤ J) (Aw Iw : ℕ) (hIw : 2 ^ Iw ≤ 2 * D.U0) (l : Fin 4) (R : ℤ × ℤ) (T : Finset (ℤ × ℤ)) (hT : ∀ I ∈ T, dyadicGridCell A.G I.1 I.2 ⊆ dyadicGridCell A.G R.1 R.2) (gs : ℤ × ℤ → Finset bf.Grp) (z : bf.Grp → ChartTag) (hGc : ∀ I ∈ T, ∀ G ∈ gs I, (∀ (j : Fin 4), 8 * (D.Ms j G).Λ ≤ D.S.Ξ) ∧ (∀ (j : Fin 4), (D.Ms j G).zc = z G) ∧ (z G).dim ≤ D.S.dmax) (rep : ℕ → (G : bf.Grp) → (j : Fin 4) → ℕ → ℕ → ℤ × (ℤ × ℤ) × (D.Ms j G).Md → (D.Ms j G).Md) (hrep : ∀ h ∈ ModeComponents.upperHeights D.SP.Jst D.SP.δs, ∀ I ∈ T, ∀ G ∈ gs I, ∀ (j : Fin 4), (D.withQ0 (qG G)).RepOK G j h T (rep h G j)) (anc : (I : ℤ × ℤ) → (G : bf.Grp) → D.AncNe3 G I l → ℕ → (j : Fin 4) → j ≠ l → Finset (D.Ms j G).Md → ↥((D.Ms j G).alive (ancAt A.G (D.preAt I) (A.blkStart D.S.K I.1 - 4 * ↑D.S.K)))) (hanc : ∀ (h : ℕ) (hh : h ∈ ModeComponents.upperHeights D.SP.Jst D.SP.δs) (I : ℤ × ℤ) (hI : I ∈ T) (G : bf.Grp) (hG : G ∈ gs I) (hA : D.AncNe3 G I l) (j : Fin 4) (hj : j ≠ l) (F : Finset ((D.withQ0 (qG G)).Ms j G).Md) (hF : F ∈ (D.withQ0 (qG G)).goodCls G I j h), anc I G hA h j hj F = (D.withQ0 (qG G)).repAnchor G I j h (rep h G j) ⋯ hF) (hcard : ∀ I ∈ T, ∀ G ∈ gs I, ∀ (j : Fin 4), ↑((D.Ms j G).alive (ancAt A.G (D.preAt I) (A.blkStart D.S.K I.1 - 4 * ↑D.S.K))).card ≤ D.S.Dstar) {U ε : ℝ} (hε : 0 < ε) (hεU : ε ≤ U) (hU : ∀ I ∈ T, ∀ G ∈ gs I, ∀ h ∈ ModeComponents.upperHeights D.SP.Jst D.SP.δs, ∀ (j : Fin 4), j ≠ l → ∀ F ∈ (D.withQ0 (qG G)).goodCls G I j h, (D.withQ0 (qG G)).clsSize G I j F ≤ U) (hUs : ∀ I ∈ T, ∀ G ∈ gs I, √((dyadicGridLength A.G I.1)⁻¹ * ∫ (y : ℝ) in dyadicGridLeft A.G I.1 I.2..dyadicGridLeft A.G I.1 I.2 + dyadicGridLength A.G I.1, ‖augPhys ((D.withQ0 (qG G)).toLeaf.sv l G I) y‖ ^ 2) ≤ U) {K : ℝ} (hK : 0 ≤ K) (hcap : ∀ (y : ℝ), ∀ h ∈ ModeComponents.upperHeights D.SP.Jst D.SP.δs, 10 ≤ h → ∀ (c : ℝ × ℝ × ℕ × ℝ × (Fin 4 → ℝ)), 0 < c.1 → c.1 ≤ 1 → 1 ≤ c.2.1 → (∀ (i : Fin 4), 0 < threeAmp l c i) → (∀ (j : Fin 4), ε ≤ threeAmp l c j ∧ threeAmp l c j ≤ U ∧ ∃ (k : ℤ), threeAmp l c j = 2 ^ k) → ∀ (κ : Fin 4 → ℕ × ℕ), (∀ (i : Fin 4) (hi : i ≠ l), ∑ G ∈ pathGroups T gs y, ↑((D.withQ0 (qG G)).threeUsedReps G h y l (pathCell A.G T y) (fun (s : ℤ) => anc (pathCell A.G T y s) G) Iw c κ (pathDepths T gs y G) i hi).card ≤ K * threeAmp l c i ^ (-2)) ∧ ∑ G ∈ pathGroups T gs y, ∑ s ∈ pathDepths T gs y G, (D.withQ0 (qG G)).sideWeight G l (pathCell A.G T y) c.2.2.2.1 s ≤ K * threeAmp l c l ^ (-2)) (hq : 4 * (2 * D.SP.δs) ^ (1 / 4) < 1) (L : (l : Fin 4) → (G : bf.Grp) → LiftData (bf.Lab ⊕ Fin fp.Mc) (D.Ms l G).Md) (hPB : ∀ I ∈ T, ∀ G ∈ gs I, ∀ (hA : D.AncNe3 G I l), ∀ y ∈ dyadicGridCell A.G I.1 I.2, ‖(fp.Λc I) (patternPiece (fun (l : Fin 4) => (D.withQ0 (qG G)).coreAt l G I) (fun (l : Fin 4) => (D.withQ0 (qG G)).toLeaf.sv l G I) (fun (l : Fin 4) => (D.withQ0 (qG G)).errAt L l G I) fun (k : Fin 4) => if k = l then 1 else 0)‖ ≤ (2 ^ 4 * ∑ h ∈ ModeComponents.upperHeights D.SP.Jst D.SP.δs, (↑(ModeComponents.upperHeights D.SP.Jst D.SP.δs).card)⁻¹ * ∑ c ∈ Finset.image ((D.withQ0 (qG G)).threeBinOf G I y l (anc I G hA) ((D.withQ0 (qG G)).toLeaf.sv l G I) h) ((D.withQ0 (qG G)).threeTested G I y l (anc I G hA) ((D.withQ0 (qG G)).toLeaf.sv l G I) Iw h), threeBinVal κ' J Aw l c * ↑{q ∈ (D.withQ0 (qG G)).threeTested G I y l (anc I G hA) ((D.withQ0 (qG G)).toLeaf.sv l G I) Iw h | (D.withQ0 (qG G)).threeBinOf G I y l (anc I G hA) ((D.withQ0 (qG G)).toLeaf.sv l G I) h q = c}.card) / (1 - 4 * (2 * D.SP.δs) ^ (1 / 4)) + (D.withQ0 (qG G)).threeErr J Aw l G I) {η : ℝ} (hη : 0 ≤ η) :
        ∑ I ∈ T, dyadicGridLength A.G I.1 * min η (∑ G ∈ gs I, ‖(fp.Λc I) (patternPiece (fun (l : Fin 4) => (D.withQ0 (qG G)).coreAt l G I) (fun (l : Fin 4) => (D.withQ0 (qG G)).toLeaf.sv l G I) (fun (l : Fin 4) => (D.withQ0 (qG G)).errAt L l G I) fun (k : Fin 4) => if k = l then 1 else 0)‖) ≤ η ^ (1 - (1 - 1 / 300 / 4)) * (dyadicGridLength A.G R.1 * (↑(ModeComponents.upperHeights D.SP.Jst D.SP.δs).card * ↑(D.threeTypes l).card * ((2 ^ 4 / (1 - 4 * (2 * D.SP.δs) ^ (1 / 4)) * (8 * entryCU κ' J Aw * 2 ^ (Aw + 4) * 12 ^ 3)) ^ (1 - 1 / 300 / 4) * (D.fourCc * K ^ (2 - 1 / 300 / 2)) * ((↑Iw + 1) * ((Real.logb 2 (U / ε) + 1) ^ 4 * bandC (1 - 1 / 300 / 4) J))))) + ∑ I ∈ T, dyadicGridLength A.G I.1 * ∑ G ∈ gs I, ((D.withQ0 (qG G)).threeErr J Aw l G I + 2 ^ 4 / (1 - 4 * (2 * D.SP.δs) ^ (1 / 4)) * (8 * entryCU κ' J Aw * 2 ^ (Aw + 4) * 12 ^ 3 * ε * U ^ 3 * (D.S.Dstar ^ 3 * (↑Iw + 1))))

        Blueprint eq:core-final (lines 2808-2817) for the three-core pattern with side role l of one leaf, in terms of the pattern forms: the principal bound of eq:principal-core at the cells and groups with anchors of the core roles (three_core_principal_bins, hypothesis hPB in its conclusion form), the vanishing of the pattern form at the others (three_form_zero), and three_core_final_side with K₁ = 2⁴/(1 - 4(2δ_*)^{1/4}), the upper heights and the absolute tuple errors threeErr.

        noncomputable def TrilinearHT.Auto.ActiveSetup.BasicFamilies.FamParams.SideInput.leafAnc {κ' : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ' c₀} {bf : A.BasicFamilies} {fp : bf.FamParams} (D : fp.SideInput) (qG : bf.Grp → ℕ) (rep : ℕ → (G : bf.Grp) → (j : Fin 4) → ℕ → ℕ → ℤ × (ℤ × ℤ) × (D.Ms j G).Md → (D.Ms j G).Md) (hrep : ∀ (G : bf.Grp) (j : Fin 4), ∀ h ∈ ModeComponents.upperHeights D.SP.Jst D.SP.δs, ∀ (k₁ k₂ : ℕ) (c : ℤ × (ℤ × ℤ) × (D.Ms j G).Md), rep h G j k₁ k₂ c ∈ (D.Ms j G).predOfMode (D.withQ0 (qG G)).S ⋯ 10 h c) (I : ℤ × ℤ) (G : bf.Grp) (hA : D.AncNe G I) (h : ℕ) (j : Fin 4) (F : Finset (D.Ms j G).Md) :
        ↥((D.Ms j G).alive (ancAt A.G (D.preAt I) (A.blkStart D.S.K I.1 - 4 * ↑D.S.K)))

        The anchors of the four-core leaf estimate (blueprint line 2467, "let a_j be its representative"): at a cell and group with alive modes of every role at the decision cell, the representatives repAnc of the final classes for the side input of the group, and a default alive mode for the classes that are not successful.

        Equations
        Instances For
          noncomputable def TrilinearHT.Auto.ActiveSetup.BasicFamilies.FamParams.SideInput.leafAnc3 {κ' : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ' c₀} {bf : A.BasicFamilies} {fp : bf.FamParams} (D : fp.SideInput) (qG : bf.Grp → ℕ) (rep : ℕ → (G : bf.Grp) → (j : Fin 4) → ℕ → ℕ → ℤ × (ℤ × ℤ) × (D.Ms j G).Md → (D.Ms j G).Md) (hrep : ∀ (G : bf.Grp) (j : Fin 4), ∀ h ∈ ModeComponents.upperHeights D.SP.Jst D.SP.δs, ∀ (k₁ k₂ : ℕ) (c : ℤ × (ℤ × ℤ) × (D.Ms j G).Md), rep h G j k₁ k₂ c ∈ (D.Ms j G).predOfMode (D.withQ0 (qG G)).S ⋯ 10 h c) (l : Fin 4) (I : ℤ × ℤ) (G : bf.Grp) (hA : D.AncNe3 G I l) (h : ℕ) (j : Fin 4) (hj : j ≠ l) (F : Finset (D.Ms j G).Md) :
          ↥((D.Ms j G).alive (ancAt A.G (D.preAt I) (A.blkStart D.S.K I.1 - 4 * ↑D.S.K)))

          The anchors of the three-core leaf estimate with side role l (alive modes of the core roles at the decision cell).

          Equations
          Instances For
            theorem TrilinearHT.Auto.ActiveSetup.BasicFamilies.FamParams.SideInput.leafAnc_eq {κ' : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ' c₀} {bf : A.BasicFamilies} {fp : bf.FamParams} (D : fp.SideInput) (qG : bf.Grp → ℕ) (rep : ℕ → (G : bf.Grp) → (j : Fin 4) → ℕ → ℕ → ℤ × (ℤ × ℤ) × (D.Ms j G).Md → (D.Ms j G).Md) (hrep : ∀ (G : bf.Grp) (j : Fin 4), ∀ h ∈ ModeComponents.upperHeights D.SP.Jst D.SP.δs, ∀ (k₁ k₂ : ℕ) (c : ℤ × (ℤ × ℤ) × (D.Ms j G).Md), rep h G j k₁ k₂ c ∈ (D.Ms j G).predOfMode (D.withQ0 (qG G)).S ⋯ 10 h c) {h : ℕ} (hh : h ∈ ModeComponents.upperHeights D.SP.Jst D.SP.δs) (I : ℤ × ℤ) (G : bf.Grp) (hA : D.AncNe G I) (j : Fin 4) {F : Finset (D.Ms j G).Md} (hF : F ∈ (D.withQ0 (qG G)).goodCls G I j h) (hr : ∀ (k₁ k₂ : ℕ) (c : ℤ × (ℤ × ℤ) × (D.Ms j G).Md), rep h G j k₁ k₂ c ∈ (D.Ms j G).predOfMode (D.withQ0 (qG G)).S ⋯ 10 h c) :
            D.leafAnc qG rep hrep I G hA h j F = (D.withQ0 (qG G)).repAnchor G I j h (rep h G j) hr hF

            On the successful classes the leaf anchors are the representative anchors.

            theorem TrilinearHT.Auto.ActiveSetup.BasicFamilies.FamParams.SideInput.leafAnc3_eq {κ' : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ' c₀} {bf : A.BasicFamilies} {fp : bf.FamParams} (D : fp.SideInput) (qG : bf.Grp → ℕ) (rep : ℕ → (G : bf.Grp) → (j : Fin 4) → ℕ → ℕ → ℤ × (ℤ × ℤ) × (D.Ms j G).Md → (D.Ms j G).Md) (hrep : ∀ (G : bf.Grp) (j : Fin 4), ∀ h ∈ ModeComponents.upperHeights D.SP.Jst D.SP.δs, ∀ (k₁ k₂ : ℕ) (c : ℤ × (ℤ × ℤ) × (D.Ms j G).Md), rep h G j k₁ k₂ c ∈ (D.Ms j G).predOfMode (D.withQ0 (qG G)).S ⋯ 10 h c) (l : Fin 4) {h : ℕ} (hh : h ∈ ModeComponents.upperHeights D.SP.Jst D.SP.δs) (I : ℤ × ℤ) (G : bf.Grp) (hA : D.AncNe3 G I l) (j : Fin 4) (hj : j ≠ l) {F : Finset (D.Ms j G).Md} (hF : F ∈ (D.withQ0 (qG G)).goodCls G I j h) (hr : ∀ (k₁ k₂ : ℕ) (c : ℤ × (ℤ × ℤ) × (D.Ms j G).Md), rep h G j k₁ k₂ c ∈ (D.Ms j G).predOfMode (D.withQ0 (qG G)).S ⋯ 10 h c) :
            D.leafAnc3 qG rep hrep l I G hA h j hj F = (D.withQ0 (qG G)).repAnchor G I j h (rep h G j) hr hF

            On the successful classes of the core roles the three-core leaf anchors are the representative anchors.

            theorem TrilinearHT.Auto.ActiveSetup.BasicFamilies.FamParams.SideInput.leafAnc_ok {κ' : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ' c₀} {bf : A.BasicFamilies} {fp : bf.FamParams} (D : fp.SideInput) (qG : bf.Grp → ℕ) (rep : ℕ → (G : bf.Grp) → (j : Fin 4) → ℕ → ℕ → ℤ × (ℤ × ℤ) × (D.Ms j G).Md → (D.Ms j G).Md) (hrep : ∀ (G : bf.Grp) (j : Fin 4), ∀ h ∈ ModeComponents.upperHeights D.SP.Jst D.SP.δs, ∀ (k₁ k₂ : ℕ) (c : ℤ × (ℤ × ℤ) × (D.Ms j G).Md), rep h G j k₁ k₂ c ∈ (D.Ms j G).predOfMode (D.withQ0 (qG G)).S ⋯ 10 h c) {G : bf.Grp} (hstab : (D.withQ0 (qG G)).Stab) (hΔ : D.SP.Δ = 10) (I : ℤ × ℤ) (hA : D.AncNe G I) :
            (D.withQ0 (qG G)).AnchorOK G I (D.leafAnc qG rep hrep I G hA)

            The leaf anchors satisfy AnchorOK (repAnc_ok).

            theorem TrilinearHT.Auto.ActiveSetup.BasicFamilies.FamParams.SideInput.leafAnc3_ok {κ' : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ' c₀} {bf : A.BasicFamilies} {fp : bf.FamParams} (D : fp.SideInput) (qG : bf.Grp → ℕ) (rep : ℕ → (G : bf.Grp) → (j : Fin 4) → ℕ → ℕ → ℤ × (ℤ × ℤ) × (D.Ms j G).Md → (D.Ms j G).Md) (hrep : ∀ (G : bf.Grp) (j : Fin 4), ∀ h ∈ ModeComponents.upperHeights D.SP.Jst D.SP.δs, ∀ (k₁ k₂ : ℕ) (c : ℤ × (ℤ × ℤ) × (D.Ms j G).Md), rep h G j k₁ k₂ c ∈ (D.Ms j G).predOfMode (D.withQ0 (qG G)).S ⋯ 10 h c) {G : bf.Grp} (hstab : (D.withQ0 (qG G)).Stab) (hΔ : D.SP.Δ = 10) (l : Fin 4) (I : ℤ × ℤ) (hA : D.AncNe3 G I l) (j : Fin 4) (hj : j ≠ l) :
            (D.withQ0 (qG G)).AnchorOKAt G I j fun (h : ℕ) => D.leafAnc3 qG rep hrep l I G hA h j hj

            The three-core leaf anchors satisfy AnchorOKAt in the core roles (repAnc_ok).

            theorem TrilinearHT.Auto.ActiveSetup.BasicFamilies.FamParams.SideInput.four_hcap_leaf {κ' : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ' c₀} {bf : A.BasicFamilies} {fp : bf.FamParams} (D : fp.SideInput) (qG : bf.Grp → ℕ) (T : Finset (ℤ × ℤ)) (gs : ℤ × ℤ → Finset bf.Grp) (rep : ℕ → (G : bf.Grp) → (j : Fin 4) → ℕ → ℕ → ℤ × (ℤ × ℤ) × (D.Ms j G).Md → (D.Ms j G).Md) (hrepP : ∀ (G : bf.Grp) (j : Fin 4), ∀ h ∈ ModeComponents.upperHeights D.SP.Jst D.SP.δs, ∀ (k₁ k₂ : ℕ) (c : ℤ × (ℤ × ℤ) × (D.Ms j G).Md), rep h G j k₁ k₂ c ∈ (D.Ms j G).predOfMode (D.withQ0 (qG G)).S ⋯ 10 h c) (hrep : ∀ h ∈ ModeComponents.upperHeights D.SP.Jst D.SP.δs, ∀ I ∈ T, ∀ G ∈ gs I, ∀ (j : Fin 4), (D.withQ0 (qG G)).RepOK G j h T (rep h G j)) (Nd : (j : Fin 4) → ℕ → ℕ × ℕ → (G : bf.Grp) → Finset (ℤ × (ℤ × ℤ) × (D.Ms j G).Md)) (hNd : ∀ (j : Fin 4), ∀ h ∈ ModeComponents.upperHeights D.SP.Jst D.SP.δs, ∀ I ∈ T, ∀ G ∈ gs I, ∀ (F : Finset ((D.withQ0 (qG G)).Ms j G).Md) (hF : F ∈ (D.withQ0 (qG G)).goodCls G I j h), (D.withQ0 (qG G)).classNode G I j h hF ∈ Nd j h ((D.withQ0 (qG G)).classTypeOf G I j h F) G) (huse : ∀ I ∈ T, I ∈ A.cells ∧ ∀ G ∈ gs I, fp.ActualUse G I) {ε U K : ℝ} (hcount : ∀ (y : ℝ), ∀ h ∈ ModeComponents.upperHeights D.SP.Jst D.SP.δs, ∀ (j : Fin 4) (t : ℕ × ℕ) (σ : ℝ), ε ≤ σ → σ ≤ U → (∃ (k : ℤ), σ = 2 ^ k) → ∑ G ∈ pathGroups T gs y, ↑(Finset.image (fun (p : (ℤ × ℤ) × ℤ × (ℤ × ℤ) × (D.Ms j G).Md) => rep h G j t.1 t.2 p.2) ({p ∈ fp.useInst G D.S.K (Nd j h t G) | p.1 ∈ T ∧ y ∈ dyadicGridCell A.G p.1.1 p.1.2 ∧ σ ^ 2 ≤ (D.Ms j G).nodeSize (D.withQ0 (qG G)).S ⋯ D.SP (D.c j G) h p})).card ≤ K * σ ^ (-2)) (y : ℝ) (h : ℕ) :
            h ∈ ModeComponents.upperHeights D.SP.Jst D.SP.δs → 10 ≤ h → ∀ (c : ℝ × ℝ × (Fin 4 → ℝ)), 0 < c.1 → c.1 ≤ 1 → 1 ≤ c.2.1 → (∀ (i : Fin 4), 0 < c.2.2 i) → (∀ (j : Fin 4), ε ≤ c.2.2 j ∧ c.2.2 j ≤ U ∧ ∃ (k : ℤ), c.2.2 j = 2 ^ k) → ∀ (κ : Fin 4 → ℕ × ℕ) (i : Fin 4), ∑ G ∈ pathGroups T gs y, ↑((D.withQ0 (qG G)).fourUsedReps G h y (pathCell A.G T y) (fun (s : ℤ) => D.leafAnc qG rep hrepP (pathCell A.G T y s) G) c κ (pathDepths T gs y G) i).card ≤ K * c.2.2 i ^ (-2)

            Blueprint eq:top-count along the retained paths for the four-core leaf estimate (lines 2783-2800, "the path estimates give Σ_G M_i^G ≤ C P^C σ_i^{-2} in every role"): the distinct used representatives of a role along the path of y, with the leaf anchors, are values of the representatives on use instances at the retained cells containing y with σ_i² ≤ σ_F² (four_usedReps_subset_tops), so a retained-path count of those at the retained dyadic amplitudes gives the path caps hcap of four_core_leaf.

            theorem TrilinearHT.Auto.ActiveSetup.BasicFamilies.FamParams.SideInput.three_hcap_leaf {κ' : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ' c₀} {bf : A.BasicFamilies} {fp : bf.FamParams} (D : fp.SideInput) (qG : bf.Grp → ℕ) (T : Finset (ℤ × ℤ)) (gs : ℤ × ℤ → Finset bf.Grp) (rep : ℕ → (G : bf.Grp) → (j : Fin 4) → ℕ → ℕ → ℤ × (ℤ × ℤ) × (D.Ms j G).Md → (D.Ms j G).Md) (hrepP : ∀ (G : bf.Grp) (j : Fin 4), ∀ h ∈ ModeComponents.upperHeights D.SP.Jst D.SP.δs, ∀ (k₁ k₂ : ℕ) (c : ℤ × (ℤ × ℤ) × (D.Ms j G).Md), rep h G j k₁ k₂ c ∈ (D.Ms j G).predOfMode (D.withQ0 (qG G)).S ⋯ 10 h c) (hrep : ∀ h ∈ ModeComponents.upperHeights D.SP.Jst D.SP.δs, ∀ I ∈ T, ∀ G ∈ gs I, ∀ (j : Fin 4), (D.withQ0 (qG G)).RepOK G j h T (rep h G j)) (Nd : (j : Fin 4) → ℕ → ℕ × ℕ → (G : bf.Grp) → Finset (ℤ × (ℤ × ℤ) × (D.Ms j G).Md)) (hNd : ∀ (j : Fin 4), ∀ h ∈ ModeComponents.upperHeights D.SP.Jst D.SP.δs, ∀ I ∈ T, ∀ G ∈ gs I, ∀ (F : Finset ((D.withQ0 (qG G)).Ms j G).Md) (hF : F ∈ (D.withQ0 (qG G)).goodCls G I j h), (D.withQ0 (qG G)).classNode G I j h hF ∈ Nd j h ((D.withQ0 (qG G)).classTypeOf G I j h F) G) (huse : ∀ I ∈ T, I ∈ A.cells ∧ ∀ G ∈ gs I, fp.ActualUse G I) (l : Fin 4) (Iw : ℕ) {ε U K : ℝ} (hcount : ∀ (y : ℝ), ∀ h ∈ ModeComponents.upperHeights D.SP.Jst D.SP.δs, ∀ (j : Fin 4) (t : ℕ × ℕ) (σ : ℝ), ε ≤ σ → σ ≤ U → (∃ (k : ℤ), σ = 2 ^ k) → ∑ G ∈ pathGroups T gs y, ↑(Finset.image (fun (p : (ℤ × ℤ) × ℤ × (ℤ × ℤ) × (D.Ms j G).Md) => rep h G j t.1 t.2 p.2) ({p ∈ fp.useInst G D.S.K (Nd j h t G) | p.1 ∈ T ∧ y ∈ dyadicGridCell A.G p.1.1 p.1.2 ∧ σ ^ 2 ≤ (D.Ms j G).nodeSize (D.withQ0 (qG G)).S ⋯ D.SP (D.c j G) h p})).card ≤ K * σ ^ (-2)) (hside : ∀ (y : ℝ), ∑ I ∈ T with y ∈ dyadicGridCell A.G I.1 I.2, ∑ G ∈ gs I, (D.toLeafQ qG).s2 G I ≤ K) (y : ℝ) (h : ℕ) :
            h ∈ ModeComponents.upperHeights D.SP.Jst D.SP.δs → 10 ≤ h → ∀ (c : ℝ × ℝ × ℕ × ℝ × (Fin 4 → ℝ)), 0 < c.1 → c.1 ≤ 1 → 1 ≤ c.2.1 → (∀ (i : Fin 4), 0 < threeAmp l c i) → (∀ (j : Fin 4), ε ≤ threeAmp l c j ∧ threeAmp l c j ≤ U ∧ ∃ (k : ℤ), threeAmp l c j = 2 ^ k) → ∀ (κ : Fin 4 → ℕ × ℕ), (∀ (i : Fin 4) (hi : i ≠ l), ∑ G ∈ pathGroups T gs y, ↑((D.withQ0 (qG G)).threeUsedReps G h y l (pathCell A.G T y) (fun (s : ℤ) => D.leafAnc3 qG rep hrepP l (pathCell A.G T y s) G) Iw c κ (pathDepths T gs y G) i hi).card ≤ K * threeAmp l c i ^ (-2)) ∧ ∑ G ∈ pathGroups T gs y, ∑ s ∈ pathDepths T gs y G, (D.withQ0 (qG G)).sideWeight G l (pathCell A.G T y) c.2.2.2.1 s ≤ K * threeAmp l c l ^ (-2)

            Blueprint eq:top-count and eq:side-cap along the retained paths for the three-core leaf estimate with side role l: the core roles as in four_hcap_leaf (three_usedReps_subset_tops), and the side role from the retained side cap Σ_{I ∋ y} Σ_G Σ_l ‖S_{l,G,I}‖²/|I| ≤ K of the side estimate (side_estimate_leaf), since M_l^G = σ_l^{-2} Σ_s ‖S_{l,G,s}‖²_{2,I_s} and the physical part of a column has normalized square at most its normalized square norm (physSq_le).

            theorem TrilinearHT.Auto.ModeSystem.self_mem_predOfMode {Gd : RealDyadicGrid} {Mc : ℕ} (Ms : ModeSystem Gd Mc) (S : ModeSchedule) (hA : 6 ≤ S.A0) (Δ h : ℕ) (c : ℤ × (ℤ × ℤ) × Ms.Md) :
            c.2.2 ∈ Ms.predOfMode S hA Δ h c

            A mode lies in its own predecessor set (the identity representatives).

            theorem TrilinearHT.Auto.ActiveSetup.BasicFamilies.FamParams.SideInput.classNode_mem_succNodes_ret {κ' : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ' c₀} {bf : A.BasicFamilies} {fp : bf.FamParams} (D : fp.SideInput) {G : bf.Grp} {I : ℤ × ℤ} {j : Fin 4} {h : ℕ} {F : Finset (D.Ms j G).Md} (hF : F ∈ D.goodCls G I j h) {Bs : Finset ℤ} (hB : A.blkStart D.S.K I.1 ∈ Bs) :
            D.classNode G I j h hF ∈ (D.Ms j G).succNodes D.S ⋯ D.SP (fp.retainedPairs G Bs D.S.K) h

            A final class of a role at a cell lies on a retained pre-cell of its block: its class node is a successful node over the retained pairs of the blocks Bs containing the block of the cell.

            noncomputable def TrilinearHT.Auto.ActiveSetup.BasicFamilies.FamParams.SideInput.leafRep {κ' : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ' c₀} {bf : A.BasicFamilies} {fp : bf.FamParams} (D : fp.SideInput) (gset : Finset bf.Grp) (qG : bf.Grp → ℕ) (Rr : (j : Fin 4) → (h : ℕ) → ℕ × ℕ → (G : ↥gset) → (D.Ms j ↑G).RepClass (D.withQ0 (qG ↑G)).S ⋯ D.SP 10 h) (h : ℕ) (G : bf.Grp) (j : Fin 4) (k₁ k₂ : ℕ) :
            ℤ × (ℤ × ℤ) × (D.Ms j G).Md → (D.Ms j G).Md

            The representatives of the leaf core estimate: those of the type classes of the groups of gset (first_top_count_main), the identity representatives outside gset.

            Equations
            Instances For
              noncomputable def TrilinearHT.Auto.ActiveSetup.BasicFamilies.FamParams.SideInput.leafNd {κ' : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ' c₀} {bf : A.BasicFamilies} {fp : bf.FamParams} (D : fp.SideInput) (gset : Finset bf.Grp) (qG : bf.Grp → ℕ) (Rr : (j : Fin 4) → (h : ℕ) → ℕ × ℕ → (G : ↥gset) → (D.Ms j ↑G).RepClass (D.withQ0 (qG ↑G)).S ⋯ D.SP 10 h) (Ts : Finset (ℕ × ℕ)) (j : Fin 4) (h : ℕ) (t : ℕ × ℕ) (G : bf.Grp) :
              Finset (ℤ × (ℤ × ℤ) × (D.Ms j G).Md)

              The nodes of the type classes of the leaf representatives (empty outside gset and the types Ts).

              Equations
              Instances For
                theorem TrilinearHT.Auto.ActiveSetup.BasicFamilies.FamParams.SideInput.leafRep_pred {κ' : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ' c₀} {bf : A.BasicFamilies} {fp : bf.FamParams} (D : fp.SideInput) (gset : Finset bf.Grp) (qG : bf.Grp → ℕ) (Rr : (j : Fin 4) → (h : ℕ) → ℕ × ℕ → (G : ↥gset) → (D.Ms j ↑G).RepClass (D.withQ0 (qG ↑G)).S ⋯ D.SP 10 h) (G : bf.Grp) (j : Fin 4) (h k₁ k₂ : ℕ) (c : ℤ × (ℤ × ℤ) × (D.Ms j G).Md) :
                D.leafRep gset qG Rr h G j k₁ k₂ c ∈ (D.Ms j G).predOfMode (D.withQ0 (qG G)).S ⋯ 10 h c
                theorem TrilinearHT.Auto.ActiveSetup.BasicFamilies.FamParams.SideInput.leafRep_repOK {κ' : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ' c₀} {bf : A.BasicFamilies} {fp : bf.FamParams} (D : fp.SideInput) (gset : Finset bf.Grp) (qG : bf.Grp → ℕ) (Rr : (j : Fin 4) → (h : ℕ) → ℕ × ℕ → (G : ↥gset) → (D.Ms j ↑G).RepClass (D.withQ0 (qG ↑G)).S ⋯ D.SP 10 h) (Bs : Finset ℤ) (hNdR : ∀ (j : Fin 4), ∀ h ≤ D.SP.Jst, ∀ (t : ℕ × ℕ) (G : ↥gset), ∀ c ∈ (D.Ms j ↑G).succNodes (D.withQ0 (qG ↑G)).S ⋯ D.SP (fp.retainedPairs (↑G) Bs D.S.K) h, (D.Ms j ↑G).nodeType1 (D.withQ0 (qG ↑G)).S ⋯ 10 h c = t.1 → (D.Ms j ↑G).nodeType2 (D.withQ0 (qG ↑G)).S ⋯ 10 h c = t.2 → c ∈ (Rr j h t G).Nd) (T : Finset (ℤ × ℤ)) (hTB : ∀ I ∈ T, A.blkStart D.S.K I.1 ∈ Bs) {G : bf.Grp} (hG : G ∈ gset) (j : Fin 4) (h : ℕ) (hh : h ≤ D.SP.Jst) :
                (D.withQ0 (qG G)).RepOK G j h T (D.leafRep gset qG Rr h G j)

                The leaf representatives have the properties RepOK on the cells T (repOK_of_repClass) when the type-class nodes are the successful nodes of their type over the retained pairs of the blocks Bs (as in first_top_count_main) and the blocks of the cells of T lie in Bs.

                theorem TrilinearHT.Auto.ActiveSetup.BasicFamilies.FamParams.SideInput.leafNd_mem {κ' : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ' c₀} {bf : A.BasicFamilies} {fp : bf.FamParams} (D : fp.SideInput) (gset : Finset bf.Grp) (qG : bf.Grp → ℕ) (Rr : (j : Fin 4) → (h : ℕ) → ℕ × ℕ → (G : ↥gset) → (D.Ms j ↑G).RepClass (D.withQ0 (qG ↑G)).S ⋯ D.SP 10 h) (Bs : Finset ℤ) (hNdR : ∀ (j : Fin 4), ∀ h ≤ D.SP.Jst, ∀ (t : ℕ × ℕ) (G : ↥gset), ∀ c ∈ (D.Ms j ↑G).succNodes (D.withQ0 (qG ↑G)).S ⋯ D.SP (fp.retainedPairs (↑G) Bs D.S.K) h, (D.Ms j ↑G).nodeType1 (D.withQ0 (qG ↑G)).S ⋯ 10 h c = t.1 → (D.Ms j ↑G).nodeType2 (D.withQ0 (qG ↑G)).S ⋯ 10 h c = t.2 → c ∈ (Rr j h t G).Nd) {I : ℤ × ℤ} (hB : A.blkStart D.S.K I.1 ∈ Bs) {G : bf.Grp} (hG : G ∈ gset) (j : Fin 4) (h : ℕ) (hh : h ≤ D.SP.Jst) (hcard : ↑((D.Ms j G).alive (ancAt A.G (D.preAt I) (A.blkStart D.S.K I.1 - 4 * ↑D.S.K))).card ≤ D.S.Dstar) {F : Finset (D.Ms j G).Md} (hF : F ∈ (D.withQ0 (qG G)).goodCls G I j h) :
                (D.withQ0 (qG G)).classNode G I j h hF ∈ D.leafNd gset qG Rr (Finset.range (Nat.log 2 ⌊D.S.Dstar⌋₊ + 1) ×ˢ Finset.range (Nat.log 2 ⌊D.S.Dstar⌋₊ + 1)) j h ((D.withQ0 (qG G)).classTypeOf G I j h F) G

                The class nodes of the leaf classes lie in the type-class nodes of their type.

                theorem TrilinearHT.Auto.ActiveSetup.BasicFamilies.FamParams.SideInput.leaf_hcount {κ' : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ' c₀} {bf : A.BasicFamilies} {fp : bf.FamParams} (D : fp.SideInput) (gset : Finset bf.Grp) (qG : bf.Grp → ℕ) (Rr : (j : Fin 4) → (h : ℕ) → ℕ × ℕ → (G : ↥gset) → (D.Ms j ↑G).RepClass (D.withQ0 (qG ↑G)).S ⋯ D.SP 10 h) (Ts : Finset (ℕ × ℕ)) (T : Finset (ℤ × ℤ)) (gs : ℤ × ℤ → Finset bf.Grp) (hgs : ∀ I ∈ T, gs I ⊆ gset) (Cut : Fin 4 → Finset (ℤ × ℤ)) (hTcut : ∀ I ∈ T, ∀ (j : Fin 4), ∀ e ∈ Cut j, ¬dyadicGridCell A.G I.1 I.2 ⊆ dyadicGridCell A.G e.1 e.2) (Thr : Finset ℝ) {ε U Mt : ℝ} (hε : 0 < ε) (hThr : ∀ (σ : ℝ), ε ≤ σ → σ ≤ U → (∃ (k : ℤ), σ = 2 ^ k) → D.S.Dstar⁻¹ ≤ σ → σ ∈ Thr) (hD1 : 1 ≤ D.S.Dstar) (hTop : ∀ (j : Fin 4) (y : ℝ), ∀ h ∈ ModeComponents.upperHeights D.SP.Jst D.SP.δs, ∀ t ∈ Ts, ∀ σ ∈ Thr, ∑ G : ↥gset, ↑(Finset.image (fun (p : (ℤ × ℤ) × ℤ × (ℤ × ℤ) × (D.Ms j ↑G).Md) => (Rr j h t G).rep p.2) ({p ∈ fp.useInst (↑G) D.S.K (Rr j h t G).Nd | (∀ e ∈ Cut j, ¬dyadicGridCell A.G p.1.1 p.1.2 ⊆ dyadicGridCell A.G e.1 e.2) ∧ y ∈ dyadicGridCell A.G p.1.1 p.1.2 ∧ σ ^ 2 ≤ (D.Ms j ↑G).nodeSize (D.withQ0 (qG ↑G)).S ⋯ D.SP (D.c j ↑G) h p})).card ≤ Mt * σ ^ (-2)) (hpathD : ∀ (j : Fin 4) (y : ℝ), ∑ G : ↥gset, ↑((D.Ms j ↑G).ptSet y).card ≤ D.S.Dstar) (y : ℝ) (h : ℕ) :
                h ∈ ModeComponents.upperHeights D.SP.Jst D.SP.δs → ∀ (j : Fin 4) (t : ℕ × ℕ) (σ : ℝ), ε ≤ σ → σ ≤ U → (∃ (k : ℤ), σ = 2 ^ k) → ∑ G ∈ pathGroups T gs y, ↑(Finset.image (fun (p : (ℤ × ℤ) × ℤ × (ℤ × ℤ) × (D.Ms j G).Md) => D.leafRep gset qG Rr h G j t.1 t.2 p.2) ({p ∈ fp.useInst G D.S.K (D.leafNd gset qG Rr Ts j h t G) | p.1 ∈ T ∧ y ∈ dyadicGridCell A.G p.1.1 p.1.2 ∧ σ ^ 2 ≤ (D.Ms j G).nodeSize (D.withQ0 (qG G)).S ⋯ D.SP (D.c j G) h p})).card ≤ max 1 Mt * σ ^ (-2)

                Blueprint eq:top-count (lines 2212-2229) at the retained dyadic amplitudes of a leaf: from the retained-path top counts of first_top_count_main (thresholds σ ∈ Thr, all σ ≥ D_*^{-1}, the cells of T outside the top-count cuts Cut j) and, for σ < D_*^{-1}, the full mode budget along a path (usedReps_le_Dstar, then D_* ≤ σ^{-2}), the counts of distinct used representatives over the groups of the path of y are at most max(1, M_t) σ^{-2} (the input hcount of four_hcap_leaf and three_hcap_leaf).

                structure TrilinearHT.Auto.ActiveSetup.BasicFamilies.FamParams.SideInput.PrinOK {κ' : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ' c₀} {bf : A.BasicFamilies} {fp : bf.FamParams} (D : fp.SideInput) (G : bf.Grp) (δ Cm : ℝ) (Kt Kf : ℕ) :

                The per-group hypotheses of the principal bins (four_core_principal_bins, three_core_principal_bins, blueprint lines 1932-1944 and eq:mode-parameters): a common chart of the roles, the cutoff width δ, the coefficients and offsets of the modes, the clearing of the center by Q₀, its entry bound C_m, the truncations at K_t and K_f, the full Fourier norms, the inverse weights and the mode curvature bound.

                Instances For
                  noncomputable def TrilinearHT.Auto.ActiveSetup.BasicFamilies.FamParams.SideInput.K1 {κ' : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ' c₀} {bf : A.BasicFamilies} {fp : bf.FamParams} (D : fp.SideInput) :

                  The constant K₁ = 2⁴/(1 - 4(2δ_*)^{1/4}) of eq:principal-core.

                  Equations
                  Instances For
                    noncomputable def TrilinearHT.Auto.ActiveSetup.BasicFamilies.FamParams.SideInput.coreM4 {κ' : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ' c₀} {bf : A.BasicFamilies} {fp : bf.FamParams} (D : fp.SideInput) (J : ℕ) (U ε K : ℝ) :

                    The bound M_τ of eq:core-final for the four-core pattern (four_core_leaf).

                    Equations
                    • One or more equations did not get rendered due to their size.
                    Instances For
                      noncomputable def TrilinearHT.Auto.ActiveSetup.BasicFamilies.FamParams.SideInput.coreM3 {κ' : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ' c₀} {bf : A.BasicFamilies} {fp : bf.FamParams} (D : fp.SideInput) (J Aw Iw : ℕ) (U ε K : ℝ) (l : Fin 4) :

                      The bound M_τ of eq:core-final for the three-core pattern with side role l (three_core_leaf).

                      Equations
                      • One or more equations did not get rendered due to their size.
                      Instances For
                        noncomputable def TrilinearHT.Auto.ActiveSetup.BasicFamilies.FamParams.SideInput.coreE {κ' : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ' c₀} {bf : A.BasicFamilies} {fp : bf.FamParams} (D : fp.SideInput) (qG : bf.Grp → ℕ) (gs : ℤ × ℤ → Finset bf.Grp) (J Aw Iw : ℕ) (U ε : ℝ) (I : ℤ × ℤ) :

                        The absolute errors of eq:core-final at a cell: the tuple errors of eq:core-numerical and the negligible amplitudes, over the groups and the patterns with at least three cores.

                        Equations
                        • One or more equations did not get rendered due to their size.
                        Instances For
                          theorem TrilinearHT.Auto.ActiveSetup.BasicFamilies.FamParams.SideInput.leaf_core_estimate {κ' : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ' c₀} {bf : A.BasicFamilies} {fp : bf.FamParams} (D : fp.SideInput) {Cj CA CT CK : ℕ} {δs W : ℝ} (hV : D.S.Valid Cj CA CT CK δs W) (hCA : 1 ≤ CA) (hCT : 4 ≤ CT) (hd2 : 2 ≤ D.S.dmax) (hD : 2 ≤ D.S.Dstar) (hB : 2 ≤ D.S.Bstar) (hQ0 : 1 ≤ D.S.Q0) (hSP : D.SP = D.S.sideParams δs) (hdD : ↑D.S.dmax ≤ D.S.Dstar) (qG : bf.Grp → ℕ) (hqG : ∀ (G : bf.Grp), 1 ≤ qG G ∧ qG G ≤ D.S.Q0) (J : ℕ) (hJ3 : 3 ≤ J) (Aw Iw : ℕ) (hAw : 1 ≤ Aw) (hIw1 : D.U0 ≤ 2 ^ (Iw + 1)) (hIw2 : 2 ^ Iw ≤ 2 * D.U0) (T : Finset (ℤ × ℤ)) (hTc : T ⊆ A.cells) (hTR : ∀ I ∈ T, dyadicGridCell A.G I.1 I.2 ⊆ dyadicGridCell A.G A.R.1 A.R.2) (gs : ℤ × ℤ → Finset bf.Grp) (gset : Finset bf.Grp) (hgs : ∀ I ∈ T, gs I ⊆ gset) (huse : ∀ I ∈ T, ∀ G ∈ gs I, fp.ActualUse G I) (z : bf.Grp → ChartTag) (hGc : ∀ G ∈ gset, (∀ (j : Fin 4), 8 * (D.Ms j G).Λ ≤ D.S.Ξ) ∧ (∀ (j : Fin 4), (D.Ms j G).zc = z G) ∧ (z G).dim ≤ D.S.dmax) (δ Cm : bf.Grp → ℝ) (Kt Kf : ℕ) (hprin : ∀ G ∈ gset, (D.withQ0 (qG G)).PrinOK G (δ G) (Cm G) Kt Kf) (hstab : ∀ G ∈ gset, (D.withQ0 (qG G)).Stab) (hK : D.S.Dstar ^ 600 ≤ 2 ^ D.S.K) (hJ : 2 ≤ D.SP.Jst) (hδs : 0 < D.SP.δs) (hδ16 : D.SP.δs ≤ 1 / 16) (hδJ : ⌈4 * D.SP.δs * ↑D.SP.Jst⌉₊ ≤ D.SP.Jst) (hq : 4 * (2 * D.SP.δs) ^ (1 / 4) < 1) (hcard : ∀ I ∈ T, ∀ G ∈ gset, ∀ (j : Fin 4), ↑((D.Ms j G).alive (ancAt A.G (D.preAt I) (A.blkStart D.S.K I.1 - 4 * ↑D.S.K))).card ≤ D.S.Dstar) (Rr : (j : Fin 4) → (h : ℕ) → ℕ × ℕ → (G : ↥gset) → (D.Ms j ↑G).RepClass (D.withQ0 (qG ↑G)).S ⋯ D.SP 10 h) (Bs : Finset ℤ) (hNdR : ∀ (j : Fin 4), ∀ h ≤ D.SP.Jst, ∀ (t : ℕ × ℕ) (G : ↥gset), ∀ c ∈ (D.Ms j ↑G).succNodes (D.withQ0 (qG ↑G)).S ⋯ D.SP (fp.retainedPairs (↑G) Bs D.S.K) h, (D.Ms j ↑G).nodeType1 (D.withQ0 (qG ↑G)).S ⋯ 10 h c = t.1 → (D.Ms j ↑G).nodeType2 (D.withQ0 (qG ↑G)).S ⋯ 10 h c = t.2 → c ∈ (Rr j h t G).Nd) (hTB : ∀ I ∈ T, A.blkStart D.S.K I.1 ∈ Bs) (Cut : Fin 4 → Finset (ℤ × ℤ)) (hTcut : ∀ I ∈ T, ∀ (j : Fin 4), ∀ e ∈ Cut j, ¬dyadicGridCell A.G I.1 I.2 ⊆ dyadicGridCell A.G e.1 e.2) (Thr : Finset ℝ) {ε U Mt Ks : ℝ} (hε : 0 < ε) (hεU : ε ≤ U) (hThr : ∀ (σ : ℝ), ε ≤ σ → σ ≤ U → (∃ (k : ℤ), σ = 2 ^ k) → D.S.Dstar⁻¹ ≤ σ → σ ∈ Thr) (hTop : ∀ (j : Fin 4) (y : ℝ), ∀ h ∈ ModeComponents.upperHeights D.SP.Jst D.SP.δs, ∀ t ∈ Finset.range (Nat.log 2 ⌊D.S.Dstar⌋₊ + 1) ×ˢ Finset.range (Nat.log 2 ⌊D.S.Dstar⌋₊ + 1), ∀ σ ∈ Thr, ∑ G : ↥gset, ↑(Finset.image (fun (p : (ℤ × ℤ) × ℤ × (ℤ × ℤ) × (D.Ms j ↑G).Md) => (Rr j h t G).rep p.2) ({p ∈ fp.useInst (↑G) D.S.K (Rr j h t G).Nd | (∀ e ∈ Cut j, ¬dyadicGridCell A.G p.1.1 p.1.2 ⊆ dyadicGridCell A.G e.1 e.2) ∧ y ∈ dyadicGridCell A.G p.1.1 p.1.2 ∧ σ ^ 2 ≤ (D.Ms j ↑G).nodeSize (D.withQ0 (qG ↑G)).S ⋯ D.SP (D.c j ↑G) h p})).card ≤ Mt * σ ^ (-2)) (hpathD : ∀ (j : Fin 4) (y : ℝ), ∑ G : ↥gset, ↑((D.Ms j ↑G).ptSet y).card ≤ D.S.Dstar) (hU : ∀ I ∈ T, ∀ G ∈ gs I, ∀ h ∈ ModeComponents.upperHeights D.SP.Jst D.SP.δs, ∀ (j : Fin 4), ∀ F ∈ (D.withQ0 (qG G)).goodCls G I j h, (D.withQ0 (qG G)).clsSize G I j F ≤ U) (hUs : ∀ (l : Fin 4), ∀ I ∈ T, ∀ G ∈ gs I, √((dyadicGridLength A.G I.1)⁻¹ * ∫ (y : ℝ) in dyadicGridLeft A.G I.1 I.2..dyadicGridLeft A.G I.1 I.2 + dyadicGridLength A.G I.1, ‖augPhys ((D.withQ0 (qG G)).toLeaf.sv l G I) y‖ ^ 2) ≤ U) (hside : ∀ (y : ℝ), ∑ I ∈ T with y ∈ dyadicGridCell A.G I.1 I.2, ∑ G ∈ gs I, (D.toLeafQ qG).s2 G I ≤ Ks) (L : (l : Fin 4) → (G : bf.Grp) → LiftData (bf.Lab ⊕ Fin fp.Mc) (D.Ms l G).Md) {η : ℝ} (hη : 0 ≤ η) :
                          ∑ I ∈ T, dyadicGridLength A.G I.1 * min η ‖∑ τ : Fin 4 → Fin 3 with (∀ (l : Fin 4), τ l ≠ 2) ∧ 3 ≤ patternCount τ 0, ∑ G ∈ gs I, (fp.Λc I) (patternPiece (fun (l : Fin 4) => (D.withQ0 (qG G)).coreAt l G I) (fun (l : Fin 4) => (D.toLeafQ qG).sv l G I) (fun (l : Fin 4) => (D.withQ0 (qG G)).errAt L l G I) τ)‖ ≤ η ^ (1 / 1200) * (dyadicGridLength A.G A.R.1 * (D.coreM4 J U ε (max (max 1 Mt) Ks) + ∑ l : Fin 4, D.coreM3 J Aw Iw U ε (max (max 1 Mt) Ks) l)) + ∑ I ∈ T, dyadicGridLength A.G I.1 * D.coreE qG gs J Aw Iw U ε I

                          Blueprint lines 2820-2822 (declaration core-estimate) on one leaf of the side states: the weighted active minimum of the patterns with at least three cores over the retained cells T (outside the top-count cuts Cut j) is at most η^{1/1200} |R| (M₄ + Σ_l M₃(l)) plus the absolute errors coreE. The ingredients: the principal bins of every group (per-group side inputs D.withQ0 (qG G), hypotheses PrinOK, stabilization), the leaf anchors from the type-class representatives Rr of first_top_count_main (leafRep, leafAnc, leafAnc3), the path caps from the retained-path top counts and the side cap (leaf_hcount, four_hcap_leaf, three_hcap_leaf, cap K = max(1, M_t, K_s)), and eq:core-final for the four-core pattern and the three-core patterns (four_core_leaf, three_core_leaf, core_leaf_patterns).

                          theorem TrilinearHT.Auto.ActiveSetup.BasicFamilies.FamParams.SideInput.leaf_bound {κ' : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ' c₀} {bf : A.BasicFamilies} {fp : bf.FamParams} (D : fp.SideInput) (qG : bf.Grp → ℕ) {q : ℝ} (hq2 : 2 < q) (hq3 : q < 3) (hanc : A.AncClosed) (hne : A.cells.Nonempty) {fuel : ℕ} {up₀ : Fin 4} {s : ℕ} (hLf : D.Lf = leafAt fuel fp.Lc up₀ s) (hmH : 2 * fuel + 2 ≤ fp.mH) {Nd N : ℕ} (hKNd : A.DepthWin Nd) (hKN : D.S.K ≤ 2 ^ N) (S : Finset (ℤ × ℤ)) (hS : S ⊆ A.cells) (hroot : ∀ I ∈ S, dyadicGridCell A.G I.1 I.2 ⊆ dyadicGridCell A.G A.R.1 A.R.2) (gs : ℤ × ℤ → Finset bf.Grp) (gset : Finset bf.Grp) (hgs : ∀ I ∈ S, gs I ⊆ gset) (Lp Jm Bn k : ℕ) (hBn : ∀ I ∈ S, (D.toLeafQ qG).bk I < Bn) (hLp : ∀ (l : Fin 4), ((D.toLeafQ qG).pe l).length ≤ Lp) (hJm : ∀ (c d : Fin 4) (i i' : ℕ), ((D.toLeafQ qG).desc c d ((D.toLeafQ qG).tOf c i) ((D.toLeafQ qG).tOf d i')).length ≤ Jm) (Act : Finset (ℤ × ℤ)) (hact : ∀ I ∈ S, I ∈ Act ∧ ∀ G ∈ gs I, G ∈ fp.groupsAt I k) {Mp : ℝ} (hMp : ∀ (y : ℝ), ↑{c ∈ Act | y ∈ dyadicGridCell A.G c.1 c.2}.card ≤ Mp) (hcertS : ∀ I ∈ S, ∀ G ∈ gs I, fp.Cert k G I) (huse : ∀ I ∈ S, ∀ G ∈ gs I, fp.ActualUse G I) {Np : ℝ} (hNp : ∀ (c d : Fin 4), ↑((D.toLeafQ qG).pe d).length * ↑((D.toLeafQ qG).pe c).length ≤ Np) {τ : ℝ} (hτ : 0 ≤ τ) (hpair : ∀ I ∈ S, ∀ (c d : Fin 4), c ≠ d → D.u ≠ some c → D.u ≠ some d → PairSmall (dyadicGridLeft A.G I.1 I.2) (dyadicGridLength A.G I.1) (A.w I) c d (A.Y I c) (A.Y I d) τ) {CF : ℝ} (hCF : 0 < CF) (hnormF : ∀ (l : Fin 4) (jb : Fin 2), ∀ U ∈ A.cells, ‖(columnL2Restriction (dyadicGridCell A.G U.1 U.2) ⋯) (bf.P l jb).Z‖ ^ 2 ≤ CF * dyadicGridLength A.G U.1) {η₀ E : ℝ} (hsub : A.SubRootProps η₀ E) {τr : ℕ → ℝ} (hpass : ∀ I ∈ S, ∀ (l : Fin 4), D.u ≠ some l → ∀ (w : fp.TestName I Unit), fp.MainRk w → (fp.testOf l I (fun (x : Unit) => bf.basicIn fp.Mc l I) w).Pass A.G (bf.origCols l) I A.csrc A.Hsrc bf.vtag (A.w I) (τr (fp.testOf l I (fun (x : Unit) => bf.basicIn fp.Mc l I) w).r) fp.mH (D.cat l)) {τH : ℝ} (hτH : 0 ≤ τH) {Bh : Type} (gE : ℤ × ℤ → Bh → bf.Grp) (hgE : ∀ I ∈ S, ∀ G ∈ gs I, ∃ (i : Bh), gE I i = G) (hhpass : ∀ I ∈ S, ∀ (a : Fin 4) (w : fp.HelperName I Bh), (fp.helperOf a I (fun (i : Bh) => (D.toLeafQ qG).sv a (gE I i) I) w).Pass A.G (bf.origCols a) I A.csrc A.Hsrc bf.vtag (A.w I) τH fp.mH (D.cat a)) {τ₃ Sz : ℝ} (hτ0 : ∀ (R : ℕ), 0 ≤ τr R) (n : ℕ → ℝ) (hn : Monotone n) (hn0 : 2 * A.colBudget ≤ n 0) (hτr : ∀ (R : ℕ), 1 ≤ R → R ≤ fp.Lc + 4 → τr R * (A.colBudget * √(n (R - 1))) ≤ τ₃) (hτH' : τH * (A.colBudget * √(n (fp.Lc + 4))) ≤ τ₃) (hSz : 2 * √CF ≤ Sz) (d₀ : bf.Vtx) {NH : ℝ} (hNl : ∀ I ∈ S, ∀ (l : Fin 4), ∀ r ≤ fp.Lc + 4, ∀ (M : bf.Vtx → Prop), ↑(mainLabelsM A.G fp.Mc (bf.origCols l) (D.cat l) I r M d₀).card ≤ n r) (hNH : ∀ I ∈ S, ∀ (a : Fin 4) (M : bf.Vtx → Prop), ↑(mainLabelsM A.G fp.Mc (bf.origCols a) (D.cat a) I (fp.Lc + 5) M d₀).card ≤ NH) {τ₂ : ℝ} (hτ₂ : 0 < τ₂) (hτ₂1 : τ₂ ≤ 1) (hτ₂' : τ₂ * (A.colBudget * √(n (fp.Lc + 4)) * (A.colBudget * √NH)) ≤ τ₃) (hHed₂ : Real.exp (↑A.Dg * (1 + Real.log A.Hsrc + Real.log τ₂⁻¹) ^ A.Dg) ≤ fp.Hed) (G₀ : bf.Grp) (B : (D.toLeafQ qG).BallData gset) {ra rb : ℝ} (hroot' : ∀ I ∈ A.cells, dyadicGridCell A.G I.1 I.2 ⊆ Set.Icc ra rb) {τ' : ℝ} (hτ' : 0 < τ') (hτ1 : τ' ≤ 1) (hHed : Real.exp (↑A.Dg * (1 + Real.log A.Hsrc + Real.log τ'⁻¹) ^ A.Dg) ≤ fp.Hed) (hτN : τ' * ↑B.N * A.colBudget ^ 2 ≤ 1) (cc : ℕ) (hc : 1 ≤ cc) {kk : ℝ} (hk : 1 ≤ kk) (hDm : ∀ (l : Fin 4), Real.log (2 * (D.mbs l).B) ≤ kk ^ cc) (hDb : Real.log (2 * A.colBudget) ≤ kk ^ cc) (hJc : ↑Jm ≤ ↑cc * (Real.log kk + 1)) (hLs : ∀ (l : Fin 4), ↑(D.Lf.layers l).length ≤ ↑cc * (Real.log kk + 1)) {Vl : Fin 4 → ℝ} (hlin : ∀ (l : Fin 4), D.u ≠ some l → ∑ G ∈ gset, ∑ β ∈ Finset.range Bn, ‖(D.Ms l G).blockSide (D.S.withQ0 (qG G)) ⋯ D.SP (A.R.1 + ↑(D.S.K * β)) (fp.retainedV G (A.R.1 + ↑(D.S.K * β)) D.S.K) (D.c l G (A.R.1 + ↑(D.S.K * β)))‖ ^ 2 ≤ Vl l * dyadicGridLength A.G A.R.1) (hP : 1 ≤ fp.P) (Γa Γb : Fin 4 → ℝ) (ΓU : ℝ) (hΓa : ∀ (a : Fin 4), D.u ≠ some a → fp.stackEA (SideLeafM.nOs Lp Jm) (D.cat a) (D.mbs a) (D.toLeafQ qG).Dpre N (capV A cc kk) (sideB0 A cc kk (Vl a)) ≤ (↑fp.P + 2) * Γa a * dyadicGridLength A.G A.R.1) (hΓb : ∀ (b : Fin 4), D.u ≠ some b → ↑(SideLeafM.nOs Lp Jm).card * (↑N * capV A cc kk + sideB0 A cc kk (Vl b)) ≤ Γb b * dyadicGridLength A.G A.R.1) (hΓU : ↑(SideLeafM.nOs Lp Jm).card * (2 * (4 * E * dyadicGridLength A.G A.R.1)) ≤ ΓU * dyadicGridLength A.G A.R.1) (L : (l : Fin 4) → (G : bf.Grp) → LiftData (bf.Lab ⊕ Fin fp.Mc) (D.Ms l G).Md) (hrep : ∀ I ∈ S, ∀ G ∈ gs I, ∀ (l : Fin 4), D.u ≠ some l → (D.withQ0 (qG G)).RepAt L l G I) {Ee M : ℝ} (hEe : ∑ I ∈ S, ∑ G ∈ gs I, ∑ l : Fin 4, ‖(D.withQ0 (qG G)).errAt L l G I‖ ^ 2 ≤ Ee) (hM : ∑ I ∈ S, dyadicGridLength A.G I.1 * ↑(gs I).card ≤ M) {ρ₂ : ℝ} (hρ₂ : 0 < ρ₂) (hρ₂1 : ρ₂ < 1) {η p ρ : ℝ} (hη : 0 ≤ η) (hp : 2 / 3 < p) (hp1 : p ≤ 1) (hρ : 0 < ρ) (hρ1 : ρ < 1) {Cj CA CT CK : ℕ} {δs W : ℝ} (hV : D.S.Valid Cj CA CT CK δs W) (hCA : 1 ≤ CA) (hCT : 4 ≤ CT) (hd2 : 2 ≤ D.S.dmax) (hD : 2 ≤ D.S.Dstar) (hB : 2 ≤ D.S.Bstar) (hQ0 : 1 ≤ D.S.Q0) (hSP : D.SP = D.S.sideParams δs) (hdD : ↑D.S.dmax ≤ D.S.Dstar) (hqG : ∀ (G : bf.Grp), 1 ≤ qG G ∧ qG G ≤ D.S.Q0) (J : ℕ) (hJ3 : 3 ≤ J) (Aw Iw : ℕ) (hAw : 1 ≤ Aw) (hIw1 : D.U0 ≤ 2 ^ (Iw + 1)) (hIw2 : 2 ^ Iw ≤ 2 * D.U0) (z : bf.Grp → ChartTag) (hGc : ∀ G ∈ gset, (∀ (j : Fin 4), 8 * (D.Ms j G).Λ ≤ D.S.Ξ) ∧ (∀ (j : Fin 4), (D.Ms j G).zc = z G) ∧ (z G).dim ≤ D.S.dmax) (δ Cm : bf.Grp → ℝ) (Kt Kf : ℕ) (hprin : ∀ G ∈ gset, (D.withQ0 (qG G)).PrinOK G (δ G) (Cm G) Kt Kf) (hstab : ∀ G ∈ gset, (D.withQ0 (qG G)).Stab) (hK : D.S.Dstar ^ 600 ≤ 2 ^ D.S.K) (hJ : 2 ≤ D.SP.Jst) (hδs : 0 < D.SP.δs) (hδ16 : D.SP.δs ≤ 1 / 16) (hδJ : ⌈4 * D.SP.δs * ↑D.SP.Jst⌉₊ ≤ D.SP.Jst) (hq : 4 * (2 * D.SP.δs) ^ (1 / 4) < 1) (hcard : ∀ I ∈ S, ∀ G ∈ gset, ∀ (j : Fin 4), ↑((D.Ms j G).alive (ancAt A.G (D.preAt I) (A.blkStart D.S.K I.1 - 4 * ↑D.S.K))).card ≤ D.S.Dstar) (Rr : (j : Fin 4) → (h : ℕ) → ℕ × ℕ → (G : ↥gset) → (D.Ms j ↑G).RepClass (D.withQ0 (qG ↑G)).S ⋯ D.SP 10 h) (Bs : Finset ℤ) (hNdR : ∀ (j : Fin 4), ∀ h ≤ D.SP.Jst, ∀ (t : ℕ × ℕ) (G : ↥gset), ∀ c ∈ (D.Ms j ↑G).succNodes (D.withQ0 (qG ↑G)).S ⋯ D.SP (fp.retainedPairs (↑G) Bs D.S.K) h, (D.Ms j ↑G).nodeType1 (D.withQ0 (qG ↑G)).S ⋯ 10 h c = t.1 → (D.Ms j ↑G).nodeType2 (D.withQ0 (qG ↑G)).S ⋯ 10 h c = t.2 → c ∈ (Rr j h t G).Nd) (hSB : ∀ I ∈ S, A.blkStart D.S.K I.1 ∈ Bs) (Cut : Fin 4 → Finset (ℤ × ℤ)) (hScut : ∀ I ∈ S, ∀ (j : Fin 4), ∀ e ∈ Cut j, ¬dyadicGridCell A.G I.1 I.2 ⊆ dyadicGridCell A.G e.1 e.2) (Thr : Finset ℝ) {ε U Mt : ℝ} (hε : 0 < ε) (hεU : ε ≤ U) (hThr : ∀ (σ : ℝ), ε ≤ σ → σ ≤ U → (∃ (k : ℤ), σ = 2 ^ k) → D.S.Dstar⁻¹ ≤ σ → σ ∈ Thr) (hTop : ∀ (j : Fin 4) (y : ℝ), ∀ h ∈ ModeComponents.upperHeights D.SP.Jst D.SP.δs, ∀ t ∈ Finset.range (Nat.log 2 ⌊D.S.Dstar⌋₊ + 1) ×ˢ Finset.range (Nat.log 2 ⌊D.S.Dstar⌋₊ + 1), ∀ σ ∈ Thr, ∑ G : ↥gset, ↑(Finset.image (fun (p : (ℤ × ℤ) × ℤ × (ℤ × ℤ) × (D.Ms j ↑G).Md) => (Rr j h t G).rep p.2) ({p ∈ fp.useInst (↑G) D.S.K (Rr j h t G).Nd | (∀ e ∈ Cut j, ¬dyadicGridCell A.G p.1.1 p.1.2 ⊆ dyadicGridCell A.G e.1 e.2) ∧ y ∈ dyadicGridCell A.G p.1.1 p.1.2 ∧ σ ^ 2 ≤ (D.Ms j ↑G).nodeSize (D.withQ0 (qG ↑G)).S ⋯ D.SP (D.c j ↑G) h p})).card ≤ Mt * σ ^ (-2)) (hpathD : ∀ (j : Fin 4) (y : ℝ), ∑ G : ↥gset, ↑((D.Ms j ↑G).ptSet y).card ≤ D.S.Dstar) (hU : ∀ I ∈ S, ∀ G ∈ gs I, ∀ h ∈ ModeComponents.upperHeights D.SP.Jst D.SP.δs, ∀ (j : Fin 4), ∀ F ∈ (D.withQ0 (qG G)).goodCls G I j h, (D.withQ0 (qG G)).clsSize G I j F ≤ U) (hUT : √(D.Tside qG Lp Jm CF E cc kk Vl ρ) ≤ U) :
                          ∃ (C : Finset (ℤ × ℤ)) (C₂ : Finset (ℤ × ℤ)), C ⊆ A.cells ∧ dyadicRootLength A.G (maximalDyadicCells A.G C) ≤ 2 * ρ * dyadicGridLength A.G A.R.1 ∧ C₂ ⊆ S ∧ dyadicRootLength A.G C₂ ≤ ρ₂ * dyadicGridLength A.G A.R.1 ∧ (∀ (l : Fin 4), ∀ I ∈ {I ∈ {I ∈ S | ¬∃ e ∈ C, dyadicGridCell A.G I.1 I.2 ⊆ dyadicGridCell A.G e.1 e.2} | ¬∃ e ∈ C₂, dyadicGridCell A.G I.1 I.2 ⊆ dyadicGridCell A.G e.1 e.2}, ∀ G ∈ gs I, √((dyadicGridLength A.G I.1)⁻¹ * ∫ (y : ℝ) in dyadicGridLeft A.G I.1 I.2..dyadicGridLeft A.G I.1 I.2 + dyadicGridLength A.G I.1, ‖augPhys ((D.withQ0 (qG G)).toLeaf.sv l G I) y‖ ^ 2) ≤ U) ∧ ∑ I ∈ {I ∈ S | ¬∃ e ∈ C, dyadicGridCell A.G I.1 I.2 ⊆ dyadicGridCell A.G e.1 e.2} with ¬∃ e ∈ C₂, dyadicGridCell A.G I.1 I.2 ⊆ dyadicGridCell A.G e.1 e.2, dyadicGridLength A.G I.1 * min η ‖∑ G ∈ gs I, (fp.Λc I) fun (l : Fin 4) => (D.toLeafQ qG).out l G I‖ ≤ 6 * 256 * Np * (τ + fp.farC fuel τ₃ Sz) * D.Tside qG Lp Jm CF E cc kk Vl ρ * dyadicGridLength A.G A.R.1 + 6 * ∑ a : Fin 4, ∑ b : Fin 4, ∑ e : Fin 4, (D.toLeafQ qG).nearBnd hq2 hq3 Nd N Lp Jm Mp (2 * √CF) (ρ / 64) Γa Γb ΓU a b e + η ^ (1 - p) * (D.Tside qG Lp Jm CF E cc kk Vl ρ ^ (p / 2) * D.Tside qG Lp Jm CF E cc kk Vl ρ ^ (p / 2) * D.Tside qG Lp Jm CF E cc kk Vl ρ ^ (p / 2) * dyadicGridLength A.G A.R.1) + 82 * (81 * (localFormUniformConstant κ' * (coreBd (max (2 * √CF) A.S) (D.T2 cc kk Vl ρ₂) + errBd (max (2 * √CF) A.S) (D.T2 cc kk Vl ρ₂) + √(D.Tside qG Lp Jm CF E cc kk Vl ρ)) ^ 3) * (√(4 * M) * √Ee)) + 82 * (η ^ (1 - p) * (81 * localFormUniformConstant κ' * max (coreBd (max (2 * √CF) A.S) (D.T2 cc kk Vl ρ₂)) √(D.Tside qG Lp Jm CF E cc kk Vl ρ)) ^ p * (D.Tside qG Lp Jm CF E cc kk Vl ρ ^ (p / 2) * D.Tside qG Lp Jm CF E cc kk Vl ρ ^ (p / 2) * D.Tside qG Lp Jm CF E cc kk Vl ρ ^ (p / 2) * dyadicGridLength A.G A.R.1)) + (η ^ (1 / 1200) * (dyadicGridLength A.G A.R.1 * (D.coreM4 J U ε (max (max 1 Mt) (D.Tside qG Lp Jm CF E cc kk Vl ρ)) + ∑ l : Fin 4, D.coreM3 J Aw Iw U ε (max (max 1 Mt) (D.Tside qG Lp Jm CF E cc kk Vl ρ)) l)) + ∑ I ∈ {I ∈ S | ¬∃ e ∈ C, dyadicGridCell A.G I.1 I.2 ⊆ dyadicGridCell A.G e.1 e.2} with ¬∃ e ∈ C₂, dyadicGridCell A.G I.1 I.2 ⊆ dyadicGridCell A.G e.1 e.2, dyadicGridLength A.G I.1 * D.coreE qG gs J Aw Iw U ε I)

                          Blueprint line 2844 (the quantitative inequality on one leaf): the whole leaf outputs of a localization leaf, after the cuts C (root fraction 2ρ) and C₂ (ρ₂) of core_reduction_leaf, are bounded by the two-side, near-band and three-side terms of the side estimate, the error patterns (eq:physical-error), the three-side power bound with cores of size coreBd, and the core estimate on the retained cells (leaf_core_estimate: the patterns with at least three cores give η^{1/1200} |R| (M₄ + Σ_l M₃(l)) plus the absolute errors coreE). The retained cells lie outside the top-count cuts; the side cap is the one exported by the side estimate, and the local side sizes are at most √T_c ≤ U.

                          theorem TrilinearHT.Auto.block_term_le {P G₀ K C C₅ q α η : ℝ} (hP1 : 1 ≤ P) (hG₀ : G₀ ≤ P ^ (1 / 8)) (hK0 : 0 ≤ K) (hK : K + 2 ≤ C * P ^ C₅) (hC : 1 ≤ C) (hq2 : 2 < q) (hq3 : q < 3) (hq : 2 * C₅ * ((q - 2) / (q - 1)) ≤ 1 / 8) (hη0 : 0 < η) (hPη : η ^ (-α) ≤ P) :
                          P ^ (-(1 / 2)) * G₀ * (K + 2) ^ (2 * (q - 2) / (q - 1)) ≤ C * η ^ (α / 4)

                          Blueprint lines 2873-2876: if G₀ ≤ P^{1/8}, K + 2 ≤ C P^{C₅} with C ≥ 1, q ∈ (2, 3) and 2 C₅ (q-2)/(q-1) ≤ 1/8, then P^{-1/2} G₀ (K+2)^{2(q-2)/(q-1)} ≤ C P^{-1/4}, and with P ≥ η^{-α} this is at most C η^{α/4}.

                          theorem TrilinearHT.Auto.active_final_arith {ε C₄ C₅ q η Cq CN G₀ K C R e X : ℝ} (hε : 0 < ε) (hC₄ : 0 ≤ C₄) (hη0 : 0 < η) (hη1 : η ≤ 1) (hCq : 0 ≤ Cq) (hCN : 0 ≤ CN) (hR : 0 ≤ R) (hG₀ : G₀ ≤ ↑⌈η ^ (-(ε / (4 * (C₄ + 1))))⌉₊ ^ (1 / 8)) (hK0 : 0 ≤ K) (hK : K + 2 ≤ C * ↑⌈η ^ (-(ε / (4 * (C₄ + 1))))⌉₊ ^ C₅) (hC : 1 ≤ C) (hq2 : 2 < q) (hq3 : q < 3) (hq : 2 * C₅ * ((q - 2) / (q - 1)) ≤ 1 / 8) (hX : X ≤ Cq * (η ^ ε * ↑⌈η ^ (-(ε / (4 * (C₄ + 1))))⌉₊ ^ C₄ + (1 + CN) * (↑⌈η ^ (-(ε / (4 * (C₄ + 1))))⌉₊ ^ (-(1 / 2)) * G₀ * (K + 2) ^ (2 * (q - 2) / (q - 1)))) * R + e) :
                          X ≤ Cq * (2 ^ C₄ + C) * η ^ min (ε / 2) (ε / (4 * (C₄ + 1)) / 4) * (1 + CN) * R + e

                          Blueprint eq:active-final from eq:before-absorption (lines 2851-2888): a retained-attempt bound C_q [η^ε P^{C₄} + (1 + C_N) P^{-1/2} G₀ (K+2)^{2(q-2)/(q-1)}] |R| + e becomes C_q (2^{C₄} + C) η^{c_*} (1 + C_N) |R| + e with c_* = min(ε/2, α/4), for the choice α = ε/(4(C₄+1)), P = ⌈η^{-α}⌉ and parameters G₀ ≤ P^{1/8}, K + 2 ≤ C P^{C₅}.

                          The data of one attempt on the main columns for the pattern p (blueprint lines 2838-2839, exists_attempt): the attempt parameters fp with their monotone coloring, the main catalogs closed on the active test cells T_c of path multiplicity at most M_p, the closure counts K_t, n_r, T_max at the threshold scale τ₃ (with the helper names on famVtxBound base names per cell), and the edge threshold above the graph thresholds of the helper residuals (τ₂) and of the joint ball variation (τ').

                          Instances For
                            theorem TrilinearHT.Auto.ActiveSetup.BasicFamilies.vtxAt_eq_of_sub {κ : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ c₀} (bf : A.BasicFamilies) {I J : ℤ × ℤ} (hI : I ∈ A.cells) (hJ : J ∈ A.cells) (hJI : dyadicGridCell A.G J.1 J.2 ⊆ dyadicGridCell A.G I.1 I.2) {x : bf.Lab} (hx : bf.occAvail I x) :
                            bf.vtxAt J x = bf.vtxAt I x

                            The vertex of an original column is the same at every cell of the setup below a cell where the column is available: its admission cell is its shallowest available ancestor.

                            theorem TrilinearHT.Auto.ActiveSetup.BasicFamilies.labelTag_eq_of_sub {κ : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ c₀} (bf : A.BasicFamilies) (l : Fin 4) {Mc : ℕ} (s : List (CatCol bf.Vtx)) (d : bf.Vtx) {I J : ℤ × ℤ} (hI : I ∈ A.cells) (hJ : J ∈ A.cells) (hJI : dyadicGridCell A.G J.1 J.2 ⊆ dyadicGridCell A.G I.1 I.2) {r : ℕ} {v : bf.Lab ⊕ Fin Mc} (hv : v ∈ mainLabels A.G Mc (bf.origCols l) s I r) :
                            labelTag (bf.origCols l) s J d v = labelTag (bf.origCols l) s I d v

                            The tag of a main label is the same at every cell of the setup below a cell where it is a main label.

                            theorem TrilinearHT.Auto.ActiveSetup.BasicFamilies.card_pathLabels_le {κ : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ c₀} (bf : A.BasicFamilies) (l : Fin 4) {Mc : ℕ} (s : List (CatCol bf.Vtx)) (r : ℕ) (y : ℝ) :
                            ↑{v : bf.Lab ⊕ Fin Mc | ∃ I ∈ A.cells, y ∈ dyadicGridCell A.G I.1 I.2 ∧ v ∈ mainLabels A.G Mc (bf.origCols l) s I r}.card ≤ 8 * A.colBudget + ↑(bf.tmplPath s y)

                            At most eight column budgets of original columns and the template path count of main labels occur at the cells of the setup containing a point.

                            theorem TrilinearHT.Auto.ActiveSetup.BasicFamilies.FamParams.cert_color {κ : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ c₀} {bf : A.BasicFamilies} (fp : bf.FamParams) {k : ℕ} {G : bf.Grp} {I : ℤ × ℤ} (h : fp.Cert k G I) :
                            G.1 = k

                            A downstream use certificate determines the color of its group.

                            theorem TrilinearHT.Auto.ActiveSetup.BasicFamilies.FamParams.card_ballPairs_le {κ : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ c₀} {bf : A.BasicFamilies} (fp : bf.FamParams) (l : Fin 4) (s : List (CatCol bf.Vtx)) (d : bf.Vtx) {ι : Type u_1} [Fintype ι] (grp : ι → bf.Grp) (hgrp : Function.Injective grp) (k : ℕ) (hcol : ∀ (G : ι), (grp G).1 = k) (j : ℕ) (hPH : fp.bbase j + fp.P ≤ fp.Hmax) (y : ℝ) :
                            {q : ι × (bf.Lab ⊕ Fin fp.Mc) | ∃ I ∈ A.cells, (∃ (k' : ℕ), fp.Cert k' (grp q.1) I) ∧ ∃ (p : Fin fp.P), y ∈ dyadicGridCell A.G I.1 I.2 ∧ q.2 ∈ mainLabelsM A.G fp.Mc (bf.origCols l) s I (fp.brank j) (fp.bmask I (grp q.1) j (↑p + 1)) d}.card ≤ {v : bf.Lab ⊕ Fin fp.Mc | ∃ I ∈ A.cells, y ∈ dyadicGridCell A.G I.1 I.2 ∧ v ∈ mainLabels A.G fp.Mc (bf.origCols l) s I (fp.brank j)}.card

                            Blueprint lem:whole-ranges ("group and label counts on paths"), with lem:masks: along the path of a point, the main label of a ball range on a certified endpoint cell determines its group among the groups of one color (the tags of a label agree along a path, and pad masks of distinct groups of one color on overlapping certified endpoints are separated). Hence the group-label pairs of the ball ranges at a point number at most the main labels on its path.

                            theorem TrilinearHT.Auto.length_filter_le_sum_keys {α : Type u_1} {β : Type u_2} [DecidableEq β] (t : List α) (key : α → β) (P : α → Bool) (T : Finset β) (hT : ∀ a ∈ t, P a = true → key a ∈ T) :
                            (List.filter P t).length ≤ ∑ b ∈ T, (List.filter (fun (a : α) => decide (key a = b)) t).length

                            A count of list entries whose key lies in a finite set of keys is at most the sum of the counts of the single keys.

                            theorem TrilinearHT.Auto.ActiveSetup.BasicFamilies.tmplPath_eq_filter {κ : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ c₀} (bf : A.BasicFamilies) (s : List (CatCol bf.Vtx)) (y : ℝ) :
                            bf.tmplPath s y = (List.filter (fun (e : CatCol bf.Vtx) => decide (y ∈ dyadicGridCell A.G e.birth.1 e.birth.2)) s).length

                            The template path count is the number of templates whose birth cell contains the point.

                            theorem TrilinearHT.Auto.ActiveSetup.BasicFamilies.tmplPath_append {κ : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ c₀} (bf : A.BasicFamilies) (s t : List (CatCol bf.Vtx)) (y : ℝ) :
                            bf.tmplPath (s ++ t) y = bf.tmplPath s y + bf.tmplPath t y

                            Template path counts are additive under appending catalogs.

                            theorem TrilinearHT.Auto.ActiveSetup.BasicFamilies.card_mainLabels_le_tmpl {κ : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ c₀} (bf : A.BasicFamilies) (l : Fin 4) {Mc : ℕ} (s : List (CatCol bf.Vtx)) (I : ℤ × ℤ) (r : ℕ) :
                            ↑(mainLabels A.G Mc (bf.origCols l) s I r).card ≤ 2 * A.colBudget + ↑(bf.tmplPath s (dyadicGridLeft A.G I.1 I.2))

                            The main labels at a cell are at most two column budgets of original columns and the templates whose birth cell contains the left end of the cell.

                            theorem TrilinearHT.Auto.ActiveSetup.BasicFamilies.tmplPath_le_of_births {κ : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ c₀} (bf : A.BasicFamilies) (t : List (CatCol bf.Vtx)) (Tc : Finset (ℤ × ℤ)) (hb : ∀ e ∈ t, e.birth ∈ Tc) {Mp : ℕ} {nb : ℝ} (hnb : 0 ≤ nb) (hM : ∀ (y : ℝ), {I ∈ Tc | y ∈ dyadicGridCell A.G I.1 I.2}.card ≤ Mp) (hn : ∀ J ∈ Tc, ↑(List.filter (fun (e : CatCol bf.Vtx) => decide (e.birth = J)) t).length ≤ nb) (y : ℝ) :
                            ↑(bf.tmplPath t y) ≤ ↑Mp * nb

                            The templates of a catalog born on a family of cells with at most M_p members containing each point and at most n_b templates born at each cell have path counts at most M_p n_b.

                            noncomputable def TrilinearHT.Auto.dyThr (ε U Dst : ℝ) :

                            The dyadic thresholds 2^j in [ε, U] (with j between ⌊log₂ ε⌋ and ⌈log₂ U⌉) that are at least D⁻¹.

                            Equations
                            Instances For
                              theorem TrilinearHT.Auto.dyThr_spec {ε U Dst : ℝ} (hε : 0 < ε) (hεU : ε ≤ U) (hUD : Dst⁻¹ ≤ U) :
                              (dyThr ε U Dst).Nonempty ∧ (∀ σ ∈ dyThr ε U Dst, Dst⁻¹ ≤ σ) ∧ (∀ (σ : ℝ), ε ≤ σ → σ ≤ U → (∃ (k : ℤ), σ = 2 ^ k) → Dst⁻¹ ≤ σ → σ ∈ dyThr ε U Dst) ∧ ↑(dyThr ε U Dst).card ≤ Real.logb 2 U - Real.logb 2 ε + 3

                              The dyadic thresholds between ε and U above D⁻¹ form a nonempty set containing every such power of two, with at most log₂ U - log₂ ε + 3 elements.

                              noncomputable def TrilinearHT.Auto.TsideF {κ : LocalKernelClass} {c₀ : ℕ} (A : ActiveSetup κ c₀) (P K : ℕ) (u : Option (Fin 4)) (Lp Jm : ℕ) (CF E : ℝ) (cc : ℕ) (kk : ℝ) (Vl : Fin 4 → ℝ) (ρ : ℝ) :

                              The joint path cap T_c of the side estimate on the side states (SideInput.Tside) as an explicit function of the block length K, the basic U slot u and the number of pads P.

                              Equations
                              • One or more equations did not get rendered due to their size.
                              Instances For
                                theorem TrilinearHT.Auto.ActiveSetup.BasicFamilies.FamParams.SideInput.Tside_eq_F {κ : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ c₀} {bf : A.BasicFamilies} {fp : bf.FamParams} (D : fp.SideInput) (qG : bf.Grp → ℕ) (Lp Jm : ℕ) (CF E : ℝ) (cc : ℕ) (kk : ℝ) (Vl : Fin 4 → ℝ) (ρ : ℝ) :
                                D.Tside qG Lp Jm CF E cc kk Vl ρ = TsideF A fp.P D.S.K D.u Lp Jm CF E cc kk Vl ρ

                                The side cap of a side input is its explicit form.

                                The private weights of a column tree are at most the squared budget: the private coordinate is a component of the column value, which the budget bounds on the birth cell.

                                theorem TrilinearHT.Auto.ActiveSetup.BasicFamilies.mainWeight_le {κ : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ c₀} (bf : A.BasicFamilies) (Mc : ℕ) (l : Fin 4) (Φ : bf.Lab ⊕ Fin Mc) :
                                mainWeight Mc (bf.origCols l) Φ ≤ A.colBudget ^ 2

                                The main weights of the attempt are at most colBudget².

                                theorem TrilinearHT.Auto.ModeSystem.norm_cellMode_sq_le {Gd : RealDyadicGrid} {Mc : ℕ} (Ms : ModeSystem Gd Mc) (J : ℤ × ℤ) (m : Ms.Md) :
                                ‖Ms.cellMode J m‖ ^ 2 ≤ (1 + Ms.L.εM m) * dyadicGridLength Gd J.1

                                The augmented mode of a cell has squared norm at most (1 + ε_m) |J|.

                                theorem TrilinearHT.Auto.ActiveSetup.BasicFamilies.FamParams.SideInput.clsSize_le {κ : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ c₀} {bf : A.BasicFamilies} {fp : bf.FamParams} (D : fp.SideInput) (G : bf.Grp) (I : ℤ × ℤ) (j : Fin 4) (F : Finset (D.Ms j G).Md) {Cc W : ℝ} (hW0 : 0 ≤ W) (hW : ∀ (m : (D.Ms j G).Md), (D.Ms j G).L.εM m ≤ W) (hcc : ∑ m ∈ (D.Ms j G).alive (ancAt A.G (D.preAt I) (A.blkStart D.S.K I.1 - 4 * ↑D.S.K)), ‖D.c j G (A.blkStart D.S.K I.1) (D.preAt I) m‖ ^ 2 ≤ Cc) (hal : ↑((D.Ms j G).alive (ancAt A.G (D.preAt I) (A.blkStart D.S.K I.1 - 4 * ↑D.S.K))).card ≤ D.S.Dstar) (hD : 1 ≤ D.S.Dstar) :
                                D.clsSize G I j F ≤ (√(1 + W) + 1) * D.S.Dstar * √Cc

                                The component sizes of eq:component-size are at most (√(1 + W) + 1) D_* √C_c when the private weights of the modes are at most W, the coefficients of the alive modes have squared sum at most C_c and at most D_* modes are alive.

                                theorem TrilinearHT.Auto.catThreshold_mul_le {Dv : ℕ} {τ₃ cb : ℝ} (n : ℕ → ℝ) (r : ℕ) (hτ : 0 ≤ τ₃) (hcb : 0 < cb) (hDv : cb ≤ ↑Dv) (hn : 0 < n (r - 1)) :
                                catThreshold Dv τ₃ n r * (cb * √(n (r - 1))) ≤ τ₃

                                The catalog threshold of rank r times the column budget and the path count of rank r - 1 is at most τ₃ when the vertex bound dominates the column budget.

                                A dyadic exponent below a number at least one: 2^⌊log₂ x⌋ ≤ x < 2^(⌊log₂ x⌋ + 1).

                                theorem TrilinearHT.Auto.four_two_delta_quarter_lt_one :
                                4 * (2 * (1 / 1024)) ^ (1 / 4) < 1

                                The side height step of the schedule of an attempt: 4 (2 δ_*)^{1/4} < 1 at δ_* = 1/1024.

                                theorem TrilinearHT.Auto.ceil_four_delta_le (J : ℕ) :
                                ⌈4 * (1 / 1024) * ↑J⌉₊ ≤ J

                                The upper height threshold of the schedule of an attempt: ⌈4 δ_* J⌉ ≤ J at δ_* = 1/1024.

                                theorem TrilinearHT.Auto.ActiveSetup.BasicFamilies.FamParams.SideInput.compsAt_card_sub {κ : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ c₀} {bf : A.BasicFamilies} {fp : bf.FamParams} (D : fp.SideInput) (l : Fin 4) (G : bf.Grp) (I : ℤ × ℤ) :
                                (D.compsAt l G I).card ≤ ((D.Ms l G).alive (ancAt A.G (D.preAt I) (A.blkStart D.S.K I.1 - 4 * ↑D.S.K))).card ∧ ∀ K ∈ D.compsAt l G I, K ⊆ (D.Ms l G).alive (ancAt A.G (D.preAt I) (A.blkStart D.S.K I.1 - 4 * ↑D.S.K))

                                The core components of a slot at a cell number at most the alive modes of its pre-cell, and each of them consists of alive modes.

                                theorem TrilinearHT.Auto.ActiveSetup.BasicFamilies.FamParams.SideInput.compSum_le {κ : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ c₀} {bf : A.BasicFamilies} {fp : bf.FamParams} (D : fp.SideInput) (l : Fin 4) (G : bf.Grp) (I : ℤ × ℤ) {Cc : ℝ} (hcc : ∑ m ∈ (D.Ms l G).alive (ancAt A.G (D.preAt I) (A.blkStart D.S.K I.1 - 4 * ↑D.S.K)), ‖D.c l G (A.blkStart D.S.K I.1) (D.preAt I) m‖ ^ 2 ≤ Cc) (hal : ↑((D.Ms l G).alive (ancAt A.G (D.preAt I) (A.blkStart D.S.K I.1 - 4 * ↑D.S.K))).card ≤ D.S.Dstar) (hD : 0 ≤ D.S.Dstar) {K : Finset (D.Ms l G).Md} (hK : K ∈ D.compsAt l G I) :
                                ∑ m ∈ K, ‖D.c l G (A.blkStart D.S.K I.1) (D.preAt I) m‖ ≤ √D.S.Dstar * √Cc

                                The coefficient sum of a core component is at most √D_* √C_c when the coefficients of the alive modes have squared sum at most C_c and at most D_* modes are alive.

                                theorem TrilinearHT.Auto.ActiveSetup.BasicFamilies.FamParams.SideInput.fourErr_le {κ : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ c₀} {bf : A.BasicFamilies} {fp : bf.FamParams} (D : fp.SideInput) (J : ℕ) (G : bf.Grp) (I : ℤ × ℤ) {Cc : ℝ} (hD : 1 ≤ D.S.Dstar) (hcc : ∀ (l : Fin 4), D.compsAt l G I ≠ ∅ → ∑ m ∈ (D.Ms l G).alive (ancAt A.G (D.preAt I) (A.blkStart D.S.K I.1 - 4 * ↑D.S.K)), ‖D.c l G (A.blkStart D.S.K I.1) (D.preAt I) m‖ ^ 2 ≤ Cc) (hal : ∀ (l : Fin 4), ↑((D.Ms l G).alive (ancAt A.G (D.preAt I) (A.blkStart D.S.K I.1 - 4 * ↑D.S.K))).card ≤ D.S.Dstar) :
                                D.fourErr J G I ≤ fourErrC κ J * (D.S.Dstar ^ 100)⁻¹ * (D.S.Dstar * (√D.S.Dstar * √Cc)) ^ 4

                                The four-core tuple errors at a cell are at most C D_*^{-100} (D_* √D_* √C_c)⁴.

                                theorem TrilinearHT.Auto.ActiveSetup.BasicFamilies.FamParams.SideInput.threeErr_le {κ : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ c₀} {bf : A.BasicFamilies} {fp : bf.FamParams} (D : fp.SideInput) (J Aw : ℕ) (l : Fin 4) (G : bf.Grp) (I : ℤ × ℤ) {Cc Us : ℝ} (hD : 1 ≤ D.S.Dstar) (hcc : ∀ (l : Fin 4), D.compsAt l G I ≠ ∅ → ∑ m ∈ (D.Ms l G).alive (ancAt A.G (D.preAt I) (A.blkStart D.S.K I.1 - 4 * ↑D.S.K)), ‖D.c l G (A.blkStart D.S.K I.1) (D.preAt I) m‖ ^ 2 ≤ Cc) (hal : ∀ (l : Fin 4), ↑((D.Ms l G).alive (ancAt A.G (D.preAt I) (A.blkStart D.S.K I.1 - 4 * ↑D.S.K))).card ≤ D.S.Dstar) (hUs : √((dyadicGridLength A.G I.1)⁻¹ * ∫ (y : ℝ) in dyadicGridLeft A.G I.1 I.2..dyadicGridLeft A.G I.1 I.2 + dyadicGridLength A.G I.1, ‖augPhys (D.toLeaf.sv l G I) y‖ ^ 2) ≤ Us) :
                                D.threeErr J Aw l G I ≤ threeErrC κ J Aw * (D.S.Dstar ^ 100)⁻¹ * Us * (D.S.Dstar * (√D.S.Dstar * √Cc + 1)) ^ 4

                                The three-core tuple errors at a cell are at most C D_*^{-100} U_s (D_* (√D_* √C_c + 1))⁴ when the normalized size of the side slot is at most U_s.

                                noncomputable def TrilinearHT.Auto.T2F (K : ℕ) (u : Option (Fin 4)) (cc : ℕ) (kk : ℝ) (Vl : Fin 4 → ℝ) (ρ₂ : ℝ) :

                                SideInput.T2 as an explicit function of the block length K and the U slot u.

                                Equations
                                • One or more equations did not get rendered due to their size.
                                Instances For
                                  noncomputable def TrilinearHT.Auto.nearBndF (κ : LocalKernelClass) {c₀ : ℕ} (A : ActiveSetup κ c₀) {q : ℝ} (hq2 : 2 < q) (hq3 : q < 3) (P K : ℕ) (u : Option (Fin 4)) (Nd N Lp Jm : ℕ) (Mp C₀ ρ : ℝ) (Γa Γb : Fin 4 → ℝ) (ΓU : ℝ) (a b e : Fin 4) :

                                  SideLeafM.nearBnd of a leaf as an explicit function of the block length K, the U slot u and the number of pads P.

                                  Equations
                                  • One or more equations did not get rendered due to their size.
                                  Instances For
                                    noncomputable def TrilinearHT.Auto.fourTypesF (S : ModeSchedule) :
                                    Finset (Fin 4 → ℕ × ℕ)

                                    The role types [0, log₂ D_*]^{2·4} of a schedule.

                                    Equations
                                    Instances For
                                      noncomputable def TrilinearHT.Auto.fourCcF (S : ModeSchedule) :

                                      The four-core frequency constant of a schedule.

                                      Equations
                                      • One or more equations did not get rendered due to their size.
                                      Instances For
                                        noncomputable def TrilinearHT.Auto.coreM4F (κ : LocalKernelClass) (S : ModeSchedule) (δs : ℝ) (J : ℕ) (U ε K : ℝ) :

                                        SideInput.coreM4 as an explicit function of the schedule.

                                        Equations
                                        • One or more equations did not get rendered due to their size.
                                        Instances For
                                          noncomputable def TrilinearHT.Auto.coreM3F (κ : LocalKernelClass) (S : ModeSchedule) (δs : ℝ) (J Aw Iw : ℕ) (U ε K : ℝ) (l : Fin 4) :

                                          SideInput.coreM3 as an explicit function of the schedule.

                                          Equations
                                          • One or more equations did not get rendered due to their size.
                                          Instances For
                                            theorem TrilinearHT.Auto.ActiveSetup.BasicFamilies.FamParams.SideInput.nearBnd_eq_F {κ : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ c₀} {bf : A.BasicFamilies} {fp : bf.FamParams} (D : fp.SideInput) (qG : bf.Grp → ℕ) {q : ℝ} (hq2 : 2 < q) (hq3 : q < 3) (Nd N Lp Jm : ℕ) (Mp C₀ ρ : ℝ) (Γa Γb : Fin 4 → ℝ) (ΓU : ℝ) (a b e : Fin 4) :
                                            (D.toLeafQ qG).nearBnd hq2 hq3 Nd N Lp Jm Mp C₀ ρ Γa Γb ΓU a b e = nearBndF κ A hq2 hq3 fp.P D.S.K D.u Nd N Lp Jm Mp C₀ ρ Γa Γb ΓU a b e

                                            The near-band bound of a leaf is its explicit form.

                                            theorem TrilinearHT.Auto.ActiveSetup.BasicFamilies.FamParams.SideInput.coreM4_eq_F {κ : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ c₀} {bf : A.BasicFamilies} {fp : bf.FamParams} (D : fp.SideInput) {δs : ℝ} (hSP : D.SP = D.S.sideParams δs) (J : ℕ) (U ε K : ℝ) :
                                            D.coreM4 J U ε K = coreM4F κ D.S δs J U ε K

                                            The four-core bound of a side input is its explicit form in the schedule.

                                            theorem TrilinearHT.Auto.ActiveSetup.BasicFamilies.FamParams.SideInput.coreM3_eq_F {κ : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ c₀} {bf : A.BasicFamilies} {fp : bf.FamParams} (D : fp.SideInput) {δs : ℝ} (hSP : D.SP = D.S.sideParams δs) (J Aw Iw : ℕ) (U ε K : ℝ) (l : Fin 4) :
                                            D.coreM3 J Aw Iw U ε K l = coreM3F κ D.S δs J Aw Iw U ε K l

                                            The three-core bound of a side input is its explicit form in the schedule.

                                            The inverses of the slot coefficients have rational height at most 3.

                                            The negated slot coefficients have rational height at most 3.

                                            noncomputable def TrilinearHT.Auto.ActiveSetup.dBnd {κ : LocalKernelClass} {c₀ : ℕ} (A : ActiveSetup κ c₀) :

                                            The dimension bound d_B = ⌈log max(H, padW)⌉ of the vertex tags of an active setup.

                                            Equations
                                            Instances For

                                              Every vertex tag has dimension at most d_B (vchart_complexity).

                                              theorem TrilinearHT.Auto.ActiveSetup.BasicFamilies.vtag_height_le {κ : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ c₀} (bf : A.BasicFamilies) (w : bf.Vtx) (a c : Fin (bf.vtag w).dim) :
                                              ↑(rationalHeight ((bf.vtag w).C a c)) ≤ 18 * max A.H padW ^ 2

                                              The entries of every vertex tag matrix have rational height at most 18 (max H padW)².

                                              theorem TrilinearHT.Auto.ActiveSetup.BasicFamilies.vtag_scaled_height_le {κ : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ c₀} (bf : A.BasicFamilies) (w : bf.Vtx) (l : Fin 4) (a c : Fin (bf.vtag w).dim) :
                                              ↑(chartRationalHeight ((↑(-slotCoeff l) • (bf.vtag w).C) a c)) ≤ 5832 * max A.H padW ^ 4

                                              The entries of the rescaled vertex tag matrices -c_l C have chart height at most 5832 (max H padW)⁴.

                                              theorem TrilinearHT.Auto.card_cells_mem_le (G : RealDyadicGrid) (T : Finset (ℤ × ℤ)) {M : ℕ} (hM : ∀ (I : ℤ × ℤ), {I' ∈ T | dyadicGridCell G I.1 I.2 ⊆ dyadicGridCell G I'.1 I'.2}.card ≤ M) (y : ℝ) :
                                              {I ∈ T | y ∈ dyadicGridCell G I.1 I.2}.card ≤ M

                                              A family of cells with at most M members above each cell has at most M members containing each point (the cells containing a point are the ancestors of the deepest one).

                                              theorem TrilinearHT.Auto.sum_card_uses_le {α : Type u_1} [DecidableEq α] (G : RealDyadicGrid) (S0 : Finset (ℤ × ℤ)) (gs : ℤ × ℤ → Finset α) (gset : Finset α) (y : ℝ) {M V : ℕ} (hM : {I ∈ S0 | y ∈ dyadicGridCell G I.1 I.2}.card ≤ M) (hV : ∀ I ∈ S0, (gs I).card ≤ V) :
                                              ∑ g ∈ gset, {I ∈ {I ∈ S0 | g ∈ gs I} | y ∈ dyadicGridCell G I.1 I.2}.card ≤ M * V

                                              The uses of the groups of a family of cells: at a point, the pairs (group, cell containing the point) with the group current at the cell number at most M V when at most M cells contain the point and at most V groups are current at each cell.

                                              theorem TrilinearHT.Auto.ActiveSetup.BasicFamilies.FamParams.groupsAt_color {κ : LocalKernelClass} {c₀ : ℕ} {A : ActiveSetup κ c₀} {bf : A.BasicFamilies} (fp : bf.FamParams) {I : ℤ × ℤ} {k : ℕ} {G : bf.Grp} (h : G ∈ fp.groupsAt I k) :
                                              G.1 = k

                                              The groups of a cell at the color k have color k.

                                              theorem TrilinearHT.Auto.ModeSchedule.Valid.Jstar_le_log_H {S : ModeSchedule} {Cj CA CT CK : ℕ} {δs W : ℝ} (hV : S.Valid Cj CA CT CK δs W) (hCA : 1 ≤ CA) (hd2 : 2 ≤ S.dmax) (hD : 2 ≤ S.Dstar) (hB : 2 ≤ S.Bstar) (hQ : 1 ≤ S.Q0) :

                                              The top height of a valid schedule is at most log H: H > A₀^{10(J_*+1)} ≥ 6^{J_*}.