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.Fiddle |
| 2 | |
| 3 | /-! # small impulse of w insert -/ |
| 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}{k m n r l:ℕ}{α σ a b c τ A C D:ℝ} |
| 10 | variable {X:Type} [NormedAddCommGroup X][NormedSpace ℝ X] |
| 11 | variable {W:Type*}{g:W→Side}{H K:WickL G}{T:Reed G}{L:Filter W}{Y:Gal G f}(d i b a:Axis)(u v:G.ColorIndex) |
| 12 | abbrev pier (A: Matrix (Lines G f k) (Lines G f k) ℝ)(p q:Site f)(i a:Loc G k):ℂ:= dotProduct (relay q i) (approached A *ᵥ relay p a) |
| 13 | lemma pier_sub (F H: Matrix (Lines G f k) (Lines G f k) ℝ)(p q:Site f)(i a:Loc G k) : pier (F-H) p q i a=pier F p q i a-pier H p q i a:=by |
| 14 | unfold pier; rw [show approached (F-H)= approached F- approached H from ?_,sub_mulVec,dotProduct_sub]; ext; simp[approached] |
| 15 | lemma pier_add (F H:Matrix (Lines G f k) (Lines G f k) ℝ)(p q:Site f)(i a:Loc G k): pier (F+H) p q i a=pier F p q i a+pier H p q i a:=by unfold pier;rw[prom_addition,add_mulVec,dotProduct_add] |
| 16 | lemma pier_cash (F:Matrix (Lines G f k) (Lines G f k) ℝ)(p q:Site f)(i a: Loc G k)(t:ℝ): pier (t • F) p q i a=(t:ℂ)*pier F p q i a:=by unfold pier; rw[prom_tone,smul_mulVec,dotProduct_smul];rfl |
| 17 | lemma pier_sy (F:Matrix (Lines G f k) (Lines G f k) ℝ)(p q:Site f)(i a: Loc G k): pier (sy F) p q i a=(1/2:ℂ)*(pier F p q i a+pier F q p a i):=by |
| 18 | rw [sy,pier_cash,pier_add]; push_cast; congr 2; unfold pier; rw[show approached Fᵀ=(approached F)ᵀ from rfl,dotProduct_mulVec,vecMul_transpose,dotProduct_comm] |
| 19 | lemma tote_sum (i:Loc G k)(M:Lines G f k→ ℂ)(p:Site f): dotProduct (relay p i) M=∑ x:Site f,cell p x*M (x,i):=by unfold relay tune dotProduct; rw[Fintype.sum_prod_type];simp [Pi.single_apply,mul_ite,ite_mul] |
| 20 | lemma tide_dot (q:Site f)(i j:Loc G 1)(p:Site f)(hp:Y∈rains G f): pier (tidal Y 1) p q i j=tann Y i j p q:=by obtain ⟨h,h'⟩:=hp; unfold pier;rw[tide_tilt h h',dotProduct_comm] |
| 21 | lemma pulse_sum (F:Site f→ℂ): ∑ x:Site f, (((stampQ 0 (x+step b)-stampQ 0 x):ℝ):ℂ)*F x=F (-step b)-F 0:=by |
| 22 | have ht(x:Site f): 0=x+step b ↔ x= - step b:=⟨fun e=>eq_neg_of_add_eq_zero_left e.symm,fun e=> by rw [e,neg_add_cancel]⟩ |
| 23 | push_cast; simp [stampQ,sub_mul, Finset.sum_sub_distrib,ht,apply_ite Complex.ofReal,ite_mul] |
| 24 | lemma pitch_teat (i j:Loc G k)(p q:Site f): pier (teat G (stampQ 0) b k) p q i j= if i=j then cell (p+q) (-(step b))-1 else 0:=by |
| 25 | unfold pier; rw[tote_sum]; let Z:= relay p j |
| 26 | have ht(x:Site f): (approached (teat G (stampQ 0) b k)*ᵥ Z) (x,i) = (((stampQ 0 (x+step b)-stampQ 0 x):ℝ):ℂ)* Z (x,i):=by |
| 27 | unfold teat approached; rw[show (Matrix.map _ _) = diagonal (fun j:Lines G f k=> (((stampQ 0 (j.1+step b)-stampQ 0 j.1):ℝ):ℂ)) from ?_, Matrix.mulVec_diagonal] |
| 28 | ext i j; by_cases h:i=j<;> simp [diagonal,h] |
| 29 | change (∑ x, cell q x*(approached _*ᵥ Z) (x,i))=_; simp_rw[ht]; unfold Z relay tune; split_ifs with h |
| 30 | · subst j; simp only [Pi.single_eq_same, mul_one]; rw[show (∑ x:Site f,_)=(∑ x:Site f, (((stampQ 0 (x+step b)-stampQ 0 x):ℝ):ℂ)*cell (p+q) x) from ?_,pulse_sum b (fun x=>cell _ x)]; simp |
| 31 | apply Finset.sum_congr rfl; intro i _; rw[mul_cell]; ring |
| 32 | simp [h] |
| 33 | lemma pickX (V:Phase (Lines G f 1))(x: Site f)(q:G.ColorIndex): (approached (mine G (stampQ 0) b)*ᵥ V) (x,vac,q)= (↑(stampQ 0 x):ℂ)*V (x,coord b,q):=by |
| 34 | apply Leads.buys (p:=fun P=> (approached _ *ᵥ P) (x,vac,q)) (q:=fun P=> (↑(stampQ (0:Site f) x):ℂ)*P (x,coord b,q)) ?_ ?_ ?_ V |
| 35 | · intro u v; dsimp only; rw[mulVec_add,mulVec_smul];rfl |
| 36 | · intro u v; simp only [Pi.add_apply,Pi.smul_apply,smul_eq_mul]; ring |
| 37 | intro u; rw [prom_vec]; change ((gaugeColor ((mine G (stampQ 0) b)*ᵥ u) x q:ℝ):ℂ) = _; rw [mined]; exact Complex.ofReal_mul .. |
| 38 | lemma mailX (V:Phase (Lines G f 0))(x:Site f)(a:G.ColorIndex): (approached (mail (1:Config G f))*ᵥ V) (x,coord b,a)=V (x,vac,a)-V (x+step b,vac,a):=by |
| 39 | apply Leads.buys (p:=fun P=>(approached (mail (1:Config G f))*ᵥ P) (x,coord b,a)) (q:=fun P=> P (x,vac,a)-P (x+step b,vac,a)) ?_ ?_ ?_ V |
| 40 | · intro u v;dsimp only;rw[mulVec_add,mulVec_smul];rfl |
| 41 | · intro u v; simp only[Pi.add_apply,Pi.smul_apply,smul_eq_mul];ring |
| 42 | intro u;rw[prom_vec]; change ((edgeColor (mail (1:Config G f) *ᵥ u) (x,b) a:ℝ):ℂ)=_;rw[mailed,cant_at,Pi.one_apply,G.adjoint_one];exact Complex.ofReal_sub .. |
| 43 | lemma dealX (V:Phase (Lines G f 1))(x:Site f)(a:G.ColorIndex): |
| 44 | (approached (deal G (stampQ 0) b)*ᵥ V) (x,coord i,a)= (((stampQ 0 (x+step i)-stampQ 0 x):ℝ):ℂ)* V (x,coord b,a):=by |
| 45 | apply Leads.buys (p:=fun P=> (approached (deal G (stampQ (0:Site f)) b)*ᵥ P) (x,coord i,a)) (q:=fun P=> _ * P (x,coord b,a)) ?_ ?_ ?_ V |
| 46 | · intro u v; dsimp only; rw[mulVec_add,mulVec_smul];rfl |
| 47 | · intro u v; simp only[Pi.add_apply,Pi.smul_apply,smul_eq_mul]; ring |
| 48 | intro u;rw[prom_vec]; change ((edgeColor (deal G (stampQ 0) b *ᵥ u) (x,i) a:ℝ):ℂ)=_; rw[deal_apply]; exact Complex.ofReal_mul .. |
| 49 | lemma pickPier (p q:Site f): pier (mail (1:Config G f)*mine G (stampQ (0:Site f)) b) p q (mood G i u) (mood G a v)= if b=a ∧ u=v then 1-cell q (-step i) else 0:=by |
| 50 | unfold pier mood; rw[tote_sum,prom_mul,← mulVec_mulVec]; simp_rw [mailX,pickX]; unfold relay tune |
| 51 | split_ifs with h; next => |
| 52 | simp only [show ((coord b,u): Loc G 1)= (coord a,v) from Prod.ext (congr_arg coord h.1) h.2, Pi.single_eq_same,mul_one]; simp [mul_sub,Finset.sum_sub_distrib,stampQ,apply_ite Complex.ofReal,mul_ite,ite_mul,show ∀ x:Site f,0=x+step i ↔ x= -step i from fun x=>⟨fun e=>eq_neg_of_add_eq_zero_left e.symm, fun e=>by rw [e,neg_add_cancel]⟩]; rw[← cell_add,neg_add_cancel,cell_origin] |
| 53 | next => |
| 54 | simp only [Pi.single_apply, Prod.mk.injEq,coord_iff,h, ↓reduceIte,mul_zero,sub_zero,Finset.sum_const_zero] |
| 55 | lemma packPier (p q:Site f) : pier (mine G (stampQ (0:Site f)) b*mail (1:Config G f)) p q (vac,u) (vac,v)=if u=v then 1-cell p (step b) else 0:=by |
| 56 | unfold pier;rw[tote_sum,prom_mul,← mulVec_mulVec]; simp_rw [pickX,mailX]; by_cases h:u=v<;>simp [stampQ,h,relay,tune,mul_ite,ite_mul,apply_ite Complex.ofReal] |
| 57 | lemma dealP (p q:Site f) : pier (deal G (stampQ 0) b) p q (mood G i u) (mood G a v)= if b=a∧u=v then cell (p+q) (-step i)-1 else 0:=by |
| 58 | unfold pier mood;rw[tote_sum];simp_rw [dealX]; unfold relay tune; split_ifs with h; next=> |
| 59 | have hz: ((coord b,u): Loc G 1)= (coord a,v):= Prod.ext (congr_arg coord h.1) h.2 |
| 60 | simp only [hz, Pi.single_eq_same,mul_one] |
| 61 | rw [show (∑ x:Site f,_)=(∑ x:Site f, (((stampQ 0 (x+step i)-stampQ 0 x):ℝ):ℂ)*cell (p+q) x) from ?_,pulse_sum i (fun x=>cell _ x)]; simp |
| 62 | apply Finset.sum_congr rfl; intro b _; rw [mul_cell]; ring |
| 63 | next=> simp only[Pi.single_apply,Prod.mk.injEq,coord_iff,h,↓reduceIte,mul_zero,Finset.sum_const_zero] |
| 64 | end YM.Trace.Lamp |