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.OS.Schwinger |
| 2 | |
| 3 | /-! Use point cap, no cluster-volume bound needed here. -/ |
| 4 | set_option autoImplicit false |
| 5 | noncomputable section |
| 6 | namespace YM.OS |
| 7 | open Function Set Filter MeasureTheory Analysis Word |
| 8 | open scoped Topology BigOperators NNReal |
| 9 | variable {G : Gauge} {L : Register G} {S : Table L} |
| 10 | |
| 11 | /-- Positions of v and translated w sharing no seam. -/ |
| 12 | def composite (v w : L.Word) (x : E4) : Points (v.length+w.length) := |
| 13 | points (Fin.append (positions v).ofLp (Points.across x (positions w)).ofLp) |
| 14 | |
| 15 | lemma placements (v w : L.Word) (x : E4) : v ++ carry w x = |
| 16 | realize (Fin.append (tokens v) (tokens w)) (composite v w x) := by |
| 17 | let A := fun p : L.Plant => (p.1+x,p.2) |
| 18 | let b := A ∘ w.get |
| 19 | unfold realize |
| 20 | have he : carry w x = List.ofFn b := by |
| 21 | have ht : (List.ofFn w.get).map A= List.ofFn b := List.map_ofFn |
| 22 | rw [List.ofFn_get] at ht; exact ht |
| 23 | rw [he, show (fun i => ((composite v w x).ofLp i, Fin.append (tokens v) (tokens w) i)) = Fin.append v.get b from ?eq] |
| 24 | · rw [List.ofFn_fin_append,List.ofFn_get] |
| 25 | case eq => |
| 26 | ext1 i |
| 27 | refine Fin.addCases ?_ ?_ i |
| 28 | · intro j; simp [composite]; rfl |
| 29 | intro j; simp [composite]; rfl |
| 30 | |
| 31 | lemma translations_cont (v w : L.Word) : Continuous (composite v w) := by |
| 32 | let n := v.length+w.length |
| 33 | let L := PiLp.continuousLinearEquiv 2 ℝ (fun _ : Fin n => E4) |
| 34 | have he : Continuous (fun x : E4 => (composite v w x).ofLp) := by |
| 35 | refine continuous_pi fun i => ?_ |
| 36 | refine Fin.addCases (fun j => ?_) (fun j => ?_) i |
| 37 | · simp [composite]; exact continuous_const |
| 38 | simp [composite]; fun_prop |
| 39 | exact L.symm.continuous.comp he |
| 40 | |
| 41 | lemma no_collision (a) (v w : Future L a) {x : E4} (hx : 0 ≤ x a) : |
| 42 | composite (reflect v.val a) w.val x ∈ conf _ := by |
| 43 | apply (realized _ _).1 |
| 44 | rw [← placements] |
| 45 | apply twoSides v.property |
| 46 | refine ⟨still w.property.1 x,?_⟩ |
| 47 | intro p hp; obtain ⟨q,h,rfl⟩ := List.mem_map.mp hp |
| 48 | exact add_pos_of_pos_of_nonneg (w.property.2 _ h) hx |
| 49 | |
| 50 | lemma uniformAway (a) (v w : Future L a) : |
| 51 | ∃ r : ℝ, 0 < r ∧ r ≤ 1 ∧ ∀ x : E4, 0 ≤ x a → spaced r (composite (reflect v.val a) w.val x) := by |
| 52 | let A := reflect v.val a |
| 53 | let p := composite A w.val |
| 54 | have hs (i) : 0 < positions w.val i a := w.property.2 _ (List.get_mem ..) |
| 55 | have ht (i) : positions A i a < 0 := strictly v.property (List.get_mem ..) |
| 56 | have he (i : Fin (A.length+w.val.length)) (j : Fin (A.length+w.val.length)) : ∀ᶠ r : ℝ in 𝓝[>] 0, i ≠ j → |
| 57 | ∀ x : E4, 0 ≤ x a → r ≤ cubedist (p x i) (p x j) := by |
| 58 | rcases eq_or_ne i j with hk|hk |
| 59 | · exact Eventually.of_forall fun _ h => (h hk).elim |
| 60 | have hd : 0 < cubedist (p 0 i) (p 0 j) := by |
| 61 | unfold cubedist |
| 62 | exact dist_pos.mpr fun H => hk ((show Function.Injective _ from no_collision a v w (x := 0) le_rfl) |
| 63 | (WithLp.ofLp_injective _ H)) |
| 64 | have hcr (s : Fin A.length) (t : Fin w.val.length) : ∀ᶠ r : ℝ in 𝓝[>] 0, |
| 65 | ∀ (x : E4), 0 ≤ x a → r ≤ cubedist (positions A s) ((Points.across x (positions w.val)) t) := by |
| 66 | filter_upwards [(gt_mem_nhds (hs t)).filter_mono nhdsWithin_le_nhds] with r hr x hx |
| 67 | let Y := (Points.across x (positions w.val)) t |
| 68 | apply le_trans _ (dist_le_pi_dist (positions A s).ofLp Y.ofLp a) |
| 69 | rw [Real.dist_eq,abs_of_nonpos] |
| 70 | · have Ht : r < positions w.val t a := hr |
| 71 | change _ ≤ -(positions A s a - (positions w.val t a + x a)) |
| 72 | linarith [ht s] |
| 73 | change positions A s a - (positions w.val t a+x a) ≤ 0 |
| 74 | linarith [ht s,hs t] |
| 75 | revert hk hd |
| 76 | refine Fin.addCases ?_ ?_ i |
| 77 | · intro l |
| 78 | refine Fin.addCases ?_ ?_ j |
| 79 | · intro t H he |
| 80 | filter_upwards [(gt_mem_nhds he).filter_mono nhdsWithin_le_nhds] with r hr h x hx |
| 81 | simp only [p,composite,points_apply,Fin.append_left] at * |
| 82 | exact le_of_lt hr |
| 83 | intro t _ _ |
| 84 | filter_upwards [hcr l t] with r hr _ x hx |
| 85 | simpa only [p, composite, points_apply, Fin.append_left, Fin.append_right] using hr x hx |
| 86 | intro k |
| 87 | refine Fin.addCases ?_ ?_ j |
| 88 | · intro l _ _ |
| 89 | filter_upwards [hcr l k] with r hr _ x hx |
| 90 | simp only [p, composite, points_apply, Fin.append_left, Fin.append_right, cubedist] at * |
| 91 | rw [dist_comm]; exact hr x hx |
| 92 | intro l _ he |
| 93 | filter_upwards [(gt_mem_nhds he).filter_mono nhdsWithin_le_nhds] with r hr _ x hx |
| 94 | simp only [p, composite, points_apply, Fin.append_right, Points.across_coord, add_zero] at * |
| 95 | apply le_trans (le_of_lt hr) |
| 96 | simp only [cubedist, WithLp.ofLp_add] |
| 97 | rw [dist_add_right] |
| 98 | have ht' : ∀ᶠ r : ℝ in 𝓝[>] 0, r ∈ Ioc 0 (1 : ℝ) := Ioc_mem_nhdsGT (by norm_num) |
| 99 | obtain ⟨r, hr,h'⟩ := (ht'.and (eventually_all.mpr fun i => eventually_all.mpr (he i))).exists |
| 100 | exact ⟨r, hr.1, hr.2, fun x hx i j h => h' i j h x hx⟩ |
| 101 | |
| 102 | lemma correl (H : S.Hierarchy) (a : Axis) (v w : Future L a) : |
| 103 | let f := fun x => S.expect (reflect v.val a ++ carry w.val x) |
| 104 | ContinuousOn f {x | 0 ≤ x a} ∧ ∃ C : ℝ, ∀ x, 0 ≤ x a → ‖f x‖ ≤ C := by |
| 105 | intro f |
| 106 | let W := reflect v.val a |
| 107 | let b := Fin.append (tokens W) (tokens w.val) |
| 108 | let p := composite W w.val |
| 109 | have he (x : E4) : f x = S.read (p x) b := by unfold f; rw [placements,Table.readAt] |
| 110 | obtain ⟨r,hp, hr, h⟩ := uniformAway a v w |
| 111 | constructor |
| 112 | · rw [funext he]; exact ((S.smooth_read H.smooth b).continuousOn).comp |
| 113 | (translations_cont W w.val).continuousOn (fun _ hx => no_collision _ _ _ hx) |
| 114 | obtain ⟨A,D,-,hd⟩ := H.order _ (fun i => (b i).1) (fun i => (b i).2) 0 |
| 115 | refine ⟨D * r⁻¹^A, fun x hx => ?_⟩ |
| 116 | rw [he]; exact (norm_iteratedFDeriv_zero (𝕜 := ℝ) (x := p x) (f := fun y => S.read y b)).symm.trans_le (hd _ hp hr (p x) (h x hx)) |
| 117 | end YM.OS |