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.CONNECTED_ACTIVITY_BOUNDS.Gauge2 |
| 2 | import YM.Push.SECTOR_MEASURE.Gauges |
| 3 | |
| 4 | /-! |
| 5 | # Gauge transport of *additional* operations needed here |
| 6 | |
| 7 | Compare `YM.Next.FLUCTUATIONS.Covariance` which already exposes L/D |
| 8 | gap transport but not the lemmas needed on F/I/N separately. We adapt |
| 9 | its underlying `rated` argument here (no shared-file edits). Keep |
| 10 | choices and orientation on all arrays. |
| 11 | -/ |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.AnalyticNext.ConnectedActivity.Aff |
| 15 | open Lattice RG Wilson Precision Pressure Pressure.Stores Exterior Bloch Turn |
| 16 | open Work.F03 Work.E03 Next.Fluctuations Push.SectorMeasure Push.SectorMeasure.Oriented |
| 17 | open scoped Topology BigOperators InnerProductSpace Matrix.Norms.Frobenius Classical |
| 18 | variable {G : Gauge} {c f n : Side} {S : StepData c f} |
| 19 | |
| 20 | lemma read_shift {Y : Clip} {σ C Λ : ℝ} (T : PathData G) (hT : T.Bounds Y σ C Λ) |
| 21 | (R d : ℕ) (V : Config G n) (u : Site n→G.El) (i : Twin n) : |
| 22 | shorten T R d (gauge u V) i.1 = G.adjoint (u i.1.1) (shorten T R d V i.1) := by |
| 23 | let F := (G.adjoint (u i.1.1)).toContinuousLinearMap |
| 24 | change _ = F (∑' l, shortenTerm T _ _ _ _ l) |
| 25 | rw [F.map_tsum (shorten_summable T V hT R d i.1)] |
| 26 | apply tsum_congr; intro p |
| 27 | unfold shortenTerm; split |
| 28 | next h => rw [PathData.ellTerms, PathData.ellTerms, Work.F05.slot_gauge, F.map_smul]; rfl |
| 29 | next h => rw [map_zero] |
| 30 | |
| 31 | lemma viewed {Y : Clip} {σ C Λ : ℝ} (T : PathData G) (hT : T.Bounds Y σ C Λ) |
| 32 | (R d : ℕ) (V : Config G n) (u : Site n→G.El) (i : Twin n) : |
| 33 | plotted T Y R d (gauge u V) i = G.adjoint (u i.1.1) (plotted T Y R d V i) := by |
| 34 | unfold plotted; split |
| 35 | next => exact read_shift _ hT .. |
| 36 | next => rw [shoot, shoot,face_gauge, G.curvature_conjugate,map_smul] |
| 37 | |
| 38 | lemma viewed_clip {Y : Clip} {σ C Λ : ℝ} (T : PathData G) (hT : T.Bounds Y σ C Λ) |
| 39 | (R d : ℕ) (x : ℝ) (V : Config G n) (u : Site n→G.El) (i : Twin n) : |
| 40 | thinned T Y x d R (gauge u V) i = G.adjoint (u i.1.1) (thinned T Y x d R V i) := by |
| 41 | unfold thinned; split |
| 42 | next => |
| 43 | have he : PathData.kept Y x i.1.1 (gauge u V) ↔ PathData.kept Y x i.1.1 V := by simp [PathData.kept] |
| 44 | simp only [he]; split |
| 45 | next => exact read_shift _ hT .. |
| 46 | next => rw [map_zero] |
| 47 | next => simp only [shoot,face_gauge,G.curvature_conjugate,map_smul,toll_gauge] |
| 48 | |
| 49 | private lemma turn_rated (z : Site n → G.El) (U : Config G n) (i : Site n) (w : Walk) (x : ℝ) (a : G.Color) : |
| 50 | rated (gauge z U) i w x (G.adjoint (z (stop i w)) a) = G.adjoint (z i) (rated U i w x a) := by |
| 51 | unfold rated; rw [travel_gauge]; change x • G.adjoint _ _ = G.adjoint _ (x • G.adjoint _ _) |
| 52 | rw [map_smul, G.adjoint_mul,G.adjoint_mul,← G.adjoint_mul (z (stop i w))⁻¹ _,inv_mul_cancel,G.adjoint_one] |
| 53 | |
| 54 | -- Generic arrays, pay product over column transforms by pointwise theorem, |
| 55 | -- with total read. This permits using the transported operator not just a norm. |
| 56 | section arrays |
| 57 | variable {ι κ : Type*} |
| 58 | |
| 59 | def Correspond (F H : ι→κ→Pay G) (p : ι→G.El) (q : κ→G.El) : Prop := |
| 60 | ∀ i j (v : G.Color), H i j (G.adjoint (q j) v) = G.adjoint (p i) (F i j v) |
| 61 | |
| 62 | lemma Correspond.positions [Fintype κ] {F H : ι→κ→Pay G} {p q} (he : Correspond F H p q) (v : κ→G.Color) (i) : |
| 63 | zip H (fun j=> G.adjoint (q j) (v j)) i = G.adjoint (p i) (zip F v i) := by simp only [zip,he i,map_sum] |
| 64 | |
| 65 | private lemma sum_shift (K H : Cover → Pay G) (hk : Summable K) (hh : Summable H) |
| 66 | (u v : G.El) (A : G.Color) (he : ∀ x, K x (G.adjoint u A)=G.adjoint v (H x A)) : |
| 67 | (∑' x,K x) (G.adjoint u A)=G.adjoint v ((∑' x,H x) A) := by |
| 68 | let L := ContinuousLinearMap.apply ℝ G.Color (G.adjoint u A) |
| 69 | let M := (G.adjoint v).toContinuousLinearMap.comp (ContinuousLinearMap.apply ℝ G.Color A) |
| 70 | change L (∑' x,K x) = M (∑' x,H x); rw [L.map_tsum hk,M.map_tsum hh]; exact tsum_congr he |
| 71 | |
| 72 | private lemma earth (V : Config G c) (d R : ℕ) (K : Row ι κ) (h : K.safe) (u : Site c → G.El) : |
| 73 | Correspond (lane R d V K) (lane R d (gauge u V) K) (fun i=>u i.1) (fun i=>u i.1) := by |
| 74 | intro i j x |
| 75 | have hj (V : Config G c) : Summable (priced R d V K i j) := by |
| 76 | apply Summable.of_norm_bounded (h i.2 j.2); intro p |
| 77 | unfold priced; split |
| 78 | · exact norm_rated_le .. |
| 79 | simp |
| 80 | refine sum_shift _ _ (hj _) (hj V) _ _ _ fun p => ?_ |
| 81 | unfold priced; split |
| 82 | next h => |
| 83 | have hv : j.1 = stop i.1 (route 0 p 1) := h.2.trans (by simpa only [map_zero, add_zero] |
| 84 | using (Work.E03.stop_route i.1 0 p).symm) |
| 85 | have he := turn_rated u V i.1 (route 0 p 1) (K i.2 j.2 p) x |
| 86 | rw [← hv] at he; exact he |
| 87 | next h => simp |
| 88 | |
| 89 | variable {P : Teller G} {T : Tube G S} (hT : P.Funds S T) (R : ℕ) (V : Config G c) (u : Site c → G.El) |
| 90 | include hT |
| 91 | |
| 92 | lemma spin_Φ : Correspond (T.Φ R V) (T.Φ R (gauge u V)) (fun i=>u (S.ratio.parent i.1.1)) |
| 93 | (fun i=>u i.1.1) := by |
| 94 | intro i j x |
| 95 | have hp (V : Config G c) : Summable (casted S T.R R V (mesh i) (mesh j)) := by |
| 96 | apply Summable.of_norm_bounded (Row.rights _ _ hT.crosses.2.2.1 P.width.le |
| 97 | (S.ratio.residue (mesh i).1,(mesh i).2) (mesh j).2); intro v |
| 98 | dsimp only [casted]; split |
| 99 | · exact norm_rated_le .. |
| 100 | simp |
| 101 | refine sum_shift _ _ (hp _) (hp V) _ _ _ fun v => ?_ |
| 102 | dsimp only [casted]; split |
| 103 | next h => |
| 104 | let i' := (mesh i).1 |
| 105 | let Y := route (lift (S.ratio.residue i')) (S.patch.L.val • v) 1 |
| 106 | have he : S.ratio.parent (stop i' Y)=(mesh j).1 := by |
| 107 | rw [show stop i' Y = _ from casted_endpoint S i' v,S.ratio.embed_parent]; exact h.2.symm |
| 108 | let s := replica S.ratio V |
| 109 | rw [← copied S.ratio S.patch.odd_side] |
| 110 | have ht := turn_rated (constantGauge u S.ratio) s i' Y (T.R.mf (S.ratio.residue (mesh i).1,(mesh i).2) (mesh j).2 v) x |
| 111 | simp only [constantGauge,Function.comp_apply,he] at ht; exact ht |
| 112 | next => simp |
| 113 | |
| 114 | lemma spin_I : Correspond (T.Φ' R V) (T.Φ' R (gauge u V)) (u ∘ Prod.fst) (fun i=>u i.1.1) := |
| 115 | fun i j x => earth V _ _ T.R.mn (Row.rights _ _ hT.crosses.1 P.width.le) u (pole i) (mesh j) x |
| 116 | lemma spin_N : Correspond (T.N R V) (T.N R (gauge u V)) (u ∘ Prod.fst) (fun i=>u i.1.1) := |
| 117 | fun i j x => earth V _ _ T.R.o (Row.rights _ _ hT.crosses.2.1 P.width.le) u i (mesh j) x |
| 118 | end arrays |
| 119 | section spin |
| 120 | variable (P : Teller G) {T : Tube G S} (hT : P.Funds S T) (R : ℕ) (V : Config G c) (u : Site c → G.El) |
| 121 | include P hT |
| 122 | |
| 123 | lemma movers (s : ℝ) : let U := gauge u V |
| 124 | T.vision R s U = (fun i=> G.adjoint (u i.1.1) (T.vision R s V i)) ∧ |
| 125 | T.Mv R s U = (fun i=> G.adjoint (u (S.ratio.parent i.1.1)) (T.Mv R s V i)) ∧ |
| 126 | T.Mw R s U = (fun i=> G.adjoint (u i.1) (T.Mw R s V i)) ∧ |
| 127 | zip (T.N R U) (T.vision R s U) = (fun i=> G.adjoint (u i.1) (zip (T.N R V) (T.vision R s V) i)) := by |
| 128 | intro U |
| 129 | obtain ⟨C,W,h1,h2⟩ := hT.feeds; rw [← hT.low] at h2 |
| 130 | have he i : T.vision R s U i=G.adjoint (u i.1.1) (T.vision R s V i) := viewed_clip _ h2 .. |
| 131 | refine ⟨funext he,?_,?_,?_⟩ |
| 132 | · unfold Tube.Mv; rw [funext he]; funext; exact (spin_Φ hT R V u).positions _ _ |
| 133 | · unfold Tube.Mw; rw [funext he]; funext; exact (spin_I hT R V u).positions _ _ |
| 134 | · rw [funext he]; funext; exact (spin_N hT R V u).positions _ _ |
| 135 | |
| 136 | lemma target_gauge (U : Config G f) (q : Pos S) (s : ℝ) (k : S.Choices) : |
| 137 | target T R s q k (gauge u V) (gauge (u∘S.ratio.parent) U) = G.adjoint (u (base S q)) (target T R s q k V U) := by |
| 138 | rcases q with ⟨a,i⟩; unfold target |
| 139 | rw [gauge_pulled,gauge_pulled] |
| 140 | let v := pull a 0 V; let y := u ∘ a.act (R := Per c); let t := pull a 0 U |
| 141 | have hm : ((u ∘ S.ratio.parent) ∘ (a.act (R:=Per f))) = y ∘ S.ratio.parent := by |
| 142 | funext j; simp only [y, Function.comp_apply,S.ratio.parent_signed S.patch.odd_side] |
| 143 | rw [hm]; obtain ⟨C,L,h1,h2⟩ := hT.feeds; rw [← hT.high] at h1 |
| 144 | obtain ⟨-,hf,hc,-⟩ := movers P hT R v y s |
| 145 | have ht : (y∘S.ratio.parent)∘S.ratio.embed=y := by funext; simp [Function.comp_def, Ratio.embed_parent] |
| 146 | rcases i with i|i |
| 147 | · dsimp only [Sum.elim_inl] |
| 148 | have hx : T.Xf R (gauge (y ∘ S.ratio.parent) t) i=G.adjoint (y (S.ratio.parent i.1.1)) (T.Xf R t i) := |
| 149 | viewed T.up h1 .. -- args fix |
| 150 | rw [map_sub] |
| 151 | exact congr_arg₂ _ hx (congr_fun hf i) |
| 152 | dsimp only [Sum.elim_inr] |
| 153 | rw [(choice_gauge (funds_branch hT) t _ (y ∘ S.ratio.parent)).2, ht, map_sub]; apply congr_arg₂ |
| 154 | · let Q := S.prediction t (choice a k) |
| 155 | change Tube.Z S (gauge y Q) (gauge y v) i = G.adjoint (y i.1) _ |
| 156 | unfold Tube.Z Lattice.gauge; rw [show y i.1*v i*_ * (y i.1*Q i*_)⁻¹ = y i.1*(v i*(Q i)⁻¹)*(y i.1)⁻¹ by group,G.curvature_conjugate,map_smul] |
| 157 | exact congr_fun hc i |
| 158 | end spin |
| 159 | end YM.AnalyticNext.ConnectedActivity.Aff |