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.TraceExtension.Lamp.Cake |
| 2 | |
| 3 | /-! # Regularity cost over compact index/sheet. No inverse-volume charge. -/ |
| 4 | set_option autoImplicit false |
| 5 | noncomputable section |
| 6 | namespace YM.Trace.Lamp |
| 7 | open Function Filter Matrix Lattice Precision Laurent Stationary Perfect Bloch Exterior Tree RG Wilson Finset Push.Uniform Det MeasureTheory |
| 8 | open scoped BigOperators Topology ContDiff Matrix.Norms.Frobenius Classical |
| 9 | variable {G:Gauge}{f:Side}{p:Clip}{M:PathData G}{k m n r l:ℕ}{α σ μ a b c τ A C D:ℝ} |
| 10 | {I:Type}[Fintype I] |
| 11 | variable {o:Site f} |
| 12 | variable {W:Type*} {g:W→Side}{X Y Z:Type}[NormedAddCommGroup X][NormedSpace ℝ X][NormedAddCommGroup Y][NormedSpace ℝ Y][NormedAddCommGroup Z][NormedSpace ℝ Z] {F H:W→ X→Y} |
| 13 | structure Honor (F:W→ X→ Y)(m:ℕ): Prop where |
| 14 | top:∃ C:ℝ,0≤ C ∧∀ w x,Allows m (F w) x C |
| 15 | lemma Honor.more (h:Honor F m)(hp:Honor H m): Honor (F+H) m:=by obtain ⟨C,hC,f⟩:=h.top; obtain ⟨D,hD,p⟩:=hp.top; exact ⟨C+D,add_nonneg hC hD,fun w i=>(f w i).add (p w i)⟩ |
| 16 | lemma Honor.subc (h:Honor F m)(hp:Honor H m): Honor (F-H) m:=by |
| 17 | have hh:Honor ((-1:ℝ) • H) m:=by |
| 18 | obtain ⟨C,hC,H⟩:=hp.top; exact ⟨_,mul_nonneg (abs_nonneg _) hC,fun w i=> (H w i).smul (-1:ℝ)⟩ |
| 19 | rw[sub_eq_add_neg,show -H=(-1:ℝ) • H by rw[neg_smul,one_smul]]; exact h.more hh |
| 20 | lemma Honor.dam (h:Honor F m)(p:Z→L[ℝ] X) : Honor (fun w=>F w ∘ p) m:=by |
| 21 | obtain ⟨C,hC,f⟩:= h.top; refine ⟨_,?_,fun i z=> pullAll (L:=p) (f i (p z)) (show ‖p‖ ≤ 1+‖p‖ by linarith) (le_add_of_nonneg_right (norm_nonneg _))⟩; positivity |
| 22 | lemma Honor.prod (L:Y→L[ℝ] Y→L[ℝ]Z)(h:Honor F m)(p: Honor H m): Honor (fun w x=> L (F w x) (H w x)) m:=by |
| 23 | obtain ⟨C,hC,f⟩:=h.top;obtain ⟨D,hD,g⟩:=p.top; refine ⟨_,?_,fun w x=>Allows.bilinear L (f w x) (g w x) le_rfl⟩; positivity |
| 24 | lemma Honor.draw {V:Type*}(h:Honor F m)(e:V→W): Honor (F ∘ e) m:=by obtain ⟨C,hC,f⟩:=h.top; exact ⟨_,hC,fun w x=> f _ _⟩ |
| 25 | lemma Honor.put (h:Honor F m)(Z:Y→L[ℝ]Z): Honor (fun w=> Z ∘ F w) m:=by obtain ⟨C,hC,f⟩:=h.top; exact ⟨_,mul_nonneg (norm_nonneg Z) hC, fun w x=>Allows.linear Z (f w x) le_rfl⟩ |
| 26 | omit [Fintype I] in |
| 27 | lemma Honor.some {s:Finset I}{F:I→W→X→Y}(h:∀ i∈s,Honor (F i) m): Honor (fun w x=>∑ i∈s,F i w x) m:=by |
| 28 | induction s using Finset.induction with |
| 29 | | empty=>simp only [sum_empty]; exact ⟨0,le_rfl,fun w x=> allows_const _ (norm_zero.le)⟩ |
| 30 | | insert i s hi ih=> simp_rw [sum_insert hi]; exact ((h _ (mem_insert_self ..)).more (ih (fun i hi=>h i (mem_insert_of_mem hi)))) |
| 31 | -- operations with moving arity but fees explicit |
| 32 | abbrev guardC (k:ℕ)(α:ℝ):= ((1+(2:ℝ)^k/(α/8))^k)*countCost (α/2) *cabD k |
| 33 | lemma guardC_n (h:0<α):0 ≤ guardC k α:=by unfold guardC;have hx:=count_pos (half_pos h);have hc:=cabD_n (k:=k);positivity |
| 34 | lemma AllowedP (F:Site f→ X × Track→ℂ)(h:0<a)(hp:0≤C)(hf:∀ i x, Allows k (F i) x (C*Decay a i o))(x:X × Track): |
| 35 | Allows k (fun z:X × Track=>∑ i,F i z*mode (axes z.2) (lift (i-o))) x (guardC k a*C):=by |
| 36 | let N:= ((1+(2:ℝ)^k/(a/8))^k); let B:ℝ:=C*N*cabD k; have hz:0≤B:=by unfold B N; have he:=cabD_n (k:=k); positivity |
| 37 | have ht(i:Site f): Allows k (fun z:X×Track=> F i z* mode (axes z.2) (lift (i-o))) x (B*Decay (a/2) i o):=by |
| 38 | let L:= ContinuousLinearMap.snd ℝ X Track |
| 39 | have he:= pullAll (x:=x) (L:=L) (sea_mark (k:=k) i x.2 (show 0<a/8 by linarith) o) (show ‖L‖≤1 from L.opNorm_le_bound zero_le_one (fun x=> by rw[one_mul]; exact le_max_right ..)) le_rfl |
| 40 | rw[one_pow, mul_one] at he; apply (cabin (hf i x) he).mono; apply le_of_eq |
| 41 | unfold B; unfold Decay; rw [show -(a/2)*(separation i o:ℝ) = -a*(separation i o:ℝ)+4*(a/8)*separation i o by ring, Real.exp_add]; unfold N;ring |
| 42 | apply Allows.mono (allows_sum (fun i (_:i∈(univ:Finset (Site f)))=> ht i)); rw[← mul_sum]; apply (mul_le_mul_of_nonneg_left (show ∑ i:Site f, Decay (a/2) i o≤countCost (a/2) from ?_) hz).trans_eq ?_ |
| 43 | · simp_rw [decay_comm _ _ o]; exact decay_count (half_pos h) _ |
| 44 | unfold B N guardC; ring |
| 45 | |
| 46 | -- two-ended rooted insert W. analytic all Track variables |
| 47 | variable {V:WildM G f r l} |
| 48 | abbrev Backs (k:ℕ):=(TresF (Fin k) × Track) × Track |
| 49 | -- pair at tracks input/output independent, out dot uses plus (no conjugation) |
| 50 | def carb (o:Site f)(V:WildM G f r l)(i:Loc G r)(j:Loc G l)(p:Fin k→Loc G 1)(x:Backs k):= |
| 51 | dotProduct (barca o x.2 i) ((art V k (fun w=> barca o (x.1.1 w) (p w))) *ᵥ (barca o x.1.2 j)) |
| 52 | lemma carb_p (x:Backs k)(i:Loc G r)(j:Loc G l)(p:Fin k→ Loc G 1): |
| 53 | carb o V i j p x=∑ u:Site f,(∑ v:Site f, molt o p (fun z=> V z (u,i) (v,j)) x.1.1 *mode (axes x.1.2) (lift (v-o)))* mode (axes x.2) (lift (u-o)):=by |
| 54 | unfold carb; rw [barge_point o x.2,sum_dotProduct]; refine sum_congr rfl fun u _=>?_ |
| 55 | rw [barge_point o x.1.2,smul_dotProduct,Matrix.mulVec_sum,dotProduct_sum,smul_eq_mul,mul_comm]; congr 1; refine sum_congr rfl fun v _=>?_; rw [Matrix.mulVec_smul,dotProduct_smul,single_one_dotProduct, Matrix.mulVec_single_one, molt_be]; change mode _ _ * beat _ _ _ _ = ((beat _ _ _ _):ℂ)* _; exact mul_comm .. |
| 56 | lemma carb_a (i:Loc G r)(j:Loc G l)(p:Fin k→ Loc G 1)(ha:0<a)(hp:0 ≤ C)(h:PetW o V a C k)(x:Backs k): |
| 57 | Allows m (carb o V i j p) x (guardC m a * (guardC m a* ramt m (Fin k) a*C)):=by |
| 58 | let U(t:Site f)(x:TresF (Fin k) × Track):=∑ v:Site f,(molt o p (fun z=> V z (t,i) (v,j)) x.1)*mode (axes x.2) (lift (v-o)) |
| 59 | let F:=ramt m (Fin k) a; have hF: 0≤F:=ramt_n ha |
| 60 | let S(t):=F*C* Decay a t o; have hS(t): 0≤S t:=mul_nonneg (mul_nonneg hF hp) (decay_pos .. |>.le) |
| 61 | have ht(t:Site f)(x:TresF (Fin k) × Track): Allows m (U t) x (guardC m a * S t):=by |
| 62 | apply AllowedP (fun v x=> molt o p (fun z=> V z (t,i) (v,j)) x.1) ha (hS t) ?_ x |
| 63 | intro v y; let L:= ContinuousLinearMap.fst ℝ (TresF (Fin k)) Track; have hv:= malt (x:=p) (h (t,i) (v,j)) ha (mul_nonneg (mul_nonneg hp (decay_pos .. |>.le)) (decay_pos .. |>.le)) y.1 m |
| 64 | have hh:= pullAll (x:=y) (L:=L) hv (show ‖L‖ ≤ 1 from L.opNorm_le_bound zero_le_one (fun x=>by rw[one_mul]; exact le_max_left ..)) le_rfl; rw [one_pow,mul_one] at hh; apply hh.mono; dsimp only; unfold S F; rw[decay_comm a t o,decay_comm a v o]; linarith |
| 65 | let L:= ContinuousLinearMap.fst ℝ (TresF (Fin k) × Track) Track; rw [show carb o V i j p=(fun z:Backs k=>∑ i,U i z.1*mode (axes z.2) (lift (i-o))) from funext fun x=> carb_p x i j p] |
| 66 | have hQ:0≤guardC m a*F*C:=mul_nonneg (mul_nonneg (guardC_n ha) hF) hp |
| 67 | apply AllowedP (fun t (x:Backs k)=> U t x.1) ha hQ ?_ |
| 68 | intro v y |
| 69 | have hh:= pullAll (x:=y) (L:=L) (ht v y.1) (show ‖L‖ ≤ 1 from L.opNorm_le_bound zero_le_one (fun x=>by rw[one_mul];exact le_max_left ..)) le_rfl; rw [one_pow,mul_one] at hh; apply hh.mono; unfold S; linarith |
| 70 | end YM.Trace.Lamp |