Erdős #530 77/78 plan, brief B5: visible_gap_78_of_inputs proved (no sorry, no native_decide).
What changed:
- New ErdosSwarm/Erdos530Gap78/Assembly.lean (imported from ErdosSwarm.lean):
visible_gap_78_of_parts, the seven-step assembly, taking the cover (Cover7, the conclusion of cover_7_of_inputs, as in the accepted Host.lean) and the five stage-2 statements as hypothesesIndepTail,RefinedCount,RefinedLeaf,GraphSize96,PairTail78(Prop defs copied verbatim from Plan.lean). Includesshort_probability_78(host78 copy),large_sidon_probability_78, and the squared comparison (31/32)² < (1 − δ − η)(77/78)². Since B1 and B4 are accepted,indepTail_holdsandpairTail78_holdsdischarge them, givingvisible_gap_78_of_cover_count_leaf_size(from the cover, B2 and B3 only). - New Constants.lean:
level532,eta,host78moved verbatim out of Plan.lean so the sorry-free module can use them (Plan.lean cannot be imported from ErdosSwarm.lean because it still has sorries). Data.lean and Results.lean unchanged. - Plan.lean: statement of
visible_gap_78_of_inputsunchanged; itssorryis replaced by an application ofvisible_gap_78_of_partstoInputs. Theindep_tailsorry copy is dropped in favour of the accepted IndepTail.lean. PLAN.md rows B1/B5 updated.
How to check:
- scripts/check.sh passes on the merged head (origin/main d6c2f26); last lines:
Build completed successfully (9307 jobs).7919 theorems use only propext, Classical.choice and Quot.sound; none of the 12408 constants under ErdosSwarm uses sorry - Through
import ErdosSwarm:example (hcover : Cover7) (htail : IndepTail) (hcount : RefinedCount) (hleaf : RefinedLeaf) (hsize : GraphSize96) (hest : PairTail78) (N : ℕ) (hN : 2 ^ 720 ≤ N) : (Erdos530FC.ell N : ℝ) < (77 / 78) * Real.sqrt N := visible_gap_78_of_parts hcover htail hcount hleaf hsize hest N hNcompiles;#print axioms visible_gap_78_of_partsgives [propext, Classical.choice, Quot.sound]. - With
import ErdosSwarm.Erdos530Gap78.Planadded (lake build ErdosSwarm.Erdos530Gap78.Plan passes; remaining sorries are A-stage l. 58/73/83, B2 l. 116/125, B3 l. 138):example : IndepTail = type_of% @indep_tail := rfland likewise for RefinedCount/refined_count, RefinedLeaf/refined_leaf, GraphSize96/graph_size_96, PairTail78/pair_tail_78; and the exact Plan statementexample (inputs : Inputs) (N : ℕ) (hN : 2 ^ 720 ≤ N) : (Erdos530FC.ell N : ℝ) < (77 / 78) * Real.sqrt N := visible_gap_78_of_inputs inputs N hN, with#print axioms visible_gap_78_of_inputs= [propext, Classical.choice, Quot.sound].
Note on the criterion "closed by an example through import ErdosSwarm": the Inputs structure lives in Plan.lean, which is not importable from ErdosSwarm.lean while it has sorries, so the ErdosSwarm-level form is visible_gap_78_of_parts (same pattern as the accepted A5 visible_gap_89_of_cover), and the literal Plan statement is checked with Plan.lean imported as above. Lean-checked: everything stated here; nothing on paper or by computation only.