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.Ac.Tree |
| 2 | /-! FHtree distinct-address production including full cover exponent. -/ |
| 3 | set_option autoImplicit false |
| 4 | noncomputable section |
| 5 | namespace YM.Ac |
| 6 | open Relation Lattice Corona Finset RG |
| 7 | open scoped Classical |
| 8 | variable {ι : Type*} [DecidableEq ι] {n : Side} (X : ι → Support n) (M : ℕ) |
| 9 | |
| 10 | private lemma stepP {f : ι → ℝ} {a γ w : ℝ} (hf : ∀ i, 0 ≤ f i) (hh : Hit X M f (a+w) γ) |
| 11 | (D : Finset ι) (Y : Support n) (H : ∀ P, P ⊂ D → ∀ y, |
| 12 | film X P y (fun i => f i * Real.exp (a*coverNumber M (X i))) ≤ Real.exp (w*coverNumber M y)) : |
| 13 | film X D Y (fun i => f i * Real.exp (a*coverNumber M (X i))) ≤ Real.exp (Y.card*γ) := by |
| 14 | let p := fun i => f i * Real.exp (a*coverNumber M (X i)) |
| 15 | let g := fun i => f i * Real.exp ((a+w)*coverNumber M (X i)) |
| 16 | have hy (i) : 0≤p i := mul_nonneg (hf _) (Real.exp_pos _).le |
| 17 | apply (lookup X D Y p hy).trans |
| 18 | calc |
| 19 | _ ≤ ∏ i∈buds X D Y, Real.exp (g i) := by |
| 20 | apply prod_le_prod |
| 21 | · intro i _; unfold film; exact add_nonneg zero_le_one (mul_nonneg (hy i) (sum_nonneg fun s _ => prod_nonneg fun j _ => hy j)) |
| 22 | intro i hi |
| 23 | apply le_trans _ (Real.add_one_le_exp _) |
| 24 | rw [add_comm]; gcongr |
| 25 | exact (mul_le_mul_of_nonneg_left (H _ (erase_ssubset ((alive X D Y).mp hi).1) (X i)) (hy i)).trans (le_of_eq (by |
| 26 | simp only [p,g, add_mul, Real.exp_add,mul_assoc])) |
| 27 | _ ≤ _ := by rw [← Real.exp_sum, Real.exp_le_exp]; exact demand X M hh Y D |
| 28 | |
| 29 | private lemma all_price {f : ι → ℝ} {a γ w : ℝ} (hf : ∀ i, 0 ≤ f i) (hh : Hit X M f (a+w) γ) (hp : (M+M+1:ℕ)^4*(γ:ℝ) ≤ w) |
| 30 | (hG : 0≤γ) (D : Finset ι) (Y : Support n) : |
| 31 | film X D Y (fun i => f i * Real.exp (a*coverNumber M (X i))) ≤ Real.exp (w*coverNumber M Y) := by |
| 32 | induction D using Finset.strongInduction generalizing Y with |
| 33 | | H s hs => |
| 34 | apply (stepP X M hf hh s Y hs).trans |
| 35 | rw [Real.exp_le_exp] |
| 36 | have hy : (Y.card:ℝ) ≤ coverNumber M Y*((M+M+1:ℕ):ℝ)^4 := by exact_mod_cast pays Y M |
| 37 | have H1 := mul_le_mul_of_nonneg_left hp (show (0:ℝ) ≤ coverNumber M Y by positivity) |
| 38 | exact (mul_le_mul_of_nonneg_right hy hG).trans (by nlinarith only [H1]) |
| 39 | |
| 40 | lemma forest_price {f : ι → ℝ} {a γ w : ℝ} (ha : 0≤ a) (hf : ∀ i, 0 ≤ f i) (hh : Hit X M f (a+w) γ) |
| 41 | (hp : (M+M+1:ℕ)^4*(γ:ℝ) ≤ w) (hG : 0≤γ) (x : Site n) : |
| 42 | SumBudget (roots X M f a x) (Real.exp γ-1) := by |
| 43 | have he (i : Finset ι) : 0≤roots X M f a x i := by |
| 44 | unfold roots; split |
| 45 | · exact mul_nonneg (Real.exp_pos _).le (prod_nonneg fun i _ => hf i) |
| 46 | exact le_rfl |
| 47 | let Y := ({x} : Support n) |
| 48 | have hy (s : Finset (Finset ι)) : (∑ i∈s,roots X M f a x i) ≤ Real.exp γ-1 := by |
| 49 | let A := s.biUnion id |
| 50 | let F := (pouch X A Y) |
| 51 | let v := fun i => f i * Real.exp (a*coverNumber M (X i)) |
| 52 | let g := fun p : Finset ι => ∏ i∈p,v i |
| 53 | let u := s.filter (fun p => Spark X p ∧ x∈p.biUnion X) |
| 54 | have hU := stepP X M hf hh A Y fun P _ y => all_price X M hf hh hp hG P y |
| 55 | have hC : ∑ p∈F.erase ∅,g p ≤ Real.exp γ-1 := by |
| 56 | have hs : (∅:Finset ι) ∈ F := (op _ _ _).mpr ⟨empty_subset _,fun _ hi => absurd hi (notMem_empty _)⟩ |
| 57 | rw [le_sub_iff_add_le, show (1:ℝ) = g ∅ by simp [g], sum_erase_add F _ hs] |
| 58 | simpa only [F, g,v,film,Y, card_singleton, Nat.cast_one, one_mul] using hU |
| 59 | calc |
| 60 | _ = ∑ i ∈ u,roots X M f a x i := by |
| 61 | symm; apply sum_subset (filter_subset ..) |
| 62 | intro s hs hh'; have hj : ¬ (Spark X s ∧ x∈s.biUnion X) := fun H => hh' (mem_filter.mpr ⟨hs,H⟩) |
| 63 | exact if_neg hj |
| 64 | _ ≤ ∑ i ∈ u, g i := by |
| 65 | refine sum_le_sum fun i hi => ?_ |
| 66 | have h := (mem_filter.mp hi).2 |
| 67 | unfold roots; rw [if_pos h]; simp only [g,v,prod_mul_distrib,← Real.exp_sum,← mul_sum] |
| 68 | rw [mul_comm]; gcongr |
| 69 | · exact prod_nonneg fun i _ => hf i |
| 70 | exact_mod_cast cover X M h.1 |
| 71 | _ ≤ _ := by |
| 72 | apply le_trans _ hC; apply sum_le_sum_of_subset_of_nonneg |
| 73 | · intro j hj; obtain ⟨hj',hr,hp⟩ := mem_filter.mp hj; obtain ⟨b,h1,h2⟩ := mem_biUnion.mp hp |
| 74 | refine mem_erase.mpr ⟨hr.1.ne_empty,(op _ _ _).mpr ⟨fun k hk => mem_biUnion.mpr ⟨j,hj',hk⟩,?_⟩⟩ |
| 75 | exact fun i hi => ⟨b,h1,⟨x,mem_singleton_self _,h2⟩,hr.2 b h1 i hi⟩ |
| 76 | intro i _ _; exact prod_nonneg fun j _ => (mul_nonneg (hf j) (Real.exp_pos _).le) |
| 77 | have ht := summable_of_sum_le (f:=roots X M f a x) he hy |
| 78 | exact ⟨he,ht,ht.tsum_le_of_sum_le hy⟩ |
| 79 | end YM.Ac |