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.Extra.MULTISOURCE_BOUNDS.Forest |
| 2 | import YM.Extra.MULTISOURCE_BOUNDS.Repeated |
| 3 | import YM.Next.EXTRACTION.Basis |
| 4 | import YM.Next.EXTRACTION.Mixture |
| 5 | |
| 6 | /-! |
| 7 | # Estimates through all derivatives for the marked overlap logarithm terms |
| 8 | |
| 9 | Coefficientwise, prior to any changes of inventory/indicators, |
| 10 | restoring exclusions, or further merging/extraction. Same native markers, |
| 11 | w for each name (can include physical rescalings), repeated tuples. The |
| 12 | positive magnitude is estimated even for an insertion on a root chosen from |
| 13 | the *other* factors of that product. Assert no formal-to-analytic log identity |
| 14 | or branch choice here. |
| 15 | -/ |
| 16 | set_option autoImplicit false |
| 17 | noncomputable section |
| 18 | namespace YM.Extra.Multi.LogTerms |
| 19 | open Function Filter Lattice RG Source Wilson Overlay Marker Labels MeasureTheory Finset Mayer Repeated Germs |
| 20 | open scoped Topology Matrix.Norms.Frobenius BigOperators Classical |
| 21 | |
| 22 | variable {V α : Type*} {n : Side} {G : Gauge} |
| 23 | |
| 24 | def nameSet (t : α → Finset V) (u : Tuple α) := univ.biUnion fun j => t (u.2 j) |
| 25 | |
| 26 | def legal (t : α → Finset V) (u : Tuple α) := (↑(univ : Finset (Fin (u.1+1))) : Set (Fin (u.1+1))).PairwiseDisjoint (fun j => t (u.2 j)) |
| 27 | |
| 28 | def coefficient (X : α → Support n) (u : Tuple α) := ursell (overlap X u.2) |
| 29 | |
| 30 | def current (t : α → Finset V) (X : α → Support n) (F : α → Config G n → ℂ) (u : Tuple α) := |
| 31 | if legal t u then (↑(coefficient X u / (u.1+1).factorial):ℂ) • (fun U => ∏ j,F (u.2 j) U) else 0 |
| 32 | |
| 33 | def duty (w : V → ℝ) (t : Finset V) := ∏ i∈t,w i |
| 34 | |
| 35 | def book (power order : ℕ) := (exp_absorbs ((power+1)*order) 1 zero_lt_one).choose |
| 36 | |
| 37 | /-- Allow the constant, translation price polynomial in B and derivative |
| 38 | order k,P; reserve just two extra exponent units in the overlap price. -/ |
| 39 | theorem estimates (P : BudgetPoint) : let C := book P.power P.order |
| 40 | 1 ≤ C ∧ |
| 41 | ∀ (F : α → Config G n → ℂ) (X : α → Support n) (y : α → Site n) (e : α → ℝ) |
| 42 | (names : α → Finset V) (w : V → ℝ) (a b γ : ℝ), 0 ≤ b → 0 ≤ a → 0 ≤ γ → |
| 43 | 8*((P.B+P.B+1:ℕ):ℝ)^4*γ ≤ 1 → (∀ v,0≤w v) → (∀ i,y i∈ X i ∧ P.Regular (X i) (F i) ∧ P.supBounds (y i) (X i) (F i) (e i)) → |
| 44 | let f := fun i => duty w (names i)*e i |
| 45 | Rooted names X P.B (a+2) f b → Ac.Hit X P.B f (a+2) γ → |
| 46 | ∃ g : Tuple α → ℝ, (∀ i,0 ≤ g i ∧ P.Regular (numbered X i) (current names X F i) ∧ |
| 47 | ∀ p∈numbered X i, P.supBounds p (numbered X i) (current names X F i) (g i)) ∧ |
| 48 | Rooted (nameSet names) (numbered X) P.B a (fun i => duty w (nameSet names i)*g i) (pay P * C * (2*b)) ∧ |
| 49 | Ac.Hit (numbered X) P.B (fun i => duty w (nameSet names i)*g i) a (pay P*C*(2*γ)) := by |
| 50 | intro C; obtain ⟨hC,h⟩ := (exp_absorbs ((P.power+1)*P.order) 1 zero_lt_one).choose_spec |
| 51 | change 1 ≤ C at hC |
| 52 | refine ⟨hC,?_⟩; intro F X y e names w a b γ hb ha hγ hc hw hF f hr ht |
| 53 | let H (u : Tuple α) := overlap X u.2 |
| 54 | let W (u : Tuple α) := ∑ i,coverNumber P.B (X (u.2 i)) |
| 55 | let k := (P.power+1)*P.order |
| 56 | let g (u : Tuple α) := if legal names u then |coefficient X u|/(u.1+1).factorial * |
| 57 | (pay P * (1+(W u:ℝ))^k * ∏ i,e (u.2 i)) else 0 |
| 58 | have hp : 0 ≤ pay P := by unfold pay; positivity |
| 59 | have hg (u : Tuple α) : 0 ≤ g u := by |
| 60 | have he := prod_nonneg (fun i (_:i∈univ) => (hF (u.2 i)).2.2.1) |
| 61 | unfold g; split <;> positivity |
| 62 | have hU (u : Tuple α) : P.Regular (numbered X u) (fun U => ∏ j, F (u.2 j) U) := smoothProd _ fun i _ => (hF (u.2 i)).2.1 |
| 63 | have he u := Next.Foundations.regular_smul (↑(coefficient X u/(u.1+1).factorial) : ℂ) (hU u) |
| 64 | refine ⟨g,fun u => ⟨hg u,?_,fun p hh => ?_⟩,?_⟩ |
| 65 | · unfold current; split |
| 66 | · exact he u |
| 67 | simpa using Next.Foundations.regular_smul 0 (he u) |
| 68 | · by_cases hl : legal names u ∧ coefficient X u ≠ 0 |
| 69 | · have hs : Ac.Spark (fun i => X (u.2 i)) univ := ⟨univ_nonempty,fun i _ j _ => (by |
| 70 | induction (SimpleGraph.reachable_iff_reflTransGen _ _).mp (Mayer.ursell_ne _ hl.2 i j) with |
| 71 | | refl => exact .refl |
| 72 | | tail _ hh IH => exact (IH (mem_univ _)).tail ⟨mem_univ _,mem_univ _,hh.2⟩)⟩ |
| 73 | have H := reanchored _ p (fun i _ => (hF _).2.1) (fun i _ => (hF _).2.2) hs (fun i _ => (hF _).1) hh |
| 74 | simpa only [current,g,if_pos hl.1,occurrences,k,W,Complex.norm_real,Real.norm_eq_abs,abs_div, |
| 75 | abs_of_nonneg (show 0≤((u.1+1).factorial:ℝ) by positivity),numbered] using |
| 76 | Next.Foundations.bound_smul (↑(coefficient X u / (u.1+1).factorial):ℂ) H |
| 77 | obtain hl|hl := not_and_or.mp hl |
| 78 | · simp only [g,current,if_neg hl]; exact supBounds_zero .. |
| 79 | replace hl := not_ne_iff.mp hl |
| 80 | simp only [g,current,hl,abs_zero,zero_div,zero_mul, Complex.ofReal_zero,zero_smul,ite_self]; exact supBounds_zero .. |
| 81 | let v i := Real.exp (coverNumber P.B (X i))*f i |
| 82 | have hf i : 0 ≤ f i := mul_nonneg (prod_nonneg fun i _ => hw i) (hF i).2.2.1 |
| 83 | have hv i : 0 ≤ v i := mul_nonneg (Real.exp_pos _).le (hf i) |
| 84 | let G := fun u => worth v (fun u => |coefficient X u|) u |
| 85 | have hT : Ac.Hit X P.B v (a+1) γ := by |
| 86 | intro x; convert ht x using 2; split_ifs |
| 87 | next => rw [show a+(2:ℝ)=a+1+1 by ring, add_mul (a+1), one_mul,Real.exp_add]; unfold v; ring |
| 88 | rfl |
| 89 | have hh u : duty w (nameSet names u)*g u ≤ pay P * C * G u := by |
| 90 | unfold g; split <;> rename_i hl |
| 91 | · rw [duty,nameSet,prod_biUnion hl] |
| 92 | have he := h (W u); rw [one_mul, show (W u:ℝ)=∑ i,(coverNumber P.B (X (u.2 i)):ℝ) from Nat.cast_sum ..,Real.exp_sum] at he |
| 93 | unfold W; push_cast |
| 94 | calc |
| 95 | _ ≤ _ := mul_le_mul_of_nonneg_left (mul_le_mul_of_nonneg_left (mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_left he hp) |
| 96 | (prod_nonneg fun i (_:i∈univ) => (hF (u.2 i)).2.2.1)) |
| 97 | (show 0≤ |coefficient X u|/((u.1+1).factorial:ℝ) by positivity)) |
| 98 | (show 0≤ ∏ i,∏ x∈names (u.2 i),w x from prod_nonneg fun _ _ => prod_nonneg fun x _ => hw x) |
| 99 | _ = _ := by unfold G worth v f duty C book; simp_rw [prod_mul_distrib]; ring |
| 100 | have hG : 0 ≤ G u := mul_nonneg (by positivity) (prod_nonneg fun _ _ => hv _) |
| 101 | rw [mul_zero]; positivity |
| 102 | have H (p : α→Prop) (b : ℝ) (hb : 0 ≤ b) (he : SumBudget (fun i => if p i then |
| 103 | Real.exp ((a+2)*coverNumber P.B (X i))*f i else 0) b) : SumBudget (fun u : Tuple α => if ∃ i,p (u.2 i) then |
| 104 | Real.exp (a*coverNumber P.B (numbered X u))*(duty w (nameSet names u)*g u) else 0) (pay P*C*(2*b)) := by |
| 105 | have hr (u : Tuple α) := abs_nonneg (coefficient X u) |
| 106 | have hx := repeated X P.B v (fun u => |coefficient X u|) p b γ a hb hγ hc ha hv (fun u => ⟨hr u, tree_estimate (H u)⟩) hT |
| 107 | (by convert he using 2; split_ifs <;> simp only [v, |
| 108 | show a+(2:ℝ)=a+1+1 by ring,add_mul,one_mul,Real.exp_add, mul_assoc]) |
| 109 | refine Budget.mono (Budget.scale hx (mul_nonneg hp (zero_le_one.trans hC))) (fun u => ?_) (fun u => ?_) le_rfl |
| 110 | · split |
| 111 | · exact mul_nonneg (Real.exp_pos _).le (mul_nonneg (prod_nonneg fun _ _ => hw _) (hg _)) |
| 112 | exact le_rfl |
| 113 | split_ifs <;> first | exact (mul_le_mul_of_nonneg_left (hh u) (Real.exp_pos _).le).trans_eq (by unfold G; ring) | simp |
| 114 | constructor <;> intro x |
| 115 | · simpa only [nameSet,mem_biUnion,mem_univ,true_and] using! H (x∈names ·) _ hb (by convert! hr x using 2; split_ifs <;> rfl) |
| 116 | simpa only [numbered,mem_biUnion,mem_univ,true_and,mul_comm (Real.exp _)] using! H (x∈X ·) _ hγ (by simpa only [mul_comm (Real.exp _)] using ht x) |
| 117 | |
| 118 | end YM.Extra.Multi.LogTerms |