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.MergeProof.SwitchCost |
| 2 | import YM.PhysicalNext.RG_NEXT_COMPLETE_REPEATABLE_NONLINEAR_STEP.Mallow.Cruise |
| 3 | import YM.PhysicalNext.RG_NEXT_COMPLETE_REPEATABLE_NONLINEAR_STEP.Yearling.Garter |
| 4 | |
| 5 | /-! # Following reallocations. Use Switch lift under awards. -/ |
| 6 | set_option autoImplicit false |
| 7 | noncomputable section |
| 8 | namespace YM.Merge.Motion |
| 9 | open Function Filter Set Lattice Wilson RG Ovens Ovens.Pipes MeasureTheory Work.H03 |
| 10 | open Pressure Progress.DirectedRecipe Rack ConnectedActivityE6 Finset Push Push.AbsoluteSums |
| 11 | open PhysicalNext.Repeat Mallow Daisy Switch |
| 12 | open scoped Topology ContDiff Matrix.Norms.Frobenius BigOperators Classical |
| 13 | variable {ι:Type}[Fintype ι] {G : Gauge}{n : Side} |
| 14 | {X:Pipes G n} {d:Tap G n} {P : BudgetPoint} {r c δ A B κ γ w v a:ℝ} {o : Site n} |
| 15 | structure Pays (A : Activities G n)(P: BudgetPoint)(f : ℝ → Finset ι → Code G n)(w α : ℝ): Prop where |
| 16 | term j : f 0 j=A.K |
| 17 | licensed x j : x∈Set.Icc 0 1 → (black A (f x j)).ForcedFamily P |
| 18 | bought : ∃ c:ℕ→ℝ,(∀ i,Paid (fun y t j=> f t j i y) (c i)) ∧ Ac.Hit (fun i=>(A.forced i).support) P.B c α w |
| 19 | variable {W : ℝ→ Finset ι → Code G n} (h : Pays (X.pours d) P W B (P.supportExponent+1)) |
| 20 | lemma PaidK {t : ℝ} {X:Activities G n} (h:Pays X P W B A)(hx:0 ≤ A)(ht : t∈Set.Icc (0:ℝ) 1)(v: Finset ι): Dominated (W t v):=by |
| 21 | obtain ⟨f,hF,hM⟩:=h.bought |
| 22 | have hp:=AbsoluteSums.Product.everyone_ne _ _ (fun i=> (hF i).rocket) (fun i _=> (X.forced i).inventory_ne.mono (X.forced i).inventory_sup) hM |
| 23 | refine ⟨f,hp.2.1.of_nonneg_of_le (fun i=> (hF i).rocket) (fun i=> le_mul_of_one_le_right (hF i|>.rocket) (Real.one_le_exp (mul_nonneg hx (by positivity)))),fun i u=> Paid.tasting (hF i) u t ht v⟩ |
| 24 | variable (hp : Vapor X d P w) (he: Payments.Rates P.B A B w κ) |
| 25 | include h hp |
| 26 | lemma kitch (x : ℝ)(ht:x∈ Set.Icc (0:ℝ) 1)(i:Finset ι): Kiln X (spice d (W x i)) P := by |
| 27 | refine ⟨h.licensed _ _ ht,fun i V hi hu=> hi (hp.visits i V hu),?_,hp.travels,hp.texts,hp.tails,PaidK h (le_add_of_le_of_nonneg P.exponent_pos.le zero_le_one) ht i⟩ |
| 28 | obtain ⟨f,hF,hv⟩:= hp.funds |
| 29 | have hh := (Activities.summable_charge X.sites hF.1 (Payments.drop_reserve P _ hF.1 hF.2)); exact ⟨f,hh,hv⟩ |
| 30 | omit h hp |
| 31 | private def primaryP (p q : ℕ → ℝ) (κ : ℝ) : Ovens.Label → ℝ:= Sum.elim (fun i=> Real.exp κ * p i) (fun i=> 2*q i) |
| 32 | private def mild (κ : ℝ)(i:Ovens.Label) := Sum.elim (fun _=> Real.exp (-κ)) (fun _=>1) i |
| 33 | private theorem scaleInk {ι : Type*}(p : ι→Support n)(b : ι→ℝ){P : BudgetPoint} (hh:Ac.Hit p P.B b (P.supportExponent+1) v)(ha:0≤a): Ac.Hit p P.B (fun i=> a*b i) (P.supportExponent+1) (a*v):=by |
| 34 | intro i; convert! budget_scale ha (hh i) using 1; ext j; by_cases hk:i∈p j <;> simp [hk,mul_assoc] |
| 35 | -- pure prop certification |
| 36 | include h hp he |
| 37 | lemma wallets : ∃ f : Ovens.Label → ℝ,(∀ i,0≤ f i) ∧ Ac.Hit X.patch P.B f (P.supportExponent+1) (Payments.inflation B w κ) ∧ ∀ i, Paid (fun U t j=>reach (spice d (W t j)) i U) (mild κ i*f i):= by |
| 38 | obtain ⟨f,hP,hH⟩:= h.bought |
| 39 | have hf i:= (hP i).rocket; obtain ⟨v,hv,hg⟩:= hp.funds |
| 40 | refine ⟨primaryP f v κ,fun i=>?_, ?_,fun i=> ?_⟩ |
| 41 | · cases i |
| 42 | · exact mul_nonneg (Real.exp_pos _).le (hf _) |
| 43 | exact mul_nonneg zero_le_two (hv.1 _) |
| 44 | · exact Labels.together _ _ _ (scaleInk _ _ (P:=P) hH (Real.exp_pos κ).le) (scaleInk _ _ (P:=P) hv.2 (show (0:ℝ)≤2 by norm_num)) |
| 45 | rcases i with i|i; simp only [primaryP,mild, Sum.elim_inl,Real.exp_neg,inv_mul_cancel_left₀ (Real.exp_pos κ).ne']; exact hP i |
| 46 | simp only [primaryP,mild,Sum.elim_inr,one_mul]; refine Switch.constant (reach d (Sum.inr i)) (mul_nonneg zero_le_two (hv.1 i)) ?_ |
| 47 | intro U |
| 48 | change |Real.exp (d.logarithm i U)-1|≤2*v i |
| 49 | apply (Real.abs_exp_sub_one_le ?_).trans (mul_le_mul_of_nonneg_left (hg i U) zero_le_two); obtain ⟨p,hp⟩:= X.sites i |
| 50 | have he' := Samples.one_le_quote (Payments.drop_reserve P _ hv.1 hv.2 p) i; rw [if_pos hp] at he' |
| 51 | exact (hg i U).trans ((P.loMass _ _ (hv.1 i)).trans (he'.trans he.soft_limit)) |
| 52 | lemma harvest (F : ℕ ≃ Pellet X): Pays (fused F P d) P (fun t i=> solid F P (spice d (W t i))) A P.supportExponent:=by |
| 53 | constructor |
| 54 | · intro j; rw [show spice d (W 0 j)=d by rw [h.term]; rfl]; rfl |
| 55 | · intro t j ht; obtain ⟨h,h₁,h₂,h₃,h₄,h₅,h₆⟩:= Passage.fused_forcedFamily F (kitch h hp t ht j) |
| 56 | exact ⟨h,h₁,h₂,h₃,h₄,h₅,h₆⟩ |
| 57 | obtain ⟨f,hF,hW,hK⟩:=wallets h hp he |
| 58 | let v i:= ∏ j∈ (F i).val, f j; let M i:= Real.exp (-κ)*v i; let γ:=Payments.inflation B w κ |
| 59 | have hp : 0≤ γ:= add_nonneg (mul_nonneg (Real.exp_pos _).le he.hard) (mul_nonneg zero_le_two he.soft) |
| 60 | have hv i :0≤ v i:= prod_nonneg fun j _=> hF _; have hh i:0≤ M i:=mul_nonneg (Real.exp_pos _).le (hv i) |
| 61 | refine ⟨M,fun i=>?_,fun x=>?_⟩ |
| 62 | · let f':= ∏ j∈(F i).val,fun U t i'=>reach (spice d (W t i')) j U |
| 63 | have hg:= Paid.prod (F i).val _ _ (fun j (_ : j∈(F i).val)=> hK j) |
| 64 | refine Paid.congr ((Paid.gate (X:={U|(addr F P i).eligible P.threshold U}) (hg.weaken ?_))) (fun U t ht=> ?_) |
| 65 | · rw [prod_mul_distrib]; unfold M v; apply mul_le_mul_of_nonneg_right _ (hv _) |
| 66 | obtain ⟨j,hj⟩:= (F i).property.1 |
| 67 | have hm (i : Ovens.Label):mild κ i≤1:=by cases i; exact Real.exp_le_one_iff.mpr (neg_nonpos.mpr he.heading); rfl |
| 68 | rw [← mul_prod_erase _ _ (Finset.mem_toLeft.mp hj)] |
| 69 | exact mul_le_of_le_one_right (Real.exp_pos (-κ)).le (Finset.prod_le_one (fun i hi=> by cases i; exact (Real.exp_pos _).le; exact zero_le_one) (fun i hi=> hm i)) |
| 70 | ext i'; by_cases hz: (addr F P i).eligible P.threshold U |
| 71 | · rw [Set.indicator_of_mem (show U∈_ from hz)]; simp_rw [Finset.prod_apply]; exact (if_pos hz).symm |
| 72 | rw [Set.indicator_of_notMem]; exact (if_neg (show ¬ (addr F P i).eligible P.threshold U from hz)).symm; exact hz |
| 73 | · have hR:= Ac.forest X.patch P.B P.exponent_pos.le hF hW he.capital hp x |
| 74 | let b (p):= (F p).val; have hi : Injective b:= Subtype.val_injective.comp F.injective |
| 75 | refine budget_loosen (budget_mono (budget_scale (Real.exp_pos (-κ)).le (budget_pull b hi hR)) (fun i=>?_) (fun i=> ?_)) he.returns |
| 76 | · split; · exact mul_nonneg (hh _) (Real.exp_pos _).le |
| 77 | exact le_rfl |
| 78 | split |
| 79 | next h=> |
| 80 | unfold Ac.roots; dsimp only; rw [if_pos ⟨(F i).property.2.1,h⟩]; apply le_of_eq; change M i*_=Real.exp (-κ) *(Real.exp _* v i) -- orientation? |
| 81 | unfold M v; ring_nf; rfl |
| 82 | exact (budget_scale (Real.exp_pos (-κ)).le (budget_pull b hi hR)).1 _ |
| 83 | omit he hp |
| 84 | lemma widening : Pays ((drawer G n).pours (widen X d)) P (fun t i=>stuff (upK X) (W t i)) B (P.supportExponent+1):=by |
| 85 | refine ⟨fun j=> ?_,fun v j hv=>?_,?_⟩ |
| 86 | · rw [h.term]; rfl |
| 87 | · apply (Rack.preserves X (spice d (W v j)) P).forced_family (?_) (fun _ _ _ => Iff.rfl) (fun _ => MeasurableSet.univ) (fun _ _ _ _ _ => rfl) |
| 88 | exact h.licensed v j hv |
| 89 | obtain ⟨f,hv,hB⟩:=h.bought; let i:=upK X; refine ⟨stuff i f, fun k=> ?_, fun x=> ?_⟩ |
| 90 | · by_cases ht:k∈Set.range i |
| 91 | · obtain ⟨k,rfl⟩:=ht; simp_rw [i,stuffed];exact hv k |
| 92 | rw [blank _ _ ht];unfold i at ht;simp_rw [blank _ _ ht];exact paidZero (ι:=ι) (U:=Config G n) |
| 93 | refine transfer_budget i ?_ ?_ (hB x) |
| 94 | · intro z; simp only [pours,i,stuffed]; rw [hard_up]; rfl |
| 95 | intro z hz; split; rw [blank _ f hz, zero_mul]; rfl |
| 96 | include hp |
| 97 | lemma winter (F : ℕ ≃ (drawer G n).Pellet) (t : ℝ)(i:Finset ι)(ht:t∈ Icc (0:ℝ) 1)(U:Config G n): HasSum (fun p=> (fused F P (widen X (spice d (W t i)))).gasOccurrence P p U) |
| 98 | ((black (X.pours d) (W t i)).gas P U * Real.exp (∑' i,d.logarithm i U)):=by |
| 99 | have hy:= Passage.gathered (F:=F) (kitch (Motion.widening h) (shown hp) t ht i) U |
| 100 | rw [show spice (widen X d) (stuff (upK X) (W t i))=widen X (spice d (W t i)) from rfl] at hy |
| 101 | rw [(Rack.preserves _ _ _).same_gas,Rack.same_log] at hy;exact hy |
| 102 | end YM.Merge.Motion |