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.AnalyticNext.QUARTIC_MATCH.Joint |
| 2 | import YM.Bid.Drops |
| 3 | import YM.Work.B06 |
| 4 | |
| 5 | /-! |
| 6 | # Symmetries of the stationary value in the actual step |
| 7 | |
| 8 | Don't presume `rho` transforms globally, or require a relabeling selects the same forest. |
| 9 | Compare on the true stationary germs. Translations on the torus, including roots. |
| 10 | -/ |
| 11 | set_option autoImplicit false |
| 12 | noncomputable section |
| 13 | namespace YM.AnalyticNext.QuarticMatch |
| 14 | open Filter Function Matrix Precision RG Lattice Exterior Tree Bid Wilson |
| 15 | open Work.F03 Work.F04 Work.F05 Topology |
| 16 | open scoped Topology BigOperators Matrix.Norms.Frobenius ContDiff |
| 17 | variable {G : Gauge} |
| 18 | namespace Joint |
| 19 | variable {n c f : Side} {S : StepData c f} {W : PathData G} |
| 20 | |
| 21 | section orient |
| 22 | |
| 23 | /-- Signed and translated pull, as an actual linear map in the log convention. -/ |
| 24 | def shifts (s : Signed) (b : Site n) : Dir G n →L[ℝ] Dir G n := |
| 25 | ContinuousLinearMap.pi fun i => |
| 26 | let e := (posDir (axisEquiv.symm i.2)).rotate s |
| 27 | let j := e.used (affine s b i.1) |
| 28 | if e.neg then -ContinuousLinearMap.proj (j.1,coord j.2) else ContinuousLinearMap.proj (j.1,coord j.2) |
| 29 | |
| 30 | lemma rep_shifts (s : Signed) (b : Site n) (a : Dir G n) : represent (shifts s b a)=pull s b (represent a) := by |
| 31 | funext e |
| 32 | simp only [shifts,pull,Step.read,represent_link,ContinuousLinearMap.pi_apply, |
| 33 | show axisEquiv.symm (coord e.2)=e.2 from axisEquiv.symm_apply_apply _] |
| 34 | split |
| 35 | · exact exp_neg_color _ |
| 36 | rfl |
| 37 | |
| 38 | @[simp] lemma shift_one_apply (b : Site n) (a : Dir G n) (i : Body 1 n) : |
| 39 | shifts 1 b a i = a (i.1+b,i.2) := by |
| 40 | rcases i with ⟨z,j⟩; obtain ⟨j,rfl⟩ := axisEquiv.surjective j |
| 41 | simp [shifts,affine,posDir,Step.used] |
| 42 | rw [show axisEquiv.symm (coord j) = j from axisEquiv.symm_apply_apply _] |
| 43 | |
| 44 | def records (U : Config G n) : Dir G n := fun i => G.plog (G.mat (U (i.1,axisEquiv.symm i.2))) |
| 45 | |
| 46 | lemma rec_end : ∀ᶠ z : Dir G n in 𝓝 0, records (represent z) = z := by |
| 47 | have he (i : Body 1 n) : ∀ᶠ z : Dir G n in 𝓝 0, |
| 48 | G.plog (G.mat (G.lieExp (z i))) = z i := ((continuous_apply i).tendsto (0:Dir G n)).eventually G.plog_left |
| 49 | filter_upwards [eventually_all.mpr he] with z hz |
| 50 | funext i; unfold records |
| 51 | rw [represent_link, show coord (axisEquiv.symm i.2)=i.2 from axisEquiv.apply_symm_apply _]; exact hz _ |
| 52 | |
| 53 | /-- Onto for the linear reorientation tested using the exponential chart. -/ |
| 54 | theorem shifts_onto (s : Signed) (b : Site n) : Surjective (shifts (G:=G) s b) := by |
| 55 | let T := shifts (G:=G) s b |
| 56 | let r := s⁻¹ |
| 57 | let y := -s⁻¹.act b |
| 58 | let U := shifts (G:=G) r y |
| 59 | have he : (T ∘L U) = ContinuousLinearMap.id ℝ (Dir G n) := by |
| 60 | have ht : Tendsto (T ∘L U) (𝓝 0) (𝓝 0) := by simpa only [map_zero] using (T ∘L U).continuous.tendsto 0 |
| 61 | have hh : (T ∘L U) =ᶠ[𝓝 0] (id : Dir G n → Dir G n) := by |
| 62 | filter_upwards [ht.eventually rec_end, rec_end (G:=G) (n:=n)] with z hz hy |
| 63 | rw [← hz] |
| 64 | change records (represent (T (U z)))= _ |
| 65 | unfold T U r y; rw [rep_shifts,rep_shifts,pull_pull]; simpa [affine, add_comm] using hy |
| 66 | simpa using hh.fderiv_eq (𝕜:=ℝ) |
| 67 | intro v |
| 68 | exact ⟨U v,DFunLike.congr_fun he v⟩ |
| 69 | |
| 70 | lemma pullGauge (t : Spin G n) (U : Config G n) (s : Signed) (b : Site n) : |
| 71 | pull s b (Lattice.gauge t U) = Lattice.gauge (t ∘ affine s b) (pull s b U) := by |
| 72 | funext ⟨x,i⟩ |
| 73 | change ((posDir i).rotate s).read (Lattice.gauge t U) (affine s b x) = _ |
| 74 | rw [Step.gauge_read] |
| 75 | simp only [Lattice.gauge, Step.vec_rotate, Step.vec_pos,pull, affine, Signed.act_add,Function.comp_apply] |
| 76 | rw [add_right_comm] |
| 77 | |
| 78 | lemma translate_by (s : Signed) (b : Site n) (U : Config G n) : |
| 79 | pull s b U = translate ((s⁻¹).act b) (pull s 0 U) := by |
| 80 | rw [← pull_one,pull_pull]; simp [affine] |
| 81 | |
| 82 | lemma uncut_translate {m : ℕ} (A : ℕ → Atom G m) (b : Site n) (U : Config G n) : |
| 83 | uncut A (translate b U)=uncut A U := by |
| 84 | have he (x : Site n) : expandAt x (translate b U)=expandAt (x+b) U := by |
| 85 | funext _; simp [expandAt,translate, add_assoc] |
| 86 | have hx (x : Site n) i : (A i).unmasked (translate b U) x = (A i).unmasked U (x+b) := by |
| 87 | simp_rw [Atom.unmasked,RG.Slot.atSite,he] |
| 88 | simp_rw [uncut, hx]; exact Equiv.sum_comp (Equiv.addRight b) (fun x => ∑' i, (A i).unmasked U x) |
| 89 | lemma quadratic_translate (p : Clip) (W : PathData G) (b : Site n) (U : Config G n) : |
| 90 | quadratic p W (translate b U)=quadratic p W U := by |
| 91 | have he (x : Site n) : expandAt x (translate b U) = expandAt (x+b) U := by funext _; simp [expandAt,translate,add_assoc] |
| 92 | unfold quadratic |
| 93 | conv_rhs => rw [← Equiv.sum_comp (Equiv.prodCongr (Equiv.addRight b) (Equiv.refl PlaqAxes))] |
| 94 | refine Finset.sum_congr rfl ?_; rintro ⟨x,i⟩ _ |
| 95 | change p.direct * _ + ‖W.ell (translate b U) (x,i)‖^2/2 = |
| 96 | p.direct * G.price (faceValue U (x+b,i)) + ‖W.ell U (x+b,i)‖^2/2 |
| 97 | have ha : faceValue (translate b U) (x,i) = faceValue U (x+b,i) := by |
| 98 | rw [← pull_one]; unfold faceValue; rw [travel_pull]; simp [affine,square] |
| 99 | rw [ha]; simp_rw [PathData.ell, PathData.ellTerms, RG.Slot.atSite, he] |
| 100 | |
| 101 | lemma main_pull (p : Clip) (W : PathData G) (s : Signed) (b : Site n) (U : Config G n) : |
| 102 | mainTerm p W (pull s b U) = mainTerm p W U := by |
| 103 | unfold mainTerm Patch.average; apply congr_arg |
| 104 | conv_rhs => rw [← Equiv.sum_comp (Equiv.mulLeft s)] |
| 105 | refine Finset.sum_congr rfl fun i _ => ?_ |
| 106 | dsimp only; rw [pull_pull] |
| 107 | rw [translate_by (s*i) (affine s b 0),quadratic_translate, uncut_translate, uncut_translate]; rfl |
| 108 | |
| 109 | lemma energy_channel (s : Signed) (b : Site n) (k : KernelChoices) (V Y : Config G n) : |
| 110 | groupEnergy k (pull s b V) (pull s b Y) = groupEnergy k V Y := by |
| 111 | unfold groupEnergy; apply congr_arg |
| 112 | conv_rhs => rw [← Equiv.sum_comp (StepData.sendBonds s b)] |
| 113 | refine Finset.sum_congr rfl ?_; rintro ⟨x,i⟩ _ |
| 114 | unfold pull Step.read; split |
| 115 | · have he (u v : G.El) : G.price (u⁻¹*(v⁻¹)⁻¹)=G.price (u*v⁻¹) := by |
| 116 | rw [← G.price_inv (u*v⁻¹), show (u*v⁻¹)⁻¹ = u * (u⁻¹*(v⁻¹)⁻¹) * u⁻¹ by group, G.price_conj] |
| 117 | rw [he]; rfl |
| 118 | rfl |
| 119 | |
| 120 | /-- Includes negative orientations. -/ |
| 121 | lemma field_channel (p : Clip) (W : PathData G) (h : S.patch.Branches S.kernel G) |
| 122 | (V : Config G c) (U : Config G f) (k : Spin G c) (s : Signed) (b : Site c) (t : S.Choices) : |
| 123 | fieldAction S t p W (pull s b V) (pull s (S.ratio.embed b) U) (k ∘ affine s b) = |
| 124 | fieldAction S (S.withinChoice s b t) p W V U k := by |
| 125 | rw [fieldAction, S.prediction_channel h s b,← pullGauge, main_pull,energy_channel]; rfl |
| 126 | |
| 127 | /-- We also need to translate the vertical frame at all the coarse sites. -/ |
| 128 | def rephase (s : Signed) (b : Site c) : Vertical G c f →L[ℝ] Vertical G c f := |
| 129 | ((shifts s (S.ratio.embed b)) ∘L ContinuousLinearMap.fst _ _ _).prod |
| 130 | (ContinuousLinearMap.pi fun i => ContinuousLinearMap.proj (affine s b i) ∘L ContinuousLinearMap.snd _ _ _) |
| 131 | |
| 132 | lemma rephase_surjective (s : Signed) (b : Site c) : Surjective (rephase (S:=S) (G:=G) s b) := by |
| 133 | rintro ⟨u,v⟩ |
| 134 | obtain ⟨w,hw⟩ := shifts_onto s (S.ratio.embed b) u |
| 135 | let φ := (StepData.sendSites s b) |
| 136 | refine ⟨(w,v ∘ φ.symm), Prod.ext hw <| funext fun i => ?_⟩ |
| 137 | exact congr_arg v (φ.symm_apply_apply i) |
| 138 | |
| 139 | lemma commutes (p : Clip) (W : PathData G) (h : S.patch.Branches S.kernel G) |
| 140 | (s : Signed) (b : Site c) (t : S.Choices) (x : Dir G c × Vertical G c f) : |
| 141 | action S t p W (shifts s b x.1,rephase (S:=S) s b x.2) = action S (S.withinChoice s b t) p W x := by |
| 142 | unfold action |
| 143 | change fieldAction S t p W (represent _) (represent (shifts s _ _)) (power x.2.2 ∘ affine s b)=_ |
| 144 | rw [rep_shifts, rep_shifts] |
| 145 | exact field_channel p W h .. |
| 146 | end orient |
| 147 | |
| 148 | abbrev value (T : Forest S.ratio) (k : S.Choices) (p : Clip) (W : PathData G) (b : Dir G c → AxisChart G T) := |
| 149 | uncurry (tested T k p W) ∘ arc b |
| 150 | |
| 151 | section curves |
| 152 | variable {T : Forest S.ratio} {B : Bed} {p : Clip} {b : Dir G c → AxisChart G T} |
| 153 | {σ C Λ η : ℝ} |
| 154 | variable (h : S.patch.Branches S.kernel G) (hW : W.Bounds p σ C Λ) (hb : Critical T p W b) |
| 155 | (hc : Comptroller T B p W) (hp : 0 < η) (hh : PriceGap T p W η) |
| 156 | include h hW hb hc hp hh |
| 157 | |
| 158 | /-- Generalized parameter E, so can use analytic changes in B, on both sides, |
| 159 | which need NOT be invertible. W/p and branch kept. Need genuine submersion in |
| 160 | vertical coordinates. -/ |
| 161 | theorem transfigures {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] (k t : S.Choices) |
| 162 | (F L : E → Dir G c) (V : E × Vertical G c f → Vertical G c f) |
| 163 | (hF : ContDiffAt ℝ ω F 0) (hL : ContDiffAt ℝ ω L 0) (hV : ContDiffAt ℝ ω V 0) |
| 164 | (hf : F 0=0) (hl : L 0=0) (hv : V 0=0) |
| 165 | (hu : ∀ᶠ z in 𝓝 0, action S k p W (F z.1,z.2) = action S t p W (L z.1,V z)) |
| 166 | (hS : ∀ᶠ z in 𝓝 0, Surjective (vMap V z)) : |
| 167 | value T k p W b ∘ F =ᶠ[𝓝 0] value T t p W b ∘ L := by |
| 168 | let U := plant T ∘ arc b |
| 169 | obtain ⟨h1,h2,h3⟩ := joints h hW hb k |
| 170 | let Y (z : E × Vertical G c f) := (F z.1,z.2) |
| 171 | let M := action S k p W ∘ Y |
| 172 | let J := action S t p W |
| 173 | have ht : Tendsto F (𝓝 0) (𝓝 0) := by simpa only [hf] using hF.continuousAt.tendsto |
| 174 | have hB : Tendsto (arc (U ∘ F)) (𝓝 0) (𝓝 0) := by |
| 175 | have e : Tendsto U (𝓝 0) (𝓝 0) := by simpa only [h1] using h2.path.continuousAt.tendsto |
| 176 | exact tendsto_id.prodMk_nhds (e.comp ht) |
| 177 | have he := vert_pull (P:=M) (Q:=J) (L:=L) hV hL hu (show ContDiffAt ℝ ω J _ from by |
| 178 | rw [hl,hv]; exact root_born h hW hb t) |
| 179 | have hr := vert_pull (P:=M) (L:=F) (Q:=action S k p W) (p:=Prod.snd) contDiffAt_snd hF |
| 180 | EventuallyEq.rfl (show ContDiffAt ℝ ω _ _ from by rw [hf]; exact root_born h hW hb k) |
| 181 | let N (z : E × Vertical G c f) := (L z.1,V z) |
| 182 | have hN : Tendsto N (𝓝 0) (𝓝 0) := by |
| 183 | have h₀ := ((hL.comp (f:=Prod.fst) 0 contDiffAt_fst).prodMk hV).continuousAt.tendsto |
| 184 | simpa only [show N 0=0 from Prod.ext hl hv] using (show Tendsto N _ (𝓝 (N 0)) from h₀) |
| 185 | have hx := recognizes h hW hb t B hc hp hh |
| 186 | filter_upwards [ht.eventually h3,ht.eventually h2.station,hB.eventually hS,hB.eventually hr, |
| 187 | hB.eventually he,hB.eventually hu,hB.eventually (hN.eventually hx)] with x hx hY ha ht' hk hc' hg |
| 188 | let z := arc (U ∘ F) x |
| 189 | have hs : vert M z=0 := by |
| 190 | apply ht'.trans; change (vert (action S k p W) ((F x),U (F x))) ∘L _=0 |
| 191 | change vert (action S k p W) (F x,U (F x))=0 at hY; rw [hY,ContinuousLinearMap.zero_comp] |
| 192 | have hw : vert J (L x, V z)=0 := by |
| 193 | apply ContinuousLinearMap.ext; intro i; obtain ⟨j,rfl⟩ := (show Surjective (vMap V z) from ha) i |
| 194 | exact DFunLike.congr_fun (hk.symm.trans hs) j |
| 195 | exact hx.symm.trans (hc'.trans (hg hw)) |
| 196 | |
| 197 | /-- Physical orientation and translation invariant real value germ at every |
| 198 | stamped step. Use on *that* W and *that* stationary proposal. -/ |
| 199 | theorem oriented (s : Signed) (y : Site c) (k : S.Choices) : |
| 200 | value T k p W b ∘ shifts s y =ᶠ[𝓝 0] value T k p W b := by |
| 201 | let t := S.withinChoice s y k |
| 202 | let V := rephase (S:=S) (G:=G) s y |
| 203 | let P := V ∘L ContinuousLinearMap.snd ℝ (Dir G c) (Vertical G c f) |
| 204 | have he := transfigures h hW hb hc hp hh t k id (shifts s y) P |
| 205 | contDiffAt_id (shifts s y).contDiff.contDiffAt P.contDiff.contDiffAt rfl (map_zero _) (map_zero _) |
| 206 | (Eventually.of_forall fun z => (commutes p W h s y k z).symm) (Eventually.of_forall fun z => by |
| 207 | have hx : vMap (⇑P) z=V := by |
| 208 | apply ContinuousLinearMap.ext; intro b; rw [vMap,P.fderiv]; rfl |
| 209 | rw [hx]; exact rephase_surjective s y) |
| 210 | have hh : S.patch.Branches S.kernel G := h |
| 211 | exact he.symm.trans ((tested_germ hh T _ _ t k).comp_tendsto (crit_home hb)) |
| 212 | end curves |
| 213 | end Joint |
| 214 | end YM.AnalyticNext.QuarticMatch |