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.Contacts.Score.Tape |
| 2 | import YM.Contacts.Normal.Pieces |
| 3 | |
| 4 | /-! # Commit exact optical instructions; independence and localization -/ |
| 5 | set_option autoImplicit false |
| 6 | set_option maxHeartbeats 600000 |
| 7 | noncomputable section |
| 8 | namespace YM.Contacts.Normal |
| 9 | open Function Filter Set Metric MeasureTheory Submodule Ordered |
| 10 | open scoped Topology BigOperators Classical ContDiff TensorProduct InnerProductSpace |
| 11 | variable {E A B I : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [FiniteDimensional ℝ E] |
| 12 | variable [CommRing A] [Algebra ℂ A] [CommRing B] [Algebra ℂ B] |
| 13 | variable {R S T : Optical E → Prop} {K L : Submodule ℝ E} |
| 14 | variable {p q : Optical E} |
| 15 | inductive Mark (R : Optical E → Prop) : Score E A → Prop |
| 16 | | atom {p : Optical E} (g : E→ A) (h : R p) : Mark R (g ⊗ₜ[ℂ] p) |
| 17 | | zero : Mark R 0 |
| 18 | | plus {a b} (h : Mark R a)(hh : Mark R b) : Mark R (a+b) |
| 19 | namespace Mark |
| 20 | variable {a b : Score E A} |
| 21 | omit [FiniteDimensional ℝ E] |
| 22 | lemma switch (h : Mark R a) (hp : ∀r,R r→ S r): Mark S a := by |
| 23 | induction h with |
| 24 | | atom g h => exact .atom g (hp _ h) |
| 25 | | zero=> exact .zero |
| 26 | | plus _ _ hx hy=> exact hx.plus hy |
| 27 | lemma inst (h : R p) : Mark R (instructionScore E A p):= .atom _ h |
| 28 | lemma minus (h : Mark R a) : Mark R (-a) := by |
| 29 | induction h with |
| 30 | | atom g h => rw [← TensorProduct.neg_tmul]; exact .atom _ h |
| 31 | | zero => rw [neg_zero]; exact .zero |
| 32 | | plus _ _ hx hy=> rw [neg_add]; exact hx.plus hy |
| 33 | lemma sum {s: Finset I} {f : I→ Score E A} (h : ∀i∈s,Mark R (f i)) : Mark R (∑ i∈s,f i) := by |
| 34 | induction s using Finset.induction_on with |
| 35 | | empty=> rw [Finset.sum_empty]; exact .zero |
| 36 | | insert i s hi ih=> rw [Finset.sum_insert hi]; exact (h i (by simp)).plus (ih (fun j hj=> h _ (Finset.mem_insert_of_mem hj))) |
| 37 | lemma prod (h : Mark R a)(hx : Mark S b) (hc : ∀ ⦃p q⦄,R p→S q→ T (p*q)) : Mark T (a*b) := by |
| 38 | induction h with |
| 39 | | atom g h => |
| 40 | induction hx with |
| 41 | | atom f he => rw [Algebra.TensorProduct.tmul_mul_tmul]; exact .atom _ (hc h he) |
| 42 | | zero => rw [mul_zero]; exact .zero |
| 43 | | plus _ _ hx hy=> rw [mul_add]; exact hx.plus hy |
| 44 | | zero=> rw [zero_mul]; exact .zero |
| 45 | | plus _ _ hx hy=> rw [add_mul]; exact hx.plus hy |
| 46 | lemma agree (h : Mark R a) (hx : Mark S b)(hc : ∀ ⦃p q⦄, R p→ S q→ Commute p q) : Commute a b:= by |
| 47 | induction h with |
| 48 | | atom g h=> |
| 49 | induction hx with |
| 50 | | atom f he => exact Commute.tmul (Commute.all g f) (hc h he) |
| 51 | | zero => exact Commute.zero_right _ |
| 52 | | plus _ _ hx hy=> exact hx.add_right hy |
| 53 | | zero => exact Commute.zero_left _ |
| 54 | | plus _ _ hx hy=> exact hx.add_left hy |
| 55 | lemma transformed (h : Mark R a) (f : E→ A →ₗ[ℂ] B) : Mark R (reshape f a) := by |
| 56 | induction h with |
| 57 | | atom g h=> rw [reshape_tape]; exact .atom _ h |
| 58 | | zero=> rw [map_zero]; exact .zero |
| 59 | | plus _ _ hx hy=> rw [map_add]; exact hx.plus hy |
| 60 | lemma relabel (h : Mark R a)(f : A →ₐ[ℂ] B) : Mark R (retag E f a):= transformed h _ |
| 61 | end Mark |
| 62 | |
| 63 | /-- just for commuting: all the numbers and shapes will be filled at the geometry later -/ |
| 64 | inductive Uses (K : Submodule ℝ E) : Optical E → Prop |
| 65 | | taylor (L : Submodule ℝ E) (h : L≤K) (s : ℝ)(i : ℕ): Uses K (taylor L s i) |
| 66 | | times {p q : Optical E} : Uses K p → Uses K q → Uses K (p*q) |
| 67 | | id : Uses K 1 |
| 68 | |
| 69 | lemma Uses.widen (h : Uses K p)(hh : K≤L): Uses L p:= by |
| 70 | induction h with |
| 71 | | taylor M h t i=> exact .taylor _ (h.trans hh) t i |
| 72 | | times _ _ hx hy=> exact hx.times hy |
| 73 | | id => exact .id |
| 74 | lemma Uses.independent (h : Uses K p)(hh : Uses L q)(he : K≤Lᗮ): Commute p q := by |
| 75 | induction h with |
| 76 | | taylor M h t i=> |
| 77 | induction hh with |
| 78 | | taylor J hh u j=> exact (commute_taylor J M ((h.trans he).trans (orthogonal_le hh)) u t j i).symm |
| 79 | | times _ _ hx hy=> exact hx.mul_right hy |
| 80 | | id => exact Commute.one_right _ |
| 81 | | times _ _ hx hy=> exact hx.mul_left hy |
| 82 | | id => exact Commute.one_left _ |
| 83 | |
| 84 | /-- Instruction which uses only germs at a specified (transformed) point. -/ |
| 85 | def Germ (p : Optical E) (h : E→ E) := ∀ x, ∀ f g : SmoothTests E, f.val =ᶠ[𝓝 (h x)] g.val → (p f).val =ᶠ[𝓝 x] (p g).val |
| 86 | lemma focal (s : ℝ)(i : ℕ) : Germ (taylor K s i) (slide K 0) := fun _ _ _ h=> taylor_germ K h |
| 87 | omit [FiniteDimensional ℝ E] in |
| 88 | lemma Germ.identity : Germ (1:Optical E) id:= fun _ _ _ h=> h |
| 89 | omit [FiniteDimensional ℝ E] in |
| 90 | lemma Germ.times {f g : E→ E}(h : Germ p f)(he : Germ q g) : Germ (p*q) (g ∘ f):= fun x _ _ hx=> h _ _ _ (he (f x) _ _ hx) |
| 91 | lemma Germ.right (hf : Uses K p) (h : Germ q (slide K 0)) : Germ (p*q) (slide K 0) := by |
| 92 | induction hf generalizing q with |
| 93 | | id=> rw [one_mul]; exact h |
| 94 | | taylor L he s i=> |
| 95 | have he' : (slide K 0) ∘ (slide L 0)= (slide K 0) := by |
| 96 | funext x; simp only [Function.comp_apply]; rw [slide_zero L,map_sub] |
| 97 | rw [slip_mem K 0 (he (L.starProjection_apply_mem x)),zero_smul,sub_zero] |
| 98 | exact he' ▸ Germ.times (focal s i) h |
| 99 | | times _ _ hp hq=> rw [mul_assoc]; exact hp (hq h) |
| 100 | |
| 101 | -- Restricting evaluations before taking final integrals. |
| 102 | lemma all_off {f : SmoothTests E} (h : ∀ x∈Kᗮ, x∉ tsupport f.val) {a : Score E A} (he : Mark (fun p=> Germ p (slide K 0)) a) : a * instructionScore E A (mask f)=0 := by |
| 103 | induction he with |
| 104 | | zero=> rw [zero_mul] |
| 105 | | @atom p g hv=> rw [instructionScore,Algebra.TensorProduct.tmul_mul_tmul]; have hp : p * mask f=0:= by |
| 106 | apply LinearMap.ext; intro u; apply Subtype.ext; funext x; have he:= notMem_tsupport_iff_eventuallyEq.mp (h _ (show slide K 0 x∈ Kᗮ by rw [slide_zero]; exact sub_starProjection_mem_orthogonal x)); have ht:= hv x (mask f u) 0 (by filter_upwards [he] with x hx; exact mul_eq_zero_of_left hx _)|>.eq_of_nhds; rw [map_zero] at ht; exact ht |
| 107 | rw [hp,TensorProduct.tmul_zero] |
| 108 | | plus _ _ hx hy=> rw [add_mul,hx,hy,add_zero] |
| 109 | lemma Mark.chain [DecidableEq I] (p : Finset I) (f:I→Score E A) (hc:(p:Set I).Pairwise fun i j=> Commute (f i) (f j)) (h:∀i∈p,Mark (Uses K) (f i)): Mark (Uses K) (Ordered.product p f):= by |
| 110 | rw [Ordered.actual p f hc]; exact Finset.noncommProd_induction p f hc (Mark (Uses K)) (fun _ _ hx hy=> hx.prod hy (fun _ _ x y=>x.times y)) (Mark.inst (A:=A) Uses.id) h |
| 111 | end YM.Contacts.Normal |