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.TraceExtension.Cask.Stack |
| 2 | import YM.TraceExtension.Cask.Elude |
| 3 | set_option autoImplicit false |
| 4 | set_option linter.unusedSectionVars false |
| 5 | noncomputable section |
| 6 | namespace YM.Trace.Cask |
| 7 | open RG Lattice Ac MergeProof Finset MergeProof.Accent Marker MeasureTheory Wilson Push Function |
| 8 | open scoped Classical |
| 9 | variable {V L W:Type}[DecidableEq V][DecidableEq L][DecidableEq W]{n:Side}[Fintype V][Fintype L][Fintype W]{G:Gauge} |
| 10 | -- anatomy includes VISUAL calculations. hull only bumps for touched p. Support costs at camera chosen by caller. |
| 11 | structure TourC (R:Rep G n)(V L W:Type)[DecidableEq V] where |
| 12 | seat : V ↪ Site n |
| 13 | tie : V → Site n |
| 14 | cap : V → Support n |
| 15 | anchor v : seat v ∈ cap v |
| 16 | centre v : tie v ∈ cap v |
| 17 | trek : Finset V → (V→G.El) → Config G n → Config G n |
| 18 | guardP : V→ Config G n→ G.El→ Prop |
| 19 | adjust : (Site n→G.El) → V→ G.El |
| 20 | path : L → Support n |
| 21 | long : L→ Config G n→ℝ |
| 22 | short : Config G n→ℝ |
| 23 | marks : V→ Config G n→ G.El→ℂ |
| 24 | high : V→ Config G n→ G.El→ℂ |
| 25 | fee : V→ Config G n → Rain V G→ℝ |
| 26 | who : W→ V |
| 27 | paint : W→ Config G n→ G.El→ℂ |
| 28 | size : W→Support n |
| 29 | lease i : seat (who i)∈size i |
| 30 | variable {R:Rep G n}(C:TourC R V L W) |
| 31 | abbrev bud (S:Finset V)(a:Support n):= a ∪ S.biUnion C.cap |
| 32 | abbrev deer (P:Support n):= univ.filter fun i:V=> C.tie i∈P |
| 33 | abbrev BoxF (n:Side):={i:Box n// Sure i} |
| 34 | abbrev PureC := Σ l:L,{s:Finset V// s⊆deer C (C.path l)∧s.Nonempty} |
| 35 | abbrev Axe := Σ i:BoxF n,{s: Finset V//s⊆deer C i.val.1} |
| 36 | abbrev LandC := Grain (PureC C) (Axe C) W |
| 37 | abbrev actorsC : LandC C→ Finset V:= Sum.elim (fun i=>{C.who i}) (Sum.elim (fun i:PureC C=>i.2.val) (fun i:Axe C=> i.2.val)) |
| 38 | def midland (i:Axe C): Box n:=i.1.val |
| 39 | def excerpt : LandC C→Support n:= Sum.elim C.size (Sum.elim (fun i:PureC C=> bud C i.2.val (C.path i.1)) (fun i:Axe C=> bud C i.2.val i.1.val.1)) |
| 40 | def agency : Staff V (LandC C) n where |
| 41 | seat:= C.seat |
| 42 | cast:= actorsC C |
| 43 | shop i:= i.isLeft |
| 44 | foot:= excerpt C |
| 45 | pole:= Sum.elim (fun _=>∅) (Sum.elim (fun _=>∅) (Prod.fst ∘ midland C)) |
| 46 | flag:= Sum.elim (fun _=>∅) (Sum.elim (fun _=>∅) (Prod.snd ∘ midland C)) |
| 47 | purse i := match i with |
| 48 | | .inl _ | .inr (.inl _)=> empty_subset _ |
| 49 | | .inr (.inr _)=> subset_union_left |
| 50 | needs i := match i with |
| 51 | | .inl _ | .inr (.inl _)=>fun h=>False.elim (not_nonempty_empty h) |
| 52 | | .inr (.inr i)=>fun _=>i.1.property.1 |
| 53 | miss i := match i with |
| 54 | | .inl _ | .inr (.inl _)=> empty_subset _ |
| 55 | | .inr (.inr i)=> i.1.property.2 |
| 56 | root i := match i with |
| 57 | | .inl i => Or.inr (singleton_nonempty _) |
| 58 | | .inr (.inl i) => Or.inr i.2.property.2 |
| 59 | | .inr (.inr i)=> Or.inl (i.1.property.1.mono i.1.property.2) |
| 60 | books i x hx := match i with |
| 61 | | .inl i=> (mem_singleton.mp hx).symm ▸ C.lease i |
| 62 | | .inr (.inl i)=> mem_union_right _ (mem_biUnion.mpr ⟨x,hx,C.anchor x⟩) |
| 63 | | .inr (.inr i)=> mem_union_right _ (mem_biUnion.mpr ⟨x,hx,C.anchor x⟩) |
| 64 | lemma ana : Roles (agency C) C.who (midland C):=⟨fun _=>rfl,fun _=>Iff.rfl,fun i=>rfl,fun i=>rfl,fun i=>i.1.property⟩ |
| 65 | abbrev patchZ (i:BoxF n): Axe C:=⟨i,⟨∅,empty_subset _⟩⟩ |
| 66 | def gazeA (U:Config G n)(p:Rain V G)(s:Finset V) := ∀ i∈s,C.guardP i U (p i) |
| 67 | -- ♥ movement estimates. Compose cubes at treks |
| 68 | structure AirC : Prop where |
| 69 | gaze i : MeasurableSet {u: Config G n × G.El | C.guardP i u.1 u.2} |
| 70 | bits i v : UsesFinal R.p.threshold (C.cap i) (fun U=>C.guardP i U v) |
| 71 | propeller g U i v: C.guardP i (Lattice.gauge g U) (C.adjust g i *v)↔ C.guardP i U v |
| 72 | start S : Measurable (uncurry (C.trek S)) |
| 73 | tiers S p : MeasurePreserving (C.trek S p) (prior G n) (prior G n) |
| 74 | base p U : C.trek ∅ p U=U |
| 75 | eyes S p U g: C.trek S (C.adjust g*p) (Lattice.gauge g U)=Lattice.gauge g (C.trek S p U) |
| 76 | mask S U p : gazeA C U p S→ flags R.p.threshold (C.trek S p U)=flags R.p.threshold U |
| 77 | drew S p q: (∀ i∈S,p i=q i) → C.trek S p=C.trek S q |
| 78 | view S p (P:Support n) U : Agrees P (C.trek S p U) (C.trek (S∩deer C P) p U) |
| 79 | face S p (P:Support n) (U V) : Agrees P U V→ Agrees P (C.trek S p U) (C.trek S p V) |
| 80 | stitch i : UsesFinal R.p.threshold (C.path i) (C.long i) |
| 81 | snow i : Envelope (C.long i) |
| 82 | hike i : GaugeInvariant (C.long i) |
| 83 | splits U : R.exponent U=C.short U + ∑ i,C.long i U |
| 84 | -- combined on S of all picked markers |
| 85 | sale i : Envelope (uncurry (C.marks i)) |
| 86 | heal i : Envelope (uncurry (C.high i)) |
| 87 | alignmet i : Envelope (uncurry (C.paint i)) |
| 88 | artist (g:Site n→G.El) U i v: C.paint i (Lattice.gauge g U) (C.adjust g (C.who i)*v)=C.paint i U v |
| 89 | strokes i v : UsesFinal R.p.threshold (C.size i) (fun U=> C.paint i U v) |
| 90 | pray S p U i : i∈S→ C.high i U (p i)=C.marks i (C.trek S p U) (p i)*(Real.exp (C.fee i U p):ℂ) |
| 91 | direct S p U i : i∉S→ C.high i (C.trek S p U) (p i) = C.high i U (p i) |
| 92 | delta S U p : gazeA C U p univ → C.short (C.trek S p U)=C.short U+∑ i∈S,C.fee i U p |
| 93 | hale i U p : C.high i U p ≠0 → C.guardP i U p |
| 94 | finishing i U (p:Rain V G) : C.high i U (p i)= cram C.who (fun j=> C.paint j U (p (C.who j))) i |
| 95 | local notation "T"=> Config G n |
| 96 | local notation "Y"=> freq V G |
| 97 | local notation "b!"=> Rain V G |
| 98 | def cortex (i:L)(U:T)(v:b!)(t:Finset V):ℝ:= C.long i (C.trek t v U)-C.long i U |
| 99 | def skin (p:Box n)(U:T)(v:b!)(t:Finset V): ℂ:= flore R p (C.trek t v U) |
| 100 | abbrev tame (i:PureC C)(U:T)(v:b!):= powder (cortex C i.1 U v) i.2.val |
| 101 | def loft (i:PureC C)(U:T)(v:b!):ℂ:= if gazeA C U v i.2.val then ↑(Real.exp (tame C i U v)-1) else 0 |
| 102 | def rash (i:Axe C)(U:T)(v:b!):ℂ:= if gazeA C U v i.2.val then powder (skin C (midland C i) U v) i.2.val else 0 |
| 103 | def lance : LandC C→ T→ b! →ℂ:= Sum.elim (fun i U v=>C.paint i U (v (C.who i))) (Sum.elim (loft C) (rash C)) |
| 104 | end YM.Trace.Cask |