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.Bid.Grow |
| 2 | |
| 3 | /-! |
| 4 | # C23: fixed-height integrations on the Chamber itself |
| 5 | -/ |
| 6 | set_option autoImplicit false |
| 7 | noncomputable section |
| 8 | namespace YM.Work.C23 |
| 9 | open Function Set Filter MeasureTheory Measure Spectral Mink Boundary Boundary.Small OS Complex |
| 10 | open scoped Topology NNReal BigOperators InnerProductSpace |
| 11 | variable {G : Gauge} {L : Register G} {S T : Table L} {C : Chamber T timeAxis} |
| 12 | |
| 13 | /-- Along legs staying strictly inside, `F` is operator-norm continuous. |
| 14 | Use *strong* continuity instead on the transverse translations. -/ |
| 15 | lemma rip_continuous {X : Type*} [TopologicalSpace X] |
| 16 | (w : X → ℂ) (p : ℝ≥0) (x : X → Space3) (f : X → C.H) |
| 17 | (hw : Continuous w) (hx : Continuous x) (hf : Continuous f) (h : ∀ q, (p:ℝ)<(w q).im) : |
| 18 | Continuous fun q => rip (C:=C) (w q) p (x q) (f q) := by |
| 19 | have hi : Continuous fun q => Small.interval (w q) p := by |
| 20 | unfold Small.interval; fun_prop |
| 21 | have he : Continuous fun q => C.flow.F (Small.interval (w q) p) := |
| 22 | C.flow.localHeat.continuousOn.comp_continuous hi (fun q => (Small.down ..).2 (h q)) |
| 23 | have hu : Continuous fun q => bufferF (x q) := Continuous.subtype_mk |
| 24 | (f := fun q => position (x q) 0) (divide.symm.continuous.comp (hx.prodMk continuous_const)) _ |
| 25 | exact he.clm_apply (C.flow.cont_cross f _ hf hu) |
| 26 | |
| 27 | /-- Strong continuity and a bound for trains with fixed insertions, varying |
| 28 | leg positions. Require the complex durations are in the interior. -/ |
| 29 | lemma train_control {X : Type*} [TopologicalSpace X] (B : Small S C) (p : ℝ≥0) (n : ℕ) |
| 30 | (z : X → Times n) (x : X → SpacePoints n) (v : Fin n → S.Union) (u : X → ℂ) (s : X → Space3) |
| 31 | (hz : ∀ i, Continuous fun q => z q i) (hx : ∀ i, Continuous fun q => x q i) |
| 32 | (hu : Continuous u) (hs : Continuous s) |
| 33 | (hgap : ∀ q i j, i<j → (↑(p+p):ℝ) < ((z q j)-(z q i)).im) |
| 34 | (hstart : ∀ q i, (↑(p+p):ℝ) < ((z q i)-u q).im) : |
| 35 | (Continuous fun q => B.trainB p n (z q) (x q) v (u q) (s q)) ∧ |
| 36 | ∀ q, ‖B.trainB p n (z q) (x q) v (u q) (s q)‖ ≤ (∏ i, ‖B.bar p (v i)‖)*‖C.omega‖ := by |
| 37 | induction n generalizing u s with |
| 38 | | zero => exact ⟨continuous_const, fun _ => by simp [Small.trainB]⟩ |
| 39 | | succ n ih => |
| 40 | obtain ⟨ht,hb⟩ := ih (fun q => Fin.tail (z q)) (fun q => Fin.tail (x q)) (Fin.tail v) |
| 41 | (fun q => z q 0) (fun q => x q 0) (fun i => hz i.succ) (fun i => hx i.succ) (hz 0) (hx 0) |
| 42 | (fun q i j e => hgap q i.succ j.succ (by simpa using e)) (fun q i => hgap q 0 i.succ (Fin.succ_pos _)) |
| 43 | let f := fun q => B.trainB p n (Fin.tail (z q)) (Fin.tail (x q)) (Fin.tail v) (z q 0) (x q 0) |
| 44 | refine ⟨?_,?_⟩ |
| 45 | · exact rip_continuous (fun q => z q 0-u q) (p+p) (fun q => x q 0-s q) |
| 46 | (fun q => B.bar p (v 0) (f q)) ((hz 0).sub hu) ((hx 0).sub hs) |
| 47 | ((B.bar p (v 0)).continuous.comp ht) (fun q => hstart q 0) |
| 48 | intro q |
| 49 | rw [Fin.prod_univ_succ, mul_assoc] |
| 50 | exact (Small.flanks _ _ (x q 0-s q) (B.bar p (v 0) (f q)) (hstart q 0)).trans |
| 51 | (((B.bar p (v 0)).le_opNorm _).trans (mul_le_mul_of_nonneg_left (hb q) (norm_nonneg _))) |
| 52 | |
| 53 | lemma shot_control (B : Small S C) (p : ℝ≥0) (n : ℕ) (v : Fin n → S.Union) (y : Heights n) |
| 54 | (h : Small.ample p y) : Continuous (B.shot p n v y) ∧ |
| 55 | ∀ q, ‖B.shot p n v y q‖ ≤ (∏ i, ‖B.bar p (v i)‖)*‖C.omega‖ := by |
| 56 | have hn : 0 ≤ (p:ℝ) := p.property |
| 57 | have hk (q : Points n) (i j : Fin n) (e : i<j) : (↑(p+p):ℝ) < (shift q y j - shift q y i).im := by |
| 58 | have hh := h.1.2.2 i j e |
| 59 | simp [shift] |
| 60 | linarith |
| 61 | have hz (i : Fin n) : Continuous fun q : Points n => shift q y i := by |
| 62 | unfold shift; fun_prop |
| 63 | have hx (i : Fin n) : Continuous fun q : Points n => trace q i := by |
| 64 | unfold trace; fun_prop |
| 65 | have ho (q : Points n) (i : Fin n) : (p:ℝ) < (shift q y i).im := by |
| 66 | have he := h.2 i |
| 67 | simp [shift]; linarith |
| 68 | cases n with |
| 69 | | zero => exact ⟨continuous_const,fun _ => by simp [Small.shot]⟩ |
| 70 | | succ n => |
| 71 | obtain ⟨ht,hb⟩ := train_control B p n |
| 72 | (fun q : Points (n+1) => Fin.tail (shift q y)) (fun q => Fin.tail (trace q)) (Fin.tail v) |
| 73 | (fun q => shift q y 0) (fun q => trace q 0) |
| 74 | (fun i => hz i.succ) (fun i => hx i.succ) (hz 0) (hx 0) |
| 75 | (fun q i j e => hk q i.succ j.succ (by simpa using e)) (fun q i => hk q 0 i.succ (Fin.succ_pos _)) |
| 76 | let f := fun q => B.trainB p n (Fin.tail (shift q y)) (Fin.tail (trace q)) (Fin.tail v) (shift q y 0) (trace q 0) |
| 77 | refine ⟨?_,?_⟩ |
| 78 | · exact rip_continuous (fun q => shift q y 0) p (fun q => trace q 0) |
| 79 | (fun q => B.bar p (v 0) (f q)) (hz 0) (hx 0) ((B.bar p (v 0)).continuous.comp ht) (fun q => ho q 0) |
| 80 | intro q |
| 81 | rw [Fin.prod_univ_succ,mul_assoc] |
| 82 | exact (Small.flanks _ _ (trace q 0) (B.bar p (v 0) (f q)) (ho q 0)).trans |
| 83 | (((B.bar p (v 0)).le_opNorm _).trans (mul_le_mul_of_nonneg_left (hb q) (norm_nonneg _))) |
| 84 | |
| 85 | /-- In particular, tensor products of tests in the words can really be |
| 86 | integrated. Fixed strict profile; no uniform bound here as the height |
| 87 | vanishes. Thus no `rated` hypothesis needed at this step. -/ |
| 88 | lemma shot_int (B : Small S C) (p : ℝ≥0) {n : ℕ} (v : Fin n → S.Union) (y : Heights n) (f : Joint n) |
| 89 | (h : Small.ample p y) : Integrable (fun q => f q • B.shot p n v y q) := by |
| 90 | obtain ⟨ht,hb⟩ := shot_control B p n v y h |
| 91 | let N := (∏ i, ‖B.bar p (v i)‖)*‖C.omega‖ |
| 92 | have hn : 0 ≤ N := by unfold N; positivity |
| 93 | apply (f.integrable.norm.mul_const N).mono (f.continuous.smul ht).aestronglyMeasurable |
| 94 | refine ae_of_all _ fun i => ?_ |
| 95 | change ‖f i • B.shot p n v y i‖ ≤ ‖‖f i‖ * N‖ |
| 96 | rw [norm_smul,Real.norm_eq_abs,abs_of_nonneg (mul_nonneg (norm_nonneg _) hn)] |
| 97 | exact mul_le_mul_of_nonneg_left (hb i) (norm_nonneg _) |
| 98 | |
| 99 | /-- For arity zero one still needs the edge translation law on the |
| 100 | vacuum; first continue `E_t Ω = Ω` inside the half-plane. -/ |
| 101 | lemma vacuum_heat (C : Chamber T timeAxis) (t : ℝ≥0) : C.flow.E t C.omega=C.omega := by |
| 102 | unfold Chamber.omega |
| 103 | rw [← C.atBirth,OS.inAir] |
| 104 | |
| 105 | lemma vacuum_F (C : Chamber T timeAxis) {z : ℂ} (hz : z∈OS.Semigroup.inside) : C.flow.F z C.omega=C.omega := by |
| 106 | let f : ℂ → C.H := fun w => C.flow.F w C.omega |
| 107 | have hf : AnalyticOnNhd ℂ f OS.Semigroup.inside := fun _ he => |
| 108 | (ContinuousLinearMap.apply ℂ C.H.space C.omega).analyticAt _ |>.comp (C.flow.localHeat _ he) |
| 109 | have hg : OS.Semigroup.duration 1∈OS.Semigroup.inside := OS.Semigroup.dur.mpr (by norm_num) |
| 110 | have hh : EqOn f (fun _ => C.omega) OS.Semigroup.inside := by |
| 111 | apply hf.eqOn_of_preconnected_of_frequently_eq analyticOnNhd_const |
| 112 | (convex_halfSpace_gt reCLM.toLinearMap.isLinear 0 |>.isPreconnected) hg |
| 113 | intro hn |
| 114 | have hy : Tendsto OS.Semigroup.duration (𝓝[>] (1:ℝ≥0)) (𝓝[≠] (OS.Semigroup.duration 1)) := by |
| 115 | apply tendsto_nhdsWithin_of_tendsto_nhds_of_eventually_within |
| 116 | · exact (Complex.continuous_ofReal.comp continuous_subtype_val).continuousAt.tendsto.mono_left nhdsWithin_le_nhds |
| 117 | filter_upwards [self_mem_nhdsWithin] with i hi |
| 118 | change OS.Semigroup.duration i ≠ OS.Semigroup.duration 1 |
| 119 | exact fun he => (mem_Ioi.mp hi).ne' (Subtype.ext (Complex.ofReal_injective he)) |
| 120 | obtain ⟨i,hi,hq⟩ := ((hy.eventually hn).and self_mem_nhdsWithin).exists |
| 121 | apply hi |
| 122 | have hp := lt_trans (by norm_num : (0:ℝ≥0)<1) (mem_Ioi.mp hq) |
| 123 | unfold f; rw [C.flow.roots_heat hp,vacuum_heat] |
| 124 | exact hh hz |
| 125 | |
| 126 | lemma vacuum_translation (C : Chamber T timeAxis) (b : E4) : C.flow.unit.translation b C.omega=C.omega := by |
| 127 | have hv (t : Cross timeAxis) : C.flow.U t C.omega=C.omega := by |
| 128 | unfold Chamber.omega |
| 129 | rw [← C.across,OS.overAir] |
| 130 | change C.flow.edge _ (C.flow.U _ C.omega)=_ |
| 131 | rw [hv] |
| 132 | have hn := (OS.Semigroup.length (q:=b timeAxis)).2 (by norm_num : (0:ℝ≥0)<1) |
| 133 | calc |
| 134 | _ = C.flow.edge (b timeAxis) (C.flow.E 1 C.omega) := by rw [vacuum_heat] |
| 135 | _ = _ := (C.flow.high _ _).trans (vacuum_F C hn) |
| 136 | |
| 137 | lemma rip_shift (w : ℂ) (p : ℝ≥0) (x : Space3) (b : E4) (v : C.H) (h : (p:ℝ)<w.im) : |
| 138 | rip (C:=C) (w+(time b:ℂ)) p (x+spatial b) v = C.flow.unit.translation b (rip (C:=C) w p x v) := by |
| 139 | have he := (Small.down ..).2 h |
| 140 | have ht : Small.interval (w+(time b:ℂ)) p = Small.interval w p + OS.Semigroup.sideways (time b) := by |
| 141 | unfold Small.interval OS.Semigroup.sideways; ring |
| 142 | have hu : bufferF (x+spatial b) = OS.Semigroup.SEP timeAxis b + bufferF x := by |
| 143 | apply Subtype.ext |
| 144 | change position (x+_) 0 = (b-time b • basis _) + position x 0 |
| 145 | apply Mink.ext_by <;> simp [sub_eq_add_neg,add_comm] |
| 146 | have hh q : C.flow.F (Small.interval w p) (C.flow.U (OS.Semigroup.SEP timeAxis b) q) = |
| 147 | C.flow.U (OS.Semigroup.SEP timeAxis b) (C.flow.F (Small.interval w p) q) := |
| 148 | DFunLike.congr_fun (C.flow.stays he _) q |
| 149 | change C.flow.F _ (C.flow.U _ v) = C.flow.edge (time b) (C.flow.U _ (C.flow.F _ (C.flow.U _ v))) |
| 150 | rw [hu,C.flow.space,ht,← C.flow.along he] |
| 151 | simp only [ContinuousLinearMap.comp_apply, hh] |
| 152 | |
| 153 | lemma train_shift (B : Small S C) (p : ℝ≥0) (n : ℕ) (z : Times n) (x : SpacePoints n) (v : Fin n → S.Union) |
| 154 | (u : ℂ) (s : Space3) (t : ℂ) (b : Space3) : |
| 155 | B.trainB p n (fun i => z i+t) (fun i => x i+b) v (u+t) (s+b) = B.trainB p n z x v u s := by |
| 156 | induction n generalizing u s with |
| 157 | | zero => rfl |
| 158 | | succ n ih => |
| 159 | rw [Small.trainB,Small.trainB] |
| 160 | rw [add_sub_add_right_eq_sub, add_sub_add_right_eq_sub] |
| 161 | change rip (C:=C) _ _ _ ((B.bar p (v 0)) |
| 162 | (B.trainB p n (fun i => Fin.tail z i+t) (fun i => Fin.tail x i+b) _ (z 0+t) (x 0+b))) = _ |
| 163 | rw [ih] |
| 164 | |
| 165 | lemma shot_shift (B : Small S C) (p : ℝ≥0) (n : ℕ) (v : Fin n → S.Union) (y : Heights n) (q : Points n) (b : E4) |
| 166 | (h : Small.ample p y) : B.shot p n v y (q+points (fun _ => b)) = C.flow.unit.translation b (B.shot p n v y q) := by |
| 167 | cases n with |
| 168 | | zero => exact (vacuum_translation C b).symm |
| 169 | | succ n => |
| 170 | let d := points (n:=n+1) fun _ => b |
| 171 | let z := shift q y |
| 172 | let x := trace q |
| 173 | have hz : shift (q+d) y = fun i => z i+(time b:ℂ) := by |
| 174 | funext; simp [d,z,shift]; abel |
| 175 | have hx : trace (q+d) = fun i => x i+spatial b := by |
| 176 | funext; simp [d,x,trace] |
| 177 | have hn : (p:ℝ)<(z 0).im := by |
| 178 | have he := h.2 0 |
| 179 | simp [z,shift]; linarith [show (0:ℝ) ≤ p from p.property] |
| 180 | rw [Small.shot,Small.shot] |
| 181 | rw [hz,hx] |
| 182 | dsimp only |
| 183 | change rip (C:=C) _ _ _ (B.bar p (v 0) |
| 184 | (B.trainB p n (fun i => Fin.tail z i+(time b:ℂ)) (fun i => Fin.tail x i+spatial b) _ _ _)) = _ |
| 185 | rw [train_shift B p n (Fin.tail z) (Fin.tail x) (Fin.tail v) (z 0) (x 0)] |
| 186 | exact rip_shift (z 0) p (x 0) b _ hn |
| 187 | |
| 188 | lemma integral_shift (B : Small S C) (p : ℝ≥0) {n : ℕ} (v : Fin n → S.Union) (y : Heights n) (f : Fin n → Test4) |
| 189 | (h : Small.ample p y) (b : E4) : |
| 190 | (∫ q, (Joint.materialize n (fun i => Joint.push (Poincare.translation b) (f i)) q) • B.shot p n v y q) = |
| 191 | C.flow.unit.translation b (∫ q, Joint.materialize n f q • B.shot p n v y q) := by |
| 192 | let d := points (n:=n) fun _ => b |
| 193 | let g := Joint.materialize n fun i => Joint.push (Poincare.translation b) (f i) |
| 194 | have he (q : Points n) : g (q+d) = Joint.materialize n f q := by |
| 195 | simp [d,g,Poincare.backwards,Poincare.translation] |
| 196 | rw [← ContinuousLinearMap.integral_comp_comm (C.flow.unit.translation b) (shot_int B p v y (Joint.materialize n f) h)] |
| 197 | rw [← integral_add_right_eq_self (fun q => g q • B.shot p n v y q) d] |
| 198 | refine integral_congr_ae (ae_of_all _ fun q => ?_) |
| 199 | dsimp only |
| 200 | rw [he,shot_shift B p n v y q b h,map_smul] |
| 201 | |
| 202 | lemma heatCup_n (B : Small S C) (v : Sentence S) (k : ℝ) (n : ℕ) (h : v.length=n) : |
| 203 | B.heatCup v k = ∫ q : Points n, (Joint.materialize n (fun i => (v.get (Fin.cast h.symm i)).2) q) • |
| 204 | B.shot (Small.logD k) n (fun i => (v.get (Fin.cast h.symm i)).1) (Small.profile k n) q := by |
| 205 | subst n; rfl |
| 206 | |
| 207 | lemma heatCup_shift (B : Small S C) (K : Spins S) {R l} (ht : K.Descends R l) (v : Sentence S) (b : E4) (k : ℝ) (h : 0<k) : |
| 208 | B.heatCup (K.po (Poincare.translation b) v) k = C.flow.unit.translation b (B.heatCup v k) := by |
| 209 | let w := K.po (Poincare.translation b) v |
| 210 | have he : w.length=v.length := by simp [w,Spins.po] |
| 211 | have hx : (fun i => (w.get (Fin.cast he.symm i)).1) = fun i => (v.get i).1 := by |
| 212 | funext i; simp [w,Spins.po,Letter.read,Poincare.translation,ht.identity] |
| 213 | have hy : (fun i => (w.get (Fin.cast he.symm i)).2) = fun i => Joint.push (Poincare.translation b) (v.get i).2 := by |
| 214 | funext i; simp [w,Spins.po,Letter.read] |
| 215 | rw [heatCup_n B w k v.length he, hx,hy] |
| 216 | exact integral_shift B _ _ _ _ (Small.suitable h) b |
| 217 | |
| 218 | theorem answer : YM.Bid.C23 := by |
| 219 | intro G L S T V P A B K R H _ ht |
| 220 | exact ⟨fun v t h => shot_int B _ _ _ _ (Small.suitable h),heatCup_shift B K ht⟩ |
| 221 | end YM.Work.C23 |