Documentation

CslibFrontier.DataStructure.Dictionary.SubconstantRedundancy.Canonical

Canonical Large-Parameter Schedule and Probabilistic Concentration Readiness #

This module builds on CslibFrontier.DataStructure.Dictionary.SubconstantRedundancy.Schedule to formalize the polynomial-universe large-parameter regime (ValidRegime), the canonical Section 5 parameter instantiation (canonicalSchedule), and its probabilistic concentration readiness (canonicalSchedule_concentrationReady) ([LiLiangYuZhou2024, Sections 5.1–5.2 and 5.4–5.6]; arXiv:2310.20536v1, PDF pp. 25–36 / printed pp. 24–35). For the end-to-end pure bit-budget bound totalTreeBits ≤ infoBits U V n + spaceConst * R, see Params.lean.

Scope and adaptations #

Main definitions #

Main results #

References #

Section 2: Large-parameter polynomial-U regime and canonicalSchedule #

Inverse space exponent ε_inv = max 12 (2 * (p_max + 3)) for DoubleTabulation child routers across polynomial universes U ≤ n ^ (1 + p_max / q_max).

Gap exponent α_inv = max q_min 1 + 1 (≥ 2) for DoubleTabulation child routers across polynomial universes n ^ (1 + p_min / q_min) ≤ U.

Base-2 logarithm threshold L₀(q_min, p_max) above which 2 ^ L₀ ≤ n ensures all poly-logarithmic and polynomial-gap inequalities in Section 5.

Minimum dictionary capacity n₀(q_min, p_max) = 2 ^ thresholdLogN q_min p_max for the Section 5 large-parameter polynomial-U regime.

theorem Cslib.DataStructure.Dictionary.SubconstantRedundancy.poly_le_thresholdLogN (q_min p_max : ℕ) :
2560000 * (max q_min 1 + p_max + 4) ^ 4 ≤ thresholdLogN q_min p_max
structure Cslib.DataStructure.Dictionary.SubconstantRedundancy.ValidRegime (U V n R p_min q_min p_max q_max : ℕ) :

Large-parameter polynomial-universe regime of [LiLiangYuZhou2024, Section 5] (n / (log₂ n) ^ 0.1 ≤ R ≤ n, n ^ (1 + p_min / q_min) ≤ U ≤ n ^ (1 + p_max / q_max), 1 ≤ V, thresholdN q_min p_max ≤ n).

  • p_min_pos : 1 ≤ p_min
  • q_min_pos : 1 ≤ q_min
  • q_max_pos : 1 ≤ q_max
  • val_pos : 1 ≤ V
  • n_ge_threshold : thresholdN q_min p_max ≤ n
  • univ_lower : n ^ (q_min + p_min) ≤ U ^ q_min
  • univ_upper : U ^ q_max ≤ n ^ (q_max + p_max)
  • redundancy_pos : 1 ≤ R
  • redundancy_le : R ≤ n
  • redundancy_lower : n ^ 10 ≤ R ^ 10 * Nat.log 2 n
theorem Cslib.DataStructure.Dictionary.SubconstantRedundancy.ValidRegime.thresholdLogN_le_log {U V n R p_min q_min p_max q_max : ℕ} (h : ValidRegime U V n R p_min q_min p_max q_max) :
thresholdLogN q_min p_max ≤ Nat.log 2 n
theorem Cslib.DataStructure.Dictionary.SubconstantRedundancy.ValidRegime.four_le_log {U V n R p_min q_min p_max q_max : ℕ} (h : ValidRegime U V n R p_min q_min p_max q_max) :
4 ≤ Nat.log 2 n
theorem Cslib.DataStructure.Dictionary.SubconstantRedundancy.ValidRegime.poly_le_log {U V n R p_min q_min p_max q_max : ℕ} (h : ValidRegime U V n R p_min q_min p_max q_max) :
2560000 * (max q_min 1 + p_max + 4) ^ 4 ≤ Nat.log 2 n
theorem Cslib.DataStructure.Dictionary.SubconstantRedundancy.ValidRegime.mul_param_le_log {U V n R p_min q_min p_max q_max : ℕ} (h : ValidRegime U V n R p_min q_min p_max q_max) {c : ℕ} (hc : c ≤ 2560000) :
c * (q_min + p_max + 4) ≤ Nat.log 2 n
theorem Cslib.DataStructure.Dictionary.SubconstantRedundancy.ValidRegime.three_hundred_le_log_log {U V n R p_min q_min p_max q_max : ℕ} (h : ValidRegime U V n R p_min q_min p_max q_max) :
300 ≤ Nat.log 2 (Nat.log 2 n)
theorem Cslib.DataStructure.Dictionary.SubconstantRedundancy.ValidRegime.two_le_n {U V n R p_min q_min p_max q_max : ℕ} (h : ValidRegime U V n R p_min q_min p_max q_max) :
2 ≤ n
theorem Cslib.DataStructure.Dictionary.SubconstantRedundancy.ValidRegime.univ_le_pow {U V n R p_min q_min p_max q_max : ℕ} (h : ValidRegime U V n R p_min q_min p_max q_max) :
U ≤ n ^ (p_max + 1)
theorem Cslib.DataStructure.Dictionary.SubconstantRedundancy.ValidRegime.n_pow_succ_le_univ_pow {U V n R p_min q_min p_max q_max : ℕ} (h : ValidRegime U V n R p_min q_min p_max q_max) :
n ^ (q_min + 1) ≤ U ^ q_min
theorem Cslib.DataStructure.Dictionary.SubconstantRedundancy.ValidRegime.two_mul_n_le_univ {U V n R p_min q_min p_max q_max : ℕ} (h : ValidRegime U V n R p_min q_min p_max q_max) :
2 * n ≤ U
theorem Cslib.DataStructure.Dictionary.SubconstantRedundancy.ValidRegime.log_univ_bounds {U V n R p_min q_min p_max q_max : ℕ} (h : ValidRegime U V n R p_min q_min p_max q_max) :
Nat.log 2 n ≤ Nat.log 2 U ∧ Nat.log 2 U ≤ 2 * (p_max + 1) * Nat.log 2 n
theorem Cslib.DataStructure.Dictionary.SubconstantRedundancy.ValidRegime.four_mul_log_univ_le_sq_log {U V n R p_min q_min p_max q_max : ℕ} (h : ValidRegime U V n R p_min q_min p_max q_max) :
4 * Nat.log 2 U ≤ Nat.log 2 n ^ 2
theorem Cslib.DataStructure.Dictionary.SubconstantRedundancy.ValidRegime.log_univ_le_sq_log {U V n R p_min q_min p_max q_max : ℕ} (h : ValidRegime U V n R p_min q_min p_max q_max) :
Nat.log 2 U ≤ Nat.log 2 n ^ 2
theorem Cslib.DataStructure.Dictionary.SubconstantRedundancy.ValidRegime.two_pow_logStar_le_log_log {U V n R p_min q_min p_max q_max : ℕ} (h : ValidRegime U V n R p_min q_min p_max q_max) :
2 ^ n.logStar ≤ 32 * (Nat.log 2 (Nat.log 2 n) + 1)
theorem Cslib.DataStructure.Dictionary.SubconstantRedundancy.ValidRegime.one_le_redundancyRatio {U V n R p_min q_min p_max q_max : ℕ} (h : ValidRegime U V n R p_min q_min p_max q_max) :
theorem Cslib.DataStructure.Dictionary.SubconstantRedundancy.ValidRegime.redundancyRatio_le_log {U V n R p_min q_min p_max q_max : ℕ} (h : ValidRegime U V n R p_min q_min p_max q_max) :
theorem Cslib.DataStructure.Dictionary.SubconstantRedundancy.ValidRegime.treeDepth_le_logStar_add_four {U V n R p_min q_min p_max q_max : ℕ} (h : ValidRegime U V n R p_min q_min p_max q_max) :
theorem Cslib.DataStructure.Dictionary.SubconstantRedundancy.ValidRegime.three_le_logStar {U V n R p_min q_min p_max q_max : ℕ} (h : ValidRegime U V n R p_min q_min p_max q_max) :
theorem Cslib.DataStructure.Dictionary.SubconstantRedundancy.ValidRegime.two_pow_eighteen_mul_log_univ_pow_le {U V n R p_min q_min p_max q_max : ℕ} (h : ValidRegime U V n R p_min q_min p_max q_max) :
2 ^ 18 * Nat.log 2 U ^ 9 ≤ n
theorem Cslib.DataStructure.Dictionary.SubconstantRedundancy.ValidRegime.four_mul_redundancyRatio_le_log_univ {U V n R p_min q_min p_max q_max : ℕ} (h : ValidRegime U V n R p_min q_min p_max q_max) :
theorem Cslib.DataStructure.Dictionary.SubconstantRedundancy.canonical_target_bounds {U V n R p_min q_min p_max q_max : ℕ} (h : ValidRegime U V n R p_min q_min p_max q_max) :
theorem Cslib.DataStructure.Dictionary.SubconstantRedundancy.canonical_cumBranchBits_add_seventeen_le {U V n R p_min q_min p_max q_max : ℕ} (h : ValidRegime U V n R p_min q_min p_max q_max) {ℓ : ℕ} (hlt : ℓ < treeDepth U (redundancyRatio n R)) :
theorem Cslib.DataStructure.Dictionary.SubconstantRedundancy.canonical_nFloor_ge_pow_256 {U V n R p_min q_min p_max q_max : ℕ} (h : ValidRegime U V n R p_min q_min p_max q_max) {ℓ : ℕ} (hℓ : ℓ ≤ treeDepth U (redundancyRatio n R)) :
256 ^ 9 ≤ nFloor n U (redundancyRatio n R) (treeDepth U (redundancyRatio n R)) ℓ
def Cslib.DataStructure.Dictionary.SubconstantRedundancy.canonicalSchedule {U V n R p_min q_min p_max q_max : ℕ} (h : ValidRegime U V n R p_min q_min p_max q_max) :

Canonical Section 5 parameter schedule instantiated from (U, V, n, R, q_min, p_max) under ValidRegime ([LiLiangYuZhou2024, Sections 5.1–5.2]).

@[simp]
theorem Cslib.DataStructure.Dictionary.SubconstantRedundancy.canonicalSchedule_univ {U V n R p_min q_min p_max q_max : ℕ} (h : ValidRegime U V n R p_min q_min p_max q_max) :
@[simp]
theorem Cslib.DataStructure.Dictionary.SubconstantRedundancy.canonicalSchedule_valBound {U V n R p_min q_min p_max q_max : ℕ} (h : ValidRegime U V n R p_min q_min p_max q_max) :
@[simp]
theorem Cslib.DataStructure.Dictionary.SubconstantRedundancy.canonicalSchedule_cap {U V n R p_min q_min p_max q_max : ℕ} (h : ValidRegime U V n R p_min q_min p_max q_max) :
@[simp]
theorem Cslib.DataStructure.Dictionary.SubconstantRedundancy.canonicalSchedule_depth {U V n R p_min q_min p_max q_max : ℕ} (h : ValidRegime U V n R p_min q_min p_max q_max) :
theorem Cslib.DataStructure.Dictionary.SubconstantRedundancy.canonicalSchedule_branchBits {U V n R p_min q_min p_max q_max : ℕ} (h : ValidRegime U V n R p_min q_min p_max q_max) (ℓ : ℕ) :
@[simp]
theorem Cslib.DataStructure.Dictionary.SubconstantRedundancy.canonicalSchedule_quotOne {U V n R p_min q_min p_max q_max : ℕ} (h : ValidRegime U V n R p_min q_min p_max q_max) :
@[simp]
theorem Cslib.DataStructure.Dictionary.SubconstantRedundancy.canonicalSchedule_epsInv {U V n R p_min q_min p_max q_max : ℕ} (h : ValidRegime U V n R p_min q_min p_max q_max) :
@[simp]
theorem Cslib.DataStructure.Dictionary.SubconstantRedundancy.canonicalSchedule_alphaInv {U V n R p_min q_min p_max q_max : ℕ} (h : ValidRegime U V n R p_min q_min p_max q_max) :
theorem Cslib.DataStructure.Dictionary.SubconstantRedundancy.canonicalSchedule_cumBranchBits_eq {U V n R p_min q_min p_max q_max : ℕ} (h : ValidRegime U V n R p_min q_min p_max q_max) (ℓ : ℕ) :
theorem Cslib.DataStructure.Dictionary.SubconstantRedundancy.canonicalSchedule_numNodes_eq {U V n R p_min q_min p_max q_max : ℕ} (h : ValidRegime U V n R p_min q_min p_max q_max) {ℓ : ℕ} (hℓ : ℓ ≤ (canonicalSchedule h).depth) :
theorem Cslib.DataStructure.Dictionary.SubconstantRedundancy.canonicalSchedule_branchFactor_eq {U V n R p_min q_min p_max q_max : ℕ} (h : ValidRegime U V n R p_min q_min p_max q_max) (ℓ : ℕ) :
theorem Cslib.DataStructure.Dictionary.SubconstantRedundancy.canonicalSchedule_nFloor_eq {U V n R p_min q_min p_max q_max : ℕ} (h : ValidRegime U V n R p_min q_min p_max q_max) (ℓ : ℕ) :
theorem Cslib.DataStructure.Dictionary.SubconstantRedundancy.canonicalSchedule_delta_eq {U V n R p_min q_min p_max q_max : ℕ} (h : ValidRegime U V n R p_min q_min p_max q_max) (ℓ : ℕ) :
theorem Cslib.DataStructure.Dictionary.SubconstantRedundancy.canonicalSchedule_idBits_eq {U V n R p_min q_min p_max q_max : ℕ} (h : ValidRegime U V n R p_min q_min p_max q_max) (ℓ : ℕ) :
theorem Cslib.DataStructure.Dictionary.SubconstantRedundancy.canonicalSchedule_two_mul_delta_le_nFloor {U V n R p_min q_min p_max q_max : ℕ} (h : ValidRegime U V n R p_min q_min p_max q_max) {ℓ : ℕ} (hℓ : ℓ ≤ (canonicalSchedule h).depth) :

canonicalSchedule concentration readiness: across the entire ValidRegime, canonicalSchedule h satisfies all six probabilistic concentration conditions in TreeSchedule.ConcentrationReady (Section 5.4, Claim 5.4, and Lemma 5.3).