Yang–Mills: the 2026 Lean construction, rerun and read; the mass gap still open
OpenAI's 2026 Lean construction of 4D Yang–Mills as the expert group keeps it: settle what it proves, rerun it, read it; uniqueness and the mass gap are open, and Clay's problem unsolved

| 1 | import YM.Extra.WILSON_STARTUP.Ownership |
| 2 | |
| 3 | /-! # Full signed average split of the Wilson action -/ |
| 4 | noncomputable section |
| 5 | set_option autoImplicit false |
| 6 | namespace YM.WilsonStartup |
| 7 | open Function Filter Tensor RG Wilson Lattice Design Work |
| 8 | open scoped Classical Matrix.Norms.Frobenius BigOperators Topology |
| 9 | variable {G : Gauge} {n : Side} (c : Clip) (b : BudgetPoint) |
| 10 | |
| 11 | lemma translate_face (x : Site n) (p : Cell n) (U : Config G n) : |
| 12 | faceValue (pull 1 x U) p = faceValue U (p.1+x,p.2) := by |
| 13 | unfold faceValue; rw [travel_pull]; simp [affine] |
| 14 | |
| 15 | lemma translate_test (x : Site n) (z : Site n) (U : Config G n) : |
| 16 | PathData.kept c b.threshold z (pull 1 x U) ↔ PathData.kept c b.threshold (z+x) U := by |
| 17 | constructor |
| 18 | · intro h p |
| 19 | have he := h (p.1-x,p.2) |
| 20 | rw [translate_face] at he |
| 21 | simpa [← separation_translate z (p.1-x) x] using he |
| 22 | intro h p |
| 23 | rw [translate_face]; simpa using h (p.1+x,p.2) |
| 24 | |
| 25 | lemma translate_health (x : Site n) (p : Cell n) (t : ℝ) (U : Config G n) : |
| 26 | Healthy t (touched p) (pull 1 x U) ↔ Healthy t (touched (p.1+x,p.2)) U := by |
| 27 | rw [Healthy, Healthy, show touched (p.1+x,p.2) = (touched p).image (affine 1 x) from ?_, |
| 28 | ← H03.flags_send 1 x t U, Finset.disjoint_image (aff_inj ..)] |
| 29 | simp [four_visit,affine,add_right_comm] |
| 30 | |
| 31 | def Key.shift (s : Signed) : Cell n ≃ Cell n := |
| 32 | Equiv.prodCongr (frameSites s 0) (Equiv.refl PlaqAxes) |
| 33 | |
| 34 | def Key.shifted (s : Signed) (p : Cell n) : Key n := (s,Key.shift s p) |
| 35 | |
| 36 | theorem Key.shift_frame (s : Signed) (p : Cell n) (U : Config G n) : |
| 37 | (shifted s p).frame U = pull 1 p.1 (pull s 0 U) := by |
| 38 | rw [pull_pull, mul_one]; rfl |
| 39 | |
| 40 | theorem Key.shift_mask (i : Cell n) (s : Signed) (U : Config G n) (t : ℝ) : |
| 41 | masked t (shifted s i).skin (shifted s i).accrual U = masked t (touched i) (residual G i) (pull s 0 U) := by |
| 42 | have hh : Healthy t (shifted s i).skin U ↔ Healthy t (touched i) (pull s 0 U) := by |
| 43 | rw [spins_healthy, shift_frame, translate_health] |
| 44 | change Healthy t (touched ((0:Site n)+_,i.2)) _ ↔ _; simp |
| 45 | by_cases hU : Healthy t (touched i) (pull s 0 U) |
| 46 | · rw [masked_eq _ _ _ _ (hh.mpr hU), masked_eq _ _ _ _ hU, accrual, shift_frame, residual, |
| 47 | translate_face, residual, show ((shifted s i).root.1+i.1,(shifted s i).root.2)=i from by change (0+i.1,i.2)=i; simp] |
| 48 | rw [masked_ne _ _ _ _ (fun h => hU (hh.mp h)),masked_ne _ _ _ _ hU] |
| 49 | |
| 50 | theorem Key.shift_due (s : Signed) (p : Cell n) (U : Config G n) : |
| 51 | owed c b (shifted s p) U = due c b (pull s 0 U) p := by |
| 52 | rw [owed,shift_frame]; simp only [due,translate_face,translate_health,translate_test] |
| 53 | simp only [show (shifted s p).root = ((0:Site n),p.2) from rfl,zero_add,Prod.mk.eta] |
| 54 | |
| 55 | lemma direct_split (U : Config G n) (hc : c.direct ≤ 1) (β : ℝ) : |
| 56 | (top G c).principal c b β U + (β * bulk c * ∑ i : Cell n, masked b.threshold (touched i) (residual G i) U) + |
| 57 | β * ∑ i, due c b U i = β * energy U := by |
| 58 | unfold PathData.principal energy |
| 59 | simp_rw [(core_top c b _ U).1, (core_top c b _ U).2.1, (core_top c b _ U).2.2] |
| 60 | rw [show (∑ x : Site n, (0:ℝ)) = 0 by simp,add_zero] |
| 61 | simp only [zero_add] |
| 62 | rw [← Fintype.sum_prod_type'] |
| 63 | rw [mul_assoc β, ← mul_add, ← mul_add, Finset.mul_sum]; congr 1 |
| 64 | rw [← Finset.sum_add_distrib, ← Finset.sum_add_distrib,← Finset.sum_add_distrib]; exact Finset.sum_congr rfl fun i _ => (due_eq c b hc U i).symm |
| 65 | |
| 66 | def share := (Fintype.card Signed : ℝ)⁻¹ |
| 67 | theorem share_pos : 0 < share := by unfold share; positivity |
| 68 | theorem fair (x : ℝ) : share * ∑ _s : Signed, x = x := by |
| 69 | have hs : 0 < (Fintype.card Signed : ℝ) := by positivity |
| 70 | simp [share,hs.ne'] |
| 71 | |
| 72 | theorem channel_split (U : Config G n) (hc : c.direct ≤ 1) (β : ℝ) : |
| 73 | (top G c).inChannels c b β U + β * share * bulk c * |
| 74 | (∑ i : Key n, masked b.threshold i.skin i.accrual U) + β * share * ∑ i : Key n, Key.owed c b i U = β * energy U := by |
| 75 | have hm (s : Signed) : (∑ p : Cell n, masked b.threshold (Key.skin (s,p)) (Key.accrual (s,p)) U) = |
| 76 | ∑ p : Cell n, masked b.threshold (touched p) (residual G p) (pull s 0 U) := by |
| 77 | rw [← Equiv.sum_comp (Key.shift s)]; refine Finset.sum_congr rfl fun p _ => Key.shift_mask p s U _ |
| 78 | have hd (s : Signed) : (∑ p : Cell n, Key.owed c b (s,p) U) = ∑ p, due c b (pull s 0 U) p := by |
| 79 | rw [← Equiv.sum_comp (Key.shift s)]; exact Finset.sum_congr rfl fun p _ => Key.shift_due .. |
| 80 | unfold PathData.inChannels; simp_rw [Fintype.sum_prod_type (fun i : Key n => _),hm,hd] |
| 81 | change share * _ + _ + _ = _ |
| 82 | rw [mul_comm β share,mul_assoc share, mul_assoc share, mul_assoc share, ← mul_add, ← mul_add, Finset.mul_sum, Finset.mul_sum, |
| 83 | ← Finset.sum_add_distrib,← Finset.sum_add_distrib,← fair (β*energy U)] |
| 84 | congr 1 |
| 85 | apply Finset.sum_congr rfl |
| 86 | intro s _ |
| 87 | exact (direct_split c b (pull s 0 U) hc β).trans (by rw [energy_pull]) |
| 88 | end YM.WilsonStartup |