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.Next.MAXWELL.System |
| 2 | |
| 3 | /-! |
| 4 | # Why the tensor rotation on Bel gives actual finite matrices (entire extension) |
| 5 | |
| 6 | Analytic lift on complex matrix-entry arrays. Don't use values off |
| 7 | (admissible, seen by analytic continuation) matrices as any claimed |
| 8 | group action. We'll only specialize to descended matrices later. |
| 9 | -/ |
| 10 | set_option autoImplicit false |
| 11 | noncomputable section |
| 12 | namespace YM.Maxwell.Free |
| 13 | open Set Function Filter Tensor Analysis MeasureTheory Wick |
| 14 | open scoped ContDiff Topology BigOperators InnerProductSpace ComplexOrder |
| 15 | variable {G : Gauge} (F : Labels.Frames G) {d n : ℕ} |
| 16 | |
| 17 | abbrev Ink := Axis → Axis → ℂ |
| 18 | def paints (s : Ortho) : Ink := fun i j => (s.val i j : ℂ) |
| 19 | |
| 20 | lemma reads_cont : Continuous paints := continuous_pi fun i => continuous_pi fun j => |
| 21 | Complex.continuous_ofReal.comp (show Continuous fun s : Ortho => s.val i j from ((continuous_apply j).comp ((continuous_apply i).comp continuous_subtype_val))) |
| 22 | |
| 23 | def Writes (f : Ortho → ℂ) : Prop := ∃ g : Ink → ℂ, ContDiff ℂ ω g ∧ ∀ s, g (paints s)=f s |
| 24 | |
| 25 | private lemma writes_const (x : ℂ) : Writes (fun _ => x) := ⟨_,contDiff_const,fun _ => rfl⟩ |
| 26 | private lemma writes_mul {f g} (h : Writes f) (k : Writes g) : Writes (fun x => f x*g x) := by |
| 27 | obtain ⟨a,A,ha⟩ := h; obtain ⟨b,B,hb⟩ := k; exact ⟨fun z => a z*b z,A.mul B,fun s => by dsimp; rw [ha,hb]⟩ |
| 28 | private lemma writes_add {f g} (h : Writes f) (k : Writes g) : Writes (fun x => f x+g x) := by |
| 29 | obtain ⟨a,A,ha⟩ := h; obtain ⟨b,B,hb⟩ := k; exact ⟨fun z => a z+b z,A.add B,fun s => by dsimp; rw [ha,hb]⟩ |
| 30 | |
| 31 | /-- Complex stencil on real test Taylor coefficients (acts on the two |
| 32 | curvature indices and *all* of the derivative indices). -/ |
| 33 | def curled (A : Shell G d) (v : Fin d → E4) (c : G.ColorIndex) (a b : Axis) (Z : Ink) := |
| 34 | ∑ i : Axis, ∑ l : Axis, Z i a * Z l b * (∑ w : Fin d → Axis, |
| 35 | (∏ k : Fin d, ∑ m : Axis, Z (w k) m * (v k m : ℂ)) * (A.val i l (basis ∘ w) c : ℂ)) |
| 36 | |
| 37 | lemma writes_basic (A : Shell G d) (v : Fin d → E4) (c : G.ColorIndex) (a b : Axis) : |
| 38 | ContDiff ℂ ω (curled A v c a b) ∧ ∀ s : Ortho, curled A v c a b (paints s) = |
| 39 | (probeTurn s (leg v c a b) A : ℂ) := by |
| 40 | classical |
| 41 | let T (k : Fin d) (Z : Ink) (i : Axis) : ℂ := ∑ l : Axis, Z i l * (v k l : ℂ) |
| 42 | let L (i l : Axis) (Z : Ink) := ∑ w : Fin d → Axis, |
| 43 | (∏ k : Fin d, T k Z (w k)) * (A.val i l (basis ∘ w) c : ℂ) |
| 44 | change ContDiff ℂ ω (fun Z => ∑ i : Axis, ∑ l : Axis, Z i a * Z l b * L i l Z) ∧ _ |
| 45 | refine ⟨?_,fun s => ?_⟩ |
| 46 | · have he (i l : Axis) : ContDiff ℂ ω (L i l) := by |
| 47 | unfold L; refine ContDiff.sum fun w _ => ContDiff.mul (contDiff_prod ?_) contDiff_const |
| 48 | intro k _; unfold T |
| 49 | apply ContDiff.sum; intro l _; exact ContDiff.mul (by fun_prop) contDiff_const |
| 50 | apply ContDiff.sum; intro i _; apply ContDiff.sum; intro l _ |
| 51 | exact ContDiff.mul (ContDiff.mul (by fun_prop) (by fun_prop)) (he i l) |
| 52 | · have ht (i l : Axis) : L i l (paints s) = ((A.val i l (Ortho.move s ∘ v) c : ℝ):ℂ) := by |
| 53 | let g := fun k => Ortho.move s (v k) |
| 54 | have hi k a : T k (paints s) a = (g k a:ℂ) := by simp only [T,paints,← Complex.ofReal_mul,← Complex.ofReal_sum]; rfl |
| 55 | have hk : A.val i l g = ∑ w : Fin d → Axis,(∏ k : Fin d,g k (w k)) • A.val i l (basis ∘ w) := by |
| 56 | let B := A.val i l |
| 57 | let U (k : Fin d) (i : Axis) := g k i • basis i |
| 58 | conv_lhs => rw [show g=fun k => ∑ i, U k i from funext fun k => by ext a; simp [U]] |
| 59 | rw [ContinuousMultilinearMap.map_sum] |
| 60 | apply Finset.sum_congr ?_ |
| 61 | · intro k _; exact B.map_smul_univ _ _ |
| 62 | ext w; simp |
| 63 | change L _ _ _ = (A.val i l g c:ℂ); rw [hk]; simp only [WithLp.ofLp_sum,Finset.sum_apply, PiLp.smul_apply, smul_eq_mul] |
| 64 | unfold L; simp_rw [hi]; push_cast; rfl |
| 65 | change (∑ i : Axis, ∑ l : Axis, paints s i a * paints s l b * L i l (paints s))= (turnJ s⁻¹ A.val a b v c : ℂ) |
| 66 | simp_rw [turns_apply,inv_entry,inv_inv,WithLp.ofLp_sum,Finset.sum_apply,PiLp.smul_apply,smul_eq_mul, ht]; push_cast; rfl |
| 67 | |
| 68 | lemma writes_entry (p : Probe G d) (A : Shell G d) : Writes (fun s => (probeTurn s p A : ℂ)) := by |
| 69 | classical |
| 70 | induction p using leg_probe_induction with |
| 71 | | vars v c a b => |
| 72 | exact ⟨_, (writes_basic A v c a b).1,(writes_basic A v c a b).2⟩ |
| 73 | | zero => simpa using writes_const 0 |
| 74 | | add p q hp hq => |
| 75 | simp only [map_add, LinearMap.add_apply,Complex.ofReal_add]; exact writes_add hp hq |
| 76 | | smul t p hp => |
| 77 | simp only [map_smul,LinearMap.smul_apply,smul_eq_mul,Complex.ofReal_mul]; exact writes_mul (writes_const _) hp |
| 78 | |
| 79 | lemma writes_pol (A : TaylorTower G) (p : WickPol G) : Writes (fun s => probe A (reflectPol s p)) := by |
| 80 | induction p using MvPolynomial.induction_on with |
| 81 | | C a => simpa [reflectPol,probe] using writes_const a |
| 82 | | add p q hp hq => simpa only [map_add] using writes_add hp hq |
| 83 | | mul_X p k hp => |
| 84 | simp_rw [← symbol_coordinate k, map_mul,reflect_symbol,symbol_test] |
| 85 | exact writes_mul hp (writes_entry _ _) |
| 86 | |
| 87 | lemma writes_derivative (A : TaylorTower G) (p : WickPol G) (s : Ortho.Skew) : |
| 88 | HasDerivAt (fun t => probe A (reflectPol (Ortho.oneParameter s t) p)) (probe A (rewired (wheel G s) p)) 0 := by |
| 89 | induction p using MvPolynomial.induction_on with |
| 90 | | C a => |
| 91 | simp [reflectPol,rewired,probe]; exact hasDerivAt_const _ _ |
| 92 | | add p q hp hq => simp only [map_add]; exact hp.add hq |
| 93 | | mul_X p k hp => |
| 94 | rw [← symbol_coordinate k]; simp_rw [map_mul,reflect_symbol,symbol_test,Derivation.leibniz, smul_eq_mul, |
| 95 | map_add,map_mul,rewired_symbol,symbol_test] |
| 96 | have he := hp.fun_mul (Complex.ofRealCLM.hasFDerivAt.comp_hasDerivAt 0 (rotate_test s (coordinateLeg k) (A k.1))) |
| 97 | refine he.congr_deriv ?_ |
| 98 | rw [Function.comp_apply,Work.A13.oneParameter_zero, pol_one]; |
| 99 | have hs : ∀ q : Probe G k.1, probeTurn 1 q=q := fun q => by |
| 100 | ext x; change q (solutionTurn (1:Ortho)⁻¹ x)=_; rw [inv_one,solution_id] |
| 101 | rw [hs,mul_comm (probe A (rewired (wheel G s) p)),add_comm]; rfl |
| 102 | |
| 103 | variable (d) |
| 104 | |
| 105 | def process (A : TaylorTower G) : (Model F).Field d →ₗ[ℂ] ℂ := |
| 106 | (probe A).toLinearMap.comp (address F d) |
| 107 | |
| 108 | lemma separates : Submodule.span ℂ (Set.range (process F d)) = ⊤ := by |
| 109 | let V := Submodule.span ℂ (Set.range (process F d)) |
| 110 | change V=⊤ |
| 111 | have he : V.dualCoannihilator=⊥ := by |
| 112 | apply le_antisymm _ bot_le; intro p hp; apply (Submodule.mem_bot ..).mpr |
| 113 | apply address_inj F d; rw [map_zero]; refine equalPol _ _ fun A => ?_ |
| 114 | rw [map_zero]; exact (Submodule.mem_dualCoannihilator _).1 hp _ (Submodule.subset_span ⟨A,rfl⟩) |
| 115 | apply Submodule.eq_top_of_finrank_eq |
| 116 | have hm := Subspace.finrank_add_finrank_dualCoannihilator_eq V |
| 117 | rw [he,finrank_bot,add_zero] at hm |
| 118 | rw [hm,Subspace.dual_finrank_eq] |
| 119 | |
| 120 | lemma paints_gear (s : Ortho) (x : (Model F).Field d) : address F d ((gear F).act d s x) = reflectPol s (address F d x) := |
| 121 | address_rot .. |
| 122 | |
| 123 | lemma writes_any (p : Module.Dual ℂ ((Model F).Field d)) (x : (Model F).Field d) : |
| 124 | Writes (fun s => p ((gear F).act d s x)) := by |
| 125 | refine Submodule.span_induction (p := fun p _ => Writes (fun s => p ((gear F).act d s x))) |
| 126 | ?_ (writes_const _) (fun a b _ _ ha hb => writes_add ha hb) |
| 127 | (fun c a _ ha => writes_mul (writes_const c) ha) (show p∈_ from separates F d |>.symm ▸ Submodule.mem_top) |
| 128 | rintro w ⟨A,rfl⟩ |
| 129 | change Writes (fun s => probe A (address F d _)); simp_rw [paints_gear] |
| 130 | exact writes_pol .. |
| 131 | |
| 132 | lemma actual_generator (v : Module.Dual ℂ ((Model F).Field d)) (u : (Model F).Field d) (s : Ortho.Skew) : |
| 133 | HasDerivAt (fun t => v ((gear F).act d (Ortho.oneParameter s t) u)) (v ((gear F).lie d s u)) 0 := by |
| 134 | refine Submodule.span_induction (p := fun v _ => HasDerivAt (fun t => v ((gear F).act d (Ortho.oneParameter s t) u)) |
| 135 | (v ((gear F).lie d s u)) 0) ?_ (hasDerivAt_const (0:ℝ) (0:ℂ)) (fun _ _ _ _ ha hb => ha.add hb) |
| 136 | (fun c b _ h => h.const_mul c) (show v ∈ _ from separates F d |>.symm ▸ Submodule.mem_top) |
| 137 | rintro v ⟨A,rfl⟩; change HasDerivAt (fun t => probe A (address F d _)) |
| 138 | (probe A (address F d (scopeRise F d s u))) 0 |
| 139 | simp_rw [paints_gear,scopeRewrite]; exact writes_derivative .. |
| 140 | end YM.Maxwell.Free |