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.RG05Readout.Offsets.Predict |
| 2 | import YM.PhysicalNext.RG_NEXT_COMPLETE_REPEATABLE_NONLINEAR_STEP.Cub.Pieces |
| 3 | /-! |
| 4 | # Registered stencil at offset, on true torus |
| 5 | -/ |
| 6 | set_option autoImplicit false |
| 7 | noncomputable section |
| 8 | namespace YM.RG05Readout.Offsets |
| 9 | open Function Filter Set Lattice Wilson MeasureTheory Pressure RG Precision Labels Source Source.Drops |
| 10 | open Push.Local Planned.PrimaryIntegral295 PPX Flutes Place Bazaars Exterior Streets |
| 11 | open WardBin.Lies Cabins Bid |
| 12 | open Tree Next.Free Matrix Bloch Next Next.Foundations |
| 13 | open PhysicalNext.Repeat PhysicalNext.JointLoad Heir Cub Trace.Physical.GermShift |
| 14 | open scoped Topology ContDiff Matrix.Norms.Frobenius BigOperators Classical |
| 15 | variable {G:Gauge}{c f:Side}{S: StepData c f}{T: Pressure.Tube G S} {d n j t : ℕ} |
| 16 | variable {F:Labels.Frame G d} |
| 17 | |
| 18 | /-- Adapt `Cub.terra` to simultaneous halo stencil with the offset still alive. -/ |
| 19 | lemma torus_stencil (M:SectionData F)(w y:ℝ)(hw:0<w)(x:ℝ)(A:Hol G)(p:Probe G d)(i:F.Index)(a:Cover): |
| 20 | Cub.ocean T (Push.Local.presented M (wrap f a) w (Place.copy F i)) x ∘ Flutes.fare p A c y = |
| 21 | atColumn M i a w ∘ ((Bazaars.earth (translatedSupport a M.stencil) S T.R.A0) ∘ Flutes.lode p A c y w (reach x)):= by |
| 22 | have hl : F.scaled w⁻¹ (Place.copy F i)= (((w^(F.grades i).2)⁻¹:ℝ):ℂ) • Place.copy F i:=by |
| 23 | ext1 j; by_cases h:j=i <;> simp [h,Place.copy] |
| 24 | have hv (V:Config G f): Push.Local.presented M (wrap f a) w (copy F i) V= |
| 25 | (w^(F.grades i).2)⁻¹ • M.places (copy F i) (wrap f a) V:=by |
| 26 | unfold Push.Local.presented; change M.places _ _ _ = _; rw [hl] |
| 27 | unfold SectionData.places SectionData.evaluate; rw [map_smul,map_smul]; exact (Complex.real_smul ..).symm |
| 28 | funext z |
| 29 | let U:=translatedSupport a M.stencil |
| 30 | let D:=Flutes.lode p A c y w (reach x) z |
| 31 | let X:= Streets.tapes S T.R.A0 D |
| 32 | have hz:S.ratio.parent (0:Site f)=0:=by let q:=S.ratio; change q.parent 0=0; rw [← q.root.map_zero]; exact q.embed_parent _ |
| 33 | change Push.Local.presented _ _ _ _ _ = (w^(F.grades i).2)⁻¹ • there M i a (w • Bazaars.earth U S T.R.A0 D) |
| 34 | rw [hv]; refine congr_arg ((w^(F.grades i).2)⁻¹ • ·) ?_ |
| 35 | simp only [hz,Cub.stole _ _ hw z,map_smul,Cub.walked] |
| 36 | let Y := Bazaars.earth U S T.R.A0 D |
| 37 | rw [there,Function.comp_apply] |
| 38 | change M.evaluate (copy F i) (expandAt (wrap f a) (increment 1 (w • X)))= M.evaluate _ _ |
| 39 | apply M.cylinder_local; intro e hi hj |
| 40 | unfold pore; split |
| 41 | · next hh => |
| 42 | change increment (1:Config G f) (w • X) (wrap f e.1+ wrap f a,e.2) = G.lieExp (w • X (wrap f (e.1+a),_)) |
| 43 | unfold increment; simp; rfl |
| 44 | next hh => exact (hh ⟨hi,hj⟩).elim |
| 45 | |
| 46 | lemma there_smooth (S:SectionData F) (i:F.Index)(a:Cover) : ContDiff ℝ ω (there S i a) := |
| 47 | (column_smooth S i).comp ((clip G (a:=a) (T:=translatedSupport a S.stencil) (S:=S.stencil) Finset.subset_union_right).contDiff) |
| 48 | set_option maxHeartbeats 400000 in |
| 49 | lemma there_cost (M:SectionData F) (i:F.Index) (a:Cover)(h:Bid.pop M) (k:ℕ) : |
| 50 | ∃ x : ℝ, Tones.Width (there M i a) k (F.grades i).2 0 x := by |
| 51 | haveI:= FiniteDimensional.proper ℝ (Dev (translatedSupport a M.stencil) G) |
| 52 | refine Tones.on_body (there_smooth M i a) (fun j hj=> ?_) k _ |
| 53 | unfold there; rw [jets_linear _ (Place.column_smooth M i |>.contDiffAt.of_le (m:=(j:WithTop ℕ∞)) le_top),Place.radials_vanish M h i _ hj]; rfl |
| 54 | |
| 55 | -- Keep the profile charges explicit (private geo helper). |
| 56 | lemma arc_log (t N:ℝ)(ht:0<t)(hh:1≤N)(k:ℕ): Tendsto (fun x:ℝ=> (1+N*(1+4*(Heir.reach x:ℝ))^k)*Real.exp (-t* Heir.reach x)) atTop (𝓝 0):=by |
| 57 | let r (x:ℝ):ℝ:= Heir.reach x; have ha(x:ℝ):1≤r x:=by unfold r Heir.reach; exact_mod_cast (by omega:1≤45*(1+radiusB x)) |
| 58 | have hR:Tendsto r atTop atTop:= tendsto_natCast_atTop_atTop.comp (tendsto_atTop_mono (g:=Heir.reach) (fun x=>by unfold Heir.reach; omega) Work.E01.radiusB_tendsto) |
| 59 | have hp:= (((Real.tendsto_pow_mul_exp_neg_atTop_nhds_zero k).comp (hR.const_mul_atTop ht)).div_const (t^k)).const_mul ((1+N*(5^k:ℝ))); rw [zero_div,mul_zero] at hp |
| 60 | refine squeeze_zero (fun x=>by positivity) (fun x => ?_) hp |
| 61 | have h:= ha x |
| 62 | change _ ≤ _ *((t*r x)^k* Real.exp (-(t*r x))/t^k) |
| 63 | rw [mul_pow,mul_assoc,mul_div_cancel_left₀ _ (pow_ne_zero _ ht.ne')] |
| 64 | rw [← mul_assoc, neg_mul]; apply mul_le_mul_of_nonneg_right _ (Real.exp_pos _).le |
| 65 | have hq:1+(4*r x) ≤5*r x:=by linarith |
| 66 | rw [add_mul,one_mul,mul_assoc,← mul_pow]; exact add_le_add (one_le_pow₀ h) (mul_le_mul_of_nonneg_left (pow_le_pow_left₀ (by change 0≤1+4*r x; positivity) hq _) (zero_le_one.trans hh)) |
| 67 | |
| 68 | open Carrier Postcards |
| 69 | variable (p:Probe G d)(M:SectionData F)(A:Hol G) (h:M.Sound A) (hP:Bid.pop M) |
| 70 | include h hP |
| 71 | set_option maxHeartbeats 800000 in |
| 72 | /-- Starlight at retained offset a. At the same-weight and lower field probes, |
| 73 | one may indeed use the same heading, within the post-block delay. -/ |
| 74 | lemma retained {k:ℝ}(hk:0<k)(hj:4≤ j)(ht:4≤ t)(hd:d≤j)(i:F.Index)(hi:p.2.val≤ (F.grades i).1) |
| 75 | (L:Side)(b:Cover){ε:ℝ}(he:0<ε):∀ᶠ x:ℝ in atTop, |
| 76 | ∀ (c f:Side)(S:StepData c f)(T:Tube G S)(P:Flight j t), S.ratio.count=P.L→P.L=L→ HEq T.R.A0 (linesOf P k)→ |
| 77 | ∀ w y,∀ hB:Blend 2 w y, 2*Heir.reach x<c.val → |
| 78 | let u:=ocean T (presented M (wrap f b) w (Place.copy F i)) x; let V := A.testLinks d 0 (y • p.1) |
| 79 | let z:= Seal.donne M h hk ht hP P hd hB; ‖((L.val:ℝ)^d) • iteratedDeriv p.2.val (u ∘ (V:ℝ→ Config G c)) 0 - runProbe F p (z.leads L (Place.copy F i))‖ ≤ ε:=by |
| 80 | let n:=p.2.val |
| 81 | let U:= translatedSupport b M.stencil |
| 82 | obtain ⟨s,D,hs,hD,H⟩:=Carrier.priced k hk hj ht |
| 83 | obtain ⟨C,hC,hF⟩:=there_cost M i b hP (n+1) |
| 84 | obtain ⟨z,hz,hZ⟩:=Ramble.billFor U p A 2 s D one_le_two hs hD.le |
| 85 | obtain ⟨K,hK,hV⟩:= Flutes.royalty p A _ one_le_two |
| 86 | choose! E h₁ h₂ using fun r=> Postcards.replicate U p 2 k one_le_two hk hj ht r |
| 87 | let a:= ∑ n∈ Finset.range (p.2.val+1), E n; let Q':=(F.grades i).2 |
| 88 | have ha:0 ≤ a:= Finset.sum_nonneg fun i hi=> h₁ i (Nat.le_of_lt_succ (Finset.mem_range.mp hi)) |
| 89 | let v' := Oval.league n Q' a C |
| 90 | let e(x:ℝ) := K*(1+4*(Heir.reach x:ℝ))^(d*n) |
| 91 | let F0 (x:ℝ) := z*(1+e x)*Real.exp (-(s/2)*(Heir.reach x:ℝ)) |
| 92 | let v := (L.val:ℝ)^d |
| 93 | have he' : Tendsto F0 atTop (𝓝 0):=by |
| 94 | have h:= (arc_log _ _ (half_pos hs) hK (d*n)).const_mul z; rw [mul_zero] at h; exact h.congr (fun _=> (mul_assoc ..).symm) |
| 95 | have hv0 := ((((tendsto_const_nhds (x:=v')).mul (((tendsto_const_nhds (x:=(1:ℝ))).add he').pow (Q'+n))).mul he').const_mul v); rw [mul_zero,mul_zero] at hv0 |
| 96 | filter_upwards [hv0.eventually (ge_mem_nhds he)] with x hx c f S T P hPs hQ hr w y hB hl |
| 97 | intro u V Z |
| 98 | have hh: Postcards.forecast U p (linesOf P k) y w = Postcards.forecast U p T.R.A0 y w:=by |
| 99 | have he (i:Side)(X:Lines i)(hf:i=P.L) (h:HEq X (linesOf P k)): Postcards.forecast U p X y w= Postcards.forecast U p (linesOf P k) y w:=by subst i; rw [eq_of_heq h] |
| 100 | exact (he _ _ hPs hr).symm |
| 101 | let N':= Postcards.forecast U p (linesOf P k) y w |
| 102 | have hf:N' 0=0:=Postcards.forecast_zero .. |
| 103 | have hδ:= (Postcards.forecast_truth U p (linesOf P k) y w (Carrier.stored P k hk ht)).contDiffAt (x:=0) |
| 104 | have hw: T.R.A0.strip s D:=by |
| 105 | have h {v:Side}(u:Lines v)(hf:v=P.L)(h:HEq u (linesOf P k)): u.strip s D:=by |
| 106 | subst v; rw [eq_of_heq h]; have he: (linesOf P k).strip s (D/P.L.val):=by simpa [advanceC] using H P [] (by simp) |
| 107 | exact Work.F08.strip_mono he le_rfl (div_le_self hD.le (Nat.one_le_cast.mpr P.L.property)) |
| 108 | exact h _ hPs hr |
| 109 | let e' := Flutes.lode p A c y w (Heir.reach x) |
| 110 | let f₁ := (earth U S T.R.A0 ∘ e') |
| 111 | have hκ : e' 0=0:=by |
| 112 | unfold e' Flutes.lode Cabins.patched; ext1 i; unfold Cabins.room; split; · simp [Flutes.fare_zero,Lattice.gauge] |
| 113 | exact rfl |
| 114 | obtain ⟨hw',hψ⟩:= hV c (Heir.reach x) _ _ hB |
| 115 | have hW: Oval.Fuzz 0 p.2.val f₁ N' (F0 x):=by |
| 116 | unfold N'; rw [hh]; exact hZ c f S _ _ _ _ (e x) _ hB hw (Flutes.cost_curve p A hB _ _ le_rfl hl) hw' hψ |
| 117 | have he:Oval.Envelope 0 n N' a:= ⟨ha,fun k' hn=> (h₂ k' hn P _ _ hB).trans |
| 118 | (Finset.single_le_sum (fun i hi=>h₁ i (Nat.le_of_lt_succ (Finset.mem_range.mp hi))) (Finset.mem_range.mpr (Nat.lt_succ_of_le hn)))⟩ |
| 119 | let g (f:ℝ→Place.Dev U G):=atColumn M i b w ∘ f |
| 120 | have hT:ContDiffAt ℝ (p.2.val:WithTop ℕ∞) f₁ 0:=(earth U S _).contDiff.contDiffAt.comp _ hw' |
| 121 | have hp:=Oval.sticker (hδ.of_le le_top) hT hW he (there_smooth M i b) |
| 122 | (show w∈Ioc (0:ℝ) 1 from ⟨hB.fine,hB.fits⟩) (show Tones.Width (there M i b) (n+1) Q' 0 C from ⟨hC,hF⟩) |
| 123 | (by change ‖w • N' 0‖ ≤ 0; simp [hf]) (by simp [f₁,hκ]) |
| 124 | have hY: u ∘ V = g f₁:= torus_stencil M _ _ hB.fine x A p i b |
| 125 | rw [hY, ← hQ] |
| 126 | rw [show runProbe F p (Z.leads P.L _) = _ from Postcards.measured M h _ P k (2:ℝ) y w hk ht hd hB p i, |
| 127 | ← predicts P M hk ht hd h i p hi b y w] |
| 128 | rw [← smul_sub,norm_smul,Real.norm_of_nonneg (by positivity)] |
| 129 | let I:= iteratedFDeriv ℝ n (g f₁) 0 - iteratedFDeriv ℝ n (g N') 0; let y':Fin n→ℝ:= fun _=>1 |
| 130 | have hI:‖I y'‖≤ v'*(1+F0 x)^(Q'+n)*F0 x:=by |
| 131 | simpa only [y',v',n,Finset.prod_const_one,mul_one,norm_one] using ((I.le_opNorm y').trans (mul_le_mul_of_nonneg_right (hp.2.2.2 n le_rfl) (show 0≤∏ i : Fin n,‖(1:ℝ)‖ from Finset.prod_nonneg fun _ _=> norm_nonneg _))) |
| 132 | change (P.L.val:ℝ)^d * ‖I y'‖ ≤ ε; rw [hQ]; exact (mul_le_mul_of_nonneg_left hI (by positivity)).trans hx |
| 133 | end YM.RG05Readout.Offsets |