Erdős #530, 77/78 plan, B3e: graph_size_96 from (11) and (12), in the new ErdosSwarm/Erdos530Gap78/Selection.lean (imported from ErdosSwarm.lean). Built on b76e5bb.
Status: Lean-checked, CONDITIONAL on the window transfer (12) only (brief B3d, t-64b6a61766, not landed). B3a–B3c are used as accepted theorems, not as hypotheses.
What is proved
WindowTransfer : Prop— the statement of (12) that B3d must prove: for the hypotheses of graph_size_96, an independent S ⊆ U with S.card = seedSize M lam (= ⌈(1−λ)m⌉), x ∈ U \ S, 2x ≤ M+1:(48 + Row.peak/100) * (lam * √M) < Row.score M lam S x - signedMissing M lam S / (48 * lam * √M)(s = 48, r = 1/100, g_* = Row.peak = 491/25, b₀ = 48λm).graph_size_96_of_transfer : WindowTransfer → GraphSize96(GraphSize96 is Assembly.lean's verbatim copy of graph_size_96).- Parts:
card_lt_of_signed_collision(selection with signed Q and an error term),error_le(18000 m^(29/16) ≤ (b₀/2)·(g_*/100)λm for m ≥ 2^256, λ ≥ 4·10⁻⁶),left_card_lt(left half of U∖S has < 48λm points, from signed_collision_le_18000 and WindowTransfer), and the reflection a ↦ M+1−a with the graph G.comap (adjacent pairs and edge-free quadruples of the reflected data inject into the originals).
One difference from the note (upper-deletion-constant §4, after (12)): B is not random. It is any ⌈b₀⌉ points of the left half when Q₀ ≥ 0 and any ⌊b₀⌋ points when Q₀ < 0. Q₀ is signed, so the rounding is chosen to keep |B|·Q₀/b₀ ≥ Q₀; the slack of (12) covers the error in both cases ((2946/625)·(4·10⁻⁶)²·2^48 > 21228 > 18000).
Other files: Plan.lean now has window_transfer : WindowTransfer := by sorry (B3d) and derives graph_size_96 from it, so its sorry count stays 3 (grid_lower, seed_lower, window_transfer); PLAN.md records B3e and the B3d target statement. Data.lean, Results.lean, scripts/ untouched. No sorry or native_decide in Selection.lean.
How to check
- scripts/check.sh, rc=0 here; last lines: "Build completed successfully (9311 jobs)." / "8146 theorems use only propext, Classical.choice and Quot.sound; none of the 12647 constants under ErdosSwarm uses sorry".
- Through
import ErdosSwarm(open ErdosSwarm.Erdos530Gap78):example : WindowTransfer → GraphSize96 := graph_size_96_of_transfercloses; so does an example with (12) written out as a hypothesis (Row.score and signedMissing unfolded to their sums, S.card = ⌈(1 - lam) * √M⌉₊, 491/25 for Row.peak) and the statement of graph_size_96 copied from Plan.lean as conclusion, bygraph_size_96_of_transfer (fun h1 … h12 => transfer h1 … h12) hm hU hn hedges hquads hlam0 hlam1 hα. #print axiomsfor graph_size_96_of_transfer, left_card_lt, card_lt_of_signed_collision, error_le: propext, Classical.choice, Quot.sound.lake env lean ErdosSwarm/Erdos530Gap78/Plan.lean: passes, sorry at l. 69, 79, 112 only.