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.RG08.Loom.Guard |
| 2 | /-! |
| 3 | # Producing genuine near-unit germ from all extracted arc equations. |
| 4 | Allow comparison with changed BOTH micro-frames near the same unit cell. |
| 5 | -/ |
| 6 | set_option autoImplicit false |
| 7 | set_option linter.unnecessarySeqFocus false |
| 8 | set_option linter.unusedSimpArgs false |
| 9 | set_option linter.unusedSectionVars false |
| 10 | set_option linter.unusedVariables false |
| 11 | set_option linter.unusedTactic false |
| 12 | noncomputable section |
| 13 | namespace YM.RG08.Loom |
| 14 | open Function Filter Lattice Wilson Exterior Bloch Next.Free Work.F08 RG Laurent Precision Finset |
| 15 | open Quire Stationary Scores Matrix PertExtension.Series PertExtension.Series.Radial PertExtension.Series.Tested Shade Reflect Analysis MeasureTheory |
| 16 | open scoped Topology ContDiff Classical BigOperators |
| 17 | variable {α : Type} {G : Gauge} {D p n r k τ : ℕ} {m c f : Side} {R : ℝ} {i : Site m} |
| 18 | variable {U V : Screed ℝ (Loc G 1)} {W : Config G m→ℝ} |
| 19 | structure Shell (G : Gauge) (m : Side) (W : Config G m→ℝ) : Prop where |
| 20 | measure : Measurable W |
| 21 | hol : ContDiffAt ℝ ω (W ∘ input G m) 0 |
| 22 | coast : ∀ {X : Type} (v w:X→Config G m) (g:X→Site m→G.El) (l:Filter X), Tendsto v l (𝓝 1)→ Tendsto w l (𝓝 1)→ (∀ᶠ t in l,w t=gauge (g t) (v t))→ W ∘ w=ᶠ[l] W ∘ v |
| 23 | structure Cargo (i : Site m) (τ k n : ℕ)(U : Screed ℝ (Loc G 1))(W : Config G m→ℝ) : Prop extends Shell G m W where |
| 24 | scores_at : ∀ j≤ n, Tensor.coeff (W ∘ input G m) j 0=stitch (strand τ k U j) m i |
| 25 | lemma strand_tid (h : ∀ i j,Tidy (U i j)) : Tidy (strand τ k U r) := by unfold strand; split; exact h ..; exact Tidy.zero .. |
| 26 | lemma large_past [Fintype α] [DecidableEq α] (U : Spine ℝ α) (n : ℕ) (x : PAC α m) (i : Site m) : (fun t:ℝ=>large i n U (t • x))=peval (fun j=> rootSong (U j) m i x) n := by |
| 27 | funext t; unfold large peval Zone.eval; rw [Finset.sum_apply]; exact sum_congr rfl fun k _=> root_scaleX .. |
| 28 | lemma large_jet (i : Site m) [Fintype α] [DecidableEq α] (U : Spine ℝ α) (hv : ∀ i,Tidy (U i)) (he:r≤n) : Tensor.coeff (large i n U) r 0=stitch (U r) m i := by |
| 29 | have he' := large_smooth (L:=n) i U; apply Tensor.ext_diag _ _ (Tensor.coeff_symm (he'.contDiffAt.of_le le_top)) ((hv r).sym i); funext x |
| 30 | rw [← jet_coefficient, ← pulse_ray _ _ (he'.contDiffAt.of_le le_top),large_past]; exact congr_fun ((ink_aspire ((peval_stop n _).contDiffAt.of_le le_top)).unique (Aspiration.polynomial _ _)) r |>.trans (if_pos he) |
| 31 | private lemma colorSure (h : Shore i τ U) (he : τ ≤ n+p) (t : G.El) (x : Link G m) : |
| 32 | let q:= large i n (strand τ p U); q (stain t x)=q x := by |
| 33 | intro q; let a (z : ℝ):= z • x; let b(z:ℝ):=z • stain t x |
| 34 | have ha : AnalyticAt ℝ a 0 := (contDiffAt_id.smul contDiffAt_const).analyticAt |
| 35 | have hb : AnalyticAt ℝ b 0 := (contDiffAt_id.smul contDiffAt_const).analyticAt |
| 36 | have hp : GaugeNear a b := ⟨fun _ _=> t,t,tendsto_const_nhds, Eventually.of_forall fun z=> by unfold a b; rw [← map_smul (stain t),stain_cons]⟩ |
| 37 | have hx:= shore_line i h p n he a b ha (zero_smul ..) hb (zero_smul ..) hp |
| 38 | let S (x : Link G m) k:= rootSong (strand τ p U k) m i x |
| 39 | rw [show large i n (strand τ p U) ∘ a= peval (S x) n from large_past .., show large i n (strand τ p U) ∘ b =peval (S (stain t x)) n from large_past ..] at hx |
| 40 | unfold q large; rw [Finset.sum_apply,Finset.sum_apply]; apply sum_congr rfl; intro j hj; have he := Nat.le_of_lt_succ (mem_range.mp hj) |
| 41 | change S _ j= S _ j |
| 42 | simpa only [he,↓reduceIte] using aspiredV hx.turn (Aspiration.polynomial _ _) (Aspiration.polynomial _ _) he |
| 43 | private lemma make_fit (h : Shore i τ U)(he : τ≤ n+p)(x : Link G m) : |
| 44 | let P:= large i n (strand τ p U); Fit (n+1) (fun t:ℝ=> P (t • x)) (fun t:ℝ=> suave P (input G m (t • x))) := by |
| 45 | let V:=fun t:ℝ=> t • x |
| 46 | let W:=foyer ∘ input G m ∘ V; let A:=content ∘ W |
| 47 | have hC : ContDiffAt ℝ ω V 0 := contDiffAt_id.smul contDiffAt_const |
| 48 | have ha : Army (input G m ∘ V) 0 := Army.powL hC; have hv:= foyer_hol ha |
| 49 | have hA : W 0=1:= by simp [W,V] |
| 50 | have hO : A 0=0 := by simp [A,hA,content_one] |
| 51 | let k:=fun t=> embassy (input G m (V t)); have hh : GaugeNear V A := ⟨k,1,by |
| 52 | have hY := (embassy_c.continuousAt.comp ha.cont).tendsto; simpa [V,outset] using! hY,(show ∀ᶠ t:ℝ in 𝓝 0,input G m (content (W t))=W t from (hA ▸ (show Tendsto W (𝓝 0) (𝓝 (W 0)) from hv.cont.tendsto)).eventually content_encodes)⟩ |
| 53 | exact shore_line i h p n he V A hC.analyticAt (zero_smul ..) ((hv.logL hA).analyticAt) hO hh |
| 54 | lemma shelved (h : Shore i τ U) (he : τ ≤ n+p)(hu : ∀ i j,Tidy (U i j)) : ∃ W:Config G m→ℝ,Cargo i τ p n U W := by |
| 55 | let L:= large i n (strand τ p U); have ht : ContDiffAt ℝ ω L 0 := (large_smooth i _).contDiffAt |
| 56 | let P:=input G m; have hP : Army P 0 := Army.powL (v:=id (α:=Link G m)) contDiffAt_id -- fix |
| 57 | have hg : Army (foyer ∘ P) 0 := foyer_hol hP; have hp : foyer (P 0)=1:=by simp [P] |
| 58 | obtain ⟨Z,hZ,Hz⟩:=(content_real G m).2; let F:=L ∘ Z ∘ foyer |
| 59 | have hm : Measurable F := (large_smooth (L:=n) i _).continuous.measurable.comp (hZ.comp foyer_c.measurable) |
| 60 | have hF : F=ᶠ[𝓝 1] suave L := ((foyer_c.tendsto' 1 1 foyer_unit).eventually Hz).mono fun q hq=>congr_arg L hq |
| 61 | have hx : Tendsto P (𝓝 0) (𝓝 1) := by simpa [P] using input_cont.tendsto (0:Link G m) |
| 62 | have hV := hF.comp_tendsto hx; have hd := hg.logL hp |
| 63 | have hD : ContDiffAt ℝ ω (F ∘ P) 0 := (show ContDiffAt ℝ ω (suave L ∘ P) 0 from (show ContDiffAt ℝ ω L (content (foyer (P 0))) from by rw [hp,content_one]; exact ht).comp (f:=fun x=> content (foyer (P x))) 0 hd).congr_of_eventuallyEq hV |
| 64 | refine ⟨F, ⟨hm,hD, ?_⟩,fun j hj=>?_⟩ |
| 65 | · intro X v w k l hv hw hh |
| 66 | apply EventuallyEq.trans (hF.comp_tendsto hw); apply EventuallyEq.trans _ (hF.symm.comp_tendsto hv) |
| 67 | filter_upwards [suave_speaks L (fun u x=> colorSure h he u x) hv (k:=k), hh] with x hX hY; simp only [Function.comp_apply,hY]; exact hX |
| 68 | rw [← large_jet i _ (fun j=> strand_tid hu) hj] |
| 69 | apply Tensor.ext_diag _ _ (Tensor.coeff_symm (hD.of_le le_top)) (Tensor.coeff_symm (ht.of_le le_top)); funext x |
| 70 | have hA := make_fit h he x; let W:=fun t:ℝ=> t • x |
| 71 | have hh: Tendsto W (𝓝[>]0) (𝓝 0) := by simpa [W] using! ((continuous_id.smul (continuous_const (y:=x))).tendsto (0:ℝ)).mono_left nhdsWithin_le_nhds |
| 72 | have hh' : Fit (n+1) ((F∘P) ∘ W) (L ∘ W) := (Fit.supply (hV.comp_tendsto hh) _).join hA.turn |
| 73 | exact aspiredV hh' (directions (hD.of_le le_top) x) (directions (ht.of_le le_top) x) hj |
| 74 | |
| 75 | -- Fit statement also in own parameter. k = requested grade bound |
| 76 | lemma fileFit {x : ℝ→ Link G m} (hx : ContinuousAt x 0) {W : ℕ→Config G m→ℝ} (hp : ∀ p,Cargo i τ p (k+τ) U (W p)) : |
| 77 | Fit (τ+(k+1)) (fun t:ℝ=> ∑ p∈Finset.range (k+τ+1), t^p* W p (input G m (t • x t))) (fun t=> t^τ *arco m (fun e=>large i (τ+e) (U e)) x k t) := by |
| 78 | have ht (t:ℝ) : t^τ*arco m (fun e=>large i (τ+e) (U e)) x k t = ∑ p ∈Finset.range (k+τ+1), t^p*large i (k+τ-p) (strand τ p U) (t•x t) := Eq.symm (resume ..) |
| 79 | simp_rw [ht] |
| 80 | refine Fit.emp (s:=Finset.range (k+τ+1)) (f:=fun p t=> t^p * W p (input G m (t•x t))) (fun p hv=>?_) |
| 81 | have hI:= Finset.mem_range.mp hv |
| 82 | have he:= (jet_path (W p∘input G m) x (life_price (hx.tendsto.mono_left nhdsWithin_le_nhds)) ((hp p).hol.of_le le_top) (k+τ-p)).right (ruler p p le_rfl) |
| 83 | rw [show τ+(k+1)=p+(k+τ-p+1) by omega]; refine he.join (Fit.supply (Eventually.of_forall ?_) _) |
| 84 | intro t; change t^p * (∑ b∈Finset.range _,_)= t^p * _ |
| 85 | congr 1; unfold large; rw [Finset.sum_apply]; refine sum_congr rfl fun a ha=>?_ ; rw [jet_coefficient, (hp p).scores_at a (by have he:= Finset.mem_range.mp ha; omega)]; exact Eq.symm (root_scaleX ..) |
| 86 | end YM.RG08.Loom |