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.Hidden |
| 2 | import YM.Next.MAXWELL.Magnitude |
| 3 | import YM.Work.A06 |
| 4 | |
| 5 | |
| 6 | /-! |
| 7 | # Real collinear scenes detect the vector's global charge |
| 8 | |
| 9 | Route each strict target to an allowed testing line with straight |
| 10 | segment inside conf, monotone preordering ties as needed to preserve |
| 11 | spacing condition (distinct, not a uniform lower bound separate from |
| 12 | the inf of this segment). Only need nonempty axis choice transverse to |
| 13 | the component being tested. |
| 14 | -/ |
| 15 | set_option autoImplicit false |
| 16 | noncomputable section |
| 17 | namespace YM.Maxwell.Free |
| 18 | open Set Function Filter Tensor Analysis MeasureTheory Wick Climb Ward |
| 19 | open scoped ContDiff Topology BigOperators InnerProductSpace ComplexOrder |
| 20 | variable {G : Gauge} (F : Labels.Frames G) {j k n d : ℕ} |
| 21 | |
| 22 | lemma lenses (v : Fin n → (Model F).Field d) (Q : Climb.Matrix d (d+1) (Model F)) : |
| 23 | AnalyticOnNhd ℝ (diagram v Q) (conf _) := by |
| 24 | unfold diagram; intro x hx |
| 25 | apply ContDiffAt.analyticAt |
| 26 | apply ContDiffAt.sum; intro i _ |
| 27 | unfold Ward.disc; simp_rw [display]; exact kernel_analytic _ hx |
| 28 | |
| 29 | private lemma tiesAway (p : Fin n → ℝ) : ∃ q : Fin n → ℝ,Injective q ∧ ∀ i j,p i<p j→ q i<q j := by |
| 30 | classical |
| 31 | let f (i : Fin n) t := p i+t*i.val |
| 32 | have ht (i : Fin n) : Tendsto (f i) little (𝓝 (p i)) := by |
| 33 | have hv := (show Tendsto id little (𝓝 (0:ℝ)) from tendsto_id.mono_left nhdsWithin_le_nhds).mul_const ((i.val:ℝ)) |
| 34 | simpa [f] using (tendsto_const_nhds (x:=p i)).add hv |
| 35 | have hh i j : ∀ᶠ t in little,p i<p j→ f i t<f j t := by |
| 36 | by_cases h:p i<p j |
| 37 | · simp only [h,true_imp_iff]; exact (ht i).eventually_lt (ht j) h |
| 38 | simp [h] |
| 39 | have hk : ∀ᶠ t in little,∀ i j,p i < p j → f i t<f j t := eventually_all.mpr fun i => eventually_all.mpr fun j=>hh i j |
| 40 | obtain ⟨t,h,hT⟩ := (hk.and (self_mem_nhdsWithin (a:=(0:ℝ)) (s:=Ioi 0))).exists |
| 41 | refine ⟨fun i=> f i t,fun i j => ?_,h⟩ |
| 42 | intro he |
| 43 | rcases lt_trichotomy (p i) (p j) with H|H|H |
| 44 | · exact ((h i j H).ne he).elim |
| 45 | · dsimp only [f] at he; rw [H] at he |
| 46 | apply Fin.ext; exact_mod_cast (mul_left_cancel₀ (show t≠0 from (show t>0 from hT).ne') (add_left_cancel he)) |
| 47 | exact ((h j i H).ne he.symm).elim |
| 48 | |
| 49 | private lemma to_scanner {x : Points n} (hx : x∈conf _) (a : Axis) : ∃ y∈conf n,onLine a y ∧ segment ℝ y x ⊆ conf _ := by |
| 50 | obtain ⟨p,hp,hA⟩ := tiesAway (fun i => x i a) |
| 51 | let y := points fun i => p i • basis a |
| 52 | have he : y∈conf n := fun i j h => hp (smul_left_injective ℝ (show basis a≠0 from norm_ne_zero_iff.mp (by simp)) h) |
| 53 | refine ⟨y,he,fun i => ⟨p i,rfl⟩,?_⟩ |
| 54 | rintro z ⟨u,t,hu,hW,h,rfl⟩ |
| 55 | by_cases ho : u=0 |
| 56 | · rw [ho,zero_add] at h; rw [ho,h,zero_smul,one_smul,zero_add]; exact hx |
| 57 | by_cases hv : t=0 |
| 58 | · rw [hv,add_zero] at h; rw [hv,h,zero_smul,one_smul,add_zero]; exact he |
| 59 | have hh (i : Fin n) : (u • y+t • x) i a = u*p i+t*x i a := by simp [y] |
| 60 | intro i j hi |
| 61 | have ht : (u • y+t • x) i a=(u • y+t • x) j a := congr_arg (fun x : E4 => x a) hi |
| 62 | rw [hh,hh] at ht |
| 63 | rcases lt_trichotomy (x i a) (x j a) with H|H|H |
| 64 | · have h := hA i j H |
| 65 | exact ((add_lt_add_of_lt_of_le (mul_lt_mul_of_pos_left h (lt_of_le_of_ne hu (Ne.symm ho))) (mul_le_mul_of_nonneg_left H.le hW)).ne ht).elim |
| 66 | · rw [H] at ht; exact hp (mul_left_cancel₀ ho (add_right_cancel ht)) |
| 67 | have h := hA j i H |
| 68 | exact ((add_lt_add_of_lt_of_le (mul_lt_mul_of_pos_left h (lt_of_le_of_ne hu (Ne.symm ho))) (mul_le_mul_of_nonneg_left H.le hW)).ne ht.symm).elim |
| 69 | |
| 70 | lemma scenes_gone (t : Vector d (Model F)) : (∀ s : Scene (Model F) d, s.lens t=0) ↔ quiet F t := by |
| 71 | constructor |
| 72 | · intro v n a p x hx |
| 73 | obtain ⟨b,hb⟩ := exists_ne a |
| 74 | obtain ⟨y,hy,hA,h⟩ := to_scanner hx b |
| 75 | let f := diagram p (t a) |
| 76 | have hh (m) (B : Fin m → Points n) : iteratedFDeriv ℝ m f y B=0 := v ⟨n,p,b,a,hb.symm,y,hy,hA,m,B⟩ |
| 77 | have hg : f =ᶠ[𝓝 y] 0 := by |
| 78 | obtain ⟨P,r,hP⟩ := lenses F p _ y hy |
| 79 | have hw : Tendsto (fun z : Points n => z-y) (𝓝 y) (𝓝 0) := by |
| 80 | simpa only [id_eq,sub_self] using (tendsto_id (x:=𝓝 y)).sub (tendsto_const_nhds (x:=y)) |
| 81 | filter_upwards [hw.eventually (Metric.eball_mem_nhds _ hP.r_pos)] with z hz |
| 82 | change z-y ∈ Metric.eball _ _ at hz |
| 83 | have hl := hP.hasSum_iteratedFDeriv hz |
| 84 | change HasSum (fun i => ((↑(i.factorial):ℝ)⁻¹) • iteratedFDeriv ℝ i f y fun _=> z - y) _ at hl |
| 85 | simp_rw [hh,smul_zero,add_sub_cancel] at hl |
| 86 | exact hl.unique hasSum_zero |
| 87 | exact ((lenses F p _).mono h).eqOn_zero_of_preconnected_of_eventuallyEq_zero (convex_segment .. |>.isPreconnected) (left_mem_segment ..) hg (right_mem_segment ..) |
| 88 | intro H s |
| 89 | have h : diagram s.v (t s.b)=ᶠ[𝓝 s.x] 0 := (show EqOn _ _ (conf s.n) from fun x hx => H _ _ _ _ hx).eventuallyEq_of_mem ((conf_open _).mem_nhds s.strict) |
| 90 | unfold Scene.lens; rw [(h.iteratedFDeriv ℝ s.m).eq_of_nhds, iteratedFDeriv_zero]; rfl |
| 91 | |
| 92 | lemma finite_lenses (d : ℕ) : ∃ L : Select (standard F) d, ∀ t,L.reads t=0 ↔ quiet F t := by |
| 93 | classical |
| 94 | let K s := LinearMap.ker (Work.A06.lensL (S:=Model F) (d:=d) (hierarchy F) s).toLinearMap |
| 95 | let V (S : Finset (Scene (Model F) d)) := ⨅ s∈ S,K s |
| 96 | let R k : Prop := ∃ S : Finset (Scene (Model F) d),Module.finrank ℝ (V S)=k |
| 97 | have hr : ∃ k,R k := ⟨_,∅,rfl⟩ |
| 98 | obtain ⟨S,hS⟩ : R (Nat.find hr) := Nat.find_spec hr |
| 99 | have he : V S= ⨅ s, K s := by |
| 100 | apply le_antisymm |
| 101 | · apply le_iInf; intro s |
| 102 | have ht : V (insert s S) ≤ V S := by |
| 103 | unfold V; apply le_iInf; intro i; apply le_iInf; intro h |
| 104 | exact iInf₂_le i (Finset.mem_insert_of_mem h) |
| 105 | have hs := Nat.find_min' hr (show R _ from ⟨insert s S,rfl⟩) |
| 106 | have hz : V (insert s S)=V S := Submodule.eq_of_le_of_finrank_le ht (hS ▸ hs) |
| 107 | rw [← hz]; exact iInf₂_le s (by simp) |
| 108 | exact le_iInf fun a => le_iInf fun _ => iInf_le K a |
| 109 | let e := Fintype.equivFin ↥S |
| 110 | let s (i) : Scene (Model F) d := (e.symm i).val |
| 111 | let h := hierarchy F |
| 112 | let L : V0 (standard F) d →L[ℝ] (Fin (Fintype.card ↥S) → ℂ) := ContinuousLinearMap.pi fun i => Work.A06.lensL h (s i) |
| 113 | let P : Select (standard F) d := { m := Fintype.card ↥S, rows := s, reads := L, stimulated := fun i p => rfl } |
| 114 | refine ⟨P,fun t => (Iff.trans ?_ (scenes_gone F _))⟩ |
| 115 | change Vector d (Model F) at t |
| 116 | constructor |
| 117 | · intro ht k |
| 118 | have hv : t∈ V S := by |
| 119 | unfold V; rw [Submodule.mem_iInf]; intro r; rw [Submodule.mem_iInf]; intro h |
| 120 | let i : ↥S := ⟨r,h⟩ |
| 121 | rw [← show s (e i)=r by simp [s,i]]; exact congr_fun ht (e i) |
| 122 | rw [he, Submodule.mem_iInf] at hv; exact hv k |
| 123 | intro ht; exact funext fun i => ht _ |
| 124 | |
| 125 | lemma scanner (h : G.Simple) : ∃ N,∀ d≥N,∃ P : Select (standard F) d, Ens P (scheme F) (hierarchy F).spin := by |
| 126 | obtain ⟨d,H⟩ := exposed h |
| 127 | refine ⟨max d 4,fun j hj => ?_⟩ |
| 128 | obtain ⟨A,hA⟩ := finite_lenses F j |
| 129 | have hp : 4≤j := le_trans (le_max_right ..) hj |
| 130 | have hu : d≤j := le_trans (le_max_left ..) hj |
| 131 | exact ⟨A,(native (scheme F) (hierarchy F) (scheme_filters F) (scheme_derives F) (phase_orientation F)).sight j,born h F hp, |
| 132 | fun t v => (hA t).trans (charges_quiet F h hp (fun w p hp h => H _ _ hp (ghost_le hu h)) t v)⟩ |
| 133 | end YM.Maxwell.Free |