Section 6.3 compiled CNF parity-row schedule feasibility and domain-examination bounds #
This module connects the compiled CNF parity-row systems and greedy model-counting reduction of
CslibFrontier.Logics.Propositional.CNF.SparseParityCounter (Sections 6.1–6.3, Lemmas 6.1–6.2,
printed pp. 39–43 of OpenAI, The Exponential Time Hypothesis is False) with the
per-branch schedule feasibility, ReplacementDesign existence, and domain-examination bounds of
CslibFrontier.Computability.Complexity.FineGrained.SparseBranchSchedule (Section 5.5, Proof of
Theorem 2.2, printed pp. 38–39):
- Incidence, free-variable, and scope-width bounds for
CNF.parityRowSystem(§6.3, p. 43): In Lemma 6.2 and Section 6.3, every candidate parity-row listrows : List (Fin φ.length → Bool)(as well as the final listA (3 * n)) has at most6 * Fintype.card Vequations, giving equation-count ratio6, and row Hamming weight at mostW(withW = max D₀ P). Theorem 2.2 uses a sufficiently largec = c(k)to bound both the equation count and monomial sparsity. For any width-≤ kCNFφ : CNF V:CNF.totalIncidence_mul_le_of_card_equationScope_le: when every equation scope ofφ.parityRowSystem rowshas at mostwvariables,rows.length ≤ 6 * Fintype.card V, and(6 * w) * s ≤ b₀, the total incidence timessis at mostb₀ * Fintype.card V, the heavy-variable budgethMof the branching bounds.CNF.totalIncidence_parityRowSystem_le_six_mul: whenrows.length ≤ 6 * Fintype.card Vand∀ r ∈ rows, weight r ≤ W, total variable-equation incidence acrossφ.parityRowSystem rowsis at most(6 * (k * (W * 2 ^ k))) * Fintype.card V.CNF.card_le_two_mul_freeVar_parityRowSystem: when2 ≤ s_divand(6 * (k * (W * 2 ^ k))) * s_div ≤ b₀, removing the heavy variablesS = heavyVars univ univ (fun j => equationScope (φ.parityRowSystem rows j)) b₀leavesFintype.card V ≤ 2 * n',Fintype.card V / 2 ≤ n', and at most2 ^ (Fintype.card V / s_div)branches inbranchAssignments S.CNF.card_branchAugmentedScope_parityRowSystem_le: every factor inbranchAugmentedScope S e univ (φ.parityRowSystem rows) bhas scope width at mostmax (k * (W * 2 ^ k)) 1.
- Per-branch and uniform
ReplacementDesignexistence and(16 * k + 4)domain-examination bounds forCNF.parityRowSystem(§6.3, p. 43):CNF.exists_branch_replacementDesign_parityRowSystemandCNF.exists_branch_schedule_parityRowSystem: instantiateFeasible.exists_branch_replacementDesignandexists_branch_schedule_replacementDesigndirectly onφ.parityRowSystem rowswith scope width boundw = k * (W * 2 ^ k).CNF.branch_domainExaminationBound_parityRowSystem_leandCNF.sum_branch_domainExaminationBound_parityRowSystem_le: specializeFeasible.branch_domainExaminationBound_leandsum_branch_domainExaminationBound_leat the Lemma 6.2 equation-count ratioc = 6(rows.length ≤ 6 * Fintype.card V), yielding the explicit single-branch examination bound2 * numNodes n' * numGroups n' * exp (((16 * k + 4) : ℝ) * n' * rowCost β n')(sincek * (2 * 6 + 4) + 4 = 16 * k + 4) and the branch-summed bound2 ^ (Fintype.card V / s_div) * (2 * numNodes n' * numGroups n' *exp (((16 * k + 4) : ℝ) * n' * rowCost β n')).
- End-to-end Lemma 6.1 + Lemma 6.2 + Section 6.3 greedy parity-test schedule theorems:
CNF.exists_greedy_parityRowSystem_branch_schedule: combinesCNF.exists_initialTests_commonZeroCount_greedywithCNF.exists_branch_schedule_parityRowSystem, establishing that at every greedy stagei ≤ 3 * Fintype.card V(withW = max D₀ P),(A i).length ≤ 6 * Fintype.card V, every branch ofφ.parityRowSystem (A i)isFeasibleand admits a concreteReplacementDesignin the polylogarithmic regime, and at stage3 * Fintype.card V,commonZeroCount univ (φ.parityRowSystem (A (3 * Fintype.card V))) =φ.modelCountOn Finset.univ.CNF.initialRowWeightBound_le_mul_pow_clog,CNF.exists_branch_schedule_parityRowSystem_of_le_clog_pow, andCNF.exists_greedy_parityRowSystem_branch_schedule_of_le_clog_pow: discharge the free-variable polylogarithmic schedule hypothesesn₀ ≤ n',b₀ + 1 ≤ (Nat.clog 2 n') ^ β, andmax (k * (W * 2 ^ k)) 1 ≤ (Nat.clog 2 n') ^ βunconditionally at the canonical Section 5.5 / Section 6.3 heavy-variable branching schedules_div = (Nat.clog 2 n).sqrt,b₀ = CNF.parityBranchThreshold k W n, andβ = 2 * β_B + 5wheneverB ≤ C_B * (Nat.clog 2 n) ^ β_BandN₀ ≤ n.
Main definitions #
Cslib.Logic.PL.CNF.initialRowWeightCoeffCslib.Logic.PL.CNF.parityBranchThresholdCslib.Logic.PL.CNF.parityScheduleCoeff
Main results #
Cslib.Logic.PL.CNF.totalIncidence_mul_le_of_card_equationScope_leCslib.Logic.PL.CNF.totalIncidence_parityRowSystem_le_six_mulCslib.Logic.PL.CNF.card_le_two_mul_freeVar_parityRowSystemCslib.Logic.PL.CNF.card_branchAugmentedScope_parityRowSystem_leCslib.Logic.PL.CNF.exists_branch_replacementDesign_parityRowSystemCslib.Logic.PL.CNF.exists_branch_schedule_parityRowSystemCslib.Logic.PL.CNF.branch_domainExaminationBound_parityRowSystem_leCslib.Logic.PL.CNF.sum_branch_domainExaminationBound_parityRowSystem_leCslib.Logic.PL.CNF.exists_greedy_parityRowSystem_branch_scheduleCslib.Logic.PL.CNF.initialRowWeightBound_le_mul_pow_clogCslib.Logic.PL.CNF.exists_branch_schedule_parityRowSystem_of_le_clog_powCslib.Logic.PL.CNF.exists_greedy_parityRowSystem_branch_schedule_of_le_clog_pow
References #
- OpenAI, The Exponential Time Hypothesis is False (Section 5.5, pp. 38–39; Sections 6.1–6.3, pp. 39–43)
1. Incidence, free-variable, and scope-width bounds for CNF.parityRowSystem #
Heavy-variable budget for a parity-row system: if every equation scope has at most w
variables, there are at most 6 * Fintype.card V rows, and (6 * w) * s ≤ b₀, then the total
incidence times the branching divisor s is at most b₀ * Fintype.card V. This is the
hypothesis hM of card_le_two_mul_freeVar_of_heavyVars and
card_branchAssignments_heavyVars_le_two_pow_div.
Section 6.2 & 6.3 ($M \le 6 k W 2^k n$ for candidate parity-row systems):
when every clause of φ has width at most k, every row in rows has Hamming weight at most W,
and rows.length ≤ 6 * Fintype.card V, the total variable-equation incidence of
φ.parityRowSystem rows is at most (6 * (k * (W * 2 ^ k))) * Fintype.card V.
Section 5.5 & 6.3 ($n \le 2n'$ and branch count $\le 2^{n / s}$ for CNF.parityRowSystem):
when ∀ c ∈ φ, c.length ≤ k, ∀ r ∈ rows, weight r ≤ W, rows.length ≤ 6 * Fintype.card V,
2 ≤ s_div, and (6 * (k * (W * 2 ^ k))) * s_div ≤ b₀, removing the heavy variables
S = heavyVars univ univ (fun j => equationScope (φ.parityRowSystem rows j)) b₀ leaves
Fintype.card V ≤ 2 * n', Fintype.card V / 2 ≤ n', and at most 2 ^ (Fintype.card V / s_div)
branches in branchAssignments S.
Section 5.5 & 6.3 (per-factor scope width $\le \max(k W 2^k, 1)$ for CNF.parityRowSystem):
when ∀ c ∈ φ, c.length ≤ k and ∀ r ∈ rows, weight r ≤ W, every factor f of
branchAugmentedScope S e univ (φ.parityRowSystem rows) b has scope cardinality at most
max (k * (W * 2 ^ k)) 1.
2. Per-branch and uniform ReplacementDesign and domain-examination bounds #
Section 6.3 per-branch ReplacementDesign existence for CNF.parityRowSystem:
Given a width-≤ k CNF φ : CNF V, a parity-row list rows : List (Fin φ.length → Bool) with
∀ r ∈ rows, weight r ≤ W,
S = heavyVars univ univ (fun j => equationScope (φ.parityRowSystem rows j)) b₀,
e : ↥(univ \ S) ≃ Fin n', and
hF : Feasible β n' (b₀ + 1) (max (k * (W * 2 ^ k)) 1)
(∑ f, #(branchAugmentedScope S e univ (φ.parityRowSystem rows) b f)),
there exists a concrete Section 4 ReplacementDesign for
branchAugmentedScope S e univ (φ.parityRowSystem rows) b at the Lemma 4.8 schedule.
Uniform Section 6.3 schedule feasibility and ReplacementDesign existence for
CNF.parityRowSystem:
For every 1 ≤ β, there exists n₀ ≥ 20 such that for any width-≤ k CNF φ : CNF V and
parity-row list rows : List (Fin φ.length → Bool) with ∀ r ∈ rows, weight r ≤ W, whenever the
free-variable count n' after removing
S = heavyVars univ univ (fun j => equationScope (φ.parityRowSystem rows j)) b₀ satisfies
n₀ ≤ n', b₀ + 1 ≤ (Nat.clog 2 n') ^ β, and max (k * (W * 2 ^ k)) 1 ≤ (Nat.clog 2 n') ^ β,
every branch assignment b : V → Bool simultaneously satisfies Feasible and admits a
concrete ReplacementDesign.
Section 6.3 single-branch domain-examination bound for CNF.parityRowSystem ($c = 6$):
For any parity-row list rows : List (Fin φ.length → Bool) with rows.length ≤ 6 * Fintype.card V
and Fintype.card V ≤ 2 * n', and any branch b with hF : Feasible β n' b_occ w_width M' and
concrete schedule design D, at the Section 5.3 / 6.3 degree budget
d = k * (rows.length + 2 * (branchPrecision (Fintype.card V) - 1)) and canonical truncation order
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 * numNodes n' * numGroups n' * exp (((16 * k + 4 : ℕ) : ℝ) * n' * rowCost β n').
Section 6.3 multi-branch domain-examination bound across branchAssignments for
CNF.parityRowSystem:
When ∀ c ∈ φ, c.length ≤ k, ∀ r ∈ rows, weight r ≤ W, rows.length ≤ 6 * Fintype.card V,
2 ≤ s_div, (6 * (k * (W * 2 ^ k))) * s_div ≤ b₀, and e : ↥(univ \ S) ≃ Fin n',
the free-variable dimension satisfies Fintype.card V ≤ 2 * n', and if each branch
b ∈ branchAssignments S has its real examination sum bounded via
CNF.branch_domainExaminationBound_parityRowSystem_le, then the sum of those examination bounds
across all b ∈ branchAssignments S is at most
(2 : ℝ) ^ (Fintype.card V / s_div) * (2 * numNodes n' * numGroups n' * exp (((16 * k + 4 : ℕ) : ℝ) * n' * rowCost β n')).
3. End-to-end Lemma 6.1 + Lemma 6.2 + Section 6.3 greedy parity-test schedule theorem #
Lemmas 6.1–6.2 & Section 6.3 (greedy parity-row selection with uniform per-branch
Feasible and ReplacementDesign guarantees at every stage i ≤ 3 * n):
For any 1 ≤ β, there exists n₀ ≥ 20 such that for any width-≤ k CNF φ : CNF V on
n = Fintype.card V ≥ 1 variables with φ.length ≤ B * n (1 ≤ B), there exist initial parity
rows A₀ (A₀.length ≤ 3 * n, each of weight at most D₀ = initialRowWeightBound B φ.length)
such that for any 3 * n-step greedy sequence A (i + 1) = A i ++ [testRow (γ i)] with A 0 = A₀
minimizing commonZeroCount over candidate rows of list length
P = greedyRowListLength B φ.length:
- After
3 * nrounds,commonZeroCount univ (φ.parityRowSystem (A (3 * n))) = φ.modelCountOn Finset.univ. - At every stage
i ≤ 3 * n,(A i).length ≤ 6 * n, and whenever the free-variable countn'after removingS_i = heavyVars univ univ (fun j => equationScope (φ.parityRowSystem (A i) j)) b₀satisfiesn₀ ≤ n',b₀ + 1 ≤ (Nat.clog 2 n') ^ β, andmax (k * (max D₀ P * 2 ^ k)) 1 ≤ (Nat.clog 2 n') ^ β, every branchb : V → Boolofφ.parityRowSystem (A i)satisfiesFeasible β n' (b₀ + 1) (max (k * (max D₀ P * 2 ^ k)) 1) M'_band admits a concreteReplacementDesign.
4. Unconditional polylogarithmic schedule discharge for B ≤ C_B * (Nat.clog 2 n) ^ β_B #
Coefficient for the polynomial bound on initialRowWeightBound B m when
B ≤ C_B * (Nat.clog 2 n) ^ β_B and m ≤ B * n.
Section 6.1 & 6.3 ($D_0 \le C \cdot (\lceil \log_2 n \rceil)^{2\beta_B + 3}$):
when 2 ≤ n, m ≤ B * n, and B ≤ C_B * (Nat.clog 2 n) ^ β_B, the initial parity-row weight bound
initialRowWeightBound B m is at most
CNF.initialRowWeightCoeff C_B β_B * (Nat.clog 2 n) ^ (2 * β_B + 3).
Canonical Section 5.5 & 6.3 heavy-variable branching threshold
b₀ = (6 * (k * (W * 2 ^ k))) * (Nat.clog 2 n).sqrt + 1 for a width-≤ k CNF with row-weight
bound W on n variables.
Schedule coefficient bounding CNF.parityBranchThreshold k W n + 1 and
max (k * (W * 2 ^ k)) 1 against (Nat.clog 2 n') ^ (2 * β_B + 4) when n ≤ 2 * n'.
Unconditional Section 6.3 branch-schedule feasibility and ReplacementDesign existence for
CNF.parityRowSystem with B ≤ C_B * (Nat.clog 2 n) ^ β_B:
For any k C_B β_B : ℕ, there exists an explicit threshold N₀ ≥ 20 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 parity-row list
rows : List (Fin φ.length → Bool) with rows.length ≤ 6 * Fintype.card V,
∀ r ∈ rows, weight r ≤ W, and W ≤ initialRowWeightBound B φ.length, at the canonical
threshold b₀ = CNF.parityBranchThreshold k W (Fintype.card V) and exponent β = 2 * β_B + 5:
2 ≤ (Nat.clog 2 (Fintype.card V)).sqrt,Fintype.card V ≤ 2 * n'andFintype.card V / 2 ≤ n',#(branchAssignments S) ≤ 2 ^ (Fintype.card V / (Nat.clog 2 (Fintype.card V)).sqrt), and- every branch
b : V → Boolunconditionally satisfiesFeasible (2 * β_B + 5) n' (b₀ + 1)(max (k * (W * 2 ^ k)) 1) M'_band admits a concreteReplacementDesign.
Unconditional Section 6.3 greedy parity-test schedule theorem for
B ≤ C_B * (Nat.clog 2 n) ^ β_B:
For any k C_B β_B : ℕ, there exists N₀ ≥ 20 such that for any width-≤ k CNF φ : CNF V with
N₀ ≤ Fintype.card V, 1 ≤ B ≤ C_B * (Nat.clog 2 (Fintype.card V)) ^ β_B, and
φ.length ≤ B * Fintype.card V, there exist initial parity rows A₀ (A₀.length ≤ 3 * n, each of
weight at most D₀ = initialRowWeightBound B φ.length) such that for any 3 * n-step greedy
sequence A (i + 1) = A i ++ [testRow (γ i)] with A 0 = A₀ minimizing commonZeroCount:
commonZeroCount univ (φ.parityRowSystem (A (3 * Fintype.card V))) = φ.modelCountOn Finset.univ.- At every stage
i ≤ 3 * Fintype.card V,(A i).length ≤ 6 * Fintype.card V, and at the canonical thresholdb₀ = CNF.parityBranchThreshold k D₀ (Fintype.card V):Fintype.card V ≤ 2 * n'andFintype.card V / 2 ≤ n',#(branchAssignments S_i) ≤ 2 ^ (Fintype.card V / (Nat.clog 2 (Fintype.card V)).sqrt), and- every branch
b : V → Boolunconditionally satisfiesFeasible (2 * β_B + 5) n' (b₀ + 1) (max (k * (D₀ * 2 ^ k)) 1) M'_band admits a concreteReplacementDesign.