| | @@ -1,92 +1,26 @@ |
| 1 | | −import ErdosSwarm.Erdos530Gap75.Assembly |
| 2 | | −import ErdosSwarm.Erdos530Gap75.Charging |
| 3 | | −import ErdosSwarm.Erdos530Gap75.Cover |
| 4 | | −import ErdosSwarm.Erdos530Gap75.Data |
| 5 | | −import ErdosSwarm.Erdos530Gap75.Parameters |
| 6 | | −import ErdosSwarm.Erdos530Gap75.Energy |
| 7 | | −import ErdosSwarm.Erdos530Gap75.GridLower |
| 1 | +import ErdosSwarm.Erdos530Gap75.Main75 |
| 8 | 2 | import ErdosSwarm.Erdos530Gap78.Main78 |
| 9 | | −import ErdosSwarm.Erdos530Gap75.SeedLower |
| 10 | | −import ErdosSwarm.Erdos530Gap75.Share |
| 11 | 3 | |
| 12 | 4 | /-! |
| 13 | | −# Plan for `ℓ(N) < (74/75)·√N` in Erdős #530 (the `K = 5.998` cover) |
| 5 | +# The remaining plan for the 74/75 upper bound at `N ≥ 2^512` |
| 14 | 6 | |
| 15 | | −This file is a **plan**: it is not imported from `ErdosSwarm.lean`, and every `sorry` in it |
| 16 | | −is one of the new lemmas listed in `PLAN.md` (same folder). The wiring theorems |
| 17 | | −`cover75`, `visible_gap_75_720`, `cover75At512` and `visible_gap_75` have no `sorry` of |
| 18 | | −their own, so the file shows that the lemmas imply the targets. Check it with |
| 19 | | −`lake env lean ErdosSwarm/Erdos530Gap75/Plan.lean` after `lake build`. |
| 7 | +`Main75.lean` exports the two-stage cover `cover75` and the unconditional bound |
| 8 | +`visible_gap_75_720` at `N ≥ 2^720`. Importing this plan also exposes those theorems |
| 9 | +and their stage 1–2 inputs under their original names. |
| 20 | 10 | |
| 21 | | −Paper proof: `experiments/erdos530/upper-smaller-k3/NOTES.md` (Theorem 1 at `R = 32`, |
| 22 | | −`K = 2999/500`; Theorem 2 gives `0.986629 < 74/75` for `N ≥ 2^512`). The formalization keeps |
| 23 | | −the whole second stage of the 77/78 proof (`Erdos530Gap78`): the refined pairs, the size |
| 24 | | −bound `graph_size_96` and the exponential moment are used unchanged. Three things are new: |
| 25 | | − |
| 26 | | −* the kernel (1) of the note and the **coupled-shift score**: the share of a repeated |
| 27 | | − distance is read from an allocation table chosen by the overlap of the two rounded hosts |
| 28 | | − (§2 of the note), and the continuous score is its average over the rounding shift; |
| 29 | | −* the grid inequality for that table (§3, the `R = 32` certificate); |
| 30 | | −* the deletion parameters (`δ = 0.03596`), and for `2^512` the three-pass outer cover of |
| 31 | | − `experiments/erdos530/upper-threshold-k7/NOTES.md` §1 in place of the two-stage cover. |
| 32 | | − |
| 33 | | −Targets: `visible_gap_75_720` (milestone, `N ≥ 2^720`, the cover of `Erdos530Gap103`) and |
| 34 | | −`visible_gap_75` (`N ≥ 2^512`). |
| 11 | +At the smaller threshold, `visible_gap_75_of_parts` still needs the three-pass cover |
| 12 | +and its pair tail. The two outstanding proofs below correspond to C1–C6 and C7 in |
| 13 | +`PLAN.md`. Check the plan with `lake env lean ErdosSwarm/Erdos530Gap75/Plan.lean`. |
| 35 | 14 | -/ |
| 36 | 15 | |
| 37 | 16 | namespace ErdosSwarm.Erdos530Gap75 |
| 38 | 17 | |
| 39 | | −open ErdosSwarm.Erdos530Gap78 (IndepTail RefinedCount RefinedLeaf GraphSize96 |
| 40 | | − indepTail_holds refined_count refined_leaf graphSize96_holds) |
| 18 | +open ErdosSwarm.Erdos530Gap78 (indepTail_holds refined_count refined_leaf graphSize96_holds) |
| 41 | 19 | |
| 42 | 20 | noncomputable section |
| 43 | 21 | |
| 44 | 22 | set_option exponentiation.threshold 1024 |
| 45 | 23 | |
| 46 | | −/- ## Stage 1: the cover with `K = 5.998` -/ |
| 47 | | − |
| 48 | | −/- A1a, `share_add_share`, is proved in `Share.lean`. -/ |
| 49 | | − |
| 50 | | −/- **A1b** is proved: `charging (P : Allocation) : Charging P` in |
| 51 | | −`Erdos530Gap75/Charging.lean` (the coupled shifts `v' = {σv − 16r}` give the two occurrences |
| 52 | | −of a distance the same rounded weight, their shares add to one by `share_add_share`, and |
| 53 | | −`E w_{r_v(y) − r_v(t)} = W(y − t)`). -/ |
| 54 | | − |
| 55 | | −/- **A2** is proved by `missing_energy` in `Erdos530Gap75/Energy.lean`. -/ |
| 56 | | − |
| 57 | | −/- **A3b** is proved by `grid_lower` in `GridLower.lean`, with the published |
| 58 | | −`alloc32` as its witness. -/ |
| 59 | | − |
| 60 | | −/- **A3a + A3c** follows from `seed_lower_of_grid : GridLower P → SeedLower P` in |
| 61 | | −`Erdos530Gap75/SeedLower.lean`. The grid inequality holds at almost every rounding shift, |
| 62 | | −and `integral_pos_off_point` handles the possible exception when averaging. -/ |
| 63 | | − |
| 64 | | −/- **A4** is proved: `cover_of_inputs` in `Erdos530Gap75/Cover.lean` (the outsider bound |
| 65 | | −`|U ∖ S| < (s + ε)τm` from (3) against (2), then `Erdos530Gap103.cover_of_outsider_bound`). -/ |
| 66 | | − |
| 67 | | −/-- The `K = 5.998` cover, from the lemmas above. -/ |
| 68 | | −theorem cover75 : Cover75 := by |
| 69 | | − obtain ⟨P, hP⟩ := grid_lower |
| 70 | | − exact cover_of_inputs (charging P) missing_energy (seed_lower_of_grid hP) |
| 71 | | − |
| 72 | | −/- ## Stage 2: `74/75` for `N ≥ 2^720` -/ |
| 73 | | − |
| 74 | | −/- **B4′**, the pair tail `pair_tail_75 : PairTail75` at `m ≥ 2^360`, is proved in |
| 75 | | −`Erdos530Gap75/Parameters.lean`. -/ |
| 76 | | − |
| 77 | | −/- **B5′**, the assembly `visible_gap_75_720_of_parts` (the cover width `1 + Kτ`, |
| 78 | | −`δ = 0.03596`, `M = ⌊N/(1 − δ − η)⌋` and `(31/32)² < (1 − δ − η)(74/75)²`), is proved in |
| 79 | | −`Erdos530Gap75/Assembly.lean`. -/ |
| 80 | | − |
| 81 | | −/-- **Milestone.** `ℓ(N) < (74/75)·√N` for every `N ≥ 2^720`. -/ |
| 82 | | −theorem visible_gap_75_720 : |
| 83 | | − ∀ N : ℕ, 2 ^ 720 ≤ N → (Erdos530FC.ell N : ℝ) < (74 / 75) * Real.sqrt N := |
| 84 | | − fun N hN => |
| 85 | | − visible_gap_75_720_of_parts cover75 indepTail_holds @refined_count @refined_leaf |
| 86 | | − graphSize96_holds pair_tail_75 N hN |
| 87 | | − |
| 88 | | −/- ## Stage 3: the threshold `2^512` -/ |
| 89 | | − |
| 90 | 24 | /-- **C1–C6.** The three-pass cover: fingerprints, the heavy-map packing lemma and the |
| 91 | 25 | transcript count of `upper-threshold/NOTES.md` §§1–4 (not in Lean yet), with the final pass |
| 92 | 26 | closed by the same three inputs as `cover_of_inputs`. Split in `PLAN.md`. -/ |