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.Beacon |
| 2 | import YM.Next.MAXWELL.ComplexInk |
| 3 | |
| 4 | /-! |
| 5 | # Entire identity transfer, finite-dimensional actions |
| 6 | -/ |
| 7 | set_option autoImplicit false |
| 8 | noncomputable section |
| 9 | namespace YM.Maxwell.Free |
| 10 | open Set Function Filter Analysis Mink |
| 11 | open scoped ContDiff Topology BigOperators InnerProductSpace ComplexOrder |
| 12 | |
| 13 | lemma from_real_parameter {V : Type*} [NormedAddCommGroup V] [NormedSpace ℂ V] |
| 14 | {F G : ℂ → V} (h : AnalyticOnNhd ℂ F univ) (g : AnalyticOnNhd ℂ G univ) |
| 15 | (hg : ∀ x : ℝ, F x=G x) : F=G := by |
| 16 | apply h.eq_of_frequently_eq g (z₀:=0) |
| 17 | have H : Tendsto ((↑) : ℝ → ℂ) (𝓝[≠] 0) (𝓝[≠] 0) := by |
| 18 | apply tendsto_nhdsWithin_iff.mpr |
| 19 | refine ⟨?_,?_⟩ |
| 20 | · simpa using (Complex.continuous_ofReal.continuousAt (x:=0)).mono_left |
| 21 | (nhdsWithin_le_nhds (s := {0}ᶜ)) |
| 22 | filter_upwards [self_mem_nhdsWithin] with y hy; exact fun ht : (y:ℂ) = 0 => hy (by exact_mod_cast ht) |
| 23 | by_contra! w |
| 24 | obtain ⟨i,hi⟩ := (H.eventually w).exists; exact hi (hg _) |
| 25 | |
| 26 | def lands (A : Ink) : Prop := ∀ p q : Ink → ℂ, ContDiff ℂ ω p → ContDiff ℂ ω q → |
| 27 | (∀ s, p (paints s) = q (paints s)) → p A=q A |
| 28 | |
| 29 | lemma product_lands {A B} (a : lands A) (b : lands B) : lands (follow A B) := by |
| 30 | intro p q hp hq h |
| 31 | have he (s : Ortho) : p (follow A (paints s)) = q (follow A (paints s)) := |
| 32 | a (fun A => p (follow A (paints s))) (fun A => q (follow A (paints s))) |
| 33 | (hp.comp (follow_right _)) (hq.comp (follow_right _)) fun t => by simp only [follows]; exact h _ |
| 34 | exact b (fun B => p (follow A B)) (fun B => q (follow A B)) (hp.comp (follow_left A)) (hq.comp (follow_left A)) he |
| 35 | |
| 36 | lemma boosted (a : SpaceAxis) (t : ℝ) : lands (stencil ((Ray.fromAxis a).boost t)) := by |
| 37 | intro p q hp hq h |
| 38 | have he : ∀ x : ℝ, p (stroll a x) = q (stroll a x) := fun x => by rw [← writes_axes]; exact h _ |
| 39 | have hh := from_real_parameter |
| 40 | (funn p hp a) (funn q hq a) he |
| 41 | rw [night]; exact congr_fun hh _ |
| 42 | where |
| 43 | funn (p : Ink → ℂ) (hp : ContDiff ℂ ω p) (a) : AnalyticOnNhd ℂ (fun z => p (stroll a z)) univ := fun z _ => |
| 44 | ((hp.comp (stroll_diff a)).contDiffAt).analyticAt |
| 45 | |
| 46 | lemma boarded (g : Lorentz) : lands (stencil g) := by |
| 47 | have h : g ∈ Bid.beamGens := by rw [show Bid.beamGens=⊤ from Work.A16.answer]; apply Subgroup.mem_top |
| 48 | have hv : lands (stencil 1) := by intro p q hp hq hh; rw [stencil_one]; exact hh _ |
| 49 | suffices H : lands (stencil g) ∧ lands (stencil g⁻¹) from H.1 |
| 50 | induction h using Subgroup.closure_induction with |
| 51 | | mem g hg => |
| 52 | rcases hg with ⟨s,hs,rfl⟩|⟨i,t,rfl⟩ |
| 53 | · refine ⟨fun p q hp hq h => by rw [photos _ hs]; exact h _,?_⟩ |
| 54 | obtain ⟨t,ht,H⟩ := Work.A16.exists_room_of_fix _ (fixed_inverse (L := Lorentz.room s hs) (spatial_axis s hs)) |
| 55 | intro p q hp hq h; rw [← H,photos t ht]; exact h _ |
| 56 | rw [Ray.boost_neg]; exact ⟨boosted _ _,boosted _ _⟩ |
| 57 | | one => simpa using And.intro hv hv |
| 58 | | mul x y hx hy ha hb => |
| 59 | rw [stencil_mul,mul_inv_rev,stencil_mul]; exact ⟨product_lands ha.1 hb.1,product_lands hb.2 ha.2⟩ |
| 60 | | inv x hx H => rw [inv_inv]; exact And.symm H |
| 61 | |
| 62 | lemma fixes_scripts (g : Lorentz) {V : Type*} [NormedAddCommGroup V] [NormedSpace ℂ V] [FiniteDimensional ℂ V] |
| 63 | {p q : Ink → V} (hp : ContDiff ℂ ω p) (hq : ContDiff ℂ ω q) |
| 64 | (h : ∀ k : Ortho, p (paints k)=q (paints k)) : p (stencil g)=q (stencil g) := by |
| 65 | let B := Module.finBasis ℂ V |
| 66 | apply B.equivFun.injective; funext i |
| 67 | let L := (B.coord i).toContinuousLinearMap |
| 68 | exact boarded g _ _ (L.contDiff.comp hp) (L.contDiff.comp hq) (fun k => congr_arg L (h k)) |
| 69 | |
| 70 | variable {G : Gauge} (F : Labels.Frames G) |
| 71 | |
| 72 | lemma settles (d : ℕ) : ∃ f : Ink → Module.End ℂ ((Model F).Field d), |
| 73 | (∀ v, ContDiff ℂ ω fun A => f A v) ∧ ∀ s : Ortho, f (paints s)=((gear F).act d s).toLinearMap := by |
| 74 | let B := Module.finBasis ℂ ((Model F).Field d) |
| 75 | choose g hg hh using (show ∀ i j, Writes (fun s => B.coord i ((gear F).act d s (B j))) from fun i j => |
| 76 | writes_any F d (B.coord i) (B j)) |
| 77 | let f (A : Ink) := B.constr ℂ (fun j => ∑ i, g i j A • B i) |
| 78 | refine ⟨f,?_,fun s => ?_⟩ |
| 79 | · intro v |
| 80 | rw [← B.sum_repr v]; simp_rw [map_sum,map_smul] |
| 81 | have he (j) (A : Ink) : f A (B j) = ∑ i, g i j A • B i := B.constr_basis .. |
| 82 | simp_rw [he] |
| 83 | apply ContDiff.sum; intro j _ |
| 84 | have ht : ContDiff ℂ ω fun x => ∑ i, g i j x • B i := ContDiff.sum fun i _ => |
| 85 | (show ContDiff ℂ ω (fun x => g i j x • B i) from (hg i j).smul (show ContDiff ℂ ω (fun _ : Ink => B i) from contDiff_const)) |
| 86 | exact ht.const_smul _ |
| 87 | apply B.ext |
| 88 | intro j; simp only [f,Module.Basis.constr_basis,hh]; exact B.sum_repr _ |
| 89 | |
| 90 | def tracks (d : ℕ) := (settles F d).choose |
| 91 | lemma lit (d : ℕ) (s : Ortho) (v) : tracks F d (paints s) v=(gear F).act d s v := by |
| 92 | unfold tracks; rw [(settles F d).choose_spec.2]; rfl |
| 93 | lemma lampCurve {d} (p : (Model F).Field d) : ContDiff ℂ ω fun A => tracks F d A p := (settles F d).choose_spec.1 _ |
| 94 | |
| 95 | def routine (d : ℕ) (x : Lorentz) := tracks F d (stencil x) |
| 96 | |
| 97 | @[simp] lemma drives_one (d) (v) : routine F d 1 v=v := by rw [routine,stencil_one,lit,(gear_port F).fixes] |
| 98 | @[simp] lemma drives_mul (d) (v w : Lorentz) (x) : routine F d (v*w) x = routine F d v (routine F d w x) := by |
| 99 | have h (s : Ortho) (g : Lorentz) (x : (Model F).Field d) : |
| 100 | tracks F d (follow (paints s) (stencil g)) x = tracks F d (paints s) (tracks F d (stencil g) x) := |
| 101 | fixes_scripts g ((lampCurve F x).comp (follow_left (paints s))) |
| 102 | (show ContDiff ℂ ω (fun A => tracks F d (paints s) (tracks F d A x)) from |
| 103 | (LinearMap.toContinuousLinearMap (tracks F d (paints s))).contDiff.comp (lampCurve F _)) (fun k => by |
| 104 | simp only [Function.comp_apply,follows,lit,(gear_port F).sends]) |
| 105 | unfold routine; rw [stencil_mul] |
| 106 | exact fixes_scripts v ((lampCurve F x).comp (follow_right _)) (lampCurve F (tracks F d (stencil w) x)) fun s => h s w x |
| 107 | |
| 108 | def hop (d) (x : Lorentz) := LinearEquiv.ofLinear (routine F d x) (routine F d x⁻¹) |
| 109 | (by apply LinearMap.ext; intro v; rw [LinearMap.comp_apply,← drives_mul,mul_inv_cancel]; exact drives_one ..) |
| 110 | (by apply LinearMap.ext; intro v; rw [LinearMap.comp_apply,← drives_mul,inv_mul_cancel]; exact drives_one ..) |
| 111 | |
| 112 | lemma hop_eval (d) (v x) : hop F d v x=tracks F d (stencil v) x := rfl |
| 113 | |
| 114 | lemma hop_coherent {d e} (h : d≤e) (x : Lorentz) (p : (Model F).Field d) : |
| 115 | (scheme F).rise h (hop F d x p) = hop F e x ((scheme F).rise h p) := by |
| 116 | simp only [hop_eval] |
| 117 | exact fixes_scripts x (((scheme F).rise h).toContinuousLinearMap.contDiff.comp (lampCurve F p)) (lampCurve F _) (by |
| 118 | intro s; simp only [Function.comp_apply,lit,(gear_laws F).filtered]; rfl) |
| 119 | |
| 120 | lemma hop_cont (d : ℕ) (p : (Model F).Field d) : Continuous (fun s => hop F d s p) := |
| 121 | (lampCurve F p).continuous.comp stencil_cont |
| 122 | |
| 123 | end YM.Maxwell.Free |