Explicit integer budgets for the round-or-cut algorithm

Lax263307.AlgorithmParameters · concepts/Lax263307/AlgorithmParameters.lean · lax-263307

proven

Loading review…

Sign in with ORCID

Community review

Flags

Each flag is tied to a public ORCID identity and explains why this concept may be incorrect.

No flags have been submitted.

    Community review

    Flag this concept

    State precisely what appears incorrect. This explanation will be public under your ORCID name.

    No source line selected.

    Natural 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
    23 concepts; 5 descendants hidden
    100%
    Proven claimDefinitionThis conceptRelated conceptA → B: B builds on A
    Evidence

    This concept declares 3 statements. Each proof establishes one of them relative to its assumptions.

    Lean source view on GitHub

    1import Lax263307.MomentLP
    2import Lax263307.HeavyConditioning
    3import Lax263307.RoundedOracleSearch
    4import Mathlib.Data.Nat.Log
    5
    6/-!
    7---
    8title: Explicit integer budgets for the round-or-cut algorithm
    9type: lemma
    10---
    11Fixed class constants and an integer accuracy denominator determine the
    12load, edge sparsity, conditioning level, and small-target cutoff.
    13The conditioning moment floor supplies a uniform protected radius.
    14A larger integer precision budget makes that dyadic radius small enough
    15using only natural arithmetic and powers of two.
    16
    17# Formalization notes
    18
    19The precision budget is the protected-radius denominator plus two.
    20That denominator is quasipolynomial in the input order and accuracy, so
    21this conservative choice also gives a quasipolynomial iteration budget.
    22The proof of the main theorem combines these budgets with the resource
    23estimates and concrete RAM execution.
    24-/
    25
    26namespace Lax263307.AlgorithmParameters
    27
    28open HeavyConditioning (probabilityFloor)
    29open MomentLP (dimension)
    30open RoundedOracleSearch (steps)
    31def logarithm (n : ℕ) : ℕ := Nat.log2 (2 * n) + 1
    32def load (B n D : ℕ) : ℕ := 12 * B * D * logarithm n
    33def targetThreshold (a K B n D : ℕ) : ℕ := K * (load B n D + 1) ^ (4 * a + 2)
    34def sparsity (a K B n D : ℕ) : ℕ := 2 * targetThreshold a K B n D
    35def level (a K B n D : ℕ) : ℕ := sparsity a K B n D * (Nat.log2 n + 1)
    36def cutoff (a K B n D : ℕ) : ℕ := max (targetThreshold a K B n D) (level a K B n D)
    37def floorDenominator (a K B n D : ℕ) : ℕ :=
    38 2 * n * sparsity a K B n D * (Nat.log2 n + 1)
    39def momentFloor (a K B n D : ℕ) : ℚ :=
    40 1 / (floorDenominator a K B n D : ℚ) ^ level a K B n D
    41def 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
    44def precision (a K B n D : ℕ) : ℕ := radiusDenominator a K B n D + 2
    45def iterations (a K B n D : ℕ) : ℕ :=
    46 steps (dimension n (level a K B n D)) (precision a K B n D)
    47
    48axiom 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
    58axiom 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
    62axiom 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
    68end Lax263307.AlgorithmParameters
    69
    Show ProofShow ProofShow Proof
    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.

    Loading discussion…