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.PhysicalNext.ACTUAL_SECTOR_FACTOR_DICTIONARY.Courtesy |
| 2 | |
| 3 | /-! |
| 4 | # Rolling up the review bills |
| 5 | |
| 6 | Use literal covered packet/schedule normalizations. All identities |
| 7 | still pointwise in the physical variables, not requiring any putative |
| 8 | output/local coefficient envelopes. |
| 9 | -/ |
| 10 | set_option autoImplicit false |
| 11 | noncomputable section |
| 12 | namespace YM.PhysicalNext.Dictionary.Formal |
| 13 | open Function Filter Set Lattice RG Wilson Pressure Pressure.Tube Pressure.Stores Tree Precision Exterior MeasureTheory Matrix Bloch |
| 14 | open Next.Fluctuations Next.Fluctuations.Sector Next.SectorChange Next.SectorChange.Rows Push.SectorMeasure Push.SectorMeasure.Oriented Push.SectorMeasure.Presented |
| 15 | open AnalyticBridge.Annulus.Map |
| 16 | open AnalyticBridge.LocalGaussian Spot |
| 17 | open scoped Topology BigOperators Classical Matrix.Norms.Frobenius ContDiff InnerProductSpace YM.PhysicalNext.Dictionary.Formal |
| 18 | open Wires Geo Notify Voice Voice.Check Voice.Defenses Parcel Shipment Lobbies SectorNext.Reconnect SectorNext.Reconnect.Words |
| 19 | open Finset hiding card |
| 20 | variable {G : Gauge} {c f : Side} {S : StepData c f} {I : Type} [DecidableEq I] |
| 21 | (D : AnalyticBridge.LocalGaussian.Desk G S) (h : Lit D) (F : Forest S.ratio) (A : Stores S) (k₀ k : S.Choices) (V : Config G c) (Z : Art I D) (s : ℝ) (m : Finset I) |
| 22 | (i : Head I) (v : Versions i) (l : Tryouts S) |
| 23 | local notation "H₀"=>chosen D F k₀ A k |
| 24 | local notation "T"=>Voice.Check.Test |
| 25 | local notation "B"=>radiusB D.betaHat |
| 26 | local notation "P"=>submit i D A v l |
| 27 | local notation "Q"=>Fleet.packs S (hump B) (Fleet.manifest A) |
| 28 | local notation "X"=>construct (I:=I) D A |
| 29 | |
| 30 | -- Prerequisites for Art not needed yet. Keep beam variants until later. |
| 31 | def lookup (j : ℕ) := Shipment.answer (fun l=>(j,l) ∈ torn i) |
| 32 | def lamps (p : Refs G f) : ℂ := (∏ j∈team i, job D Z j (lookup i j) F A (team i) k V p) * (∏ j∈coin i,Z.units j) * |
| 33 | ∏ j : menu i, choices D Z s (bead j (v j)) F A (team i) k V p |
| 34 | |
| 35 | lemma qualifies (j : ℕ) : qualifierAt (P) j = lookup i j := by |
| 36 | unfold qualifierAt lookup |
| 37 | apply congr_arg Shipment.answer |
| 38 | funext x; rw [propext (storeworks D A i v l _), propext (bought i v l _)] |
| 39 | |
| 40 | include h |
| 41 | lemma reserved_page (p : Refs G f) : ∏ j∈(Q), Booklet.vitalPage D j F A (team i) k V p = sealedBook D F A k V (team i) p := by |
| 42 | have hp : Pieces (Fleet.spans S (hump B)) (Q) := Words.partition .. |
| 43 | let Z := ({names:=fun _=>∅,sig:=fun _ _=>∅,score:=0,essay:=0,units:=0,plot:=fun _=>∅,origin:=id}: Art (Site f) D) |
| 44 | have hk {u} (he : u∈(Q)) {v} (hi : v∈(Q)) (ht : u≠v) := Booklet.sheets D Z h.toApp ∅ (Finset.Subset.refl _) (Finset.Subset.refl _) hp.1 he hi ht F A |
| 45 | unfold sealedBook invoked volumes Booklet.vitalPage; rw [Finset.prod_mul_distrib, ←Real.exp_sum] |
| 46 | rw [Finset.prod_biUnion (fun _ hi _ hj he=> (hk hi hj he).1),Finset.sum_biUnion (fun _ hi _ hj he=>(hk hi hj he).2)] |
| 47 | |
| 48 | omit h in |
| 49 | lemma offerings (ht : progress D A F i l) (p : Refs G f) : |
| 50 | let q := shops i v l |
| 51 | ∏ j∈q, choices D Z s j F A (team i) k V p = |
| 52 | ((tickets D F A k V (team i) s p l : ℝ):ℂ) * ((∏ j∈coin i,Z.units j) *∏ j:menu i, choices D Z s (bead j (v j)) F A (team i) k V p) := by |
| 53 | intro q; unfold q shops tickets Optional.subsetTerm; simp_rw [Finset.prod_disjSum] |
| 54 | let Y := fun j=>choices D Z s j F A (team i) k V p |
| 55 | have h₁ (j : T c f) (hj:j∈l.1) : Y (.inl j)= (↑(examFee D F A k V (team i) p j) : ℂ) := by unfold examFee; rw [if_pos (ht.2.1 j hj)]; rfl |
| 56 | have h₂ (j) (hj:j∈l.2) : Y (.inr (.inl j))= (↑(volley D F A k V (team i) s p j) : ℂ) := by unfold volley; rw [if_pos (ht.2.2 j hj)]; rfl |
| 57 | have he : ∏ j∈torn i, Y (.inr (.inr (.inr j)))=1 := Finset.prod_eq_one fun _ _=>rfl |
| 58 | let R := ∏ j : menu i,Y (bead j (v j)) |
| 59 | have hf : (∏ j∈curtains i v,Y (.inr (.inr (.inl (.inr j)))))=R := by rw [curtains, Finset.prod_map]; rfl |
| 60 | rw [if_pos ht.1] |
| 61 | change (∏ j∈l.1,Y (.inl j)) * ((∏ j∈l.2,Y (.inr (.inl j)))*(((∏ j∈coin i,Z.units j) * _)*_))=_ |
| 62 | rw [Finset.prod_congr rfl h₁,Finset.prod_congr rfl h₂,he] -- hf |
| 63 | change _*((_)*((_* (∏ j∈curtains i v,Y (.inr (.inr (.inl (.inr j)))))) *1))=_ |
| 64 | rw [hf]; change _=_*(_*R); push_cast; ring |
| 65 | |
| 66 | lemma program (uPAGE : (H₀).Visual) : crude D Z s F V A m (P) k uPAGE = |
| 67 | if welcomes D A Z i m then |
| 68 | let p:=Print.backdrop D.betaHat A F uPAGE |
| 69 | lamps D F A k V Z s i v p * (↑(sealedBook D F A k V (team i) p * tickets D F A k V (team i) s p l) : ℂ) |
| 70 | else 0 := by |
| 71 | unfold crude |
| 72 | by_cases he : welcomes D A Z i m |
| 73 | swap |
| 74 | · rw [if_neg he,if_neg (fun hz=>he ((listed D A F Z i v l m).mp hz).1)] |
| 75 | rw [if_pos he]; dsimp only |
| 76 | let p:=Print.backdrop D.betaHat A F uPAGE |
| 77 | by_cases ht : progress D A F i l |
| 78 | swap |
| 79 | · rw [if_neg (fun hz=>ht ((listed D A F Z i v l m).mp hz).2)] |
| 80 | have hq : tickets D F A k V (team i) s p l=0 := by |
| 81 | by_contra hz; have hi:=left_ne_zero_of_mul hz; have hj:=right_ne_zero_of_mul hz |
| 82 | apply ht |
| 83 | have hp : Fleet.pure Prod.fst l.2 := of_not_not (fun H=>hj (if_neg H)) |
| 84 | refine ⟨hp,fun j hu=>of_not_not (fun hh=>?_),?_⟩ |
| 85 | · have HB : (∏ u∈l.1,examFee D F A k V (team i) p u) ≠ 0 := hi |
| 86 | exact Finset.prod_ne_zero_iff.mp HB j hu (if_neg hh) |
| 87 | intro j hu; by_contra! hh |
| 88 | apply Finset.prod_ne_zero_iff.mp (show (∏ u ∈ l.2, volley D F A k V (team i) s p u) ≠ 0 from ?_) j hu (if_neg hh) |
| 89 | intro H; exact hj ((if_pos hp).trans H) |
| 90 | rw [hq,mul_zero,Complex.ofReal_zero,mul_zero] |
| 91 | rw [if_pos ((listed D A F Z i v l m).mpr ⟨he,ht⟩), submit,Fleet.draft_k] |
| 92 | rw [show Fleet.draft (hump B) A (team i) (shops i v l) = (P) from rfl] |
| 93 | let f := fun j=> shutter D Z s j (P) F A (team i) k V p |
| 94 | change (∏ j ∈ ((Q).disjSum ((team i).disjSum (shops i v l))), f j)= lamps .. * _ |
| 95 | rw [Finset.prod_disjSum,Finset.prod_disjSum] |
| 96 | have H (j : ℕ) : f (Sum.inr (Sum.inl j)) = job D Z j (lookup i j) F A (team i) k V p := by |
| 97 | unfold f shutter; rw [← qualifies D A i v l j] |
| 98 | unfold lamps |
| 99 | let a:=sealedBook D F A k V (team i) p |
| 100 | have ha : ∏ j∈(Q),f (.inl j)=(↑a:ℂ) := by |
| 101 | unfold a; rw [← reserved_page D h F A k V i p]; push_cast; rfl |
| 102 | let U:=∏ j∈coin i,Z.units j |
| 103 | let R:=∏ j : menu i, choices D Z s (bead j (v j)) F A (team i) k V p |
| 104 | let b:=tickets D F A k V (team i) s p l |
| 105 | have hb : ∏ j∈shops i v l,f (.inr (.inr j))=(↑b:ℂ)*(U*R) := offerings D F A k V Z s i v l ht p |
| 106 | change _= ((_*U)*R)*(↑(a*b):ℂ) |
| 107 | rw [ha,hb,Complex.ofReal_mul]; simp_rw [H]; ring |
| 108 | |
| 109 | lemma purchase (uPAGE : (H₀).Visual) (hc : (H₀).Clearing V) |
| 110 | (hs : Summable (fun l=> crude D Z s F V A m (submit i D A v l) k uPAGE)) : |
| 111 | HasSum (fun l=> crude D Z s F V A m (submit i D A v l) k uPAGE) |
| 112 | (if welcomes D A Z i m then |
| 113 | lamps D F A k V Z s i v (Print.backdrop D.betaHat A F uPAGE) * (↑((∏ j,exam D F A k₀ k V (team i) uPAGE j)*Real.exp ((H₀).sumValue V uPAGE)):ℂ) |
| 114 | else 0) := by |
| 115 | simp_rw [program D h F A k₀ k V Z s m i v _ uPAGE] at hs ⊢ |
| 116 | by_cases he : welcomes D A Z i m |
| 117 | · simp_rw [if_pos he] at hs ⊢; exact wing D h F A k₀ k V (team i) s uPAGE hc he.2.1.1 _ hs |
| 118 | simp_rw [if_neg he]; exact hasSum_zero |
| 119 | |
| 120 | -- Head reduction. Pay from Crude exactly; no generic algebra interface |
| 121 | -- remaining. |
| 122 | theorem headings (uPAGE : (H₀).Visual) (hc : (H₀).Clearing V) {z : ℂ} |
| 123 | (hs : HasSum (fun i=> crude D Z s F V A m i k uPAGE) z) : |
| 124 | HasSum (fun i=>if welcomes D A Z i m then |
| 125 | (∑ v:Versions i, lamps D F A k V Z s i v (Print.backdrop D.betaHat A F uPAGE)) * |
| 126 | (↑((∏ j,exam D F A k₀ k V (team i) uPAGE j)*Real.exp ((H₀).sumValue V uPAGE)):ℂ) |
| 127 | else 0) z := by |
| 128 | let v i:= crude D Z s F V A m i k uPAGE |
| 129 | have hp : HasSum (v ∘ (X)) z := (build_inj D A).hasSum_iff (fun i he=> ?_) |>.mpr hs |
| 130 | swap |
| 131 | · unfold v crude; split |
| 132 | next ht=> |
| 133 | obtain ⟨ht,h0,h1⟩:=ht |
| 134 | have hz : Words.permits (Fleet.required S D.labels _ question) i := fun i hi=>(h1 i hi).1 |
| 135 | apply False.elim (he (build_range D A i ?_ hz)) |
| 136 | unfold Shipment.station at ht; rw [←ht,Fleet.restored (parent:=question) hz] |
| 137 | rfl |
| 138 | let d (i : Head I): ℂ := ↑((∏ j,exam D F A k₀ k V (team i) uPAGE j)*Real.exp ((H₀).sumValue V uPAGE)) |
| 139 | let t (i : Hypothesis I) := if welcomes D A Z i.1 m then lamps D F A k V Z s i.1 i.2 (Print.backdrop D.betaHat A F uPAGE)*d i.1 else 0 |
| 140 | have hh : HasSum t z := hp.prod_fiberwise (by |
| 141 | rintro ⟨i,q⟩ |
| 142 | exact purchase D h F A k₀ k V Z s m i q uPAGE hc (hp.summable.prod_factor (⟨i,q⟩:Hypothesis I))) |
| 143 | refine hh.sigma ?_ |
| 144 | intro b |
| 145 | convert! hasSum_fintype (fun x=> t (⟨b,x⟩:Hypothesis I)) using 1 |
| 146 | unfold t d; dsimp only; split <;> rename_i he |
| 147 | · exact Finset.sum_mul .. |
| 148 | simp [he] |
| 149 | end YM.PhysicalNext.Dictionary.Formal |