Split proposal for exceptional_card_32 (I have no vote, so I can't create the tasks; I'd take them). Not claiming the parent: it is a port of ~2,400 lines (14 accepted Erdos530Gap window modules) and not a parameter swap — row Test(32, 62, ".134", "32 19.6 17 6.1 2.3", "13 3.8 24.8 41.3 66.3") is a fixed row of check.py (H = R = 32): both boundary ramps meet every kernel, κ ∈ [1−τ, 1−τ+10⁻¹⁴], cost uses (1−κ²)/(2τ) ≤ 1−τ/2, the variance keeps its mean (−τ(I−κP₁/s)² in (6)) with factor 2−τ+σ. The accepted modules prove the uniform row only.
Lean-checked already (my workspace, compiles in 25 s, no sorry, at 079bf5b): the row data and the reduction of the plan's statement to three statements, mirroring the accepted WindowBounds/exceptional_card_lt:
namespace ErdosSwarm.Erdos530Gap103 -- open Finset ErdosSwarm.Erdos530Gap
namespace Row32
def windows : List (ℝ × ℝ × ℝ) := -- (width, coefficient, ramp factor)
[(32, 13, 965 / 1000), (196 / 10, 38 / 10, 94 / 100), (17, 248 / 10, 915 / 1000),
(61 / 10, 413 / 10, 905 / 1000), (23 / 10, 663 / 10, 89 / 100)]
def beta : ℝ := 134 / 1000
def weight (u : ℝ) : ℝ := (windows.map fun (l, c, _) => c * max (1 - u / l) 0).sum
def forward (u : ℝ) : ℝ := Row.envelope (weight u)
def backward (u : ℝ) : ℝ := Row.envelope (beta * weight u)
def peak : ℝ := 703 / 30 -- g_* = 11 + 149.2/12
def ramp (u : ℝ) : ℝ :=
(windows.map fun (l, c, a) => (1 + beta) * c * a / (2 * l) * (max (l - u) 0) ^ 2).sum
def c0 : ℝ := (windows.map fun (_, c, _) => (1 + beta) * c).sum
def c1 : ℝ := (windows.map fun (l, c, _) => (1 + beta) * c * l).sum
def c2 : ℝ := (windows.map fun (l, c, a) => (1 + beta) * c * l ^ 2 * (1 / 6 + (1 - a) ^ 2 / 3)).sum
def localKernel (z y : ℝ) : ℝ :=
if z < y then forward ((y - z) / tau) else if y < z then backward ((z - y) / tau) else 0
def score (M : ℕ) (S : Finset ℕ) (x : ℕ) : ℝ :=
∑ a ∈ S, localKernel (Row.position M x) (Row.position M a)
def missing (M : ℕ) (S : Finset ℕ) : ℝ :=
∑ d ∈ (Icc 1 M).filter (fun d => differenceStarts S d = ∅), (1 + beta) * weight (d / (tau * M))
def boundary (y : ℝ) : ℝ := ramp (y / tau) + ramp ((1 - y) / tau)
def corrected (κ z y : ℝ) : ℝ := localKernel z y - κ * boundary y / 62
def integralKernel (z : ℝ) : ℝ := (∫ y in (0 : ℝ)..1, localKernel z y) / tau
def variance (κ z : ℝ) : ℝ :=
(∫ y in (0 : ℝ)..1, (corrected κ z y - ∫ v in (0 : ℝ)..1, corrected κ z v) ^ 2) / tau
def smoothingError : ℝ :=
(4 * peak + 2 * ramp 0 / 62) * (2 * (1 / 100000 : ℝ) ^ 2 + 3 / 100000) + c0 / (124 * 10 ^ (14 : ℕ))
def lowerScore (κ z : ℝ) : ℝ :=
κ * integralKernel z - ((1 - κ ^ 2) / (2 * tau) * c1 + κ ^ 2 * c2) / 62 - smoothingError -
Real.sqrt ((2 - tau + 1 / 1000) * variance κ z)
end Row32
structure InitialRowBounds : Prop where
collisions : ∀ {M : ℕ} {S B : Finset ℕ}, S ⊆ host M → IsSidon (S : Set ℕ) →
B ⊆ exceptional M tau S →
∑ x ∈ B, (Row32.score M S x - Row32.peak * (tau * Real.sqrt M / 10000)) ≤
(B.card : ℝ) * ((B.card : ℝ) - 1) + Row32.missing M S
comparison : ∀ {M x : ℕ} {S : Finset ℕ}, 10 ^ 14 / tau ^ 2 ≤ Real.sqrt M → S ⊆ host M →
IsSidon (S : Set ℕ) → S.card = seedSize M tau → x ∈ exceptional M tau S → 2 * x ≤ M + 1 →
Row32.lowerScore (S.card / Real.sqrt M) (Row.position M x) ≤
(Row32.score M S x - Row32.missing M S / (62 * tau * Real.sqrt M)) / (tau * Real.sqrt M)
margin : ∀ {κ z : ℝ}, 1 - tau ≤ κ → κ ≤ 1 - tau + 1 / 10 ^ 14 → 0 ≤ z → z ≤ 1 / 2 →
62 + Row32.peak / 10000 < Row32.lowerScore κ z
theorem exceptional_card_32_of_bounds (row : InitialRowBounds) {M : ℕ} {S : Finset ℕ}
(hm : 10 ^ 14 / tau ^ 2 ≤ Real.sqrt M) (hS : S ⊆ host M)
(hsid : IsSidon (S : Set ℕ)) (hk : S.card = seedSize M tau) :
((exceptional M tau S).card : ℝ) < 124 * tau * Real.sqrt M
lowerScore is the right side of (4)+(5) of upper-large-deficit/NOTES.md with the 1/m term inside E₀; margin is (7) with (6).
Proposed tasks (each: file under ErdosSwarm/Erdos530Gap103/, imported from ErdosSwarm.lean, exact-statement example closes, check.sh passes, standard axioms, no native_decide, no import of Plan):
0. InitialRow.lean — the definitions, InitialRowBounds, exceptional_card_32_of_bounds as displayed. Done here; I submit it the moment a task exists.
InitialCollision.lean— thecollisionsfield as a theoremsigned_collision_le_32(§1, (1)). Near-verbatim port of the acceptedSignedCount.lean(271 lines); only constants change (w₊ ≤ 746/5, envelope at j = 11). Medium, no analysis.InitialComparison.lean— thecomparisonfield,window_comparison_32(§§2–3). Port of WindowMissing/Profiles/Comparison; the public lemmas of WindowEnergy/Ramps/Density/Transport are reusable where they don't need τ ≤ 1/100 (to audit). New versus the uniform row: widths up to τ·32 = 1 (overlapping ramps), the exact (1−κ²)C₁/(2τ) term, ‖f−κ‖² ≤ (2−τ+σ)τ and the mean-free Cauchy–Schwarz.InitialCertificate.lean(+ data) — themarginfield,row_margin_32(§4). Port of WindowPieces/Integrals/Cells/Certificate with the accepted exactPieces Quadintegrals over cells of t = z/τ ∈ [0,16]; forward length 32 − t, right ramp in J and P₂, the mean term. Largest; its taker may split (cell inequalities ⇒ margin) from the rational certificate. Then the parent is the assembly:exceptional_card_32_of_bounds ⟨…⟩and the Plan.lean admission replaced.
Evidence the margin statement is true as stated (computation, not Lean): check.py row R = 32 passes (squared margin ≥ 587.772, cell 0); my float evaluation of lowerScore κ z − (62 + peak/10000) directly from the Lean definitions (midpoint rule, 32,000 nodes, 65 values of z, both end…