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.Seats |
| 2 | |
| 3 | /-! Cast saved letters back into the actual currency of the scripts. -/ |
| 4 | set_option autoImplicit false |
| 5 | noncomputable section |
| 6 | namespace YM.PhysicalNext.Dictionary.Lobbies.Casting |
| 7 | open Function Filter Set Lattice RG Wilson Pressure Pressure.Tube Pressure.Stores Tree Precision Exterior MeasureTheory Matrix Bloch |
| 8 | open Next.Fluctuations Next.SectorChange Next.SectorChange.Rows Push.SectorMeasure Push.SectorMeasure.Oriented |
| 9 | open AnalyticBridge.Annulus.Map |
| 10 | open AnalyticBridge.RelativeLogdet |
| 11 | open AnalyticBridge.Sharp |
| 12 | open AnalyticBridge.LocalGaussian Spot Spot.Programme |
| 13 | open scoped Topology BigOperators Classical Matrix.Norms.Frobenius ContDiff InnerProductSpace |
| 14 | open Wires Geo Notify Voice Voice.Defenses Voice.Check Parcel Shipment SectorNext.Reconnect SectorNext.Reconnect.Words |
| 15 | variable {G : Gauge} {ι : Type} [DecidableEq ι] {c f : Side} {S : StepData c f} |
| 16 | variable (D : AnalyticBridge.LocalGaussian.Desk G S) (Z : Art ι D) (t : ℝ) (h : Lit D) |
| 17 | {F : Forest S.ratio} {A : Stores S} {a : Ensign S ι} (C : Casting D Z a F A) (k₀ k : S.Choices) (V : Config G c) |
| 18 | local notation "u₀" => chosen D F k₀ A k |
| 19 | local notation "b₀" => Fleet.kSet a |
| 20 | local notation "X₀" => wood D Z a |
| 21 | local notation "N₀" => Shipment.key D Z a |
| 22 | local notation "H₀" => Native.kinetic D.tube F k₀ D.betaHat |
| 23 | |
| 24 | -- Paying letters accumulated here. Keep complete marks outside this |
| 25 | -- product (same p and mean in both). This distinction includes |
| 26 | -- a **qualified K** in the ordinance outside, since the run stamps demand |
| 27 | -- a vacuum gate, not a mark on that slot. |
| 28 | def load (F : Forest S.ratio) (A : Stores S) (a : Ensign S ι) (p : Refs G f) := |
| 29 | let s := ∏ i∈major D a A F, latch D i F A (Fleet.kSet a) k V p |
| 30 | let e := ∑ i∈paper D a A F, sew D i F A (Fleet.kSet a) k V p |
| 31 | let z := ∏ i∈alternates a, shine D t i.1 i.2 F A (Fleet.kSet a) k V p |
| 32 | s*Real.exp e * z |
| 33 | |
| 34 | def tax (F : Forest S.ratio) (A : Stores S) (a : Ensign S ι) (p : Refs G f) := |
| 35 | let w:= (Fleet.addSet a).toRight.toRight |
| 36 | (∏ i ∈ w, choices D Z t (.inr (.inr i)) F A (Fleet.kSet a) k V p) * |
| 37 | ∏ j∈Fleet.kSet a\vacuum a, shutter D Z t (known j) a F A (Fleet.kSet a) k V p |
| 38 | |
| 39 | include C h |
| 40 | private lemma sheet (p : Refs G f) : |
| 41 | let O:= plumage D a A F; let E:= paper D a A F |
| 42 | ∏ i∈ a.toLeft,Booklet.vitalPage D i F A b₀ k V p = (∏ j∈O,latch D (Sum.inl j) F A b₀ k V p)*Real.exp |
| 43 | (∑ j∈E,sew D j F A b₀ k V p) := by |
| 44 | intro O E |
| 45 | have hm : (a.toLeft:Set (Fleet.Packet c f)).PairwiseDisjoint (fun i=>Booklet.checks D i F A) := |
| 46 | fun i hi j hj h₁=> (Booklet.sheets D Z h.toApp ∅ (Finset.Subset.refl _) (Finset.Subset.refl _) C.connected.1 hi hj h₁ F A).1 |
| 47 | have hf : (a.toLeft:Set (Fleet.Packet c f)).PairwiseDisjoint (fun i=>Booklet.history D i F A) := |
| 48 | fun i hi j hj h₁=>(Booklet.sheets D Z h.toApp ∅ (Finset.Subset.refl _) (Finset.Subset.refl _) C.connected.1 hi hj h₁ F A).2 |
| 49 | unfold Booklet.vitalPage; rw [Finset.prod_mul_distrib,←Real.exp_sum] |
| 50 | unfold O E plumage paper; rw [Finset.prod_biUnion hm,Finset.sum_biUnion hf] |
| 51 | refine congr_arg₂ HMul.hMul (Finset.prod_congr rfl fun i hi=>Finset.prod_congr rfl fun j hj=>?_) rfl |
| 52 | exact (if_pos (Lobbies.reserved C (Finset.mem_biUnion.mpr ⟨i,hi,hj⟩)).2).symm |
| 53 | |
| 54 | lemma combine (p : Refs G f) : |
| 55 | (∏ i∈a,shutter D Z t i a F A b₀ k V p)= ((load D t k V F A a p:ℝ):ℂ) * tax D Z t k V F A a p := by |
| 56 | let P (i:Bill S ι):=shutter D Z t i a F A b₀ k V p |
| 57 | let K i := latch D i F A b₀ k V p |
| 58 | let Y:=a.toLeft; let O := plumage D a A F; let E := paper D a A F |
| 59 | have he : Disjoint O (optionalTests a) := Finset.disjoint_left.mpr fun i h₁ h₂=> (free C h₂).2 (Lobbies.reserved C h₁).2 |
| 60 | have hf := Finset.prod_union he (f:=fun i=>K (.inl i)) |
| 61 | unfold load tax; dsimp only |
| 62 | rw [Finset.prod_sum_eq_prod_toLeft_mul_prod_toRight]; rw [Finset.prod_sum_eq_prod_toLeft_mul_prod_toRight (s:=a.toRight)] |
| 63 | rw [Finset.prod_sum_eq_prod_toLeft_mul_prod_toRight (s:=a.toRight.toRight)] |
| 64 | rw [Finset.prod_sum_eq_prod_toLeft_mul_prod_toRight (s:=a.toRight.toRight.toRight)] |
| 65 | let R:=a.toRight.toRight.toRight.toRight |
| 66 | let e := ∏ i∈alternates a, shine D t i.1 i.2 F A b₀ k V p |
| 67 | let m:=∑ j∈E,sew D j F A b₀ k V p |
| 68 | have hu : ∏ i∈Y,P (.inl i) = (↑((∏ i∈O,K (.inl i))*Real.exp m):ℂ) := by rw [←sheet D Z h C k V p]; push_cast; rfl |
| 69 | have hk (i) (hi : i∈vacuum a) : P (known i)=(↑(K (.inr i)):ℂ) := by |
| 70 | change Shipment.job D Z i (qualifierAt a i) F A b₀ k V p=_ |
| 71 | rw [(Finset.mem_filter.mp hi).2]; rfl |
| 72 | have hb (i) (hi : i∈optionalTests a) : P (suggest (supplement i))=(↑(K (.inl i)):ℂ) := by |
| 73 | have he:= (free C hi).2 |
| 74 | change (↑(complement D i F A b₀ k V p):ℂ) =_ |
| 75 | unfold K latch; dsimp only; rw [if_neg he] |
| 76 | change (∏ i∈Y,P (.inl i))*((∏ i∈b₀,P (.inr (.inl i)))*((∏ i∈optionalTests a,P (suggest (supplement i)))* |
| 77 | ((∏ i∈alternates a,P (suggest (.inr (.inl i))))* ∏ j∈ R,P (suggest (.inr (.inr j)))))) = |
| 78 | (↑((∏ i ∈ major D a A F, K i)*Real.exp m*e) : ℂ) *((∏ j∈ R,P (suggest (.inr (.inr j)))) * (∏ j∈b₀\vacuum a,P (known j))) |
| 79 | rw [hu,← Finset.prod_sdiff (f:=fun i : ℕ=> P (.inr (.inl i))) (show vacuum a ⊆ Fleet.kSet a from Finset.filter_subset ..), |
| 80 | Finset.prod_congr rfl hk,Finset.prod_congr rfl hb] |
| 81 | have hv : (∏ i∈alternates a,P (suggest (.inr (.inl i))))=(e:ℂ) := by unfold e; push_cast; rfl |
| 82 | rw [hv,major,Finset.prod_disjSum]; change _ = (↑(((∏ i∈O∪optionalTests a,K (.inl i))*_)*_ * _):ℂ) * _ |
| 83 | rw [hf]; push_cast; ring |
| 84 | |
| 85 | lemma unity (p : (N₀).Person D F A) : |
| 86 | let v:= (N₀).embed D F A p |
| 87 | (showtime D Z t h C k₀ k).word V p=load D t k V F A a v := by |
| 88 | intro v |
| 89 | unfold Reading.word; change (∏ i : Casting.Alien (D:=D) (A:=A) (F:=F) (a:=a), Casting.lounge t i F A b₀ k V v) * |
| 90 | Real.exp (∑ i : paper D a A F,sew D i F A b₀ k V v)*(∏ i:everyday a,(_-1)) =_ |
| 91 | let f (i : ListID S × Bool) := shine D t i.1 i.2 F A b₀ k V v |
| 92 | have he : alternates a=specials a ∪ everyday a := by ext i; simp [specials,everyday]; cases hasVersions i.1 <;> simp_all |
| 93 | have ht : Disjoint (specials a) (everyday a) := Finset.disjoint_left.mpr fun i h h' => by |
| 94 | have hx:=(Finset.mem_filter.mp h).2; have hh:=(Finset.mem_filter.mp h').2; rw [hx] at hh; contradiction |
| 95 | have hh (i : everyday a) : Real.exp (introduce D i.val.1 F A b₀ k V v)-1=f i := by |
| 96 | have hu:= (Finset.mem_filter.mp i.property).2 |
| 97 | have ha:= (worlds C (Casting.dial i).property).2.2 |
| 98 | change i.val.2=false ∨ hasVersions i.val.1=true at ha |
| 99 | cases hi : i.val.1 with |
| 100 | | letter j=>change hasVersions i.val.1=false at hu; rw [hi] at hu; contradiction |
| 101 | | _=>cases hl : i.val.2 <;> simp [f,hi,hl,hasVersions,shine] at ha ⊢ |
| 102 | unfold Casting.Alien; rw [Fintype.prod_sum_type] |
| 103 | unfold load; dsimp only |
| 104 | rw [show (∏ i∈alternates a, shine D t i.1 i.2 F A b₀ k V v) = ∏ i∈specials a∪everyday a,f i from he.symm ▸ rfl, Finset.prod_union ht] |
| 105 | have hq : (∏ i : everyday a,(Real.exp (introduce D i.val.1 F A b₀ k V v)-1))=∏ i∈everyday a,f i := by simp_rw [hh]; exact Finset.prod_coe_sort .. |
| 106 | change _ * _ * (∏ i : everyday a,(Real.exp (introduce D i.val.1 F A b₀ k V v)-1))=_ |
| 107 | rw [hq,← Finset.prod_coe_sort (major D a A F),← Finset.prod_coe_sort (specials a),← Finset.sum_coe_sort (paper D a A F)] |
| 108 | unfold f Casting.lounge; dsimp only [Sum.elim_inl, Sum.elim_inr]; ring |
| 109 | end YM.PhysicalNext.Dictionary.Lobbies.Casting |