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.Merger |
| 2 | |
| 3 | |
| 4 | /-! |
| 5 | # Accounting across unforced log / repeated forced-component layers |
| 6 | |
| 7 | Optional supplies towards the one-step `Raw`, see `System`. Structural |
| 8 | assumptions on TRUE supports/names/functions. Before L^D per-name rescaling. |
| 9 | Forced entries: keep one κ discount across the mandatory-parent mergers. |
| 10 | No positivity implied except for numerical prices. `negative` here uses the |
| 11 | positive cluster-coefficient sign simply because only its absolute norm will |
| 12 | enter a merger majorant (not claiming that sign in a physical identity). |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.Extra.Multi |
| 17 | open Function Filter Lattice RG Source Wilson Overlay Marker Labels MeasureTheory Finset LogTerms Germs Merger Repeated |
| 18 | open scoped Topology BigOperators Matrix.Norms.Frobenius ContDiff Classical |
| 19 | variable {G : Gauge} {n : Side} {V : Type*} |
| 20 | |
| 21 | namespace Merger.Pool |
| 22 | variable {α β V : Type*} {a a' b γ : ℝ} {M : ℕ} {s : α → Finset V} {X : α→Support n} {f : α → ℝ} |
| 23 | |
| 24 | theorem join (h : Pool s X M a f b γ) {t : β→ Finset V} {Y : β→Support n} {g : β→ℝ} {b' γ' : ℝ} |
| 25 | (h' : Pool t Y M a g b' γ') : Pool (Sum.elim s t) (Sum.elim X Y) M a (Sum.elim f g) (b+b') (γ+γ') := by |
| 26 | refine ⟨Sum.rec h.positive h'.positive,Hit_merge h.hit h'.hit,fun x => ?_⟩ |
| 27 | apply Budget.certify |
| 28 | · rintro (i|i) |
| 29 | · convert! (h.root x).1 i using 1 |
| 30 | convert! (h'.root x).1 i using 1 |
| 31 | intro l |
| 32 | rw [← toLeft_disjSum_toRight (u:=l),sum_disjSum] |
| 33 | simpa using add_le_add (Budget.cap (h.root x) l.toLeft) (Budget.cap (h'.root x) l.toRight) |
| 34 | |
| 35 | theorem vac (h : Ac.Hit X M f a γ) (hf : ∀ i,0 ≤ f i) (hb : 0≤b) (hs : ∀ i, s i = ∅) : Pool s X M a f b γ := |
| 36 | ⟨hf,h,fun _ => by simpa only [hs,Finset.notMem_empty,↓reduceIte] using! (Budget.zero (ι:=α) hb)⟩ |
| 37 | |
| 38 | theorem mono (h : Pool s X M a f b γ) {g : α → ℝ} {b' γ' : ℝ} (hg : ∀ i,0 ≤ g i) (he : ∀ i,g i ≤ f i) |
| 39 | (ha : a' ≤ a) (hb : b ≤ b') (hγ : γ ≤ γ') : Pool s X M a' g b' γ' := by |
| 40 | refine ⟨hg,fun x => Budget.mono (h.hit x) (fun i => ?_) (fun i => ?_) hγ,h.root.mono hg he ha hb⟩ |
| 41 | · split; exact mul_nonneg (hg _) (Real.exp_pos _).le; exact le_rfl |
| 42 | split_ifs; exact mul_le_mul (he _) (Real.exp_le_exp.mpr (by gcongr)) (Real.exp_pos _).le (h.positive _); exact le_rfl |
| 43 | |
| 44 | end Merger.Pool |
| 45 | |
| 46 | structure Layer (G : Gauge) (V : Type*) (n : Side) where |
| 47 | Id : Type |
| 48 | supp : Id → Support n |
| 49 | names : Id → Finset V |
| 50 | value : Id → Config G n → ℂ |
| 51 | |
| 52 | namespace Layer |
| 53 | variable (X Y O : Layer G V n) (P : BudgetPoint) (w : V → ℝ) |
| 54 | |
| 55 | def combine : Layer G V n where |
| 56 | Id := X.Id ⊕ Y.Id |
| 57 | supp := Sum.elim X.supp Y.supp |
| 58 | names := Sum.elim X.names Y.names |
| 59 | value := Sum.elim X.value Y.value |
| 60 | |
| 61 | abbrev weighted (g : X.Id → ℝ) := fun i => duty w (X.names i)*g i |
| 62 | |
| 63 | def Covers (e : X.Id → ℝ) (κ : ℝ) := ∀ i,0≤e i ∧ ∀ U, ‖X.value i U‖ ≤ κ*e i |
| 64 | |
| 65 | def joint (e : Tuple X.Id) := numbered X.supp e |
| 66 | |
| 67 | def log : Layer G V n where |
| 68 | Id := Tuple X.Id |
| 69 | supp := X.joint |
| 70 | names := nameSet X.names |
| 71 | value := current X.names X.supp X.value |
| 72 | |
| 73 | def negative : Layer G V n := { X.log with |
| 74 | value := fun i => masked P.threshold (X.joint i) (X.log.value i) } |
| 75 | |
| 76 | abbrev logPrice (P : BudgetPoint) := pay P * LogTerms.book P.power P.order |
| 77 | |
| 78 | theorem logs {q : X.Id → Site n} {a b γ : ℝ} (e : X.Id → ℝ) (hw : ∀ i,0 ≤ w i) (ha : 0 ≤ a) (hb : 0 ≤ b) |
| 79 | (hc : 8*((P.B+P.B+1:ℕ):ℝ)^4*γ ≤ 1) (hγ : 0 ≤ γ) |
| 80 | (hi : ∀ i, q i∈X.supp i ∧ P.Regular (X.supp i) (X.value i) ∧ P.supBounds (q i) (X.supp i) (X.value i) (e i)) |
| 81 | (h : Pool X.names X.supp P.B (a+2) (X.weighted w e) b γ) : |
| 82 | ∃ g : Tuple X.Id → ℝ, (∀ i,0 ≤ g i ∧ P.Regular (X.joint i) (X.log.value i) ∧ |
| 83 | ∀ p∈X.joint i,P.supBounds p (X.joint i) (X.log.value i) (g i)) ∧ |
| 84 | Pool X.log.names X.joint P.B a (X.log.weighted w g) (logPrice P*(2*b)) (logPrice P*(2*γ)) ∧ |
| 85 | (X.negative P).Covers g 1 := by |
| 86 | obtain ⟨f,hf,he,hh⟩ := (LogTerms.estimates P).2 X.value X.supp q e X.names w a b γ hb ha hγ hc hw hi h.root h.hit |
| 87 | refine ⟨f,hf,⟨fun i => mul_nonneg (prod_nonneg fun v _ => hw v) (hf i).1,hh,he⟩,fun i => ⟨(hf i).1,fun U => ?_⟩⟩ |
| 88 | rw [one_mul]; by_cases hy : Healthy P.threshold (X.joint i) U |
| 89 | · have hp : q (i.2 0)∈ X.joint i := mem_biUnion.mpr ⟨0,mem_univ _,(hi _).1⟩ |
| 90 | simp only [negative,masked_eq _ _ _ _ hy]; exact ((hf i).2.2 _ hp).2 U hy [] (Nat.zero_le _) (by simp) |
| 91 | simp only [negative,masked_ne _ _ _ _ hy,norm_zero]; exact (hf i).1 |
| 92 | |
| 93 | lemma combine_weighted (e : X.Id→ℝ) (f : Y.Id→ℝ) : (combine X Y).weighted w (Sum.elim e f) = Sum.elim (X.weighted w e) (Y.weighted w f) := |
| 94 | funext (Sum.rec (fun _ => rfl) fun _ => rfl) |
| 95 | |
| 96 | /-- Numerical test on a merger of forced X and optional/enlarged letters Y. |
| 97 | At fixed configuration, each nonzero output dominated by the actual |
| 98 | multiset product divided by its factorials. Each charged output costs one |
| 99 | old forced or more. No orientation or symmetry change inferred. -/ |
| 100 | structure Merge : Prop where |
| 101 | bill : ∃ m : O.Id → Multiset (X.combine Y).Id, Set.InjOn m {i | O.value i≠0} ∧ |
| 102 | ∀ i, O.value i ≠ 0 → ∃ j : X.Id, Sum.inl j ∈ m i ∧ |
| 103 | mesh (X.combine Y).supp (m i) ∧ O.supp i ⊆ collect (X.combine Y).supp (m i) ∧ |
| 104 | O.names i = collect (X.combine Y).names (m i) ∧ ((m i).toFinset : Set (X.combine Y).Id).PairwiseDisjoint (X.combine Y).names ∧ |
| 105 | (∀ j, 2 ≤ (m i).count j → (X.combine Y).names j = ∅) ∧ ∀ U, ‖O.value i U‖ ≤ paid (fun j => ‖(X.combine Y).value j U‖) (m i) |
| 106 | |
| 107 | lemma Merge.display (h : Merge X Y O) {κ : ℝ} (hk : 0 ≤ κ) (hk' : κ ≤ 1) {e : X.Id → ℝ} {f : Y.Id→ℝ} |
| 108 | (he : X.Covers e κ) (hf : Y.Covers f 1) : ∃ g, O.Covers g κ ∧ |
| 109 | Display (X.combine Y).names (X.combine Y).supp O.names O.supp (Sum.elim e f) g 1 := by |
| 110 | obtain ⟨m,hi,hH⟩ := h.bill |
| 111 | let g i := if O.value i ≠ 0 then paid (Sum.elim e f) (m i) else 0 |
| 112 | have hC i (hi : 0<g i) : O.value i ≠ 0 := by by_contra he; simp [g,not_ne_iff.mp (not_not.mpr he)] at hi |
| 113 | have hv : ∀ i, 0 ≤ Sum.elim e f i := Sum.rec (fun i => (he i).1) fun i => (hf i).1 |
| 114 | refine ⟨g,fun i => ?_,⟨m,hi.mono (fun i => hC i),fun i hi => ?_⟩⟩ |
| 115 | · unfold g; split <;> rename_i hh |
| 116 | · obtain ⟨j,hj,_,_,_,_,_,h⟩ := hH i hh |
| 117 | obtain ⟨s,hs⟩ := Multiset.exists_cons_of_mem hj |
| 118 | refine ⟨paid_nonneg hv _, fun U => (h U).trans ?_⟩ |
| 119 | dsimp only [combine] at m ⊢; unfold paid; rw [hs,Multiset.map_cons,Multiset.map_cons,Multiset.prod_cons,Multiset.prod_cons,←mul_div_assoc,←mul_assoc]; gcongr |
| 120 | · exact (Multiset.prod_map_nonneg (by exact fun _ _ => norm_nonneg _)) |
| 121 | · exact mul_nonneg hk (he j).1 |
| 122 | · exact (he _).2 _ |
| 123 | exact Multiset.prod_map_le_prod_map₀ _ _ (fun i _ => norm_nonneg _) fun i _ => (by |
| 124 | rcases i with j|j; exact ((he j).2 _).trans (mul_le_of_le_one_left (he j).1 hk'); simpa [combine] using (hf j).2 U) |
| 125 | simp [not_ne_iff.mp hh] |
| 126 | obtain ⟨_,_,ht,hg,hb,hc,hz,_⟩ := hH i (hC i hi) |
| 127 | exact ⟨ht,hg,hb,hc,hz,by dsimp only [combine]; rw [one_mul,show g i = _ from if_pos (hC i hi)]⟩ |
| 128 | |
| 129 | lemma Merge.estimate (h : Merge X Y O) (w : V → ℝ) (hw : ∀ i, 0 ≤ w i) {a κ b b' γ γ' : ℝ} {M : ℕ} (ha : 0≤a) |
| 130 | (hb : 0 ≤ b+b') (hγ : 0≤γ+γ') (hh : 8*((M+M+1:ℕ):ℝ)^4*(γ+γ') ≤ 1) (hk : 0 ≤ κ) (hk' : κ ≤ 1) |
| 131 | {e : X.Id → ℝ} {f : Y.Id → ℝ} (he : X.Covers e κ) (hf : Y.Covers f 1) |
| 132 | (hX : Pool X.names X.supp M (a+1) (X.weighted w e) b γ) (hY : Pool Y.names Y.supp M (a+1) (Y.weighted w f) b' γ') : |
| 133 | ∃ g, O.Covers g κ ∧ Pool O.names O.supp M a (O.weighted w g) (2*(b+b')) (2*(γ+γ')) := by |
| 134 | have he' : Pool (X.combine Y).names (X.combine Y).supp M (a+1) ((X.combine Y).weighted w (Sum.elim e f)) _ _ := |
| 135 | combine_weighted .. ▸ hX.join hY |
| 136 | obtain ⟨g,hg,hh'⟩ := h.display _ _ _ hk hk' he hf |
| 137 | exact ⟨g,hg,by simpa only [one_mul] using (he'.resold hh' hw (fun i => (hg i).1) ha hγ hh hb zero_le_one)⟩ |
| 138 | |
| 139 | end Layer |
| 140 | end YM.Extra.Multi |