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.Next.ROTATIONS.Switch |
| 2 | import YM.Next.SCHEDULE.Markets |
| 3 | import YM.PhysicalNext.ACTUAL_SECTOR_FACTOR_DICTIONARY.Print |
| 4 | import YM.PhysicalNext.ACTUAL_SECTOR_FACTOR_DICTIONARY.Route |
| 5 | |
| 6 | /-! Index the *same* local variables of Sharp.Ribbon and of Viewport |
| 7 | (where H are hard U arguments but still regular Z positions in the |
| 8 | intact change-of-variables). -/ |
| 9 | set_option autoImplicit false |
| 10 | noncomputable section |
| 11 | namespace YM.PhysicalNext.Dictionary |
| 12 | open Function Filter Set Lattice RG Wilson Pressure Pressure.Tube Pressure.Stores Tree Precision Exterior MeasureTheory Matrix |
| 13 | open Next.Fluctuations Next.SectorChange Next.SectorChange.Rows Push.SectorMeasure Push.SectorMeasure.Oriented |
| 14 | open AnalyticBridge.Annulus AnalyticBridge.Annulus.Map |
| 15 | open AnalyticBridge.RelativeLogdet |
| 16 | open AnalyticBridge.Sharp AnalyticBridge.LocalGaussian |
| 17 | open scoped Topology BigOperators Classical Matrix.Norms.Frobenius ContDiff |
| 18 | |
| 19 | namespace Route.Badge |
| 20 | open Print Geo Completion Wires |
| 21 | variable {G : Gauge} {c f : Side} {S : StepData c f} {x : ℝ} {F : Forest S.ratio} {A O : Stores S} {X : Support c} |
| 22 | |
| 23 | section crop |
| 24 | variable (b : Badge S x X) |
| 25 | |
| 26 | def embroider (t : (b.ribbon F O).Page G) : Refs G f := |
| 27 | let r := b.ribbon F O |
| 28 | ((fun e=> if ht : e∉F.trunks then if h : (⟨e,ht⟩:F.Free)∈r.frost then t.1 ⟨⟨e,ht⟩,h⟩ else 1 else 1), |
| 29 | fun e=> if ht : e∉F.trunks then if h : (⟨e,ht⟩:F.Free)∈r.breeze then tape t.2 ⟨⟨e,ht⟩,h⟩ else 0 else 0) |
| 30 | |
| 31 | theorem embroider_meas : Measurable (b.embroider (F:=F) (O:=O) (G:=G)) := by |
| 32 | unfold embroider; dsimp only; refine Measurable.prodMk (measurable_pi_lambda _ fun e=> ?_) (measurable_pi_lambda _ fun e=>?_) |
| 33 | · split |
| 34 | · split |
| 35 | next hv hv' => |
| 36 | let e' : (b.ribbon F O).live := ⟨⟨e,hv⟩,hv'⟩ |
| 37 | exact (measurable_pi_apply e').comp measurable_fst |
| 38 | exact measurable_const |
| 39 | exact measurable_const |
| 40 | split |
| 41 | · split |
| 42 | next hv hv' => |
| 43 | let e' : ↥(b.ribbon F O).breeze := ⟨⟨e,hv⟩,hv'⟩ |
| 44 | have hi := (tape (G:=G) (ι:=↥(b.ribbon F O).breeze)).measurable |
| 45 | exact (measurable_pi_apply e').comp (hi.comp measurable_snd) |
| 46 | exact measurable_const |
| 47 | exact measurable_const |
| 48 | |
| 49 | theorem identical (h : (b.ribbon F O).Placed x A) (p : Room G x F A) |
| 50 | (he : ∀ e : F.Free, S.ratio.parent e.val.1 ∈ X → (chill O x F e ↔ chill A x F e)) : |
| 51 | Same S X b.near (backdrop x A F p) (b.embroider (Ribbon.look h p)) := by |
| 52 | let r := b.ribbon F O |
| 53 | constructor |
| 54 | · intro i h1 h2 |
| 55 | unfold backdrop embroider; dsimp only |
| 56 | split |
| 57 | next hv => |
| 58 | let e : F.Free := ⟨i,hv⟩ |
| 59 | have hh : e ∈ r.frost ↔ chill A x F e := by |
| 60 | unfold r Badge.ribbon dreams; simp only [Finset.mem_filter,Finset.mem_univ,true_and,e,h1,h2,and_self,and_true]; exact he e h1 |
| 61 | by_cases hz : e∈r.frost |
| 62 | · rw [dif_pos (hh.mp hz),dif_pos hz]; rfl |
| 63 | rw [dif_neg hz, dif_neg (mt hh.mpr hz)] |
| 64 | rfl |
| 65 | intro i h1 h2 |
| 66 | unfold backdrop embroider fresh; dsimp only |
| 67 | split |
| 68 | next hv => |
| 69 | let e : F.Free := ⟨i,hv⟩ |
| 70 | have hh : e∈r.breeze ↔ ¬chill A x F e := by |
| 71 | unfold r Badge.ribbon Badge.tests |
| 72 | simp only [Finset.mem_filter,Finset.mem_univ,true_and,e,h1,h2,and_self,and_true]; exact not_congr (he e (b.contained_site h1)) |
| 73 | by_cases hz : e∈r.breeze |
| 74 | · rw [dif_pos hz,dif_pos (hh.mp hz)]; rfl |
| 75 | rw [dif_neg hz,dif_neg (mt hh.mpr hz)] |
| 76 | rfl |
| 77 | end crop |
| 78 | |
| 79 | section lens |
| 80 | variable (d : AnalyticBridge.LocalGaussian.Desk G S) (F : Forest S.ratio) (H : Next.SectorChange.Gaussian.Table (Key F G)) |
| 81 | (A : Stores S) (k : S.Choices) |
| 82 | |
| 83 | /-- The retained step Spot. Takes the normalization reference even if it is |
| 84 | written at another full tag (see `Native.shared`). -/ |
| 85 | def camera : Spot d where |
| 86 | A := A |
| 87 | F := F |
| 88 | k := k |
| 89 | H := H |
| 90 | C := fun V=> fog A F d.tube d.betaHat V k |
| 91 | m := fun V=> meanLog A F d.tube d.betaHat V k d.broadCut d.radius |
| 92 | stencils := shots S d.betaHat |
| 93 | |
| 94 | variable (b : Badge S d.betaHat X) |
| 95 | |
| 96 | abbrev Smoke := ↥(b.ribbon F A).breeze |
| 97 | abbrev Hues := {i : b.Smoke d F A // i.val.val∈b.held} |
| 98 | abbrev Cool := {i : b.Smoke d F A // i.val.val∉b.held} |
| 99 | abbrev Test := (b.ribbon F A).live |
| 100 | |
| 101 | def tone : (b.Hues d F A ⊕ b.Cool d F A) ≃ b.Smoke d F A where |
| 102 | toFun := Sum.elim Subtype.val Subtype.val |
| 103 | invFun i := if h : i.val.val ∈ b.held then Sum.inl ⟨i,h⟩ else Sum.inr ⟨i,h⟩ |
| 104 | left_inv := by rintro (i|i) <;> simp [i.property] |
| 105 | right_inv := by intro i; dsimp only; split <;> rfl |
| 106 | |
| 107 | private def stove : b.Smoke d F A ↪ Active A d.betaHat F := |
| 108 | ⟨fun i=>⟨i.val,(b.here F A).breeze i.val i.property⟩,fun i j h=>Subtype.ext (congr_arg (fun z : Active A d.betaHat F => z.val) h)⟩ |
| 109 | private def chest := Ribbon.slide (b.here F A) |
| 110 | |
| 111 | private lemma both (e : Bond f) (h : S.ratio.parent e.1∈X ∧ S.ratio.parent (e.1+Lattice.step e.2)∈X) : |
| 112 | Next.SectorChange.points S e ⊆ X := by |
| 113 | intro y hy |
| 114 | rcases Set.mem_insert_iff.mp hy with h'|h'; exact (h'.symm ▸ h.1) |
| 115 | rw [Set.mem_singleton_iff] at h'; exact (h'.symm ▸ h.2) |
| 116 | |
| 117 | def lens : Viewport (camera d F H A k) X (b.Hues d F A) (b.Cool d F A) (b.Test d F A) where |
| 118 | read := (b.tone d F A).toEmbedding.trans (b.stove d F A) |
| 119 | held := b.chest d F A |
| 120 | activePos i := both _ ((b.ribbon F A).wind _ (b.tone d F A i).property) |
| 121 | heldPos i := both _ ((b.ribbon F A).ice _ i.property) |
| 122 | |
| 123 | abbrev Person := Display G (b.Hues d F A) (b.Cool d F A) (b.Test d F A) |
| 124 | |
| 125 | def blot (p : b.Person d F A) : (b.ribbon F A).Page G := |
| 126 | (p.1,fun j=>p.2 ((b.tone d F A).symm j.1,j.2)) |
| 127 | |
| 128 | def embed (p : b.Person d F A) : Refs G f := b.embroider (b.blot d F A p) |
| 129 | |
| 130 | lemma blot_meas : Measurable (b.blot d F A) := by |
| 131 | unfold blot |
| 132 | exact measurable_fst.prodMk (measurable_pi_lambda _ fun i=> (measurable_pi_apply _).comp measurable_snd) |
| 133 | lemma embed_meas : Measurable (b.embed d F A) := (b.embroider_meas).comp (b.blot_meas d F A) |
| 134 | |
| 135 | lemma color (p : Spot.Visual (camera d F H A k)) : |
| 136 | b.blot d F A ((b.lens d F H A k).info p)=Ribbon.look (b.here F A) p := by |
| 137 | refine Prod.ext rfl ?_ |
| 138 | funext j |
| 139 | have hv := (b.tone d F A).apply_symm_apply j.1 |
| 140 | change p.2 (b.stove d F A ((b.tone d F A) ((b.tone d F A).symm j.1)),j.2)=p.2 (Ribbon.lighten (b.here F A) j) |
| 141 | rw [hv]; rfl |
| 142 | |
| 143 | lemma snap (p : Spot.Visual (camera d F H A k)) : |
| 144 | Same S X b.near (backdrop d.betaHat A F p) (b.embed d F A ((b.lens d F H A k).info p)) := by |
| 145 | unfold embed; rw [color]; exact b.identical _ _ (fun e _=>Iff.rfl) |
| 146 | end lens |
| 147 | end Route.Badge |
| 148 | end YM.PhysicalNext.Dictionary |