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.Push.COMMON_WITNESSES.RankMatrix |
| 2 | import YM.Push.COMMON_WITNESSES.Scheduler |
| 3 | import YM.UVNext.COMMON_GRADE_ASSEMBLY.Free |
| 4 | import YM.UVNext.COMMON_GRADE_ASSEMBLY.Persistence |
| 5 | |
| 6 | /-! # At rank and grid stock ports -- lowering to persistent prices |
| 7 | |
| 8 | For stock receipts already on some RBase, `from_base`. But often want to |
| 9 | state the precursor in terms of OnDemand stock answers per faithful cutoff |
| 10 | demand BEFORE any tables, e.g. in pricing contracts. AND one can eliminate |
| 11 | a Rank dimension premise in certain Projector based campaigns. |
| 12 | -/ |
| 13 | set_option autoImplicit false |
| 14 | noncomputable section |
| 15 | namespace YM.UVNext.Grade |
| 16 | open Set Function Filter MeasureTheory Analysis Extraction Table Ward Climb Org Spec Lattice Wilson Cells |
| 17 | Next.Extract Next.UVStress Push.Common Snap Push.CutoffProjectors |
| 18 | open scoped Topology BigOperators ContDiff |
| 19 | variable {G : Gauge} {C : Family G} {f g : Extraction.Order} {T : Table C.book} {b : Presentation C} {d : ℕ} |
| 20 | |
| 21 | /-- Offers/Trials don't even contain T inputs that have mathematical |
| 22 | content (the type depends on T to give their use WHEN we evaluate The table). |
| 23 | Thus allow committing rank geometry and costs before seeing which T. -/ |
| 24 | def transfer (X : Offers T) (S : Table C.book) : Offers S where |
| 25 | cols d := ⟨(X.cols d).dim,(X.cols d).H,(X.cols d).basis,(X.cols d).realBasis,(X.cols d).initial, |
| 26 | (X.cols d).amount,(X.cols d).row,(X.cols d).full⟩ |
| 27 | cylinder d := ⟨(X.cylinder d).depth,(X.cylinder d).width,(X.cylinder d).window,(X.cylinder d).scale, |
| 28 | (X.cylinder d).positive,(X.cylinder d).zoom,(X.cylinder d).mark,(X.cylinder d).lift,(X.cylinder d).later, |
| 29 | (X.cylinder d).gap,(X.cylinder d).allowed,(X.cylinder d).small⟩ |
| 30 | cost := X.cost |
| 31 | |
| 32 | lemma transfer_sound (S : Table C.book) (X : Offers T) (H : X.sane) : (transfer X S).sane := by |
| 33 | refine ⟨fun d => ?_,H.2⟩ |
| 34 | obtain ⟨a,b,c,r,g,w,p,f⟩ := H.1 d |
| 35 | exact ⟨a,b,c,r,g,w,p,f⟩ |
| 36 | |
| 37 | /-- Discharge SizeBill after upper-dimensional identification e.g. via |
| 38 | projectors at S. Don't require a Loan for it a second time during the ranked |
| 39 | job on the same Base. `shapePrices` are just the quantitative root and lift |
| 40 | bills. -/ |
| 41 | def shapePrices (X : Offers T) (d : ℕ) : (Bool × ℕ × ℕ) → Extraction.Order → Prop |
| 42 | | (false,k,p),u => LiftBill (X.cylinder d) u k p (X.cost d k) |
| 43 | | (true,k,p),u => CheapBill (X.cylinder d) u k (toll p) |
| 44 | |
| 45 | lemma shaped (X : Offers T) (i : Bool × ℕ × ℕ) : shapePrices X d i f ↔ X.prices b (d,some i) f := by |
| 46 | rcases i with ⟨(_ | _),i,p⟩ <;> rfl |
| 47 | |
| 48 | |
| 49 | |
| 50 | lemma shape_transfer {S : Table C.book} (X : Offers T) (i : Bool × ℕ × ℕ) (p : shapePrices X d i f) : |
| 51 | shapePrices (transfer X S) d i f := by rcases i with ⟨(_|_),i,p'⟩ <;> exact p |
| 52 | |
| 53 | def ShapeAccount (X : Offers T) (f : Extraction.Order) := Stationed f fun j : ℕ×(Bool × ℕ × ℕ) => shapePrices X j.1 j.2 |
| 54 | |
| 55 | lemma ShapeAccount.ported (X : Offers T) (p : ShapeAccount X f) (S : Table C.book) : ShapeAccount (transfer X S) f := by |
| 56 | obtain ⟨r,hr,H⟩ := p |
| 57 | refine ⟨r,hr,fun j => ?_⟩ |
| 58 | obtain ⟨i,hi⟩ := H j; exact ⟨i,shape_transfer X _ hi⟩ |
| 59 | |
| 60 | lemma size_stock {w : Snap C} {u : Upper w} (X : Offers u.T) (p : Risen u b f) |
| 61 | (h : DimAbove u.T) (H : X.sane) (ht : ShapeAccount X f) : Push.Common.Stock b u.T f := by |
| 62 | obtain ⟨r,hr,hx⟩ := ht |
| 63 | refine ⟨X,H,r,hr,?_⟩ |
| 64 | rintro ⟨d,_|i⟩ |
| 65 | · refine ⟨0,(Tails.late (Tails.refine f (r 0))) ((size_pay p.projections p.base _).2 ?_)⟩ -- unfolded? |
| 66 | convert h d using 1 |
| 67 | rw [Module.finrank_eq_card_basis (X.cols d).basis,Fintype.card_fin] |
| 68 | obtain ⟨k,hk⟩ := hx (d,i); exact ⟨k,(shaped X i).mp hk⟩ |
| 69 | |
| 70 | /-- Option to pay the ranks e.g. even BEFORE arriving at final Risen. |
| 71 | Needs geometry above financial exponents etc for this committed C of course, |
| 72 | including lifts, w/r/root costs FULLY and comparison positions; and can clean |
| 73 | up norm/roots etc via Stationed UNDER any new order. But doesn't care which S |
| 74 | was chosen, nor need new extraction input beyond what is shown. |
| 75 | -/ |
| 76 | structure EarlyRank (X : Offers T) (f : Extraction.Order) : Prop where |
| 77 | sound_ : X.sane |
| 78 | pay : OnDemand f fun j : ℕ × (Bool × ℕ × ℕ) => shapePrices X j.1 j.2 |
| 79 | |
| 80 | lemma EarlyRank.persists {X : Offers T} (p : EarlyRank X f) (h : Tails g f) : EarlyRank X g := ⟨p.sound_,demand_persists p.pay h⟩ |
| 81 | lemma EarlyRank.jobs {X : Offers T} {w : Snap C} {u : Upper w} (p : EarlyRank X f) (h : Risen u b g) |
| 82 | (hp : Tails g f) (hk : DimAbove u.T) : Push.Common.Stock b u.T g := |
| 83 | size_stock (transfer X u.T) h hk (transfer_sound _ _ p.sound_) |
| 84 | (ShapeAccount.ported X ((p.persists hp).pay.stations) u.T) |
| 85 | |
| 86 | /-- Persistent grid bills. No assumptions on phase or t-dependent coverage |
| 87 | needed directly. `Study` is an actual single-field estimate request |
| 88 | (on finitely-many basis fields incl herbs rotated by full Spin frames at d, |
| 89 | with `toll` tolerances, real and bounded, against replicated arrays of this |
| 90 | same C; h before tolerance and **arity**, cofinally). -/ |
| 91 | lemma study_persistent (p : Study C f) (h : Tails g f) : Study C g := demand_persists p h |
| 92 | lemma charges_grid (p : Study C f) {w : Snap C} {u : Upper w} (ht : Risen u b g) (h : Tails g f) : GrillInputs C g := |
| 93 | studying ht.base.center ht.base.family (study_persistent p h) |
| 94 | |
| 95 | |
| 96 | |
| 97 | |
| 98 | |
| 99 | |
| 100 | |
| 101 | |
| 102 | |
| 103 | end YM.UVNext.Grade |