| | @@ -1,17 +1,18 @@ |
| 1 | 1 | import ErdosSwarm.Erdos530Gap428.WindowDuality |
| 2 | 2 | import ErdosSwarm.Erdos530Gap.Assembly |
| 3 | | −import ErdosSwarm.Erdos530Gap428.Coin |
| 3 | +import ErdosSwarm.Erdos530Gap428.SignedCount |
| 4 | 4 | import ErdosSwarm.Erdos530Gap428.GridConvolution |
| 5 | 5 | import ErdosSwarm.Erdos530Gap428.Parameters |
| 6 | 6 | import ErdosSwarm.Erdos530Gap428.WindowEnergy |
| 7 | +import ErdosSwarm.Erdos530Gap428.WindowInterpolation |
| 7 | 8 | import Batteries.Tactic.OpenPrivate |
| 8 | 9 | |
| 9 | 10 | /-! |
| 10 | 11 | # Proof plan for the 427/428 upper bound in Erdős #530 |
| 11 | 12 | |
| 12 | 13 | The eight inputs share the definitions in `ErdosSwarm/Erdos530Gap428/Data.lean`. |
| 13 | | −Each completed input is imported from its proof module. The remaining numbered |
| 14 | | −declarations are proof tasks. |
| 14 | +Seven inputs are imported from their proof modules. The remaining input is the |
| 15 | +row certificate. |
| 15 | 16 | `visible_gap_428_of_inputs` proves their implication for the real-set function ℓ. |
| 16 | 17 | |
| 17 | 18 | Sections 1–4 of `experiments/erdos530/upper-smaller-k/NOTES.md` supply the row and |
| | @@ -20,7 +21,7 @@ and the covering coefficient is K = 35.9. This row uses 1,891 center cells and |
| 20 | 21 | 3,782 witness nodes. The other 1,501 cells of the published 3,392-cell certificate |
| 21 | 22 | give the 1/100 row and its saving of 1/511. |
| 22 | 23 | |
| 23 | | −* The new `Coin` and `SignedCount` replace the fixed-orientation signed count. |
| 24 | +* `Coin` and `SignedCount` prove the first two inputs. |
| 24 | 25 | One random cut and one fair coin give a single collision budget for the host. |
| 25 | 26 | * `WindowEnergy` and `WindowDuality` replace the comparison with the five-window row. |
| 26 | 27 | They retain the energy of the actual seed. `WindowInterpolation`, `GridConvolution` |
| | @@ -53,29 +54,6 @@ noncomputable section |
| 53 | 54 | |
| 54 | 55 | set_option exponentiation.threshold 1024 |
| 55 | 56 | |
| 56 | | −/-- 2. `SignedCount.lean`. Equation (1) for the whole exceptional set. |
| 57 | | −Sum the pair lemma on missing signed differences, and average over cuts. |
| 58 | | −One may partition [19,116] at the finitely many host coordinates and use |
| 59 | | −interval lengths as probabilities. The difference of two CDF values gives |
| 60 | | −the cut mass between the coordinates, yielding the two lines of (2). -/ |
| 61 | | −theorem cut_collision_le (pairs : type_of% @fair_coin_pair) |
| 62 | | − {M : ℕ} {S B : Finset ℕ} (hM : 0 < M) (hS : S ⊆ host M) |
| 63 | | − (hsid : IsSidon (S : Set ℕ)) (hB : B ⊆ exceptional M sigma S) : |
| 64 | | − ∑ x ∈ B, (score M S x - (peak : ℝ) * (scale M / 10000)) ≤ |
| 65 | | − (B.card : ℝ) * ((B.card : ℝ) - 1) + missing M S := by |
| 66 | | − sorry |
| 67 | | − |
| 68 | | −/-- 5. `WindowInterpolation.lean`. Reduce the continuous potential bound |
| 69 | | −to both endpoints of each cell. In grid coordinates W is affine on each cell. |
| 70 | | −The envelope of affine lines is concave there for each direction. Use the |
| 71 | | −two CDF bounds for both endpoints and the smaller ordinate at j = i. -/ |
| 72 | | −theorem interpolate_grid {t : ℝ} (ht : t ∈ Set.Icc (0 : ℝ) 135) : |
| 73 | | − ∃ i : Cell, i.val = ⌈28 * min t (135 - t)⌉₊ ∧ |
| 74 | | − ∀ (a : Node → ℤ) (c : ℚ), (∀ j, c ≤ ordinate i j + gridPotential a j) → |
| 75 | | − ∀ y ∈ Set.Icc (0 : ℝ) 135, y ≠ t → |
| 76 | | − (c : ℝ) ≤ (s : ℝ) * localScore t y + potential a (shifted t i y) := by |
| 77 | | − sorry |
| 78 | | − |
| 79 | 57 | /-- 7. `RowCertificate.lean`. Equation (6), entirely in ℚ. Generate integer |
| 80 | 58 | charges from the 1/135 row in check.py, then verify the nodal inequalities |
| 81 | 59 | and signed quadratic cost by exact arithmetic in Lean. Cache the two directional |