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.FullVolume.Canvas.Vigil |
| 2 | import YM.Next.STATIONARY.Loops.Curvature |
| 3 | /-! Universal index weighted paths in H.See PS nails. -/ |
| 4 | set_option autoImplicit false |
| 5 | noncomputable section |
| 6 | namespace YM.Stationary.Shade |
| 7 | open Filter Set Function lp Lattice Laurent Bloch Exterior RG Precision Wilson Tralis |
| 8 | open scoped Topology BigOperators InnerProductSpace ContDiff Matrix.Norms.Frobenius NNReal ENNReal |
| 9 | variable {G:Gauge}{t:ℕ}[NeZero t] |
| 10 | abbrev InkSpot (G:Gauge)(t:ℕ):= ℕ × Ink G (t+1) |
| 11 | abbrev Cameo (G:Gauge)(t:ℕ):= Lights (InkSpot G t) |
| 12 | def letter (i:ℕ): Fin (t+1)→Slot:= fun j=> walkSlot (plaqEquiv.symm ((carrierPath t i).1 j)) ((Fin.cons (α:=fun _: Fin (t+1)=> Cover) (0:Cover) (fun k a=> (carrierPath t i).2 (k,a))) j) |
| 13 | lemma story (P:Skin G t)(i:ℕ): (issue P i).leg= letter i:=rfl |
| 14 | def stretch (t:ℕ)[NeZero t](i:ℕ):ℕ:= size (carrierPath t i).2+4*(t+1) |
| 15 | lemma pervade (A:ℕ→Atom G (t+1))(h:∀ i,(A i).leg=letter i)(i): (A i).length=stretch t i :=(show _ = (issue (0:Skin G t) i).length by unfold Atom.length; simp_rw [h,story (t:=t)]).trans (artery_length ..) |
| 16 | def chants (t:ℕ)[NeZero t] (σ:ℝ)(i:ℕ):=Real.exp (σ* stretch t i) |
| 17 | lemma silts (t:ℕ)[NeZero t]{σ:ℝ}(h:0<σ): Summable (chants t (-σ)):=by |
| 18 | let f(x:Shift (Keys t)):= Real.exp (-σ*size x); have he: Summable f := (Width.compactPay (α:=Keys t) σ h).2.1 |
| 19 | let K:ℝ:= Real.exp (-σ*((4*(t+1):ℕ):ℝ)); have H: Summable (fun x:CurRun (t+1) × Shift (Keys t)=> f x.2*K) :=by |
| 20 | exact (budget_prod_finite (f:=fun x:CurRun (t+1) × Shift (Keys t)=> f x.2*K) (A:=fun _=>∑' i,f i*K) (fun x=> ⟨fun i=> by unfold f K; positivity, he.mul_right K,le_rfl⟩)).2.1 |
| 21 | exact ((carrierPath t).summable_iff.mpr H).congr (fun i=> by unfold f K comp chants stretch; push_cast; ring_nf; rw [←Real.exp_add]; congr 1; ring) |
| 22 | variable (σ:ℝ) |
| 23 | def ringT (C:Cameo G t)(p:ℕ): Atom G (t+1):=⟨letter p,fun k=> C (p,k)/chants t σ p⟩ |
| 24 | lemma weight (C:Cameo G t)(p) : (ringT σ C p).length=stretch t p:= pervade _ (fun _=>rfl) _ |
| 25 | lemma feel (C:Cameo G t)(p:ℕ)(w:ℝ) : (ringT σ C p|>.budget w) = ∑ k : Ink G (t+1), chants t (w-σ) p*‖C (p,k)‖:=by |
| 26 | unfold Atom.budget Atom.magnitude; rw [weight]; simp only [ringT,Finset.sum_mul,abs_div] |
| 27 | have h : Real.exp (w* stretch t p)/chants t σ p=chants t (w-σ) p:=by unfold chants; rw [←Real.exp_sub]; congr 1; ring |
| 28 | apply Finset.sum_congr rfl; intro x _; rw [← h, Real.norm_eq_abs]; rw [abs_of_pos (show 0<chants t σ p from Real.exp_pos _)]; ring |
| 29 | -- K.Route |
| 30 | noncomputable def credits (G:Gauge)(t:ℕ)[NeZero t](σ:ℝ):= (Fintype.card (Ink G (t+1)):ℝ)*(∑' i,chants t (-σ) i) |
| 31 | lemma waved (G:Gauge)(w:ℝ):0≤credits G t w:=by unfold credits; exact mul_nonneg (by positivity) (tsum_nonneg (fun _=>(Real.exp_pos _).le)) |
| 32 | lemma radius (C:Cameo G t){δ:ℝ}(h:δ<σ)(b:ℝ)(hb:‖C‖≤ b) : SumBudget (fun i=> (ringT σ C i).budget δ) (credits G t (σ-δ)*b):=by |
| 33 | let B(i:ℕ):=(Fintype.card (Ink G (t+1)):ℝ) * chants t (δ-σ) i * b |
| 34 | have hX: Summable (chants t (δ-σ)) := by rw [← neg_sub σ δ]; exact silts t (sub_pos.mpr h) |
| 35 | apply Work.F08.budget_minor (g:=B) -- #check |
| 36 | · refine ⟨fun i=>mul_nonneg (mul_nonneg (by positivity) (Real.exp_pos _).le) ((norm_nonneg _).trans hb), (hX.mul_left _).mul_right _,?_⟩ |
| 37 | unfold B credits; simp [tsum_mul_left,tsum_mul_right] |
| 38 | · intro i; simp only [feel]; exact Finset.sum_nonneg fun j _=> mul_nonneg (Real.exp_pos _).le (norm_nonneg _) |
| 39 | intro i; rw [feel]; calc |
| 40 | _ ≤ ∑ _ : Ink G (t+1), chants t (δ-σ) i*b:=Finset.sum_le_sum fun k _ => mul_le_mul_of_nonneg_left ((lp.norm_apply_le_norm (by norm_num) C _).trans hb) (Real.exp_pos _).le |
| 41 | _ = _ :=by simp [B,mul_assoc] |
| 42 | lemma erect (V:ℕ→Atom G (t+1))(h:∀ i,(V i).leg=letter i){b:ℝ}(hp: SumBudget (fun i=>(V i).budget σ) b): ∃ g:Cameo G t, ringT σ g=V ∧ ‖g‖≤b:=by |
| 43 | let C (j:InkSpot G t):= chants t σ j.1 * (V j.1).coeff j.2 |
| 44 | have he i : (V i|>.budget σ)=∑ k:Ink G (t+1), ‖C (i,k)‖:=by |
| 45 | unfold Atom.budget Atom.magnitude; rw [pervade _ h,Finset.sum_mul]; simp only [C, norm_mul,Real.norm_eq_abs]; apply Finset.sum_congr rfl; intro k _; rw [abs_of_pos (show 0 < chants t σ i from Real.exp_pos _)]; exact mul_comm .. |
| 46 | have hB(S: Finset (InkSpot G t)): (∑ i∈ S, ‖C i‖)≤ b:=by |
| 47 | classical |
| 48 | let U:= S.image Prod.fst |
| 49 | calc |
| 50 | _ ≤ ∑ i∈ U ×ˢ Finset.univ, ‖C i‖ := Finset.sum_le_sum_of_subset_of_nonneg (fun x hx=> Finset.mem_product.mpr ⟨ Finset.mem_image_of_mem _ hx,Finset.mem_univ _⟩) (fun i _ _=> norm_nonneg _) |
| 51 | _ = ∑ i∈U, (V i).budget σ:=by rw [Finset.sum_product]; simp_rw [he] |
| 52 | _ ≤ _ := (hp.2.1.sum_le_tsum _ (fun i _=>hp.1 i)).trans hp.2.2 |
| 53 | have hb : 0≤ b:=by simpa only [Finset.sum_empty] using hB ∅ |
| 54 | obtain ⟨F,hC,hF⟩:= flashes C (b:=b) (fun S=> by |
| 55 | calc |
| 56 | _ ≤ ∑ i∈ S, ‖C i‖*b:= Finset.sum_le_sum fun i hi=> by rw [sq]; gcongr; simpa using hB {i} |
| 57 | _ ≤ _:=by rw [←Finset.sum_mul,sq]; gcongr; exact hB S) hb |
| 58 | refine ⟨F,funext fun i=>?_,hF⟩ |
| 59 | have hu: (ringT σ F i).coeff=(V i).coeff:=funext fun k=>by |
| 60 | unfold ringT; simp only [hC]; rw [show C (i,k)=_ from rfl]; exact mul_div_cancel_left₀ _ (show chants t σ i≠0 from (Real.exp_pos _).ne') -- check |
| 61 | cases ht: V i with |
| 62 | | mk x y=> |
| 63 | rw [ht] at hu |
| 64 | calc ringT σ F i = ⟨letter i,(ringT σ F i).coeff⟩:=rfl |
| 65 | _ = _:=by rw [hu]; simp only [← show (V i).leg=letter i from h i, ht] |
| 66 | #check Work.F08.budget_minor |
| 67 | end YM.Stationary.Shade |