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.Ac.Table |
| 2 | import YM.AnalyticNext.QUARTIC_MATCH.Scene |
| 3 | import YM.AnalyticNext.QUARTIC_MATCH.Submersion |
| 4 | import YM.Bid.Fuels |
| 5 | import YM.Bid.Loan |
| 6 | import YM.Work.E01 |
| 7 | import YM.Work.F03 |
| 8 | import YM.Work.F04 |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | /-! |
| 15 | # Auxiliary joint coordinates and critical value |
| 16 | |
| 17 | Use actual rooted frames and minimizing predictors. Tree retraction from the joint |
| 18 | redundant fields works by two **real** gauges and local exponential coordinates. No |
| 19 | jacobian claim. Sufficient also to compare under changes of period, orientations etc. |
| 20 | without selecting "coherent" tree gauges. Rooted joint frame (uncentered here). |
| 21 | -/ |
| 22 | |
| 23 | set_option autoImplicit false |
| 24 | noncomputable section |
| 25 | namespace YM.AnalyticNext.QuarticMatch |
| 26 | open Filter Function Matrix Precision RG Lattice Exterior Tree Bid Wilson |
| 27 | open Work.F03 Work.F04 Work.F05 Topology |
| 28 | open scoped Topology BigOperators Matrix.Norms.Frobenius ContDiff |
| 29 | |
| 30 | variable {G : Gauge} |
| 31 | namespace Joint |
| 32 | |
| 33 | abbrev Spin (G : Gauge) (c : Side) := Site c → G.El |
| 34 | abbrev LieSpin (G : Gauge) (c : Side) := Site c → G.Color |
| 35 | abbrev Vertical (G : Gauge) (c f : Side) := Dir G f × LieSpin G c |
| 36 | variable {c f n : Side} |
| 37 | |
| 38 | def groupEnergy (K : KernelChoices) (Q V : Config G c) := K.penalty * ∑ e, G.price (V e * (Q e)⁻¹) |
| 39 | |
| 40 | def fieldAction (S : StepData c f) (t : S.Choices) (p : Clip) (W : PathData G) |
| 41 | (V : Config G c) (U : Config G f) (Φ : Spin G c) := |
| 42 | mainTerm p W U + groupEnergy S.kernel (Lattice.gauge Φ (S.prediction U t)) V |
| 43 | |
| 44 | def power (b : LieSpin G c) : Spin G c := fun y => G.lieExp (b y) |
| 45 | |
| 46 | theorem power_zero : power (0 : LieSpin G c) = 1 := funext fun _ => G.mat_lieExp_zero |
| 47 | |
| 48 | def action (S : StepData c f) (t : S.Choices) (p : Clip) (W : PathData G) |
| 49 | (z : Dir G c × Vertical G c f) := fieldAction S t p W (represent z.1) (represent z.2.1) (power z.2.2) |
| 50 | |
| 51 | lemma gaugeTwice (φ t : Spin G n) (U : Config G n) : |
| 52 | Lattice.gauge φ (Lattice.gauge t U)=Lattice.gauge (φ*t) U := by |
| 53 | funext i; simp only [Lattice.gauge, Pi.mul_apply]; group |
| 54 | lemma trivial (U : Config G n) : Lattice.gauge (1 : Spin G n) U=U := by funext i; simp [Lattice.gauge] |
| 55 | lemma uniform (φ : Spin G n) (K : KernelChoices) (U V : Config G n) : |
| 56 | groupEnergy K (Lattice.gauge φ U) (Lattice.gauge φ V)=groupEnergy K U V := by |
| 57 | unfold groupEnergy; apply congr_arg |
| 58 | refine Finset.sum_congr rfl fun i _ => ?_ |
| 59 | have h : Lattice.gauge φ V i * (Lattice.gauge φ U i)⁻¹=φ i.1 * (V i * (U i)⁻¹) * (φ i.1)⁻¹ := by |
| 60 | simp only [Lattice.gauge]; group |
| 61 | rw [h,G.price_conj] |
| 62 | lemma predicted {S : StepData c f} (h : S.patch.Branches S.kernel G) (t : Spin G f) (U : Config G f) |
| 63 | (i : S.Choices) : S.prediction (Lattice.gauge t U) i=Lattice.gauge (t ∘ S.ratio.embed) (S.prediction U i) := by |
| 64 | funext e |
| 65 | unfold StepData.prediction |
| 66 | rw [S.updateGauged h, (S.patch.bond_gauge (h:=h) ..).2]; rfl |
| 67 | |
| 68 | variable {S : StepData c f} {W : PathData G} |
| 69 | |
| 70 | lemma fine_gauge {p : Clip} {σ C Λ} (h : S.patch.Branches S.kernel G) (hW : W.Bounds p σ C Λ) |
| 71 | (t : S.Choices) (V : Config G c) (U : Config G f) (Φ : Spin G c) (k : Spin G f) : |
| 72 | fieldAction S t p W V (Lattice.gauge k U) (Φ*(k ∘ S.ratio.embed)⁻¹) = fieldAction S t p W V U Φ := by |
| 73 | simp only [fieldAction, mainTerm_gauge hW, predicted h, gaugeTwice, inv_mul_cancel_right] |
| 74 | lemma coarse_gauge (p : Clip) (t : S.Choices) (V : Config G c) (U : Config G f) (Φ k : Spin G c) : |
| 75 | fieldAction S t p W (Lattice.gauge k V) U (k*Φ) = fieldAction S t p W V U Φ := by |
| 76 | unfold fieldAction; rw [← gaugeTwice, uniform] |
| 77 | |
| 78 | variable {g : Ratio c f} |
| 79 | |
| 80 | /-- Joint link rotated by the stored auxiliary frame field. -/ |
| 81 | def dressed (g : Ratio c f) (z : Vertical G c f) : Config G f := |
| 82 | Lattice.gauge (constantGauge (power z.2) g) (represent z.1) |
| 83 | lemma dresses {p : Clip} {σ C Λ} (h : S.patch.Branches S.kernel G) (hW : W.Bounds p σ C Λ) (t : S.Choices) |
| 84 | (z : Dir G c × Vertical G c f) : action S t p W z = fieldAction S t p W (represent z.1) (dressed S.ratio z.2) 1 := by |
| 85 | unfold action dressed |
| 86 | have he (φ : Spin G c) : φ * (constantGauge φ S.ratio ∘ S.ratio.embed)⁻¹ = 1 := by |
| 87 | funext i; simp [constantGauge, Ratio.embed_parent] |
| 88 | have hm := fine_gauge h hW t (represent z.1) (represent z.2.1) (power z.2.2) (constantGauge (power z.2.2) S.ratio) |
| 89 | rwa [eq_comm,he] at hm |
| 90 | |
| 91 | def plant (B : Forest g) (a : Dir G c × AxisChart G B) : Vertical G c f := |
| 92 | (axisLog B a, 0) |
| 93 | |
| 94 | /-- Slice link at the true wiping, still relative to the background from x. -/ |
| 95 | def clippedIn (B : Forest g) (z : Dir G c × Vertical G c f) (i : B.Free) := |
| 96 | Profiles.wiped B (dressed g z.2) i * (replica g (represent z.1) i)⁻¹ |
| 97 | |
| 98 | def slice (B : Forest g) (z : Dir G c × Vertical G c f) : AxisChart G B := |
| 99 | fun i => G.plog (G.mat (clippedIn B z i)) |
| 100 | |
| 101 | section rate |
| 102 | variable {X : Type*} [NormedAddCommGroup X] [NormedSpace ℝ X] |
| 103 | |
| 104 | def Smooth (x : X) (Q : X → G.El) : Prop := ContDiffAt ℝ ω (G.mat ∘ Q) x |
| 105 | |
| 106 | variable {x : X} {Q V : X → G.El} |
| 107 | theorem Smooth.mul (h : Smooth x Q) (hv : Smooth x V) : Smooth x (fun y => Q y * V y) := by |
| 108 | simp only [Smooth, Function.comp_def, Gauge.mat_mul]; exact ContDiffAt.mul h hv |
| 109 | theorem Smooth.inv (h : Smooth x Q) : Smooth x (fun y => (Q y)⁻¹) := by |
| 110 | simp only [Smooth,Function.comp_def, Gauge.mat_inv] |
| 111 | exact (show G.Mat ≃L[ℝ] G.Mat from starL ℝ).contDiff.contDiffAt.comp x h |
| 112 | theorem Smooth.power {b : X → G.Color} (h : ContDiffAt ℝ ω b x) : Smooth x (fun y => G.lieExp (b y)) := |
| 113 | G.exp_jet.contDiffAt.comp x h |
| 114 | lemma Smooth.travel {U : X → Config G n} (h : ∀ i, Smooth x (fun y => U y i)) |
| 115 | (b : Site n) (p : Walk) : Smooth x (fun y => travel (U y) b p) := by |
| 116 | induction p generalizing b with |
| 117 | | nil => exact contDiffAt_const |
| 118 | | cons i l ih => |
| 119 | apply Smooth.mul _ (ih _); unfold Step.read; split |
| 120 | · exact (h _).inv |
| 121 | exact h _ |
| 122 | theorem Smooth.tendsto (h : Smooth x Q) : Tendsto Q (𝓝 x) (𝓝 (Q x)) := |
| 123 | (G.continuous_mat.isClosedEmbedding G.mat_injective).isEmbedding.tendsto_nhds_iff.mpr |
| 124 | h.continuousAt.tendsto |
| 125 | theorem Smooth.plog (h : Smooth x Q) (he : Q x=1) : |
| 126 | ContDiffAt ℝ ω (fun y => G.plog (G.mat (Q y))) x := by |
| 127 | have hm : G.mat (Q x) = 1 := by rw [he, G.mat_one] |
| 128 | exact (hm.symm ▸ G.plog_diff : ContDiffAt ℝ ω G.plog (G.mat (Q x))).comp (f:=G.mat ∘ Q) x h |
| 129 | end rate |
| 130 | |
| 131 | lemma plant_zero (B : Forest g) : plant B (0 : Dir G c × AxisChart G B) = 0 := |
| 132 | Prod.ext (congr_arg Prod.snd (inclusion_zero B (G:=G))) rfl |
| 133 | lemma plant_smooth (B : Forest g) : ContDiffAt ℝ ω (plant (G:=G) B) 0 := |
| 134 | (show ContDiffAt ℝ ω (axisLog B (G:=G)) 0 from (inclusion_smooth B (G:=G)).snd).prodMk contDiffAt_const |
| 135 | lemma dressed_zero (g : Ratio c f) : dressed g (0 : Vertical G c f) = 1 := by |
| 136 | unfold dressed; rw [show (0:Vertical G c f).1=0 from rfl,link_one, |
| 137 | show power (0:Vertical G c f).2=1 from power_zero, show constantGauge (1:Spin G c) g=1 from rfl, trivial] |
| 138 | lemma dressed_jet (g : Ratio c f) (e : Edge (Site f)) : Smooth (0 : Vertical G c f) (fun y => dressed g y e) := by |
| 139 | have hs (x : Site f) : Smooth (0 : Vertical G c f) (fun z => constantGauge (power z.2) g x) := |
| 140 | Smooth.power ((contDiffAt_apply _ _ _ _).comp _ contDiffAt_snd : |
| 141 | ContDiffAt ℝ ω (fun z : Vertical G c f => z.2 (g.parent x)) 0) |
| 142 | have hw : Smooth (0 : Vertical G c f) fun z => represent z.1 e := |
| 143 | (represent_smooth (G:=G) e).contDiffAt.comp _ contDiffAt_fst |
| 144 | exact ((hs _).mul hw).mul (hs _).inv |
| 145 | |
| 146 | lemma clipIn_smooth (B : Forest g) (i : B.Free) : Smooth (0 : Dir G c × Vertical G c f) (fun z => clippedIn B z i) := by |
| 147 | have hd (e : Edge (Site f)) : Smooth (0 : Dir G c × Vertical G c f) (fun z => dressed g z.2 e) := |
| 148 | (dressed_jet (G:=G) g e).comp (f:=Prod.snd) (0 : Dir G c × Vertical G c f) contDiffAt_snd |
| 149 | have ht (x : Site f) : Smooth (0 : Dir G c × Vertical G c f) (fun z => B.foldAt (dressed g z.2) x) := |
| 150 | (Smooth.travel hd _ _).inv |
| 151 | apply Smooth.mul (((ht _).mul (hd _)).mul (ht _).inv) |
| 152 | apply Smooth.inv |
| 153 | unfold replica; split |
| 154 | · exact contDiffAt_const |
| 155 | exact (represent_smooth (G:=G) _).contDiffAt.comp _ contDiffAt_fst |
| 156 | lemma clipIn_zero (B : Forest g) (i : B.Free) : clippedIn B (0 : Dir G c × Vertical G c f) i = 1 := by |
| 157 | unfold clippedIn; rw [Prod.snd_zero, dressed_zero, Prod.fst_zero,link_one, replica_one] |
| 158 | have hw : Profiles.wick B (1 : Config G f) = 1 := by |
| 159 | have he := Profiles.wick_root B (exposure B (0:Dir G c) 0) |
| 160 | rwa [drape_exposure,lifted,link_one,replica_one,exposure_zero] at he |
| 161 | simp only [Pi.one_apply,inv_one,mul_one]; exact congr_fun hw i |
| 162 | |
| 163 | lemma slice_zero (B : Forest g) : slice B (0 : Dir G c × Vertical G c f)=0 := by |
| 164 | funext i |
| 165 | simp only [slice,clipIn_zero,G.mat_one,G.plog_one]; rfl |
| 166 | lemma slice_jet (B : Forest g) : ContDiffAt ℝ ω (slice (G:=G) B) 0 := |
| 167 | contDiffAt_pi.mpr fun i => (clipIn_smooth (G:=G) B i).plog (clipIn_zero B i) |
| 168 | lemma slice_back (B : Forest g) : ∀ᶠ z : Dir G c × AxisChart G B in 𝓝 0, slice B (z.1,plant B z)=z.2 := by |
| 169 | have hm (i : B.Free) : ∀ᶠ z : Dir G c × AxisChart G B in 𝓝 0, |
| 170 | G.plog (G.mat (G.lieExp (z.2 i))) = z.2 i := |
| 171 | (((continuous_apply i).comp continuous_snd).tendsto (0 : Dir G c × AxisChart G B)).eventually G.plog_left |
| 172 | filter_upwards [eventually_all.mpr hm, inclusion_works B] with z hz hx |
| 173 | have he : dressed g (plant B z)= lifting B (represent z.1) z.2 := by |
| 174 | unfold plant dressed; dsimp only; rw [power_zero, show constantGauge (1:Spin G c) g=1 from rfl, |
| 175 | trivial]; exact hx |
| 176 | funext i |
| 177 | unfold slice clippedIn |
| 178 | dsimp only |
| 179 | rw [he,← drape_exposure] |
| 180 | change G.plog (G.mat (Profiles.wick B (B.drape (exposure _ _ _)) i * _))=_ |
| 181 | rw [Profiles.wick_root,exposure, mul_inv_cancel_right] |
| 182 | exact hz i |
| 183 | |
| 184 | section value |
| 185 | variable {T : Forest S.ratio} {σ C Λ η : ℝ} {p : Clip} {W : PathData G} |
| 186 | {b : Dir G c → AxisChart G T} |
| 187 | |
| 188 | lemma unframe (t : S.Choices) (W : PathData G) (p : Clip) (U : Config G f) (V : Config G c) : |
| 189 | fieldAction S t p W V U 1 = mainTerm p W U + noiseTaylor S V U t := by |
| 190 | rw [fieldAction,trivial]; rfl |
| 191 | |
| 192 | lemma reduce (T : Forest S.ratio) (h : S.patch.Branches S.kernel G) (hW : W.Bounds p σ C Λ) (t : S.Choices) : |
| 193 | action S t p W =ᶠ[𝓝 0] fun z => tested T t p W z.1 (slice T z) := by |
| 194 | have hs (i : T.Free) : ∀ᶠ z : Dir G c × Vertical G c f in 𝓝 0, |
| 195 | G.lieExp (slice T z i) = clippedIn T z i := by |
| 196 | have he := (clipIn_smooth (G:=G) T i).tendsto |
| 197 | change Tendsto _ _ (𝓝 (clippedIn T 0 i)) at he |
| 198 | rw [clipIn_zero] at he |
| 199 | exact he.eventually G.plog_right |
| 200 | filter_upwards [eventually_all.mpr hs] with z hz |
| 201 | let U := dressed S.ratio z.2 |
| 202 | have hk : exposure T z.1 (slice T z)=Profiles.wick T U := by |
| 203 | funext i; rw [exposure, hz, clippedIn, inv_mul_cancel_right]; rfl |
| 204 | have hm : lifting T (represent z.1) (slice T z)=Profiles.wiped T U := by |
| 205 | rw [← drape_exposure,hk]; exact Profiles.wears T _ |
| 206 | rw [tested, hm, dresses h hW,unframe] |
| 207 | simp only [Profiles.wiped, mainTerm_gauge hW,root_noise h _ _ _ (fun i => T.fold_root U i)] |
| 208 | rfl |
| 209 | |
| 210 | variable (h : S.patch.Branches S.kernel G) (hW : W.Bounds p σ C Λ) (hb : Critical T p W b) |
| 211 | (t : S.Choices) |
| 212 | include h hW hb |
| 213 | |
| 214 | lemma root_born : ContDiffAt ℝ ω (action S t p W) 0 := by |
| 215 | have ht := contDiffAt_fst.prodMk (slice_jet (G:=G) T) |
| 216 | have hp : ContDiffAt ℝ ω (uncurry (tested T t p W)) ((0:Dir G c),slice T (0:Dir G c × Vertical G c f)) := by |
| 217 | rw [slice_zero]; exact (hb.2.2 t).1 |
| 218 | have hb : ContDiffAt ℝ ω ((uncurry (tested T t p W)) ∘ (fun z : Dir G c × Vertical G c f => (z.1,slice T z))) 0 := |
| 219 | hp.comp (f:=fun z : Dir G c × Vertical G c f => (z.1,slice T z)) _ ht |
| 220 | exact hb.congr_of_eventuallyEq (reduce T h hW t) |
| 221 | |
| 222 | /-- Construct an actual analytic joint stationary graph through that slice. -/ |
| 223 | lemma joints : |
| 224 | let u := plant T ∘ arc b |
| 225 | u 0=0 ∧ OnShell (action S t p W) u 0 ∧ |
| 226 | action S t p W ∘ arc u =ᶠ[𝓝 0] uncurry (tested T t p W) ∘ arc b := by |
| 227 | intro u |
| 228 | have h0 : arc b 0=0 := Prod.ext rfl hb.1 |
| 229 | have hc : u 0=0 := (congr_arg _ h0).trans (plant_zero T) |
| 230 | have hs : ContDiffAt ℝ ω (plant (G:=G) T) (arc b 0) := by rw [h0]; exact plant_smooth T |
| 231 | have hu : ContDiffAt ℝ ω u 0 := hs.comp _ (SliceExchange.on_shell t hb).arc_smooth |
| 232 | exact ⟨hc, ascend (p:=slice T) (root_born h hW hb t) (SliceExchange.on_shell t hb) hb.1 (slice_jet T) |
| 233 | (reduce T h hW t) hc hu ((crit_home hb).eventually (slice_back T))⟩ |
| 234 | |
| 235 | /-- Compare actual joint stationarity near the origin without any uniform |
| 236 | stationarity-radius assumption. -/ |
| 237 | theorem recognizes (B : Bed) (hv : Comptroller T B p W) |
| 238 | (he : 0 < η) (hq : PriceGap T p W η) : ∀ᶠ z : Dir G c × Vertical G c f in 𝓝 0, |
| 239 | vert (action S t p W) z=0 → action S t p W z=tested T t p W z.1 (b z.1) := by |
| 240 | have ht := vert_pull (L:=id) (slice_jet T) contDiffAt_id (reduce T h hW t) |
| 241 | (show ContDiffAt ℝ ω (uncurry (tested T t p W)) ((0:Dir G c), slice T (0 : Dir G c × Vertical G c f)) from by |
| 242 | rw [slice_zero]; exact (hb.2.2 t).1) |
| 243 | have hm := invertible T p W η he t hq ((hb.2.2 t).1) (hv t).2.1 |
| 244 | have hs := vMap_surjective (slice_jet T) (T:=fun y => plant T ((0:Dir G c),y)) |
| 245 | (show DifferentiableAt ℝ _ _ from (((plant_smooth (G:=G) T).comp (f:=fun y : AxisChart G T => ((0:Dir G c), y)) 0 (contDiffAt_const.prodMk contDiffAt_id)).differentiableAt (by simp))) |
| 246 | (plant_zero T) (hold_near (slice_back T)) |
| 247 | have hu : Tendsto (fun z : Dir G c × Vertical G c f => (z.1,slice T z)) (𝓝 0) (𝓝 (0:Dir G c × AxisChart G T)) := by |
| 248 | have hb := ((slice_jet (G:=G) T).continuousAt).tendsto |
| 249 | rw [slice_zero] at hb |
| 250 | exact (continuous_fst.tendsto _).prodMk_nhds hb |
| 251 | have hk := hu.eventually (near_root (SliceExchange.on_shell t hb) hb.1 hm) |
| 252 | filter_upwards [ht, reduce T h hW t,hk, hs] with z hz hy ha hs H |
| 253 | have he : vert (uncurry (tested T t p W)) (z.1,slice T z)=0 := by |
| 254 | ext i |
| 255 | obtain ⟨j,rfl⟩ := hs i |
| 256 | exact DFunLike.congr_fun (hz.symm.trans H) j |
| 257 | have hw : slice T z = b z.1 := ha he |
| 258 | exact hy.trans (congr_arg (tested T t p W z.1) hw) |
| 259 | end value |
| 260 | end Joint |
| 261 | end YM.AnalyticNext.QuarticMatch |