Documentation

CslibFrontier.Computability.LogSpaceDerandomization.HierarchyParams

Algebraic-stage parameters for the correction-and-copy hierarchy #

One stage of the hierarchy of the OpenAI preprint (2026-09-23), Section 4 [OAI26e], is driven by finitely many constants and cutoff functions: the correction ramp Q with its thresholds θ ≤ θ₂ and Lipschitz constant L, the iteration count k*, the number of copies D₀ = m + 1, the copy thresholds τ₀ < τ₁, the detector thresholds δ₀ < δ₁ and η, the detector ranks J and K, the count threshold R*, and the cutoffs ϕ, ρ, γ, κ, χ. Matrix.HierarchyParams q cπ Cπ Cpair Cvar bundles the reduced algebraic conditions used by the stage lemmas, together with additional detector-cutoff data, for the density divisor q and the channel constants of Cslib.Probability.RetentionChannels. All of them are fixed before the stage: the thresholds are relative to the rate f, so the same parameters serve every stage.

Reduced algebraic-stage existence (Matrix.HierarchyParams.nonempty). For every q > 0 and channel constants with c_π > 0, there are parameters satisfying this bundle. Following [OpenAI2026LogSpace, Remark 4.6], the choice follows the order of the preprint: first θ = θ₂ = 1 / (4q) and the hard ramp Q t = max (t - θ) 0, then k* from the factorial bound (Matrix.exists_factorial_bound_le), then m = ⌈q⌉₊ (k* + 1) and D₀ = m + 1, then J from (4.24), and finally K and R* from Lemma 4.3.

This witness establishes only the reduced algebraic-stage package encoded here. It does not satisfy the preprint's full threshold ladder or the regularity package needed for later estimation. Besides the hard ramp Q, the cutoffs χ, ϕ, ρ, γ and κ are discontinuous steps. The additional threshold conditions and root/complement regularity for Q and these cutoffs remain open; replacing Q alone does not supply them.

One stage (Matrix.HierarchyParams.stage_rates). At rate f > 0, the stage uses the cutoffs c t = f Q (t / f) and χ (t / f) (Matrix.HierarchyParams.cutoff, Matrix.HierarchyParams.copyCutoff), the detector-driven pilot (Matrix.HierarchyParams.pilot), the corrected residual D (Matrix.HierarchyParams.residual) and the copy weights (Matrix.HierarchyParams.weight). The next transition matrix Matrix.HierarchyParams.next, indexed by Lex (V × Fin (m + 1)), has entries at most f / q, is supported in at most twice as many vertices, intertwines with the weighted projection, and is again strictly upper triangular and substochastic. The only hypotheses are those on the input matrix and the channel interface.

Main definitions #

Main results #

References #

structure Matrix.HierarchyParams (q cπ Cπ Cpair Cvar : ℝ) :

The reduced algebraic-stage parameters of the hierarchy, for the density divisor q and the channel constants cπ, Cπ, Cpair, Cvar, together with additional detector-cutoff data [OpenAI2026LogSpace, Sections 4.1–4.4 and Remark 4.6]. Thresholds of the ramp Q and of the copy cutoff χ are relative to the rate f. The preprint's full threshold ladder and later root/complement regularity for Q and all the step cutoffs are not part of this bundle.

  • Q : ℝ → ℝ

    The correction ramp: the cutoff at rate f is t ↦ f Q (t / f).

  • θ : ℝ

    The threshold below which Q vanishes.

  • θ₂ : ℝ

    The threshold that Q leaves behind at most.

  • L : ℝ

    A Lipschitz constant of Q.

  • k : ℕ

    The number of correction iterations k*.

  • m : ℕ

    The number of extra copies, D₀ - 1.

  • τ₀ : ℝ

    The copy threshold up to which entries stay with the primary copy, relative to the rate.

  • τ₁ : ℝ

    The copy threshold from which entries are split evenly, relative to the rate.

  • χ : ℝ → ℝ

    The copy cutoff.

  • δ₀ : ℝ

    The detector score threshold through which the score vanishes.

  • δ₁ : ℝ

    The detector score threshold from which the score is one.

  • ϕ : ℝ → ℝ

    The detector score cutoff.

  • η : ℝ

    The row-gate threshold.

  • ρ : ℝ → ℝ

    The row-gate cutoff.

  • γ : ℝ → ℝ

    The column-multiplier cutoff, applied to the running maximum of detector numbers.

  • κ : ℝ → ℝ

    The copy-weight cutoff, applied to the running maximum of detector numbers.

  • J : ℕ

    The detector rank J of the column trials.

  • K : ℕ

    The rank K of the row gates.

  • R : ℝ

    The column-count threshold R* of Lemma 4.3.

  • Q_nonneg (t : ℝ) : 0 ≤ self.Q t
  • Q_le (t : ℝ) : self.Q t ≤ max (t - self.θ) 0
  • le_Q (t : ℝ) : t - self.θ₂ ≤ self.Q t
  • Q_mono : Monotone self.Q
  • Q_lipschitz (s t : ℝ) : s ≤ t → self.Q t - self.Q s ≤ self.L * (t - s)
  • θ_pos : 0 < self.θ
  • L_nonneg : 0 ≤ self.L
  • truncation : self.θ₂ + Real.exp (1 / self.θ) * (self.L / self.θ) ^ self.k / ↑self.k.factorial ≤ self.τ₀
  • χ_nonneg (t : ℝ) : 0 ≤ self.χ t
  • χ_le_one (t : ℝ) : self.χ t ≤ 1
  • χ_zero (t : ℝ) : t ≤ self.τ₀ → self.χ t = 0
  • χ_one (t : ℝ) : self.τ₁ ≤ t → self.χ t = 1
  • τ₁_le : self.τ₁ ≤ 1 / q
  • copies : (↑self.k + 1) / (↑self.m + 1) ≤ 1 / q
  • δ₀_pos : 0 < self.δ₀
  • ϕ_nonneg (t : ℝ) : 0 ≤ self.ϕ t
  • ϕ_le_one (t : ℝ) : self.ϕ t ≤ 1
  • ϕ_zero (t : ℝ) : t ≤ self.δ₀ → self.ϕ t = 0
  • ϕ_one (t : ℝ) : self.δ₁ ≤ t → self.ϕ t = 1
  • η_pos : 0 < self.η
  • ρ_le_one (t : ℝ) : self.ρ t ≤ 1
  • ρ_one (t : ℝ) : t ≤ self.η → self.ρ t = 1
  • γ_nonneg (t : ℝ) : 0 ≤ self.γ t
  • γ_le_one (t : ℝ) : self.γ t ≤ 1
  • γ_antitone : Antitone self.γ
  • γ_one (t : ℝ) : t ≤ 1 / 2 → self.γ t = 1
  • γ_zero (t : ℝ) : 4 / 5 ≤ t → self.γ t = 0
  • κ_nonneg (t : ℝ) : 0 ≤ self.κ t
  • κ_le_one (t : ℝ) : self.κ t ≤ 1
  • κ_zero (t : ℝ) : t ≤ 1 / 4 → self.κ t = 0
  • κ_one (t : ℝ) : 1 / 2 < t → self.κ t = 1
  • J_pos : 0 < self.J
  • rank : 2 * Cπ * ↑self.m * ↑self.k * (↑self.k + 1) ≤ self.δ₀ * ↑self.J
  • gate : 160 * (1 + Cpair * ↑self.k / self.η) ≤ ↑self.K
  • R_rank : 4 * ↑self.J ≤ cπ * self.R
  • R_var : 40 * Cvar ≤ cπ * self.R
theorem Matrix.HierarchyParams.nonempty {q cπ Cπ Cpair Cvar : ℝ} (hq : 0 < q) (hcπ : 0 < cπ) :
Nonempty (HierarchyParams q cπ Cπ Cpair Cvar)

Reduced algebraic-stage parameters exist: for every density divisor q > 0 and channel constants with c_π > 0, there are parameters satisfying this bundle. Following [OpenAI2026LogSpace, Remark 4.6], they are chosen in the order of the preprint: the ramp, then k* by factorial truncation, then the copies, then the detector ranks J and K, then R*. The witness uses a hard ramp and step cutoffs; the full threshold ladder and later-estimation regularity for all cutoffs and their relevant complements remain open.

noncomputable def Matrix.HierarchyParams.cutoff {q cπ Cπ Cpair Cvar : ℝ} (P : HierarchyParams q cπ Cπ Cpair Cvar) (f t : ℝ) :

The correction cutoff t ↦ f Q (t / f) at rate f.

theorem Matrix.HierarchyParams.cutoff_apply {q cπ Cπ Cpair Cvar : ℝ} (P : HierarchyParams q cπ Cπ Cpair Cvar) (f t : ℝ) :
P.cutoff f t = f * P.Q (t / f)
noncomputable def Matrix.HierarchyParams.copyCutoff {q cπ Cπ Cpair Cvar : ℝ} (P : HierarchyParams q cπ Cπ Cpair Cvar) (f t : ℝ) :

The copy cutoff t ↦ χ (t / f) at rate f.

noncomputable def Matrix.HierarchyParams.pilot {q cπ Cπ Cpair Cvar : ℝ} (P : HierarchyParams q cπ Cπ Cpair Cvar) {V : Type u_1} {ι : Type u_2} {κ : Type u_3} [Fintype V] [Fintype ι] [Fintype κ] (X : ι → V → Prop) (Y : κ → V → Prop) [(s : ι) → (v : V) → Decidable (X s v)] [(t : κ) → (v : V) → Decidable (Y t v)] (f : ℝ) (C : Matrix V V ℝ) :
V → ℝ

The final running maximum of the detector numbers after the k* pilot steps at rate f.

theorem Matrix.HierarchyParams.pilot_eq {q cπ Cπ Cpair Cvar : ℝ} (P : HierarchyParams q cπ Cπ Cpair Cvar) {V : Type u_1} {ι : Type u_2} {κ : Type u_3} [Fintype V] [Fintype ι] [Fintype κ] (X : ι → V → Prop) (Y : κ → V → Prop) [(s : ι) → (v : V) → Decidable (X s v)] [(t : κ) → (v : V) → Decidable (Y t v)] (f : ℝ) (C : Matrix V V ℝ) :
P.pilot X Y f C = pilotMax (P.cutoff f) P.γ (columnDetector X Y P.ϕ P.ρ P.J P.K f) C P.k
noncomputable def Matrix.HierarchyParams.correction {q cπ Cπ Cpair Cvar : ℝ} (P : HierarchyParams q cπ Cπ Cpair Cvar) {V : Type u_1} {ι : Type u_2} {κ : Type u_3} [Fintype V] [Fintype ι] [Fintype κ] (X : ι → V → Prop) (Y : κ → V → Prop) [(s : ι) → (v : V) → Decidable (X s v)] [(t : κ) → (v : V) → Decidable (Y t v)] (f : ℝ) (C : Matrix V V ℝ) :

The actual correction E = E_(k*) with the column multipliers γ (M y).

theorem Matrix.HierarchyParams.correction_eq {q cπ Cπ Cpair Cvar : ℝ} (P : HierarchyParams q cπ Cπ Cpair Cvar) {V : Type u_1} {ι : Type u_2} {κ : Type u_3} [Fintype V] [Fintype ι] [Fintype κ] (X : ι → V → Prop) (Y : κ → V → Prop) [(s : ι) → (v : V) → Decidable (X s v)] [(t : κ) → (v : V) → Decidable (Y t v)] (f : ℝ) (C : Matrix V V ℝ) :
P.correction X Y f C = cutoffCorrectionIter (fun (y : V) (t : ℝ) => P.cutoff f t * P.γ (P.pilot X Y f C y)) C P.k
noncomputable def Matrix.HierarchyParams.residual {q cπ Cπ Cpair Cvar : ℝ} (P : HierarchyParams q cπ Cπ Cpair Cvar) {V : Type u_1} {ι : Type u_2} {κ : Type u_3} [Fintype V] [Fintype ι] [Fintype κ] (X : ι → V → Prop) (Y : κ → V → Prop) [(s : ι) → (v : V) → Decidable (X s v)] [(t : κ) → (v : V) → Decidable (Y t v)] (f : ℝ) (C : Matrix V V ℝ) :

The corrected residual D = C - E + E C.

theorem Matrix.HierarchyParams.residual_eq {q cπ Cπ Cpair Cvar : ℝ} (P : HierarchyParams q cπ Cπ Cpair Cvar) {V : Type u_1} {ι : Type u_2} {κ : Type u_3} [Fintype V] [Fintype ι] [Fintype κ] (X : ι → V → Prop) (Y : κ → V → Prop) [(s : ι) → (v : V) → Decidable (X s v)] [(t : κ) → (v : V) → Decidable (Y t v)] (f : ℝ) (C : Matrix V V ℝ) :
P.residual X Y f C = C - P.correction X Y f C + P.correction X Y f C * C
noncomputable def Matrix.HierarchyParams.weight {q cπ Cπ Cpair Cvar : ℝ} (P : HierarchyParams q cπ Cπ Cpair Cvar) {V : Type u_1} {ι : Type u_2} {κ : Type u_3} [Fintype V] [Fintype ι] [Fintype κ] (X : ι → V → Prop) (Y : κ → V → Prop) [(s : ι) → (v : V) → Decidable (X s v)] [(t : κ) → (v : V) → Decidable (Y t v)] (f : ℝ) (C : Matrix V V ℝ) :
Fin (P.m + 1) → V → ℝ

The copy weights r of the stage (4.22).

theorem Matrix.HierarchyParams.weight_eq {q cπ Cπ Cpair Cvar : ℝ} (P : HierarchyParams q cπ Cπ Cpair Cvar) {V : Type u_1} {ι : Type u_2} {κ : Type u_3} [Fintype V] [Fintype ι] [Fintype κ] (X : ι → V → Prop) (Y : κ → V → Prop) [(s : ι) → (v : V) → Decidable (X s v)] [(t : κ) → (v : V) → Decidable (Y t v)] (f : ℝ) (C : Matrix V V ℝ) :
P.weight X Y f C = detectorWeight P.κ (P.pilot X Y f C)

Copy weights read the completed pilot vector on the whole parent domain.

noncomputable def Matrix.HierarchyParams.next {q cπ Cπ Cpair Cvar : ℝ} (P : HierarchyParams q cπ Cπ Cpair Cvar) {V : Type u_1} {ι : Type u_2} {κ : Type u_3} [Fintype V] [Fintype ι] [Fintype κ] (X : ι → V → Prop) (Y : κ → V → Prop) [(s : ι) → (v : V) → Decidable (X s v)] [(t : κ) → (v : V) → Decidable (Y t v)] (f : ℝ) (C : Matrix V V ℝ) :
Matrix (Lex (V × Fin (P.m + 1))) (Lex (V × Fin (P.m + 1))) ℝ

The next transition matrix C⁺, indexed by the lexicographically ordered copies.

theorem Matrix.HierarchyParams.next_eq {q cπ Cπ Cpair Cvar : ℝ} (P : HierarchyParams q cπ Cπ Cpair Cvar) {V : Type u_1} {ι : Type u_2} {κ : Type u_3} [Fintype V] [Fintype ι] [Fintype κ] (X : ι → V → Prop) (Y : κ → V → Prop) [(s : ι) → (v : V) → Decidable (X s v)] [(t : κ) → (v : V) → Decidable (Y t v)] (f : ℝ) (C : Matrix V V ℝ) :
P.next X Y f C = (copyStage (P.copyCutoff f) P.m (P.weight X Y f C) (P.residual X Y f C)).submatrix ⇑ofLex ⇑ofLex
noncomputable def Matrix.HierarchyParams.proj {q cπ Cπ Cpair Cvar : ℝ} (P : HierarchyParams q cπ Cπ Cpair Cvar) {V : Type u_1} {ι : Type u_2} {κ : Type u_3} [Fintype V] [Fintype ι] [Fintype κ] (X : ι → V → Prop) (Y : κ → V → Prop) [(s : ι) → (v : V) → Decidable (X s v)] [(t : κ) → (v : V) → Decidable (Y t v)] (f : ℝ) (C : Matrix V V ℝ) [DecidableEq V] :
Matrix (Lex (V × Fin (P.m + 1))) V ℝ

The projection P_r from the copies to their parents, weighted by the copy weights.

theorem Matrix.HierarchyParams.proj_mulVec {q cπ Cπ Cpair Cvar : ℝ} (P : HierarchyParams q cπ Cπ Cpair Cvar) {V : Type u_1} {ι : Type u_2} {κ : Type u_3} [Fintype V] [Fintype ι] [Fintype κ] (X : ι → V → Prop) (Y : κ → V → Prop) [(s : ι) → (v : V) → Decidable (X s v)] [(t : κ) → (v : V) → Decidable (Y t v)] (f : ℝ) (C : Matrix V V ℝ) [DecidableEq V] (v : V → ℝ) (a : Lex (V × Fin (P.m + 1))) :
(P.proj X Y f C).mulVec v a = P.weight X Y f C (ofLex a).2 (ofLex a).1 * v (ofLex a).1

Apply the copy projection by reading its parent and multiplying by its copy weight.

theorem Matrix.HierarchyParams.cutoff_nonneg {q cπ Cπ Cpair Cvar : ℝ} (P : HierarchyParams q cπ Cπ Cpair Cvar) {f : ℝ} (hf : 0 < f) (t : ℝ) :
0 ≤ P.cutoff f t
theorem Matrix.HierarchyParams.cutoff_le {q cπ Cπ Cpair Cvar : ℝ} (P : HierarchyParams q cπ Cπ Cpair Cvar) {f : ℝ} (hf : 0 < f) (t : ℝ) :
P.cutoff f t ≤ max (t - P.θ * f) 0
theorem Matrix.HierarchyParams.le_cutoff {q cπ Cπ Cpair Cvar : ℝ} (P : HierarchyParams q cπ Cπ Cpair Cvar) {f : ℝ} (hf : 0 < f) (t : ℝ) :
t - P.θ₂ * f ≤ P.cutoff f t
theorem Matrix.HierarchyParams.cutoff_mono {q cπ Cπ Cpair Cvar : ℝ} (P : HierarchyParams q cπ Cπ Cpair Cvar) {f : ℝ} (hf : 0 < f) :
theorem Matrix.HierarchyParams.cutoff_lipschitz {q cπ Cπ Cpair Cvar : ℝ} (P : HierarchyParams q cπ Cπ Cpair Cvar) {f : ℝ} (hf : 0 < f) (s t : ℝ) (h : s ≤ t) :
P.cutoff f t - P.cutoff f s ≤ P.L * (t - s)
theorem Matrix.HierarchyParams.stage_rates {q cπ Cπ Cpair Cvar : ℝ} (P : HierarchyParams q cπ Cπ Cpair Cvar) {V : Type u_1} {ι : Type u_2} {κ : Type u_3} [Fintype V] [Fintype ι] [Fintype κ] {X : ι → V → Prop} {Y : κ → V → Prop} [(s : ι) → (v : V) → Decidable (X s v)] [(t : κ) → (v : V) → Decidable (Y t v)] {f : ℝ} {C : Matrix V V ℝ} [LinearOrder V] {π : ℝ} (hch : Cslib.Probability.RetentionChannels X Y f π cπ Cπ Cpair Cvar) (hCπ : 0 < Cπ) (hf : 0 < f) (hC : C.IsStrictUpperTriangular) (hC0 : ∀ (x y : V), 0 ≤ C x y) (hCf : ∀ (x y : V), C x y ≤ f) (hC1 : C.mulVec 1 ≤ 1) {A : Finset V} (hA : ∀ (x y : V), C x y ≠ 0 → x ∈ A ∧ y ∈ A) :
(∀ (a b : Lex (V × Fin (P.m + 1))), P.next X Y f C a b ≤ f / q) ∧ P.next X Y f C * P.proj X Y f C = P.proj X Y f C * P.residual X Y f C ∧ (∀ (a b : Lex (V × Fin (P.m + 1))), P.next X Y f C a b ≠ 0 → ofLex a ∈ copyCover A (overloaded (P.pilot X Y f C)) ∧ ofLex b ∈ copyCover A (overloaded (P.pilot X Y f C))) ∧ (copyCover A (overloaded (P.pilot X Y f C))).card ≤ 2 * A.card

One stage with the bundled constants [OpenAI2026LogSpace, Proposition 4.5]: at rate f > 0, for retention channels with the bundled constants and an input C that is strictly upper triangular, nonnegative, substochastic and has entries at most f, the next matrix has entries at most f / q, intertwines with the projection, is supported within the copies of a cover A of C and the overloaded vertices, and that cover has at most 2 |A| copies.

theorem Matrix.HierarchyParams.next_isStrictUpperTriangular {q cπ Cπ Cpair Cvar : ℝ} (P : HierarchyParams q cπ Cπ Cpair Cvar) {V : Type u_1} {ι : Type u_2} {κ : Type u_3} [Fintype V] [Fintype ι] [Fintype κ] {X : ι → V → Prop} {Y : κ → V → Prop} [(s : ι) → (v : V) → Decidable (X s v)] [(t : κ) → (v : V) → Decidable (Y t v)] {f : ℝ} {C : Matrix V V ℝ} [LinearOrder V] (hf : 0 < f) (hC : C.IsStrictUpperTriangular) :

The next matrix is strictly upper triangular for the lexicographic order on the copies.

theorem Matrix.HierarchyParams.residual_nonneg {q cπ Cπ Cpair Cvar : ℝ} (P : HierarchyParams q cπ Cπ Cpair Cvar) {V : Type u_1} {ι : Type u_2} {κ : Type u_3} [Fintype V] [Fintype ι] [Fintype κ] {X : ι → V → Prop} {Y : κ → V → Prop} [(s : ι) → (v : V) → Decidable (X s v)] [(t : κ) → (v : V) → Decidable (Y t v)] {f : ℝ} {C : Matrix V V ℝ} (hf : 0 < f) (hC0 : ∀ (x y : V), 0 ≤ C x y) (x y : V) :
0 ≤ P.residual X Y f C x y
theorem Matrix.HierarchyParams.residual_le_mul {q cπ Cπ Cpair Cvar : ℝ} (P : HierarchyParams q cπ Cπ Cpair Cvar) {V : Type u_1} {ι : Type u_2} {κ : Type u_3} [Fintype V] [Fintype ι] [Fintype κ] (X : ι → V → Prop) (Y : κ → V → Prop) [(s : ι) → (v : V) → Decidable (X s v)] [(t : κ) → (v : V) → Decidable (Y t v)] {f : ℝ} {C : Matrix V V ℝ} (hf : 0 < f) (hC : ∀ (x y : V), 0 ≤ C x y) (hCf : ∀ (x y : V), C x y ≤ f) (hC1 : C.mulVec 1 ≤ 1) (x y : V) :
P.residual X Y f C x y ≤ (↑P.k + 1) * f

Public application bound for the actual residual, from the finite correction sequence.

theorem Matrix.HierarchyParams.residual_sum_le_one {q cπ Cπ Cpair Cvar : ℝ} (P : HierarchyParams q cπ Cπ Cpair Cvar) {V : Type u_1} {ι : Type u_2} {κ : Type u_3} [Fintype V] [Fintype ι] [Fintype κ] (X : ι → V → Prop) (Y : κ → V → Prop) [(s : ι) → (v : V) → Decidable (X s v)] [(t : κ) → (v : V) → Decidable (Y t v)] {f : ℝ} {C : Matrix V V ℝ} (hf : 0 < f) (hC1 : C.mulVec 1 ≤ 1) (x : V) :
∑ y : V, P.residual X Y f C x y ≤ 1

Actual residual row mass is at most one, directly from correction nonnegativity.

theorem Matrix.HierarchyParams.weight_nonneg {q cπ Cπ Cpair Cvar : ℝ} (P : HierarchyParams q cπ Cπ Cpair Cvar) {V : Type u_1} {ι : Type u_2} {κ : Type u_3} [Fintype V] [Fintype ι] [Fintype κ] {X : ι → V → Prop} {Y : κ → V → Prop} [(s : ι) → (v : V) → Decidable (X s v)] [(t : κ) → (v : V) → Decidable (Y t v)] {f : ℝ} {C : Matrix V V ℝ} (j : Fin (P.m + 1)) (x : V) :
0 ≤ P.weight X Y f C j x
theorem Matrix.HierarchyParams.weight_le_one {q cπ Cπ Cpair Cvar : ℝ} (P : HierarchyParams q cπ Cπ Cpair Cvar) {V : Type u_1} {ι : Type u_2} {κ : Type u_3} [Fintype V] [Fintype ι] [Fintype κ] {X : ι → V → Prop} {Y : κ → V → Prop} [(s : ι) → (v : V) → Decidable (X s v)] [(t : κ) → (v : V) → Decidable (Y t v)] {f : ℝ} {C : Matrix V V ℝ} (j : Fin (P.m + 1)) (x : V) :
P.weight X Y f C j x ≤ 1
theorem Matrix.HierarchyParams.next_nonneg {q cπ Cπ Cpair Cvar : ℝ} (P : HierarchyParams q cπ Cπ Cpair Cvar) {V : Type u_1} {ι : Type u_2} {κ : Type u_3} [Fintype V] [Fintype ι] [Fintype κ] {X : ι → V → Prop} {Y : κ → V → Prop} [(s : ι) → (v : V) → Decidable (X s v)] [(t : κ) → (v : V) → Decidable (Y t v)] {f : ℝ} {C : Matrix V V ℝ} (hf : 0 < f) (hC0 : ∀ (x y : V), 0 ≤ C x y) (a b : Lex (V × Fin (P.m + 1))) :
0 ≤ P.next X Y f C a b
theorem Matrix.HierarchyParams.next_mulVec_one_le {q cπ Cπ Cpair Cvar : ℝ} (P : HierarchyParams q cπ Cπ Cpair Cvar) {V : Type u_1} {ι : Type u_2} {κ : Type u_3} [Fintype V] [Fintype ι] [Fintype κ] {X : ι → V → Prop} {Y : κ → V → Prop} [(s : ι) → (v : V) → Decidable (X s v)] [(t : κ) → (v : V) → Decidable (Y t v)] {f : ℝ} {C : Matrix V V ℝ} (hf : 0 < f) (hC0 : ∀ (x y : V), 0 ≤ C x y) (hC1 : C.mulVec 1 ≤ 1) :
(P.next X Y f C).mulVec 1 ≤ 1
theorem Matrix.HierarchyParams.proj_nonneg {q cπ Cπ Cpair Cvar : ℝ} (P : HierarchyParams q cπ Cπ Cpair Cvar) {V : Type u_1} {ι : Type u_2} {κ : Type u_3} [Fintype V] [Fintype ι] [Fintype κ] {X : ι → V → Prop} {Y : κ → V → Prop} [(s : ι) → (v : V) → Decidable (X s v)] [(t : κ) → (v : V) → Decidable (Y t v)] {f : ℝ} {C : Matrix V V ℝ} [DecidableEq V] (a : Lex (V × Fin (P.m + 1))) (x : V) :
0 ≤ P.proj X Y f C a x
theorem Matrix.HierarchyParams.proj_mulVec_one_le {q cπ Cπ Cpair Cvar : ℝ} (P : HierarchyParams q cπ Cπ Cpair Cvar) {V : Type u_1} {ι : Type u_2} {κ : Type u_3} [Fintype V] [Fintype ι] [Fintype κ] {X : ι → V → Prop} {Y : κ → V → Prop} [(s : ι) → (v : V) → Decidable (X s v)] [(t : κ) → (v : V) → Decidable (Y t v)] {f : ℝ} {C : Matrix V V ℝ} [DecidableEq V] :
(P.proj X Y f C).mulVec 1 ≤ 1
theorem Matrix.HierarchyParams.proj_primary {q cπ Cπ Cpair Cvar : ℝ} (P : HierarchyParams q cπ Cπ Cpair Cvar) {V : Type u_1} {ι : Type u_2} {κ : Type u_3} [Fintype V] [Fintype ι] [Fintype κ] {X : ι → V → Prop} {Y : κ → V → Prop} [(s : ι) → (v : V) → Decidable (X s v)] [(t : κ) → (v : V) → Decidable (Y t v)] {f : ℝ} {C : Matrix V V ℝ} [DecidableEq V] (x w : V) :
P.proj X Y f C (toLex (x, 0)) w = if w = x then 1 else 0

The primary copy projects to its parent with weight one.