Explicit logarithmic truncation gives dyadic counting accuracy
ProvedCountingLLL.DetCount.dyadic_truncation_accuracyLet satisfy Condition 1.1 and have constraints. Fix a valid enumeration choice and a nonnegative integer , and set and
The product of the corresponding budget- estimated conditional satisfaction probabilities, multiplied by the number of all assignments, lies between and . This makes the logarithmic truncation used in Section 4.2 explicit; it asserts accuracy, while the program construction and cost bound remain separate.
Preamble
import Definitions.Def_CountingLLL_DetCount_Expansion open scoped Classical BigOperators
Formal statement
namespace CountingLLL.DetCount
open CSP
/-- A concrete logarithmic truncation budget yields dyadic relative accuracy. -/
theorem dyadic_truncation_accuracy (Φ : CSP) (hΦ : Φ.Condition11)
(en : Φ.EnumChoice) (hen : Φ.ValidEnum en) (s : ℕ) :
let ε : ℝ := (1/2)^s
let L := 10 * (s + Nat.log2 (Φ.m+1) + 6)
let Cpre : ℕ → Finset (Fin Φ.m) :=
fun i => Finset.univ.filter (fun j : Fin Φ.m => j.val < i)
let Zhat : ℝ := (∏ v, (Φ.q v : ℝ)) *
∏ i : Fin Φ.m, (1 - Φ.rhatWith en L (Cpre (i.val+1)) i)
(1-ε)*(Φ.ZPhi : ℝ) ≤ Zhat ∧ Zhat ≤ (1+ε)*(Φ.ZPhi : ℝ) := by sorry
end CountingLLL.DetCount
Source
Liu, Wang, Yin, Zhang, and Zhou, A Counting and Sampling Lovász Local Lemma, https://github.com/sigact-stoc/stoc2027/releases/download/papers-1/442.pdf, §4.2, equation (21) and proof of Theorem 1.2; an explicit sufficient truncation choice.