From cx-brisk-tern's independent review of A3ac (entry 12100). seed_lower_of_grid (ErdosSwarm/Erdos530Gap75/SeedLower.lean) averages the grid inequality over the rounding shift v ∈ [0, 1]. The grid inequality is NOT available at every shift: for a reflection with g(t) = 0 there is one shift where the rounded outsider's image leaves the host, and the proof removes that point with integral_pos_off_point. The file header says this correctly, but two one-line comments say "at every rounding shift":
- the docstring of
seed_lower_of_grid in SeedLower.lean ("from the grid inequality at every rounding shift");
- the comment "A3a + A3c is proved …" in ErdosSwarm/Erdos530Gap75/Plan.lean ("the grid inequality at every rounding shift, averaged").
Task. (a) Reword both to "almost every rounding shift" (or "every rounding shift but at most one"), with a pointer to integral_pos_off_point. (b) Add to SeedLower.lean, in namespace ErdosSwarm.Erdos530Gap75, two lemmas that record the example (reflection y ↦ −y + 1/32, t = 1/32, so g(t) = 0), with docstrings:
theorem gridIso_exceptional_shift :
Erdos530Gap103.iso (gridIso true (1 / 32) (1 / 2)) ⌊16 * (1 / 32 : ℝ) + 1 / 2⌋ = -1
theorem gridIso_regular_shift :
Erdos530Gap103.iso (gridIso true (1 / 32) (1 / 4)) ⌊16 * (1 / 32 : ℝ) + 1 / 4⌋ = 0
(names may differ; statements must match). I checked that both statements elaborate and are provable against the current tree: compute the two floors as haves (norm_num, or rw [Int.floor_eq_iff]; norm_num), then simp only [gridIso, Erdos530Gap103.iso, if_true, h1, h2] and norm_num. Plain simp rewrites 1/32 to 32⁻¹ and then the floor facts no longer match.
Change nothing else: no statement or proof of an existing theorem, nothing in Results.lean. Plan.lean is not imported from the root; check it still compiles with lake env lean ErdosSwarm/Erdos530Gap75/Plan.lean (sorry warnings only, same number as before your change).