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.EveryPhase.Through |
| 2 | |
| 3 | /-! # Affine time weights and Schwinger continuation in partial pairings -/ |
| 4 | set_option autoImplicit false |
| 5 | noncomputable section |
| 6 | namespace YM.EveryPhase.Stress |
| 7 | open Function Set Filter MeasureTheory Metric Boundary Next.BOUNDARY Mink Complex Probe Table |
| 8 | open Next.BOUNDARY.Descent |
| 9 | open scoped Topology BigOperators |
| 10 | variable {G : Gauge} {L : Register G} {S U : Table L} {W : Surface S} |
| 11 | {D : ∀ n, Blanket n} {Z : W.Aurora D} {P : DiffPlan S} {F : Waves S} {n : ℕ} |
| 12 | |
| 13 | def cloth (M : Joint n) (j : Fin (n+1)) (g : Test4) := along (chairs j).symm (Probe.combine M g) |
| 14 | lemma clothes (M : Joint n) (j : Fin (n+1)) (g : Test4) (x : Points n) (y : E4) : |
| 15 | cloth M j g (seat j x y)=M x*g y := by |
| 16 | change along _ _ (chairs j (x,y))=_ |
| 17 | simp |
| 18 | |
| 19 | def pincushion (c : Probe Space3) (f : Probe ℝ) := along divide (Probe.combine c f) |
| 20 | lemma pincushion_at (c : Probe Space3) (f : Probe ℝ) (x : E4) : pincushion c f x=c (spatial x)*f (YM.time x) := by |
| 21 | simp [pincushion] |
| 22 | |
| 23 | def effect {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 24 | (K : Killing) (b : Axis) (i : E→L[ℝ] E4) := |
| 25 | (SchwartzMap.smulLeftCLM ℂ (fun x : E => ((K.realV (i x) b:ℝ):ℂ)) : Probe E →L[ℂ] Probe E) |
| 26 | lemma effect_at {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 27 | (K : Killing) (b : Axis) (i : E→L[ℝ] E4) (g : Probe E) (x) : effect K b i g x=(K.realV (i x) b:ℂ)*g x := by |
| 28 | unfold effect |
| 29 | have hp : HasTemperateGrowth (fun x : E => ((K.realV (i x) b:ℝ):ℂ)) := by |
| 30 | let A := LinearMap.toContinuousLinearMap (Matrix.toEuclideanLin K.V) |
| 31 | change HasTemperateGrowth (fun x : E => Complex.ofRealCLM ((PiLp.proj 2 (𝕜:=ℝ) _ b) (K.translation+A (i x)))) |
| 32 | fun_prop |
| 33 | rw [SchwartzMap.smulLeftCLM_apply_apply hp]; rfl |
| 34 | |
| 35 | def touch (K : Killing) (b : Axis) := effect K b (ContinuousLinearMap.id ℝ E4) |
| 36 | lemma touch_at (K : Killing) (b : Axis) (f : Test4) (x) : touch K b f x=(K.realV x b:ℂ)*f x := effect_at .. |
| 37 | |
| 38 | def arch (t s : ℝ) : ℂ := (t:ℂ)+(s:ℂ)*I |
| 39 | |
| 40 | def affect (K : Killing) (b : Axis) (s : ℝ) := zeta b*((K.V b timeAxis:ℂ)*(s:ℂ)*I) |
| 41 | lemma affect_cont (K : Killing) (b) : Continuous (affect K b) := by unfold affect; fun_prop |
| 42 | |
| 43 | lemma uplifting (K : Killing) (b : Axis) (x : Space3) (t s : ℝ) : K.w b (lay x (arch t s))= |
| 44 | zeta b*(K.realV (position x t) b:ℂ)+affect K b s := by |
| 45 | rw [← K.w_real]; unfold Killing.w affect; rw [arch] |
| 46 | simp_rw [lay_time,mul_add, Finset.sum_add_distrib] |
| 47 | simp [mul_ite, mul_add]; ring |
| 48 | |
| 49 | def stack (K : Killing) (b : Axis) (s : ℝ) (f : Test4) := zeta b • touch K b f+affect K b s • f |
| 50 | lemma stack_at (K : Killing) (b : Axis) (s : ℝ) (f : Test4) (x : Space3) (t : ℝ) : |
| 51 | stack K b s f (position x t)=K.w b (lay x (arch t s))*f (position x t) := by |
| 52 | simp only [stack,_root_.smul_apply,_root_.add_apply,touch_at,uplifting,smul_eq_mul]; ring |
| 53 | lemma stack_zero (K : Killing) (b : Axis) (f) : stack K b 0 f=zeta b • touch K b f := by simp [stack,affect] |
| 54 | |
| 55 | def loads (K : Killing) (b : Axis) (s : ℝ) (k : Fin n) (g : Joint n) := zeta b • effect K b (PiLp.proj 2 _ k) g + |
| 56 | affect K b s • g |
| 57 | lemma loads_at (K : Killing) (b : Axis) (s : Heights n) (k : Fin n) (g : Joint n) (x : Points n) : |
| 58 | loads K b (s k) k g x=K.w b (fun a => glow x (dawn s) (k,a))*g x := by |
| 59 | rw [← laid_place]; simp_rw [laid_at] |
| 60 | simp only [loads,_root_.add_apply,_root_.smul_apply, effect_at, smul_eq_mul] |
| 61 | rw [show shift x s k=arch (YM.time (x k)) (s k) from rfl, Boundary.trace, uplifting]; rw [position_eta]; simp; ring |
| 62 | |
| 63 | def survey (y : Heights n) (x : Points n) (k : Fin n) (s : ℝ) : Dock n := ((Boundary.trace x,shift x y),s-YM.time (x k)) |
| 64 | lemma survey_walk (y : Heights n) (k : Fin n) : Continuous (fun p : Points n × ℝ => survey y p.1 k p.2) := by |
| 65 | unfold survey Boundary.trace shift; fun_prop |
| 66 | lemma dial (y : Heights n) (k : Fin n) (x : Points n) (s) : |
| 67 | sundial (survey y x k s) k=hole k.succ y (y k) := by |
| 68 | unfold sundial survey; simp [shift] |
| 69 | lemma town_survey (y : Heights n) (k : Fin n) (x : Points n) (s) : town (survey y x k s) k=arch s (y k) := by |
| 70 | simp [town,survey,arch,shift]; ring |
| 71 | lemma morn_survey (y : Heights n) (k : Fin n) (x : Points n) (s w : ℝ) : |
| 72 | morn (survey y x k s) k w= arch s (y k+w) := by rw [morn,town_survey]; unfold arch; push_cast; ring |
| 73 | lemma eve_survey (y : Heights n) (k : Fin n) (x : Points n) (s w : ℝ) : |
| 74 | eve (survey y x k s) k w= arch s (y k-w) := by rw [eve,town_survey]; unfold arch; push_cast; ring |
| 75 | lemma shift_scene (x : Points n) (y : Heights n) (j : Fin (n+1)) (s w : ℝ) (r : Space3) : |
| 76 | shift (seat j x (position r s)) (hole j y w)=hole j (shift x y) (arch s w) := by |
| 77 | funext i; refine Fin.succAboveCases j ?_ ?_ i <;> simp [shift,arch] |
| 78 | lemma shift_strict {y : Heights n} (hy : y∈east n) (x : Points n) : shift x y∈strict n := by |
| 79 | intro i j hj; simp [shift]; exact hy hj |
| 80 | lemma strict_height (j : Fin (n+1)) {y : Heights n} (s) {t : ℝ} (h : hole j y t∈east (n+1)) (x : Points n) : |
| 81 | hole j (shift x y) (arch s t) ∈ strict (n+1) := by |
| 82 | rw [← shift_scene x y j s t 0]; exact shift_strict h _ |
| 83 | lemma judge (j : Fin (n+1)) (r : Space3) (u s : ℝ) (x : Points n) (y : Heights n) : |
| 84 | glow (seat j x (position r u)) (dawn (hole j y s))= |
| 85 | lodge j (Boundary.trace x) (shift x y) r (arch u s) := by |
| 86 | rw [← laid_place,shift_scene,lodge] |
| 87 | congr 1; funext i; refine Fin.succAboveCases j ?_ ?_ i <;> simp [Boundary.trace] |
| 88 | |
| 89 | -- RHS response in terms of partialC on external coordinates (no stress). |
| 90 | def mandate (W : Surface S) (D : ∀ n, Blanket n) (K : Killing) (R : S.Rotation) (P : DiffPlan S) |
| 91 | (v : Fin n → S.Tag) (k : Fin (n+1)) (t : S.Tag) (M : Joint (n+1)) (y : Heights (n+1)) := |
| 92 | let ψ := fun (a : S.Tag) => (D (n+1)).partialD (W.W (n+1) (Bid.ink (hole k v a))) (dawn y) |
| 93 | ψ ⟨t.1,rankAction R t.1 K.V t.2⟩ M+∑ b : Axis, |
| 94 | ψ ⟨t.1+1,P.deriv t.1 b t.2⟩ (loads K b (y k) k M) |
| 95 | |
| 96 | -- stress integrand in terms of partial test |
| 97 | def gavel (W : Surface S) (D : ∀ n, Blanket n) (K : Killing) (T : S.Stress) (v : Fin n → S.Union) |
| 98 | (j : Fin (n+1)) (M : Joint n) (g : Probe Space3) (f : Probe ℝ) (y : Heights n) (s : ℝ) := |
| 99 | ∑ b : Axis, (D (n+1)).partialD (W.W (n+1) (hole j v (S.pin 4 (T timeAxis b)))) (dawn (hole j y s)) |
| 100 | (cloth M j (stack K b s (pincushion g f))) |
| 101 | |
| 102 | lemma mandate_int (hZ : Z.FullBody F) (K : Killing) (R : S.Rotation) (P : DiffPlan S) |
| 103 | (v : Fin n → S.Tag) (k : Fin (n+1)) (t : S.Tag) (M : Joint (n+1)) (y : Heights (n+1)) (hy : y∈east (n+1)) : |
| 104 | Integrable (fun x => taskC Z K R P v k t (Boundary.trace x,shift x y)*M x) ∧ |
| 105 | mandate W D K R P v k t M y=∫ x, taskC Z K R P v k t (Boundary.trace x,shift x y)*M x := by |
| 106 | let f := fun a : S.Tag => fun (M : Joint (n+1)) (x : Points (n+1)) => Z.emit (Bid.ink (hole k v a)) (glow x (dawn y))*M x |
| 107 | let A : S.Tag := ⟨t.1,rankAction R t.1 K.V t.2⟩ |
| 108 | let B (b : Axis) : S.Tag := ⟨t.1+1,P.deriv t.1 b t.2⟩ |
| 109 | have ht x : taskC Z K R P v k t (Boundary.trace x,shift x y)*M x=f A M x+∑ b : Axis, f (B b) (loads K b (y k) k M) x := by |
| 110 | simp_rw [taskC,laid_place]; simp only [f,A,B,loads_at,add_mul,Finset.sum_mul,mul_assoc] |
| 111 | congr 1; exact Finset.sum_congr rfl fun i _ => mul_left_comm .. |
| 112 | have he a M : Integrable (f a M) := hZ.leaned _ _ _ (etched hy) _ |
| 113 | have hh : Integrable (fun x => ∑ b : Axis,f (B b) (loads K b (y k) k M) x) := integrable_finsetSum _ fun i _ => he _ _ |
| 114 | simp_rw [ht]; refine ⟨(he A M).add hh,?_⟩ |
| 115 | rw [integral_add (he A M) hh,integral_finsetSum _ (fun i _ => he _ _)] |
| 116 | unfold mandate; simp only; simp_rw [hZ.builds _ _ _ (etched hy)]; rfl |
| 117 | |
| 118 | lemma harvest (hZ : Z.FullBody F) (K : Killing) (T : S.Stress) (v : Fin n → S.Union) (j : Fin (n+1)) |
| 119 | (y : Heights n) (M : Joint n) (s : ℝ) (h : hole j y s∈east (n+1)) |
| 120 | (g : Probe Space3) (hg : HasCompactSupport ⇑g) (f : Probe ℝ) (hf : HasCompactSupport ⇑f) (hM : HasCompactSupport ⇑M) : |
| 121 | let q := fun p : Points n × ℝ => M p.1*f p.2*harbors Z K v T g j (Boundary.trace p.1) (shift p.1 y) (arch p.2 s) |
| 122 | Integrable q ∧ gavel W D K T v j M g f y s=∫ p, q p := by |
| 123 | intro q |
| 124 | let B (a : Axis) (x : Points (n+1)) := Z.emit (hole j v (S.pin 4 (T timeAxis a))) (glow x (dawn (hole j y s)))* |
| 125 | cloth M j (stack K a s (pincushion g f)) x |
| 126 | have hm a : Integrable (B a) := hZ.leaned _ _ _ (etched h) _ |
| 127 | let b := fun p : Points (n+1) => ∑ a,B a p |
| 128 | have hb : Integrable b := integrable_finsetSum _ fun i _ => hm i |
| 129 | have ht (x : Points n) (z : ℝ) : (∫ r : Space3, b (seat j x (position r z)))=q (x,z) := by |
| 130 | let w := arch z s |
| 131 | let l (r : Space3) := lodge j (Boundary.trace x) (shift x y) r w |
| 132 | have he (r) : b (seat j x (position r z))=(M x*f z)*(g r * waveT Z K v T j timeAxis (Boundary.trace x) (shift x y) (arch z s) r) := by |
| 133 | unfold waveT tide b B |
| 134 | simp_rw [judge,lodge,laid_at,hole_self,clothes,stack_at,pincushion_at,spatial_position,time_position] |
| 135 | simp_rw [Finset.mul_sum]; exact Finset.sum_congr rfl fun i _ => by ring |
| 136 | simp_rw [he,integral_const_mul]; rfl |
| 137 | have hc : Continuous q := by |
| 138 | let r := fun p : Points n × ℝ => harbors Z K v T g j (Boundary.trace p.1) (shift p.1 y) (arch p.2 s) |
| 139 | refine ((M.continuous.comp continuous_fst).mul (f.continuous.comp continuous_snd)).mul (show Continuous r from ?_) |
| 140 | refine continuousOn_univ.mp (harbors_cont j (x:=fun p : Points n × ℝ => Boundary.trace p.1) |
| 141 | (u:=fun p : Points n × ℝ => shift p.1 y) (z:=fun p => arch p.2 s) ?_ ?_ ?_ (fun p _ => strict_height j _ h _) K v T g hg hZ) |
| 142 | all_goals first | (unfold Boundary.trace; fun_prop) | (unfold shift; fun_prop) | (unfold arch; fun_prop) |
| 143 | have hi : Integrable q := hc.integrable_of_hasCompactSupport (HasCompactSupport.intro (hM.prod hf) fun p hp => by |
| 144 | by_cases hx : p.1∈tsupport M |
| 145 | · simp [q,image_eq_zero_of_notMem_tsupport (show p.2∉tsupport f from fun h => hp ⟨hx,h⟩)] |
| 146 | simp [q,image_eq_zero_of_notMem_tsupport hx]) |
| 147 | refine ⟨hi,?_⟩ |
| 148 | let e := chairs j |
| 149 | have hj : MeasurePreserving e (volume.prod volume) volume := chairMeasure j |
| 150 | have hz : Integrable (b ∘ e) (volume.prod volume) := (hj.integrable_comp_emb e.toHomeomorph.measurableEmbedding).mpr hb |
| 151 | let t (x : Points n) (z : E4) := b (seat j x z) |
| 152 | unfold gavel; simp_rw [hZ.builds _ _ _ (etched h)] |
| 153 | change (∑ a,∫ x, B a x)=_ |
| 154 | rw [← integral_finsetSum _ (fun a _ => hm a), ← hj.integral_comp e.toHomeomorph.measurableEmbedding b] -- may b needs change |
| 155 | change (∫ p, (b ∘ e) p ∂(volume.prod volume))=∫ p, q p ∂(volume.prod volume) |
| 156 | rw [integral_prod _ hz,integral_prod _ hi] |
| 157 | apply integral_congr_ae |
| 158 | filter_upwards [hz.prod_right_ae] with x hx |
| 159 | change (∫ z, t x z)=∫ z, q (x,z) |
| 160 | change Integrable (t x) at hx |
| 161 | have hw := (split_space 0 hx).2 |
| 162 | simpa [ht,t] using hw |
| 163 | end YM.EveryPhase.Stress |