Documentation

CslibFrontier.Computability.Complexity.FineGrained.SparseBranchAsymptotics

Section 5.5 and Section 6.3 post-branching interpolationScale domain-examination bounds #

This module establishes the Section 5.5 (Proof of Theorem 2.2, printed p. 39) and Section 6.3 (Counting one sparse formula, printed p. 43) real-analytic scale transfer connecting the post-branching free-variable domain-examination bounds of CslibFrontier.Computability.Complexity.FineGrained.SparseBranchSchedule and CslibFrontier.Computability.Complexity.FineGrained.SparseParitySchedule to the sublinear exponent Cslib.Complexity.SubexponentialSAT.interpolationScale of OpenAI, The Exponential Time Hypothesis is False:

  1. Free-variable (n / 2 ≤ n' ≤ n) to original-variable (n) rowCost transfer (§5.5, p. 39): On every heavy-variable branch where n ≤ 2 * n' and n' ≤ n (n / 2 ≤ n' ≤ n), Feasible.mul_rowCost_le_of_le_two_mul proves that hF : Feasible β n' b_occ w_width M' implies (n' : ℝ) * rowCost β n' ≤ 2056 * ((β : ℝ) + 3) * (n * (⌈log₂ ⌈log₂ n⌉⌉) ^ 2 / √⌈log₂ n⌉).
  2. Explicit comparison with interpolationScale n for 16384 ≤ n (§5.5 & §6.4, pp. 39, 44):
  3. Single-branch and multi-branch 2 ^ (A * interpolationScale n) domain-examination bounds (§5.5 p. 39 & §6.3 p. 43):

Main definitions #

Main results #

References #

1. Free-variable (n / 2 ≤ n' ≤ n) to original-variable (n) rowCost transfer #

theorem Cslib.Complexity.SubexponentialSAT.ReplacementParams.Feasible.mul_rowCost_le_of_le_two_mul {β n n' b_occ w_width M' : ℕ} (hF : Feasible β n' b_occ w_width M') (hn_le : n ≤ 2 * n') (hn'_le : n' ≤ n) :
↑n' * rowCost β n' ≤ 2056 * (↑β + 3) * (↑n * ↑(Nat.clog 2 (Nat.clog 2 n)) ^ 2 / √↑(Nat.clog 2 n))

Section 5.5 free-variable rowCost transfer (printed p. 39): Whenever n ≤ 2 * n', n' ≤ n, and hF : Feasible β n' b_occ w_width M', the free-variable exponent factor (n' : ℝ) * rowCost β n' is bounded in terms of the original variable count n by 2056 * ((β : ℝ) + 3) * ((n : ℝ) * (Nat.clog 2 (Nat.clog 2 n) : ℝ) ^ 2 / Real.sqrt (Nat.clog 2 n)).

2. Explicit comparison with interpolationScale n for 16384 ≤ n #

Explicit discrete-to-continuous scale bound: Whenever 16384 ≤ n, (n : ℝ) * (Nat.clog 2 (Nat.clog 2 n) : ℝ) ^ 2 / Real.sqrt (Nat.clog 2 n) ≤ 16 * interpolationScale n.

Section 5.5 heavy-variable branch exponent bound (printed pp. 38–39): Whenever 16384 ≤ n, (n / (Nat.clog 2 n).sqrt : ℝ) ≤ 32 * interpolationScale n.

Section 5.5 heavy-variable branch count bound: Whenever 16384 ≤ n, (2 : ℝ) ^ (n / (Nat.clog 2 n).sqrt) ≤ (2 : ℝ) ^ (32 * interpolationScale n).

theorem Cslib.Complexity.SubexponentialSAT.ReplacementParams.Feasible.mul_rowCost_le_interpolationScale {β n n' b_occ w_width M' : ℕ} (hF : Feasible β n' b_occ w_width M') (hn : 16384 ≤ n) (hn_le : n ≤ 2 * n') (hn'_le : n' ≤ n) :
↑n' * rowCost β n' ≤ 32896 * (↑β + 3) * interpolationScale n

Section 5.5 free-variable rowCost bound against interpolationScale n (printed p. 39): Whenever 16384 ≤ n, n ≤ 2 * n', n' ≤ n, and hF : Feasible β n' b_occ w_width M', (n' : ℝ) * rowCost β n' ≤ 32896 * ((β : ℝ) + 3) * interpolationScale n.

Evaluation-box prefactor bound against interpolationScale n: Whenever 16384 ≤ n and n' ≤ n, 2 * (numNodes n' : ℝ) * (numGroups n' : ℝ) ≤ interpolationScale n.

For 0 ≤ x, Real.exp x ≤ (2 : ℝ) ^ (2 * x) since 1 < 2 * Real.log 2.

3. General Section 5.5 2 ^ (A * interpolationScale n) domain-examination bounds #

Explicit exponent multiplier 2 + 65792 * (k * (2 * c + 4) + 4) * (β + 3) bounding the single-branch domain-examination count against (2 : ℝ) ^ (A * interpolationScale n).

theorem Cslib.BitString.Feasible.branch_domainExaminationBound_le_two_pow_interpolationScale {ι : Type u_1} {n' : ℕ} [Fintype ι] {F_idx : Type u_2} [Fintype F_idx] {scope : F_idx → Finset (Fin n')} {β b_occ w_width M' k c : ℕ} {κ : Type u_3} (I : Finset κ) (hF : Complexity.SubexponentialSAT.ReplacementParams.Feasible β n' b_occ w_width M') (D : LinearAlgebra.ReplacementDesign scope (Complexity.SubexponentialSAT.ReplacementParams.numNodes n') (Complexity.SubexponentialSAT.ReplacementParams.numGroups n') (Complexity.SubexponentialSAT.ReplacementParams.intervalStart β n') (Complexity.SubexponentialSAT.ReplacementParams.rowBound β n') (Complexity.SubexponentialSAT.ReplacementParams.tauRat n')) (s : Finset F_idx) (hI : I.card ≤ c * Fintype.card ι) (hn : 16384 ≤ Fintype.card ι) (hn_le : Fintype.card ι ≤ 2 * n') (hn'_le : n' ≤ Fintype.card ι) :

Section 5.5 single-branch interpolationScale domain-examination bound (printed p. 39): When 16384 ≤ Fintype.card ι, Fintype.card ι ≤ 2 * n', n' ≤ Fintype.card ι, #I ≤ c * Fintype.card ι, and hF : Feasible β n' b_occ w_width M', at d = k * (#I + 2 * (branchPrecision (Fintype.card ι) - 1)) and q = (d * rowBound β n') / numNodes n', the induced Section 3 counting design C := hF.toCountingDesign D s satisfies (∑ t : Fin (numNodes n'), (#{p : Finset (Fin n') × Finset (Fin n') | #p.1 ≤ q ∧ p.2 ⊆ p.1} : ℝ) * (2 * (#(C.measurementBox t) : ℝ) * ∑ g : Fin (numGroups n'), (Fintype.card (C.LocalCube t g) : ℝ))) ≤ (2 : ℝ) ^ ((branchExamScaleCoeff β k c : ℝ) * interpolationScale (Fintype.card ι)).

theorem Cslib.BitString.sum_branchAssignments_le_two_pow_interpolationScale {ι : Type u_1} [Fintype ι] [DecidableEq ι] {A : ℕ} {S : Finset ι} (hn : 16384 ≤ Fintype.card ι) (hbranches : (branchAssignments S).card ≤ 2 ^ (Fintype.card ι / (Nat.clog 2 (Fintype.card ι)).sqrt)) (examSum : (ι → Bool) → ℝ) (hexam : ∀ b ∈ branchAssignments S, examSum b ≤ 2 ^ (↑A * Complexity.SubexponentialSAT.interpolationScale (Fintype.card ι))) :

Branch-assignment sum bound against interpolationScale: Whenever 16384 ≤ Fintype.card ι and #(branchAssignments S) ≤ 2 ^ (Fintype.card ι / (Nat.clog 2 (Fintype.card ι)).sqrt), any per-branch family examSum bounded by (2 : ℝ) ^ ((A : ℝ) * interpolationScale (Fintype.card ι)) sums across branchAssignments S to at most (2 : ℝ) ^ (((A + 32 : ℕ) : ℝ) * interpolationScale (Fintype.card ι)).

theorem Cslib.BitString.sum_branch_domainExaminationBound_le_two_pow_interpolationScale {ι : Type u_1} [Fintype ι] [DecidableEq ι] {β k c b₀ : ℕ} {κ : Type u_2} (I : Finset κ) (P : κ → Finset (Finset ι)) (hn : 16384 ≤ Fintype.card ι) (hM : (totalIncidence I fun (i : κ) => equationScope (P i)) * (Nat.clog 2 (Fintype.card ι)).sqrt ≤ b₀ * Fintype.card ι) (examSum : (ι → Bool) → ℝ) (hexam : ∀ b ∈ branchAssignments (heavyVars Finset.univ I (fun (i : κ) => equationScope (P i)) b₀), examSum b ≤ 2 ^ (↑(branchExamScaleCoeff β k c) * Complexity.SubexponentialSAT.interpolationScale (Fintype.card ι))) :

Section 5.5 multi-branch interpolationScale domain-examination bound (printed p. 39): When 16384 ≤ Fintype.card ι and totalIncidence I (fun i => equationScope (P i)) * (Nat.clog 2 (Fintype.card ι)).sqrt ≤ b₀ * Fintype.card ι, the sum of the per-branch examination bounds across all b ∈ branchAssignments S is at most (2 : ℝ) ^ (((branchExamScaleCoeff β k c + 32 : ℕ) : ℝ) * interpolationScale (Fintype.card ι)).

4. Section 6.3 CNF.parityRowSystem domain-examination bounds against interpolationScale #

Explicit exponent multiplier branchExamScaleCoeff (2 * β_B + 5) k 6 for a width-≤ k CNF with clause-to-variable ratio B ≤ C_B * (Nat.clog 2 n) ^ β_B.

theorem Cslib.Logic.PL.CNF.branch_domainExaminationBound_parityRowSystem_le_two_pow_interpolationScale {V : Type u_1} {n' : ℕ} [Fintype V] {F_idx : Type u_2} [Fintype F_idx] {scope : F_idx → Finset (Fin n')} {φ : CNF V} {β b_occ w_width M' k : ℕ} (rows : List (Fin (List.length φ) → Bool)) (hF : Complexity.SubexponentialSAT.ReplacementParams.Feasible β n' b_occ w_width M') (D : LinearAlgebra.ReplacementDesign scope (Complexity.SubexponentialSAT.ReplacementParams.numNodes n') (Complexity.SubexponentialSAT.ReplacementParams.numGroups n') (Complexity.SubexponentialSAT.ReplacementParams.intervalStart β n') (Complexity.SubexponentialSAT.ReplacementParams.rowBound β n') (Complexity.SubexponentialSAT.ReplacementParams.tauRat n')) (s : Finset F_idx) (hlen : rows.length ≤ 6 * Fintype.card V) (hn : 16384 ≤ Fintype.card V) (hn_le : Fintype.card V ≤ 2 * n') (hn'_le : n' ≤ Fintype.card V) :

Section 6.3 single-branch interpolationScale domain-examination bound for CNF.parityRowSystem (equation-count ratio c = 6, printed p. 43): When 16384 ≤ Fintype.card V, rows.length ≤ 6 * Fintype.card V, Fintype.card V ≤ 2 * n', n' ≤ Fintype.card V, and hF : Feasible β n' b_occ w_width M', the single-branch domain-examination sum of C := hF.toCountingDesign D s is bounded by (2 : ℝ) ^ ((branchExamScaleCoeff β k 6 : ℝ) * interpolationScale (Fintype.card V)).

theorem Cslib.Logic.PL.CNF.sum_branch_domainExaminationBound_parityRowSystem_le_two_pow_interpolationScale {V : Type u_1} [Fintype V] [DecidableEq V] {φ : CNF V} {β k W b₀ : ℕ} (hk : ∀ c ∈ φ, List.length c ≤ k) {rows : List (Fin (List.length φ) → Bool)} (hW : ∀ r ∈ rows, BitString.weight r ≤ W) (hlen : rows.length ≤ 6 * Fintype.card V) (hn : 16384 ≤ Fintype.card V) (h_thresh : 6 * (k * (W * 2 ^ k)) * (Nat.clog 2 (Fintype.card V)).sqrt ≤ b₀) (examSum : (V → Bool) → ℝ) (hexam : ∀ b ∈ BitString.branchAssignments (BitString.heavyVars Finset.univ Finset.univ (fun (j : Fin rows.length) => BitString.equationScope (φ.parityRowSystem rows j)) b₀), examSum b ≤ 2 ^ (↑(BitString.branchExamScaleCoeff β k 6) * Complexity.SubexponentialSAT.interpolationScale (Fintype.card V))) :

Section 6.3 multi-branch interpolationScale domain-examination bound for CNF.parityRowSystem (equation-count ratio c = 6, printed p. 43): When 16384 ≤ Fintype.card V, ∀ c ∈ φ, c.length ≤ k, ∀ r ∈ rows, weight r ≤ W, rows.length ≤ 6 * Fintype.card V, and (6 * (k * (W * 2 ^ k))) * (Nat.clog 2 (Fintype.card V)).sqrt ≤ b₀, if each branch b ∈ branchAssignments S has its examination sum bounded by (2 : ℝ) ^ ((branchExamScaleCoeff β k 6 : ℝ) * interpolationScale (Fintype.card V)), then the sum across all b ∈ branchAssignments S is bounded by (2 : ℝ) ^ (((branchExamScaleCoeff β k 6 + 32 : ℕ) : ℝ) * interpolationScale (Fintype.card V)).

@[reducible, inline]
abbrev Cslib.Logic.PL.CNF.ParityRowBranchExamBound {V : Type u_1} {n' : ℕ} [Fintype V] [DecidableEq V] (φ : CNF V) (k β_B W b₀ : ℕ) (rows : List (Fin (List.length φ) → Bool)) (e : ↥(Finset.univ \ BitString.heavyVars Finset.univ Finset.univ (fun (j : Fin rows.length) => BitString.equationScope (φ.parityRowSystem rows j)) b₀) ≃ Fin n') :

Post-branching Section 6.3 schedule feasibility, ReplacementDesign existence, and single- / multi-branch 2 ^ (A * interpolationScale (Fintype.card V)) domain-examination bounds for φ.parityRowSystem rows at width cap k, density exponent β_B, row-weight cap W, and heavy-variable threshold b₀.

theorem Cslib.Logic.PL.CNF.parityRowBranchExamBound_of_schedule {V : Type u_1} {n' : ℕ} [Fintype V] [DecidableEq V] {φ : CNF V} {k β_B W b₀ : ℕ} {rows : List (Fin (List.length φ) → Bool)} (e : ↥(Finset.univ \ BitString.heavyVars Finset.univ Finset.univ (fun (j : Fin rows.length) => BitString.equationScope (φ.parityRowSystem rows j)) b₀) ≃ Fin n') (hlen : rows.length ≤ 6 * Fintype.card V) (hn16384 : 16384 ≤ Fintype.card V) (hn_le : Fintype.card V ≤ 2 * n') (hbranches : (BitString.branchAssignments (BitString.heavyVars Finset.univ Finset.univ (fun (j : Fin rows.length) => BitString.equationScope (φ.parityRowSystem rows j)) b₀)).card ≤ 2 ^ (Fintype.card V / (Nat.clog 2 (Fintype.card V)).sqrt)) (hfeas : ∀ (b : V → Bool), Complexity.SubexponentialSAT.ReplacementParams.Feasible (2 * β_B + 5) n' (b₀ + 1) (max (k * (W * 2 ^ k)) 1) (∑ f : ↥Finset.univ ⊕ Fin n', (Complexity.SubexponentialSAT.ReplacementParams.branchAugmentedScope (BitString.heavyVars Finset.univ Finset.univ (fun (j : Fin rows.length) => BitString.equationScope (φ.parityRowSystem rows j)) b₀) e Finset.univ (φ.parityRowSystem rows) b f).card) ∧ Nonempty (LinearAlgebra.ReplacementDesign (Complexity.SubexponentialSAT.ReplacementParams.branchAugmentedScope (BitString.heavyVars Finset.univ Finset.univ (fun (j : Fin rows.length) => BitString.equationScope (φ.parityRowSystem rows j)) b₀) e Finset.univ (φ.parityRowSystem rows) b) (Complexity.SubexponentialSAT.ReplacementParams.numNodes n') (Complexity.SubexponentialSAT.ReplacementParams.numGroups n') (Complexity.SubexponentialSAT.ReplacementParams.intervalStart (2 * β_B + 5) n') (Complexity.SubexponentialSAT.ReplacementParams.rowBound (2 * β_B + 5) n') (Complexity.SubexponentialSAT.ReplacementParams.tauRat n'))) :
φ.ParityRowBranchExamBound k β_B W b₀ rows e

Upgrade the discrete free-variable, branch-count, and per-branch ReplacementDesign schedule guarantees of SparseParitySchedule to CNF.ParityRowBranchExamBound whenever 16384 ≤ Fintype.card V and rows.length ≤ 6 * Fintype.card V.

theorem Cslib.Logic.PL.CNF.exists_branch_schedule_and_examBound_parityRowSystem_of_le_clog_pow (k C_B β_B : ℕ) :
∃ (N₁ : ℕ), 16384 ≤ N₁ ∧ ∀ {V : Type u_2} [inst : Fintype V] [inst_1 : DecidableEq V] {φ : CNF V} ⦃n' B W : ℕ⦄, (∀ c ∈ φ, List.length c ≤ k) → N₁ ≤ Fintype.card V → List.length φ ≤ B * Fintype.card V → B ≤ C_B * Nat.clog 2 (Fintype.card V) ^ β_B → W ≤ BitString.initialRowWeightBound B (List.length φ) → ∀ {rows : List (Fin (List.length φ) → Bool)}, (∀ r ∈ rows, BitString.weight r ≤ W) → rows.length ≤ 6 * Fintype.card V → have b₀ := parityBranchThreshold k W (Fintype.card V); let S := BitString.heavyVars Finset.univ Finset.univ (fun (j : Fin rows.length) => BitString.equationScope (φ.parityRowSystem rows j)) b₀; ∀ (e : ↥(Finset.univ \ S) ≃ Fin n'), φ.ParityRowBranchExamBound k β_B W b₀ rows e

End-to-end Section 6.3 schedule feasibility, ReplacementDesign existence, and 2 ^ (A * interpolationScale n) examination bound for CNF.parityRowSystem: For any k C_B β_B : ℕ, there exists N₁ ≥ 16384 such that for any width-≤ k CNF φ : CNF V with N₁ ≤ Fintype.card V, φ.length ≤ B * Fintype.card V, and B ≤ C_B * (Nat.clog 2 (Fintype.card V)) ^ β_B, and any rows : List (Fin φ.length → Bool) with rows.length ≤ 6 * Fintype.card V, ∀ r ∈ rows, weight r ≤ W, and W ≤ initialRowWeightBound B φ.length, at b₀ = CNF.parityBranchThreshold k W (Fintype.card V) and β = 2 * β_B + 5:

  1. Every branch b : V → Bool unconditionally satisfies Feasible (2 * β_B + 5) n' and admits a concrete ReplacementDesign, whose single-branch examination count is bounded by (2 : ℝ) ^ ((CNF.parityBranchExamScaleCoeff k β_B : ℝ) * interpolationScale (Fintype.card V)).
  2. Any per-branch examination family bounded by that single-branch quantity sums across branchAssignments S to at most (2 : ℝ) ^ (((CNF.parityBranchExamScaleCoeff k β_B + 32 : ℕ) : ℝ) * interpolationScale (Fintype.card V)).
theorem Cslib.Logic.PL.CNF.exists_greedy_parityRowSystem_branch_schedule_and_examBound_of_le_clog_pow (k C_B β_B : ℕ) :
∃ (N₁ : ℕ), 16384 ≤ N₁ ∧ ∀ {V : Type u_2} [inst : Fintype V] [inst_1 : DecidableEq V] (φ : CNF V) {B : ℕ}, (∀ c ∈ φ, List.length c ≤ k) → N₁ ≤ Fintype.card V → 1 ≤ B → B ≤ C_B * Nat.clog 2 (Fintype.card V) ^ β_B → List.length φ ≤ B * Fintype.card V → have D₀ := BitString.initialRowWeightBound B (List.length φ); have P := BitString.greedyRowListLength B (List.length φ); have b₀ := parityBranchThreshold k D₀ (Fintype.card V); ∃ (A₀ : List (Fin (List.length φ) → Bool)), A₀.length ≤ 3 * Fintype.card V ∧ (∀ r ∈ A₀, BitString.weight r ≤ D₀) ∧ ∀ (A : ℕ → List (Fin (List.length φ) → Bool)) (γ : ℕ → Fin P → Fin (List.length φ) × Bool), A 0 = A₀ → (∀ (i : ℕ), A (i + 1) = A i ++ [BitString.testRow (γ i)]) → (∀ (i : ℕ) (γ' : Fin P → Fin (List.length φ) × Bool), BitString.commonZeroCount Finset.univ (φ.parityRowSystem (A i ++ [BitString.testRow (γ i)])) ≤ BitString.commonZeroCount Finset.univ (φ.parityRowSystem (A i ++ [BitString.testRow γ']))) → BitString.commonZeroCount Finset.univ (φ.parityRowSystem (A (3 * Fintype.card V))) = φ.modelCountOn Finset.univ ∧ ∀ i ≤ 3 * Fintype.card V, (A i).length ≤ 6 * Fintype.card V ∧ let S := BitString.heavyVars Finset.univ Finset.univ (fun (j : Fin (A i).length) => BitString.equationScope (φ.parityRowSystem (A i) j)) b₀; ∀ ⦃n' : ℕ⦄ (e : ↥(Finset.univ \ S) ≃ Fin n'), φ.ParityRowBranchExamBound k β_B D₀ b₀ (A i) e

End-to-end Lemma 6.1 + Lemma 6.2 + Section 6.3 greedy parity-test schedule with 2 ^ (A * interpolationScale n) domain-examination bounds: For any k C_B β_B : ℕ, there exists N₁ ≥ 16384 such that for any width-≤ k CNF φ : CNF V with N₁ ≤ Fintype.card V, 1 ≤ B, B ≤ C_B * Nat.clog 2 (Fintype.card V) ^ β_B, and φ.length ≤ B * Fintype.card V, at D₀ = initialRowWeightBound B φ.length, P = greedyRowListLength B φ.length, b₀ = CNF.parityBranchThreshold k D₀ (Fintype.card V), and β = 2 * β_B + 5:

  1. There exists an initial row list A₀ of length ≤ 3 * Fintype.card V and row weight ≤ D₀ such that any greedy extension A up to stage 3 * Fintype.card V satisfies commonZeroCount univ (φ.parityRowSystem (A (3 * Fintype.card V))) = φ.modelCountOn univ.
  2. At every greedy stage i ≤ 3 * Fintype.card V, (A i).length ≤ 6 * Fintype.card V, every branch b : V → Bool admits a concrete ReplacementDesign with single-branch examination count at most (2 : ℝ) ^ ((CNF.parityBranchExamScaleCoeff k β_B : ℝ) * interpolationScale (Fintype.card V)), and any per-branch examination family bounded by that quantity sums across branchAssignments S_i to at most (2 : ℝ) ^ (((CNF.parityBranchExamScaleCoeff k β_B + 32 : ℕ) : ℝ) * interpolationScale (Fintype.card V)).