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.Analysis.Polydisc |
| 2 | import YM.Bid.Grow |
| 3 | |
| 4 | /-! # From the mixed point kernel to Gram convergence of independently heated words -/ |
| 5 | set_option autoImplicit false |
| 6 | noncomputable section |
| 7 | namespace YM.Work.C24 |
| 8 | open Bid Set Filter Function Boundary OS MeasureTheory WithLp |
| 9 | open scoped Topology InnerProductSpace BigOperators NNReal |
| 10 | |
| 11 | variable {n m : ℕ} {G : Gauge} {L : Register G} {S T : Table L} {V : Chamber T timeAxis} |
| 12 | |
| 13 | /-- Analogue of `Table.Pairing.glues` with a reversed first tuple, and no |
| 14 | geometric reflection of the real spacetime positions. -/ |
| 15 | def glue : WithLp 2 (Points n × Points m) ≃ₗᵢ[ℝ] Points (n + m) where |
| 16 | toFun p := bothP p.fst p.snd |
| 17 | invFun x := toLp 2 (points (fun i => x (Fin.castAdd m i.rev)), points (fun i => x (Fin.natAdd n i))) |
| 18 | left_inv p := by |
| 19 | apply ofLp_injective 2 |
| 20 | apply Prod.ext <;> (apply PiLp.ext; intro i; simp [bothP]) |
| 21 | right_inv p := by |
| 22 | apply PiLp.ext; intro i |
| 23 | refine Fin.addCases ?_ ?_ i <;> (intro j; simp [bothP]) |
| 24 | map_add' x y := by |
| 25 | apply PiLp.ext; intro i |
| 26 | refine Fin.addCases ?_ ?_ i <;> (intro j; simp [bothP]) |
| 27 | map_smul' c x := by |
| 28 | apply PiLp.ext; intro i |
| 29 | refine Fin.addCases ?_ ?_ i <;> (intro j; simp [bothP]) |
| 30 | norm_map' p := by |
| 31 | change ‖bothP p.fst p.snd‖ = ‖p‖ |
| 32 | rw [← sq_eq_sq₀ (norm_nonneg _) (norm_nonneg _), PiLp.norm_sq_eq_of_L2, WithLp.prod_norm_sq_eq_of_L2, |
| 33 | PiLp.norm_sq_eq_of_L2 _ p.fst, PiLp.norm_sq_eq_of_L2 _ p.snd, Fin.sum_univ_add] |
| 34 | simp only [bothP, points_apply, Fin.append_left, Fin.append_right] |
| 35 | exact congrArg (· + _) (Equiv.sum_comp Fin.revPerm (fun i : Fin n => ‖p.fst i‖^2)) |
| 36 | |
| 37 | def merger : (Points n × Points m) ≃L[ℝ] Points (n + m) := |
| 38 | (prodContinuousLinearEquiv 2 ℝ (Points n) (Points m)).symm.trans glue.toContinuousLinearEquiv |
| 39 | |
| 40 | lemma preserves : MeasurePreserving (merger (n := n) (m := m)) := |
| 41 | glue.measurePreserving.comp (WithLp.volume_preserving_toLp _ _) |
| 42 | |
| 43 | lemma ordered {x : Heights n} {y : Heights m} (hx : x ∈ positiveHeight n) (hy : y ∈ positiveHeight m) : |
| 44 | bothH x y ∈ east (n + m) := by |
| 45 | intro i j; refine Fin.addCases ?_ ?_ i |
| 46 | · intro a; refine Fin.addCases ?_ ?_ j |
| 47 | · intro b h; simp [bothH]; exact hx.1 (Fin.rev_lt_rev.mpr h) |
| 48 | intro b _ |
| 49 | simp only [bothH, Fin.append_left, Fin.append_right] |
| 50 | linarith [hx.2 a.rev, hy.2 b] |
| 51 | intro a; refine Fin.addCases ?_ ?_ j |
| 52 | · intro b h |
| 53 | change n + a.val < b.val at h; omega |
| 54 | intro b h; change n + a.val < n + b.val at h |
| 55 | simpa [bothH] using hy.1 (show a < b by omega) |
| 56 | |
| 57 | lemma eventually_pos : ∀ᶠ p : ℝ × ℝ in till ×ˢ till, 0 < p.1 ∧ 0 < p.2 := |
| 58 | (tendsto_fst.eventually (show ∀ᶠ t : ℝ in till, 0 < t from self_mem_nhdsWithin)).and |
| 59 | (tendsto_snd.eventually (show ∀ᶠ t : ℝ in till, 0 < t from self_mem_nhdsWithin)) |
| 60 | |
| 61 | lemma toward (n m : ℕ) : |
| 62 | Tendsto (fun p : ℝ × ℝ => bothH (Small.profile p.1 n) (Small.profile p.2 m)) (till ×ˢ till) |
| 63 | (𝓝[east (n+m)] 0) := by |
| 64 | refine tendsto_nhdsWithin_iff.mpr ⟨tendsto_pi_nhds.mpr ?_, ?_⟩ |
| 65 | · intro i; refine Fin.addCases ?_ ?_ i |
| 66 | · intro j |
| 67 | have h : Tendsto (fun p : ℝ × ℝ => p.1) (till ×ˢ till) (𝓝 0) := tendsto_fst.mono_right nhdsWithin_le_nhds |
| 68 | simpa [bothH, Small.profile] using ((tendsto_const_nhds (x := (j.rev.val : ℝ) + 1)).mul h).neg |
| 69 | intro j |
| 70 | have h : Tendsto (fun p : ℝ × ℝ => p.2) (till ×ˢ till) (𝓝 0) := tendsto_snd.mono_right nhdsWithin_le_nhds |
| 71 | simpa [bothH, Small.profile] using (tendsto_const_nhds (x := (j.val : ℝ) + 1)).mul h |
| 72 | filter_upwards [eventually_pos] with p hp |
| 73 | exact ordered (Small.imminent hp.1) (Small.imminent hp.2) |
| 74 | |
| 75 | def bothL (v : Fin n → Letter S) (w : Fin m → Letter S) (J : StarOp S) : Fin (n + m) → Letter S := |
| 76 | Fin.append (fun i => Letter.op J (v i.rev)) w |
| 77 | |
| 78 | def bothTest (v : Fin n → Letter S) (w : Fin m → Letter S) (J : StarOp S) := |
| 79 | Joint.materialize (n + m) fun i => (bothL v w J i).2 |
| 80 | |
| 81 | lemma bothTest_at (v : Fin n → Letter S) (w : Fin m → Letter S) (J : StarOp S) (x : Points n) (y : Points m) : |
| 82 | bothTest v w J (bothP x y) = (starRingEnd ℂ) (Joint.materialize n (fun i => (v i).2) x) * |
| 83 | Joint.materialize m (fun i => (w i).2) y := by |
| 84 | simp only [bothTest, Joint.material_at, Fin.prod_univ_add, bothL, bothP, points_apply, |
| 85 | Fin.append_left, Fin.append_right, Letter.op, Probe.bar_at, map_prod] |
| 86 | exact congrArg (· * _) (Equiv.prod_comp Fin.revPerm (fun i => star ((v i).2 (x i)))) |
| 87 | |
| 88 | lemma bothL_get (v w : Sentence S) (J : StarOp S) : |
| 89 | List.ofFn (bothL v.get w.get J) = Sentence.rev J v ++ w := by |
| 90 | unfold bothL Sentence.rev |
| 91 | rw [List.ofFn_fin_append, List.ofFn_get] |
| 92 | congr 1 |
| 93 | refine List.ext_get (by simp) (fun i h h' => ?_) |
| 94 | rw [List.get_ofFn, List.get_eq_getElem (l := List.reverse _), List.getElem_reverse, List.getElem_map] |
| 95 | congr 1 |
| 96 | rw [List.get_eq_getElem] |
| 97 | congr 1 |
| 98 | simp [Fin.val_rev]; omega |
| 99 | |
| 100 | lemma expect_ofFn (W : Surface S) (q : Fin n → Letter S) : |
| 101 | W.expect (List.ofFn q) = W.W n (fun i => (q i).1) (Joint.materialize n fun i => (q i).2) := by |
| 102 | have key (b : Sentence S) (k : ℕ) (h : b.length = k) (v : Fin k → Letter S) |
| 103 | (he : ∀ i, b.get i = v (Fin.cast h i)) : |
| 104 | W.expect b = W.W k (fun i => (v i).1) (Joint.materialize k fun i => (v i).2) := by |
| 105 | subst k; simp only [Surface.expect, he, Fin.cast_refl, id_eq] |
| 106 | exact key _ _ (by simp) q (List.get_ofFn _) |
| 107 | |
| 108 | lemma kernel_as (W : Surface S) (J : StarOp S) (v w : Sentence S) : |
| 109 | W.kernel J v w = W.W (v.length + w.length) (bothT (fun i => (v.get i).1) (fun i => (w.get i).1) J) |
| 110 | (bothTest v.get w.get J) := by |
| 111 | rw [Surface.kernel, ← bothL_get, expect_ofFn] |
| 112 | unfold bothTest |
| 113 | congr 2 |
| 114 | funext i; refine Fin.addCases ?_ ?_ i <;> (intro j; simp [bothT, bothL, Letter.op]) |
| 115 | |
| 116 | variable {B : Small S V} {F : Waves S} {J : StarOp S} {K : Spins S} {W : Surface S} |
| 117 | |
| 118 | lemma integrated (roof : Roof B K) (h : Hull B F J) (int : F.NonTangentialFree W) (v w : Sentence S) |
| 119 | {t u : ℝ} (ht : 0 < t) (hu : 0 < u) : |
| 120 | inner ℂ (B.heatCup v t) (B.heatCup w u) = ∫ x, F.restricted |
| 121 | (bothT (fun i => (v.get i).1) (fun i => (w.get i).1) J) |
| 122 | (bothH (Small.profile t v.length) (Small.profile u w.length)) x * bothTest v.get w.get J x := by |
| 123 | let a := Small.profile t v.length |
| 124 | let b := Small.profile u w.length |
| 125 | let M := bothTest v.get w.get J |
| 126 | let d (x : Points (v.length + w.length)) := F.restricted |
| 127 | (bothT (fun i => (v.get i).1) (fun i => (w.get i).1) J) (bothH a b) x * M x |
| 128 | let e := merger (n := v.length) (m := w.length) |
| 129 | have ha : a ∈ positiveHeight _ := Small.imminent ht |
| 130 | have hb : b ∈ positiveHeight _ := Small.imminent hu |
| 131 | have hi : Integrable (d ∘ e) := (preserves.integrable_comp_emb e.toHomeomorph.measurableEmbedding).mpr |
| 132 | (int.int _ _ _ (ordered ha hb) _) |
| 133 | calc |
| 134 | _ = ∫ x : Points v.length, ∫ y : Points w.length, (d ∘ e) (x, y) := by |
| 135 | rw [Small.heatCup, ← inner_conj_symm, ← integral_inner (roof.uses v t ht), ← integral_conj] |
| 136 | apply integral_congr_ae; filter_upwards with x |
| 137 | rw [inner_conj_symm, Small.heatCup, ← integral_inner (roof.uses w u hu)] |
| 138 | apply integral_congr_ae; filter_upwards with y |
| 139 | change inner ℂ (_ • B.shot _ _ _ a x) (_ • B.shot _ _ _ b y) = d (bothP x y) |
| 140 | rw [inner_smul_left, inner_smul_right, h.join _ _ _ _ _ _ _ _ ha hb (Small.suitable ht) (Small.suitable hu)] |
| 141 | dsimp only [d, M] |
| 142 | rw [bothTest_at]; ring |
| 143 | _ = ∫ z, (d ∘ e) z ∂(volume.prod volume) := (integral_prod _ hi).symm |
| 144 | _ = ∫ x, d x := preserves.integral_comp e.toHomeomorph.measurableEmbedding d |
| 145 | |
| 146 | theorem answer : YM.Bid.C24 := by |
| 147 | intro G L S T V P A B F J K W _ _ h roof hull |
| 148 | refine ⟨roof.uses, fun v w => ?_, roof.time⟩ |
| 149 | rw [kernel_as W J v w] |
| 150 | have H := (h.corner _ (bothT (fun i => (v.get i).1) (fun i => (w.get i).1) J) (bothTest v.get w.get J)).comp |
| 151 | (toward v.length w.length) |
| 152 | apply H.congr' |
| 153 | filter_upwards [eventually_pos] with p hp using (integrated roof hull h v w hp.1 hp.2).symm |
| 154 | |
| 155 | end YM.Work.C24 |