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.OPE.Nesting.Quantified |
| 2 | |
| 3 | /-! Bounded masses on **joint** geometries (not assuming independent smearing |
| 4 | or absolute continuity wrt flat volume). Coefficient system is kept unchanged |
| 5 | from the unaveraged context. Intersections of finite-horizon collars are open; |
| 6 | each such request fits its collar eventually throughout the relative shape |
| 7 | town. -/ |
| 8 | set_option autoImplicit false |
| 9 | noncomputable section |
| 10 | namespace YM.OPE.Nesting |
| 11 | open Orbits Orbits.Reader Function Filter Extraction Set Table Measures Menu Atom MeasureTheory Finset TopologicalSpace |
| 12 | open scoped Topology BigOperators ContDiff Matrix.Norms.Frobenius Classical |
| 13 | |
| 14 | namespace Tree |
| 15 | lemma Tapered.pricePositive {t:Tree}{s:t.Inner→ℝ}{β r:ℝ}(h:t.Tapered r β s)(a)(ha:0<a)(v:t.Inner):0<t.ratios a s v :=by induction t generalizing a r with |
| 16 | | bud=> cases v |
| 17 | | fork n f hi=> rcases v with u | ⟨j,q⟩ |
| 18 | · cases u; exact div_pos h.1 ha |
| 19 | exact hi j (h.2.2 j) _ h.1 _ |
| 20 | lemma Tapered.pay_nonneg {n:ℕ}{f:Fin n→Tree}{s:(fork n f).Inner→ℝ}{r β:ℝ}(h:Tapered _ r β s)(w ε m):0 ≤ toll w ε m s:= mul_nonneg (Real.rpow_nonneg h.1.le _) (prod_nonneg (fun i _=>Real.rpow_nonneg (h.pricePositive _ one_pos _).le _)) |
| 21 | lemma Tapered.pay_both_nonneg {n:ℕ}{f:Fin n→Tree}{s:(fork n f).Inner→ℝ}{r β:ℝ}(h:Tapered _ r β s)(w ε m d):0 ≤ bothToll w ε m d s:=mul_nonneg (h.pay_nonneg ..) (sum_nonneg fun p _=>pow_nonneg (h.pricePositive _ one_pos (Sum.inr p)).le _) |
| 22 | end Tree |
| 23 | open Tree |
| 24 | variable {G:Gauge}{C:Family G}{F:Order}{S:Table C.book}(U:Spec.Final C F S) |
| 25 | (R:Reader U.sector.derivatives U.sector.turns U.room.kernel.spin)(h:Services C F S) |
| 26 | |
| 27 | section Raw |
| 28 | variable {L J:Type}[Fintype J]{l:Filter L}{T:L→ℝ}(hT:Tendsto T l atTop)[l.NeBot] |
| 29 | variable {n:ℕ}{f:Fin n→Tree}{ε:ℝ}{a:(fork n f).Inner→ℝ}{z:Envelope L (fork n f)} |
| 30 | {s:L→(fork n f).Inner→ℝ}{y:L→J→E4} (v:(fork n f).Leaf→S.Tag)(w:J→S.Tag) |
| 31 | (he:0<ε)(hs:∀ v,RateIs l T (fun i=>s i v) (-a v))(ht:(fork n f).ordered 0 a) |
| 32 | (h₀:∑ v,a v=1)(hg:Regular l T (fork n f) 0 a z) |
| 33 | (hp:Intervals l T 0 z y)(hy:Kept l T 0 y) |
| 34 | include R h hT he hs ht h₀ hg hp hy |
| 35 | private lemma raw_pricewise (r:L→Viewers U): |
| 36 | ∀ᶠ i in l, ‖duet (spectator U (r i)) (Tree.profile (z i)) v (y i) w‖ ≤ toll (wages v) ε 0 (s i):=by |
| 37 | let k:= Tree.cost (fork n f) 0 a (wages v); let P:= Menu.raw z v |
| 38 | have h₁:=Measures.interval_comp hp (fun _:Unit=>(fork n f).topSeat) id |
| 39 | obtain ⟨-,hd⟩:=Fusion.tariff U R hT h (fork n f) _ _ _ v hg |
| 40 | have hx:RateLE l T (delta U R P 0 (Tree.center z) r w y) k:=by |
| 41 | exact ((hd.tested w y 0 r _ _ hy (interval_comp hp (fun _:Unit=> (fork n f).topSeat) id) hp le_rfl le_rfl hg.nonneg) |>.mono (by rw [mul_zero,add_zero]; exact sub_le_self _ (by have hf:= hg.nonneg; positivity))) |
| 42 | let g(c:Cut R 0)(i:L):=P.charge R c.1 c.2 (Tree.center z) i * soloView U R _ c.2 (z i|>anchor) (r i) w (y i) |
| 43 | refine Limits.base_charge (s:=s) hT v hs ht h₀ he (RateLE.congr (RateLE.mono (RateLE.add hx (RateLE.sum (S:=Finset.univ) (f:=g) hT (fun q _=>?_)) hT) (by rw [zero_mul,sub_zero])) (Eventually.of_forall (fun i=> (sub_add_cancel .. |>.trans (Menu.raw_view ..))))) |
| 44 | have hu(q:Cut R 0):q.fst.val=0:= by omega |
| 45 | have hv:=pulse_single U R (s:=r) (C:=C) (w:=w) hT h q.2 h₁ hy (le_refl 0) (le_refl 0) |
| 46 | exact ((hd.output q.1 q.2).mul hv).mono (by simp [hu]; exact le_rfl) |
| 47 | end Raw |
| 48 | |
| 49 | section JointLaw |
| 50 | variable {K Y:Type}[MeasurableSpace K][MeasurableSpace Y] |
| 51 | lemma measure_eval (f:K→ℂ)(g:Y→ℂ)(x:K→Y){μ:Measure K}(V:Set Y)(C B:ℝ) |
| 52 | (hf: Integrable f μ) (hx:AEMeasurable x μ)(hneg:∀ᵐ s ∂μ,f s≠0 → x s∈V) |
| 53 | (hg:Measurable (V.indicator g))(hp:∀ᵐ s ∂μ,f s≠0 → ‖g (x s)‖ ≤ C) (hc:0≤ C)(hB:∫ s, ‖f s‖ ∂μ ≤ B): let u:= fun s=> f s*g (x s); Integrable u μ ∧ ‖∫ s,u s ∂μ‖ ≤ B*C:=by |
| 54 | let u:=fun s:K=> f s*g (x s); change Integrable u μ ∧ ‖∫ s,u s ∂μ‖ ≤ B*C |
| 55 | have hms : Integrable (fun s=> ‖f s‖ * C) μ:= hf.norm.mul_const C |
| 56 | have he: AEStronglyMeasurable u μ:= (hf.1.mul ((hg.comp_aemeasurable hx).aestronglyMeasurable)).congr <| hneg.mono (fun s hs=> by |
| 57 | by_cases hf:f s=0; · change f s*_ = f s*_; rw [hf,zero_mul,zero_mul] |
| 58 | exact congr_arg (f s *·) (V.indicator_of_mem (hs hf) _)) |
| 59 | have h':∀ᵐ s ∂μ,‖u s‖ ≤ ‖f s‖ * C:=hp.mono fun s h=> by |
| 60 | by_cases h':f s=0; · simp [u,h'] |
| 61 | exact (norm_mul_le ..).trans (mul_le_mul_of_nonneg_left (h h') (norm_nonneg _)) |
| 62 | exact ⟨hms.mono' he h',(norm_integral_le_of_norm_le hms h').trans (by rw [integral_mul_const]; exact mul_le_mul_of_nonneg_right hB hc)⟩ |
| 63 | variable {n:ℕ}{f:Fin n→Tree}{T:K→ℝ} |
| 64 | variable {M η ε δ:ℝ}(hM:0≤M)(hη:0<η)(hε:0<ε) |
| 65 | (v:(fork n f).Leaf→S.Tag) |
| 66 | structure CoefIntegral (v:(fork n f).Leaf→S.Tag)(m:ℕ)(c:R.channels m)(D:(fork n f).Inner→ℕ) |
| 67 | (B ε:ℝ)(s:(fork n f).Inner→ℝ)(z:Envelope K (fork n f))(f:K→ℂ)(μ:Measure K):Prop where |
| 68 | base: Integrable (fun i=> f i * Kernel.output U R (z i) v c) μ |
| 69 | compounded:Integrable (fun i=> f i * Kernel.chord U R (z i) v c D) μ |
| 70 | ask: ‖∫ i,f i*Kernel.output U R (z i) v c ∂μ‖ ≤ B*toll (wages v) ε m s |
| 71 | dual: ‖(∫ i,f i*Kernel.output U R (z i) v c ∂μ)-(∫ i,f i*Kernel.chord U R (z i) v c D ∂μ)‖ ≤ B * bothToll (wages v) ε m D s |
| 72 | include h hM hη hε |
| 73 | lemma coefficient_joint {n:ℕ}{p:Fin n→Tree} (v:(fork n p).Leaf→S.Tag) (m:ℕ)(c:R.channels m)(D:(fork n p).Inner→ℕ): |
| 74 | ∀ᶠ r:ℝ in 𝓝[>]0, ∀ (s:(fork n p|>.Inner)→ℝ),Tapered _ r 1 s → ∀ (μ:Measure K)(B:ℝ)(q:K→ℂ)(z:Envelope K (fork n p)), Integrable q μ→ (∫ i, ‖q i‖ ∂μ) ≤ B→ AEMeasurable z μ→ |
| 75 | (∀ᵐ i ∂μ, q i≠0→Accept r M η s (z i)) → CoefIntegral U R v m c D B ε s z q μ:=by |
| 76 | let t:=fork n p; let g₁(x:Tree.Plot t):=Kernel.output U R x v c; let g₂(x:Tree.Plot t):=Kernel.chord U R x v c D; let g₀(x:Tree.Plot t):=g₁ x-g₂ x |
| 77 | let V:=(Kernel.aperture U R t m D) ∩ {z| orbitMargin R.port m (Tree.profile z) (z|>anchor)} |
| 78 | have he:IsOpen V:= Kernel.stencil U R .. |>.inter (Kernel.collar_open U R m) |
| 79 | have hc:ContinuousOn g₁ V:= fun x hx=>(Kernel.output_smooth U R v c hx.2).continuousAt.continuousWithinAt |
| 80 | have h':ContinuousOn g₂ V:= fun x hx=>(Kernel.chord_smooth U R v c D hx.1).continuousAt.continuousWithinAt |
| 81 | have hm:Measurable (V.indicator g₁):=by |
| 82 | convert hc.measurable_piecewise (continuousOn_const (c:=(0:ℂ))) he.measurableSet using 1; ext i; by_cases h:i∈V <;> simp [Set.indicator,Set.piecewise,h,g₀] |
| 83 | have hm':Measurable (V.indicator g₀):= by |
| 84 | convert (hc.sub h').measurable_piecewise (continuousOn_const (c:=(0:ℂ))) he.measurableSet using 1; ext i; by_cases h:i∈V <;> simp [Set.indicator,Set.piecewise,h,g₀] |
| 85 | filter_upwards [Limits.coe_power U R h hM hη hε v m c D] with r h s hx μ B f z hf hB hz hl |
| 86 | let a:=bothToll (wages v) ε m D s; let b:= toll (wages v) ε m s |
| 87 | have ht := hl.mono (q:=fun i=> f i≠0→ z i∈V) fun i hi hg=>⟨(h s (z i) (hi hg)).2.1,(h s (z i) (hi hg)).1⟩ |
| 88 | have hvs (g:Tree.Plot t→ℂ){c:ℝ}(hh:∀ᵐ i ∂μ,f i≠0→‖g (z i)‖ ≤ c)(hm:Measurable (V.indicator g))(hc:0≤c):= measure_eval f g z V c B hf hz ht hm hh hc hB |
| 89 | obtain ⟨h₁,h₁'⟩:=hvs g₁ (hl.mono fun i hi hf=>h _ _ (hi hf) |>.2.2.1) hm (hx.pay_nonneg ..) |
| 90 | obtain ⟨h₀,h₀'⟩:=hvs g₀ (hl.mono fun i hi hf=>h _ _ (hi hf) |>.2.2.2) hm' (hx.pay_both_nonneg ..) |
| 91 | have h₂: (fun i=>f i*g₂ (z i))=(fun i=>f i*g₁ (z i)-f i*g₀ (z i)):=funext fun i=>by dsimp only [g₀]; rw [mul_sub,sub_sub_cancel] |
| 92 | have hp: Integrable (fun i=>f i*g₂ (z i)) μ:= h₂ ▸ h₁.sub h₀ |
| 93 | refine ⟨h₁,hp,h₁',(?_ : ‖ (∫ i, f i*g₁ (z i) ∂μ) - (∫ i, f i*g₂ (z i) ∂μ)‖ ≤ _)⟩ |
| 94 | rw [← integral_sub h₁ hp]; exact (show (fun i=> f i * g₀ (z i)) = (fun i=> f i * g₁ (z i) - f i * g₂ (z i)) from funext (fun i=>mul_sub ..)) ▸ h₀' |
| 95 | |
| 96 | variable {J:Type}[Fintype J](w:J→S.Tag)(hδ:0<δ) |
| 97 | include R hδ |
| 98 | lemma raw_wave:∀ᶠ r:ℝ in 𝓝[>]0,∀ (s:(fork n f).Inner→ℝ)(z:Tree.Plot (fork n f))(y:J→E4),Accept r M η s z → Buffer z y δ → ∀ q:Viewers U, ‖duet (spectator U q) (Tree.profile z) v y w‖ ≤ toll (wages v) ε 0 s:=by |
| 99 | let t:=fork n f; let V:=(t.Inner→ℝ)× Tree.Plot t × (J→E4) |
| 100 | let P r(x:V):=Accept r M η x.1 x.2.1 ∧ Buffer x.2.1 x.2.2 δ |
| 101 | let Q(r:ℝ)(x:V):=∀ q:Viewers U, ‖duet (spectator U q) (Tree.profile x.2.1) v x.2.2 w‖ ≤ Tree.toll (wages v) ε 0 x.1 |
| 102 | letI : Nonempty t.Inner:=⟨Sum.inl ()⟩ |
| 103 | refine (refine_geometry (P:=P) (Q:=Q) ?pu).mono (fun r hr s z y h he=>hr (s,z,y) ⟨h,he⟩) |
| 104 | intro x ψ hψ ht hr; let s:=Prod.fst ∘ x; let z:=Prod.fst ∘ Prod.snd ∘ x; let y:=Prod.snd ∘ Prod.snd ∘ x |
| 105 | obtain ⟨χ,h_c,hχ,T,a,h₀,hT,hs,hg,ha⟩ := t.find_layers (z:=z) (s:=s) (tendsto_id (α:=ℝ)|>.mono_left ht) (hr.mono fun i h=>⟨h.1.levels,h.1.relative⟩) hM hη |
| 106 | obtain ⟨hp,hy⟩:=Limits.buffer_stage (z:=z) (y:=y) hT hδ ((hr.mono fun i hi=>hi.2).filter_mono hχ) |
| 107 | exact ⟨χ,h_c,hχ,universalize <| raw_pricewise (y:=y) U R h hT v w hε hs ha h₀ hg hp hy⟩ |
| 108 | |
| 109 | end JointLaw |
| 110 | end YM.OPE.Nesting |