Documentation

LeanPool.ThreeGap.DeltaCost

The sup-norm defect cost: growth of its record denominators is unconditional #

This file instantiates the abstract Chevallier machinery with the actual sup-norm approximation defect as the cost function:

r q = delta α q = inf_{p ∈ ℤᵈ} ‖q • α − p‖_∞ (the torus distance of q • α to the origin).

The payoff: the growth hypothesis fed to ChevallierCount.chevallier_gap_count_le — that the record denominators at least double every 2^d steps — holds automatically, with no extra hypothesis beyond RecordsContinue (irrationality). The two ingredients:

Combining the two, supNorm_growth_doubling gives 2 q_k ≤ q_{k+2^d} for q_k = bestDenom (delta α), which is exactly the growth input of chevallier_gap_count_le. Hence the combinatorial bound g_∞ ≤ 2^d + 1 holds for the sup-norm defect cost given only RecordsContinue — the growth geometry is now entirely discharged (orthant pigeonhole, already proven). The only remaining input to the geometric three-distance statement is the isometry identification (gapVal = nearest-neighbour distance), handled separately.

Axiom-clean.

noncomputable def ThreeGap.DeltaCost.nearestInt {d : } (α : Fin d) (q : ) :
Fin d

Coordinatewise nearest integer vector to q • α: round of each coordinate. For the sup norm this is the closest lattice point, so it attains the defect delta α q.

Equations
Instances For
    theorem ThreeGap.DeltaCost.rem_nearestInt_apply {d : } (α : Fin d) (q : ) (k : Fin d) :
    SimApprox.rem α q (nearestInt α q) k = q * α k - (round (q * α k))

    The remainder against the nearest integer vector, coordinatewise.

    The defect is attained by rounding (sup norm). delta α q = ‖q • α − round(q • α)‖. Each coordinate |qα_k − round(qα_k)| ≤ |qα_k − p_k| (round_le), so the rounded vector minimises the sup norm over all integer translates. This is the hattain hypothesis of the growth lemma.

    noncomputable def ThreeGap.DeltaCost.deltaCost {d : } (α : Fin d) :

    The defect cost as a function of a natural-number denominator: r q = delta α q.

    Equations
    Instances For

      hattain for the record denominators: at each q_k = bestDenom, the defect is attained by the nearest integer vector.

      hdec for the record denominators: the defects delta α q_i are non-increasing in i.

      theorem ThreeGap.DeltaCost.bestDenom_hbsad {d : } (α : Fin d) (hr : Chevallier.RecordsContinue (deltaCost α)) (k : ) (m : ) (hpos : 0 < m) (hlt : m < (Chevallier.bestDenom (deltaCost α) hr k)) :

      hbsad for the record denominators: each q_k is a strict record minimum over all smaller positive denominators — delta α q_k < delta α m for 0 < m < q_k.

      The sup-norm growth inequality for the defect record denominators (unconditional). With the defect cost r q = delta α q and RecordsContinue (irrationality), the record denominators q_k = bestDenom (delta α) at least double every 2^d steps:

      2 q_k ≤ q_{k + 2^d}.

      This discharges the growth hypothesis of ChevallierCount.chevallier_gap_count_le with no extra inputhattain comes from rounding (delta_attained), hdec/hbsad from the record structure (bestDenom_*), and the doubling itself from the orthant pigeonhole (supNorm_growth_doubling).

      g_∞ ≤ 2^d + 1 for the sup-norm defect cost (combinatorial form, unconditional growth). For every N ≥ 2, the number of distinct values of the abstract nearest-neighbour distance gapVal (delta α) N q (q ∈ [0,N]) is at most 2^d + 1. The growth is now fully discharged: the only hypothesis is RecordsContinue (the best approximations of α improve without bound, i.e. the appropriate irrationality of α). The remaining step to the geometric three-distance statement is the isometry identification of gapVal with the actual torus nearest-neighbour distance.