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.Defenses |
| 2 | import YM.PhysicalNext.ACTUAL_SECTOR_FACTOR_DICTIONARY.Issued |
| 3 | |
| 4 | /-! Programme for this exact dictionary, including chronology of |
| 5 | protections and actual-vs-predicted spelling at each stamp. |
| 6 | -/ |
| 7 | set_option autoImplicit false |
| 8 | set_option linter.unusedVariables false |
| 9 | noncomputable section |
| 10 | namespace YM.PhysicalNext.Dictionary.Parcel |
| 11 | open Function Filter Set Lattice RG Wilson Pressure Pressure.Tube Pressure.Stores Tree Precision Exterior MeasureTheory Matrix Bloch |
| 12 | open Next.Fluctuations Next.SectorChange Next.SectorChange.Rows Push.SectorMeasure Push.SectorMeasure.Oriented |
| 13 | open AnalyticBridge.Annulus.Map |
| 14 | open AnalyticBridge.RelativeLogdet |
| 15 | open AnalyticBridge.LocalGaussian AnalyticBridge.LocalGaussian.Spot |
| 16 | open scoped Topology BigOperators Classical Matrix.Norms.Frobenius ContDiff InnerProductSpace |
| 17 | open Wires Geo Notify Voice Voice.Check Voice.Defenses |
| 18 | variable {G : Gauge} {c f : Side} {S : StepData c f} (D : AnalyticBridge.LocalGaussian.Desk G S) |
| 19 | {F : Forest S.ratio} {A : Stores S} {k : S.Choices} |
| 20 | local notation "t₀" => D.betaHat |
| 21 | local notation "B" => radiusB D.betaHat |
| 22 | |
| 23 | /-- rollout after restoring the all-doors environment. -/ |
| 24 | def bare : Voice.Check.Test c f → Bool |
| 25 | | .screen _ => false |
| 26 | | _=>true |
| 27 | |
| 28 | def frontage (i : Voice.Check.Test c f) : Formula G S ℝ := fun F A b k V p=> |
| 29 | let u:= films D i F A b k V p |
| 30 | if wanted S t₀ A i ∨ bare i=false then u else 1+(u-1)*tarp D (post S i) F A b k V p |
| 31 | |
| 32 | def intact (j : ℕ) : Formula G S ℝ := fun F A b k V p=>cargo D j F A b k V p * tarp D (custody D j) F A b k V p |
| 33 | |
| 34 | def timing (i : Voice.Check.Test c f ⊕ ℕ) : ℕ := match i with |
| 35 | | .inl (.screen _) => 0 |
| 36 | | .inl _ => 1 |
| 37 | | .inr _ => 1 |
| 38 | |
| 39 | def sales (i : Voice.Check.Test c f ⊕ ℕ) := i.elim (frontage D) (intact D) |
| 40 | |
| 41 | def receipt (i : ListID S) : Formula G S ℝ := fun F A b=> if wants D A i then sew D i F A b else introduce D i F A b |
| 42 | |
| 43 | variable (k₀ : S.Choices) (b : Finset ℕ) (u : Spot D) |
| 44 | |
| 45 | def pushcard (i : Formula G S ℝ) (V : Config G c) (p : u.Visual) : ℝ := i u.F u.A b u.k V (Print.backdrop t₀ u.A u.F p) |
| 46 | |
| 47 | abbrev stores (i : u.Gates b) := pushcard D b u (sales D (historical D u i)) |
| 48 | abbrev topcard (i : u.Log) := pushcard D b u (receipt D (written D u i)) |
| 49 | |
| 50 | -- proof in the exact Camera; `u` generic only for abbreviations. |
| 51 | local notation "U₀" => chosen D F k₀ A k |
| 52 | |
| 53 | private lemma paints (h : Route.Badge.App D) (V : Config G c) (p : (U₀).Visual) (hc : (U₀).Clearing V) |
| 54 | (hn : ∀ i:(U₀).ActiveKey,(U₀).gate b (.inl (.inr (.inr (.inr (.inr i))))) V p≠0) (s : Support c) : |
| 55 | pushcard D b U₀ (tarp D s) V p =1 := by |
| 56 | let z:=Print.backdrop t₀ A F p |
| 57 | have ht (i :(U₀).ActiveKey) := hn i |
| 58 | have he : Print.see t₀ A F z=p := Print.rollback .. |
| 59 | rw [← he] at ht |
| 60 | exact Spotter.protects D h F k₀ A k b V hc z ht s |
| 61 | |
| 62 | private lemma films_back (h : Route.Badge.App D) (V : Config G c) (p : (U₀).Visual) (hc : (U₀).Clearing V) (i : (U₀).Gates b) : |
| 63 | (U₀).gate b i V p=(historical D U₀ i).elim (fun j=>films D j F A b k V (Print.backdrop t₀ A F p)) |
| 64 | (fun j=>cargo D j F A b k V (Print.backdrop t₀ A F p)) := by |
| 65 | have ht := true_gate D h F A k k₀ V b hc.flags (Print.backdrop t₀ A F p) i |
| 66 | dsimp only at ht; rwa [Print.rollback] at ht |
| 67 | |
| 68 | private lemma precedence (h : Route.Badge.App D) (V : Config G c) (p : (U₀).Visual) (i : (U₀).Gates b) (hc : (U₀).Clearing V) |
| 69 | (ht : ∀ j, timing (historical D U₀ j) < timing (historical D U₀ i) → (U₀).gate b j V p ≠ 0) : |
| 70 | stores D b U₀ i V p=(U₀).gate b i V p := by |
| 71 | have hv:=films_back D k₀ b h V p hc i; rw [hv] |
| 72 | change sales D (historical D U₀ i) F A b k V (Print.backdrop ..)=_ |
| 73 | let L:=Print.backdrop t₀ A F p |
| 74 | generalize hl : historical D U₀ i=j at * |
| 75 | have he (h' : 0 < timing j) (s₁) : tarp D s₁ F A b k V L=1 := paints D k₀ b h V p hc |
| 76 | (fun t=>ht (.inl (.inr (.inr (.inr (.inr t))))) h') s₁ |
| 77 | cases j with |
| 78 | | inl j => |
| 79 | unfold sales frontage; dsimp only [Sum.elim_inl]; split |
| 80 | · rfl |
| 81 | next hn => |
| 82 | have h' : 0<timing (Sum.inl j) := by cases j <;> first | exact zero_lt_one | exact (hn (Or.inr rfl)).elim |
| 83 | change 1 + (films D j F A b k V L-1)* tarp D (post S j) F A b k V L=films D j F A b k V L; rw [he h']; ring |
| 84 | | inr j => |
| 85 | change _* tarp D (custody D j) F A b k V L=_; rw [he (show 0<timing (c:=c) (f:=f) (.inr j) from zero_lt_one)]; exact mul_one _ |
| 86 | |
| 87 | private lemma uncoated (h : Lit D) (V : Config G c) (p : (U₀).Visual) (i : (U₀).Log) (hc : (U₀).Clearing V) : |
| 88 | pushcard D b U₀ (sew D (written D U₀ i)) V p=(U₀).price (packets D F k₀ A k h) i V p := by |
| 89 | have ht := cream D h F A k k₀ V b hc.flags (Print.backdrop t₀ A F p) i |
| 90 | dsimp only at ht; rw [Print.rollback] at ht; exact ht.symm |
| 91 | |
| 92 | private lemma diets (h : Route.Badge.App D) (s : Signed) (j : Spot.Shape c f) (V : Config G c) (p : (U₀).Visual) (hc : (U₀).Clearing V) |
| 93 | (hn : ¬wants D A (.row (s,j))) (H : ∀ i,(U₀).gate b i V p≠0) : |
| 94 | pushcard D b U₀ (diet D (s.act (hinge S j))) V p=1 := by |
| 95 | let o:= s.act (hinge S j) |
| 96 | let t:=Print.backdrop t₀ A F p |
| 97 | change diet D o F A b k V t=1 |
| 98 | unfold diet |
| 99 | refine Finset.prod_eq_one fun i hi=>?_ |
| 100 | have ht : separation o (S.ratio.parent i.1) ≤ 6*B := (Finset.mem_filter.mp hi).2 |
| 101 | have hx : i∉A.costs := by |
| 102 | intro hz; apply hn |
| 103 | apply (records ..).mpr |
| 104 | have h0 := Finset.mem_image_of_mem S.ratio.parent (Work.E01.base_touched i) |
| 105 | refine ⟨o,Finset.mem_singleton_self _, S.ratio.parent i.1, Finset.mem_union_left _ (Finset.mem_union_left _ |
| 106 | (Finset.mem_biUnion.mpr ⟨i,hz,h0⟩)),?_⟩ |
| 107 | rw [separation_comm]; change separation o _ ≤ 200 * B; omega |
| 108 | have hv := H (.inl (.inl i)) |
| 109 | rw [films_back D k₀ b h V p hc (.inl (.inl i))] at hv |
| 110 | let U:=skin D F A b k V t; let d:= fiery G D.betaHat S.patch.L |
| 111 | have hD : 0 < d := D.paidScale |
| 112 | change fineBit (chosen D F k A k) i U ≠0 at hv |
| 113 | unfold fineBit at hv; dsimp only at hv; rw [if_neg (show i∉(chosen D F k A k).A.costs from hx)] at hv |
| 114 | apply D.profile.to_one |
| 115 | have hr := D.profile.chosen_lt (toll U i) (d/4) (by positivity) hv |
| 116 | have hb : 0 ≤ toll U i := G.chord_nonneg _ |
| 117 | have hf : toll U i/(d/2) ≤ 1 := (div_le_one (by positivity)).mpr (by linarith) |
| 118 | have hp : 0 ≤ toll U i/(d/2) := by positivity |
| 119 | change (toll U i/(d/2))^2 ≤ 1 |
| 120 | nlinarith |
| 121 | |
| 122 | private lemma bill (h : Lit D) (V : Config G c) (p : (U₀).Visual) (i : (U₀).Log) (hc : (U₀).Clearing V) |
| 123 | (he : ∀ j,(U₀).gate b j V p ≠ 0) : |
| 124 | topcard D b U₀ i V p=(U₀).price (packets D F k₀ A k h) i V p := by |
| 125 | let j := written D U₀ i |
| 126 | let l:=Print.backdrop t₀ A F p |
| 127 | change receipt D j F A b k V l=_ |
| 128 | unfold receipt; split |
| 129 | next hv=>exact uncoated D k₀ b h V p i hc |
| 130 | next ht=> |
| 131 | change _ * budget D j F A b k V l * barrier D j F A b k V l =_ |
| 132 | have hq : ∀ s, tarp D s F A b k V l = 1 := paints D k₀ b h.toApp V p hc (fun j=>he _) |
| 133 | have hp : barrier D j F A b k V l=1 := by unfold barrier; split; exact hq _; rfl |
| 134 | have hb : budget D j F A b k V l=1 := by |
| 135 | generalize hI : j=u at *; cases u with |
| 136 | | row q=> simp only [budget]; split; exact diets D k₀ b h.toApp q.1 q.2 V p hc ht he; rfl |
| 137 | | _=>rfl |
| 138 | rw [hp,hb,mul_one,mul_one]; exact uncoated D k₀ b h V p i hc |
| 139 | |
| 140 | private lemma attached (h : Lit D) (V : Config G c) (p : (U₀).Visual) (i : (U₀).Log) (hc : (U₀).Clearing V) (hi : i∈tapped D U₀) : |
| 141 | topcard D b U₀ i V p=(U₀).price (packets D F k₀ A k h) i V p := by |
| 142 | let j := written D U₀ i |
| 143 | rw [heated] at hi; change wants D A j at hi |
| 144 | change receipt D j F A b k V (Print.backdrop ..) = _ |
| 145 | unfold receipt; rw [if_pos hi] |
| 146 | exact uncoated D k₀ b h V p i hc |
| 147 | |
| 148 | private lemma preserves (h : Lit D) (V : Config G c) (p : (U₀).Visual) (i : (U₀).Gates b) |
| 149 | (hc : (U₀).Clearing V) (he : i∈kept D U₀ b) : ∃ z : ℝ,z ∈ Set.Icc 0 1 ∧ stores D b U₀ i V p=(U₀).gate b i V p * z := by |
| 150 | rw [films_back D k₀ b h.toApp V p hc i]; rw [stays] at he |
| 151 | let l:=Print.backdrop t₀ A F p |
| 152 | unfold stores pushcard; generalize hl : historical D U₀ i=j at *; cases j <;> dsimp only [sales,Sum.elim_inl,Sum.elim_inr] at * |
| 153 | · exact ⟨1,⟨zero_le_one,le_rfl⟩,(if_pos (Or.inl he)).trans (mul_one _).symm⟩ |
| 154 | rename_i j; exact ⟨tarp D (custody D j) F A b k V l, affordable ..,rfl⟩ |
| 155 | |
| 156 | -- named alternatives of the remote source and E test. Retain both at |
| 157 | -- every E address even if compulsory/remote negative answer or gamma |
| 158 | -- empty. Parent Stock.stamp remains unique. |
| 159 | def columns (u : Spot D) (i : u.Log) (s : ℝ) : Option (u.Submenu (fun V p => Real.exp (topcard D b u i V p)-1)) := |
| 160 | match written D u i with |
| 161 | | .letter j => some { |
| 162 | size := 2 |
| 163 | buy := fun a V p=> let t:=pushcard D b u (tip (D:=D) j s) V p |
| 164 | if a.val=0 then t else Real.exp (topcard D b u i V p)-1-t |
| 165 | rebuild := fun V p hv => by simp [Fin.sum_univ_two] } |
| 166 | | _=> none |
| 167 | |
| 168 | -- Concrete organization for any inherited complement passing original |
| 169 | -- disjointness. Actual variants and raw books in place, no substitution on |
| 170 | -- mandatory logs at uses. Noncovered A flags stay outside. |
| 171 | def schedule (h : Lit D) (F : Forest S.ratio) (A : Stores S) (k : S.Choices) (s : ℝ) (hi : D.Nonoverlap b) : Programme (packets D F k₀ A k h) b where |
| 172 | physical := hi |
| 173 | required := kept D (chosen D F k₀ A k) b |
| 174 | paying := tapped D (chosen D F k₀ A k) |
| 175 | layer i := timing (historical D (chosen D F k₀ A k) i) |
| 176 | stored := stores D b (chosen D F k₀ A k) |
| 177 | posted := topcard D b (chosen D F k₀ A k) |
| 178 | first := precedence D k₀ b h.toApp |
| 179 | original V p i := bill D k₀ b h V p i |
| 180 | constPage V p i := attached D k₀ b h V p i |
| 181 | keep := preserves D k₀ b h |
| 182 | fine i he := (stays D _).mpr (cost_here D i he).2 |
| 183 | noise i he := (stays D _).mpr (aisle_here D i he) |
| 184 | inherit i := (stays D _).mpr trivial |
| 185 | rawG _ := solitary _ |
| 186 | rawLog i := Parcel.columns D b (chosen D F k₀ A k) i s |
| 187 | end YM.PhysicalNext.Dictionary.Parcel |