Explicit integer budgets for the round-or-cut algorithm
Lax263307.AlgorithmParameters · concepts/Lax263307/AlgorithmParameters.lean · lax-263307
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Lemma
Fixed class constants and an integer accuracy denominator determine the load, edge sparsity, conditioning level, and small-target cutoff. The conditioning moment floor supplies a uniform protected radius. A larger integer precision budget makes that dyadic radius small enough using only natural arithmetic and powers of two.
Concept map
Evidence
Lean source view on GitHub
| 1 | import Lax263307.MomentLP |
| 2 | import Lax263307.HeavyConditioning |
| 3 | import Lax263307.RoundedOracleSearch |
| 4 | import Mathlib.Data.Nat.Log |
| 5 | |
| 6 | /-! |
| 7 | --- |
| 8 | title: Explicit integer budgets for the round-or-cut algorithm |
| 9 | type: lemma |
| 10 | --- |
| 11 | Fixed class constants and an integer accuracy denominator determine the |
| 12 | load, edge sparsity, conditioning level, and small-target cutoff. |
| 13 | The conditioning moment floor supplies a uniform protected radius. |
| 14 | A larger integer precision budget makes that dyadic radius small enough |
| 15 | using only natural arithmetic and powers of two. |
| 16 | |
| 17 | # Formalization notes |
| 18 | |
| 19 | The precision budget is the protected-radius denominator plus two. |
| 20 | That denominator is quasipolynomial in the input order and accuracy, so |
| 21 | this conservative choice also gives a quasipolynomial iteration budget. |
| 22 | The proof of the main theorem combines these budgets with the resource |
| 23 | estimates and concrete RAM execution. |
| 24 | -/ |
| 25 | |
| 26 | namespace Lax263307.AlgorithmParameters |
| 27 | |
| 28 | open HeavyConditioning (probabilityFloor) |
| 29 | open MomentLP (dimension) |
| 30 | open RoundedOracleSearch (steps) |
| 31 | def logarithm (n : ℕ) : ℕ := Nat.log2 (2 * n) + 1 |
| 32 | def load (B n D : ℕ) : ℕ := 12 * B * D * logarithm n |
| 33 | def targetThreshold (a K B n D : ℕ) : ℕ := K * (load B n D + 1) ^ (4 * a + 2) |
| 34 | def sparsity (a K B n D : ℕ) : ℕ := 2 * targetThreshold a K B n D |
| 35 | def level (a K B n D : ℕ) : ℕ := sparsity a K B n D * (Nat.log2 n + 1) |
| 36 | def cutoff (a K B n D : ℕ) : ℕ := max (targetThreshold a K B n D) (level a K B n D) |
| 37 | def floorDenominator (a K B n D : ℕ) : ℕ := |
| 38 | 2 * n * sparsity a K B n D * (Nat.log2 n + 1) |
| 39 | def momentFloor (a K B n D : ℕ) : ℚ := |
| 40 | 1 / (floorDenominator a K B n D : ℚ) ^ level a K B n D |
| 41 | def radiusDenominator (a K B n D : ℕ) : ℕ := |
| 42 | 256 * dimension n (level a K B n D) * n ^ 2 * D ^ 2 * |
| 43 | floorDenominator a K B n D ^ level a K B n D |
| 44 | def precision (a K B n D : ℕ) : ℕ := radiusDenominator a K B n D + 2 |
| 45 | def iterations (a K B n D : ℕ) : ℕ := |
| 46 | steps (dimension n (level a K B n D)) (precision a K B n D) |
| 47 | |
| 48 | axiom budgets {a K B n D k : ℕ} (hK : 0 < K) (hB : 0 < B) |
| 49 | (hD : 4 ≤ D) (large : cutoff a K B n D < k) : |
| 50 | 0 < load B n D ∧ 0 < sparsity a K B n D ∧ 0 < level a K B n D ∧ |
| 51 | 0 < (1 / (D : ℝ)) ∧ (1 / (D : ℝ)) ≤ 1 / 4 ∧ |
| 52 | 12 * (B : ℝ) * ((Nat.log2 (2 * n) : ℝ) + 1) ≤ |
| 53 | (1 / (D : ℝ)) * load B n D ∧ |
| 54 | (sparsity a K B n D : ℝ) * ((Nat.log2 n : ℝ) + 1) ≤ level a K B n D ∧ |
| 55 | (K : ℝ) * ((load B n D : ℝ) + 1) ^ (4 * a + 2) ≤ k ∧ |
| 56 | (2 * K : ℝ) * ((load B n D : ℝ) + 1) ^ (4 * a + 2) ≤ sparsity a K B n D |
| 57 | |
| 58 | axiom conditioning_floor (a K B n D : ℕ) : |
| 59 | (momentFloor a K B n D : ℝ) = |
| 60 | probabilityFloor n (sparsity a K B n D) ^ level a K B n D |
| 61 | |
| 62 | axiom protected_radius {a K B n D : ℕ} (hK : 0 < K) (hn : 0 < n) (hD : 0 < D) : |
| 63 | 2 ≤ precision a K B n D ∧ |
| 64 | ((2 : ℝ) ^ precision a K B n D)⁻¹ ≤ |
| 65 | (momentFloor a K B n D : ℝ) / |
| 66 | (256 * (dimension n (level a K B n D) : ℝ) * (n : ℝ) ^ 2 * (D : ℝ) ^ 2) |
| 67 | |
| 68 | end Lax263307.AlgorithmParameters |
| 69 |
Formalization notes
The precision budget is the protected-radius denominator plus two. That denominator is quasipolynomial in the input order and accuracy, so this conservative choice also gives a quasipolynomial iteration budget. The proof of the main theorem combines these budgets with the resource estimates and concrete RAM execution.
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments