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.RG05Readout.Address.Fiber |
| 2 | /-! |
| 3 | # High-rank physical scalar steps |
| 4 | |
| 5 | The underlying datum composite splitting for root shift. Pays (single-step) |
| 6 | only, retains full trace. |
| 7 | -/ |
| 8 | set_option autoImplicit false |
| 9 | noncomputable section |
| 10 | namespace YM.RG05Readout.Address |
| 11 | open Function Filter Set MeasureTheory Lattice Wilson Labels RG Source Bid |
| 12 | open Extra.Histories Push Local Planned.GuardedAtom Guard MergeProof Extra.Histories.Relay Native |
| 13 | open PhysicalNext.Repeat Lotus Motion Trace.Physical Offsets |
| 14 | open scoped Topology ContDiff BigOperators Matrix.Norms.Frobenius Classical |
| 15 | |
| 16 | variable {G:Gauge} |
| 17 | section ops |
| 18 | variable {d:ℕ}{n:Side}{F:Labels.Frame G d} |
| 19 | variable (o:Site n) (S:SectionData F)(R: Rep G n) |
| 20 | lemma local_core (x:F.Coeff) : invoice (Extra.Histories.primary o x) o S R=(fun U=> (R.eval U:ℂ)*part S o R U x,Local.primary S o R.p.threshold x,0):=by |
| 21 | let P:=Extra.Histories.primary o x |
| 22 | have hx : P.exponentialEntry o S R=Local.primary S o R.p.threshold x:=by |
| 23 | funext U; have ht i:P.maskedTerm R i U=0:=congr_fun (map_zero (maskLinear _ _)) _ |
| 24 | change Local.primary S o R.p.threshold x U + ∑' i,P.maskedTerm R i U=_; simp [ht] |
| 25 | exact Prod.ext (funext (primary_density S R x)) (Prod.ext hx rfl) |
| 26 | lemma core_linear : IsLinearMap ℂ fun x=>invoice (Extra.Histories.primary o x) o S R:=by |
| 27 | have H(z: ℂ) (x:F.Coeff) (U:Config G n): ((R.eval U:ℂ)*part S o R U (z • x))=z • ((R.eval U:ℂ) *part S o R U x):=by rw [map_smul]; simp only [smul_eq_mul];ring |
| 28 | constructor |
| 29 | · intro x y; simp_rw [local_core,map_add]; apply Prod.ext |
| 30 | · exact funext (fun U=>by simp [mul_add]) |
| 31 | apply Prod.ext |
| 32 | · rfl |
| 33 | exact (add_zero _).symm |
| 34 | intro z x; rw [local_core,local_core]; exact Prod.ext (funext (H z x)) (Prod.ext (map_smul ..) (smul_zero z).symm) |
| 35 | lemma core_expands (x:F.Coeff):invoice (Extra.Histories.primary o x) o S R=∑ i,x i • invoice (Extra.Histories.primary o (Size.axis F i)) o S R:=by |
| 36 | let A:= (core_linear o S R).mk' _; conv_lhs=> rw [← Size.sum_axes F x] |
| 37 | change A _=∑ i,x i • A _; simp only [map_sum,map_smul] |
| 38 | |
| 39 | def remove (P:Coefficient F n):Coefficient F n:={ P with x:=0 } |
| 40 | lemma removable (P:Coefficient F n) (A:Hol G)(hp:P.Format o A R):(remove P).Format o A R:= ⟨hp.smooth,hp.origin,hp.identity_null,hp.projects,hp.forcing,hp.carried,hp.invariant,hp.supported,hp.borel⟩ |
| 41 | lemma bundle (P:Coefficient F n):invoice P o S R=invoice (Extra.Histories.primary o P.x) o S R+invoice (remove P) o S R:=by |
| 42 | rw [local_core]; let Q:= remove P |
| 43 | have hx: P.exponentialEntry o S R= Local.primary S o R.p.threshold P.x+Q.exponentialEntry o S R:=by |
| 44 | funext U; change Local.primary _ _ _ P.x U+(∑' i,P.maskedTerm R i U) =Local.primary S o R.p.threshold P.x U+(Local.primary S o R.p.threshold 0 U+∑' i,P.maskedTerm R i U); rw [map_zero]; exact congr_arg _ (zero_add _).symm |
| 45 | apply Prod.ext _ (Prod.ext hx (zero_add Q.forced).symm); funext U |
| 46 | change P.density o S R U=(R.eval U:ℂ)*part S o R U P.x+Q.density o S R U |
| 47 | rw [Coefficient.density, Coefficient.density,hx,Pi.add_apply,mul_add]; rw [add_assoc]; rfl |
| 48 | lemma scale_n {i:F.Index} (L:Side): F.coeffSize (vowel F L (Size.axis F i)) = (L.val:ℝ)^(d-(F.grades i).1):=by |
| 49 | rw [Frame.coeffSize,Finset.sum_eq_single i]; simp [vowel,Size.axis] |
| 50 | intro j _ hj; simp [vowel,Size.axis,hj]; simp |
| 51 | end ops |
| 52 | section |
| 53 | variable (C:Family G)(N m p d:ℕ) |
| 54 | set_option quotPrecheck false |
| 55 | local notation "Z"=>C.path.levels.clock.op m p |
| 56 | local notation "R"=> C.path.rep N p m |
| 57 | local notation "M"=> C.path.rep N p (m+1) |
| 58 | local notation "F"=>C.labels.level d |
| 59 | local notation "Y"=> C.params |
| 60 | local notation "S"=> C.localSection d |
| 61 | local notation "κ"=> kappa C.path |
| 62 | local notation "L"=> C.path.S.block m |
| 63 | local notation "v"=> ((L).val:ℂ)^d |
| 64 | variable (o:Site (C.path.S.side (m+1) p)) |
| 65 | variable {a c α β g r J :ℝ} {X:Extra.Histories.Heading (C.labels.level d)} (D:GaugeDoor (C.path.rep N p (m+1)) (C.path.rep N p m)) |
| 66 | local notation "q"=> Pricing S C.path N p m Y |
| 67 | variable (h:C.Makes) (hm:m<N) (ho:(C.path.levels.clock.op m p).ratio.parent o=0) (hw: Pricing (C.localSection d) C.path N p m C.params D X a c α β)(hα:0≤α) |
| 68 | include hm h ho hw hα |
| 69 | -- assembling rough estimate at d=0, no output-layout change |
| 70 | lemma rough (P:Coefficient F (C.side (m+1) p)) (hc:1≤ c)(hβ:0 ≤ β)(hκ: κ (m+1) ≤ 1) (hp:P.Format o Y M)(hP:P.remBound o M (κ (m+1)) r): |
| 71 | let W:= (F).coeffSize P.x |
| 72 | let u:=((L).val:ℝ)^d*c; let B':=u*W+α*r |
| 73 | ∃ Q:Coefficient F (C.side m p), Q.Format 0 Y R∧ Q.remBound 0 R (κ m) B' ∧ Ride (Z) o 0 D v (invoice P o S M) (invoice Q 0 S R) ((1+u+β)*W+ (2+α)*r) ∧ (F).coeffSize Q.x ≤ B':=by |
| 74 | intro W u B'; let U(i: (F).Index) :=invoice (Extra.Histories.primary o (Size.axis F i)) o S M |
| 75 | let f(i: (F).Index):=‖P.x i‖*u; have hf(i: (F).Index):∃ R':Coefficient F (C.side m p), R'.Format 0 Y R ∧ R'.remBound 0 R (κ m) (f i) ∧ (F).coeffSize R'.x ≤ f i∧ Ride (Z) o 0 D v (P.x i • U i) (invoice R' 0 S R) (‖P.x i‖*(1+u+β)):=by |
| 76 | obtain ⟨Q,H,hp',hT,hW,ht⟩:=primary_grant C N m p d o D h hm ho hw i hα hc hβ; let a:=P.x i; have hz : c*(F).coeffSize (vowel F L (Size.axis F i)) ≤ u:=by rw [scale_n,mul_comm]; exact mul_le_mul_of_nonneg_right (pow_le_pow_right₀ (by exact_mod_cast (L).property) (Nat.sub_le ..)) (zero_le_one.trans hc) |
| 77 | refine ⟨stretch a Q,stretch_format _ H,stretch_rem a (rem_mono hp' hz),?_,?_⟩ |
| 78 | · rw [show (stretch a Q).x=a • Q.x from rfl, Size.smul]; exact mul_le_mul_of_nonneg_left (hW.trans hz) (norm_nonneg _) |
| 79 | have hx := hT.matchPay a a v (mul_comm ..); rw [max_self] at hx; rw [invoice_stretch]; exact hx.cost (mul_le_mul_of_nonneg_left (add_le_add_left (add_le_add_right hz _) _) (norm_nonneg _)) |
| 80 | let G':=(h.wilson.represents _ p _ hm).good |
| 81 | have hU(s:Finset ((F).Index)) :∃ T:Coefficient F (C.side m p),T.Format 0 Y R ∧ T.remBound 0 R (κ m) (∑ i∈s,f i) ∧ (F).coeffSize T.x ≤ ∑ i∈s,f i ∧ Ride (Z) o 0 D v (∑ i∈s, P.x i • U i) (invoice T 0 S R) (∑ i∈ s,‖P.x i‖*(1+u+β)):=by |
| 82 | have hδ:0 < κ m:=Real.sqrt_pos.mpr (forcedPos ..) |
| 83 | induction s using Finset.induction_on with |
| 84 | | empty=> |
| 85 | simp only [Finset.sum_empty]; refine ⟨Extra.Histories.primary 0 0,primary_format _,primary_rem _ hδ,?_,?_⟩ |
| 86 | · simp [Extra.Histories.primary,Frame.coeffSize] |
| 87 | rw [invoice_zero]; exact Ride.vac |
| 88 | | @insert i s hi ih=> |
| 89 | simp only [Finset.sum_insert hi]; obtain ⟨T,hT,hV,hW,hY⟩:=ih; obtain ⟨L',hr,hL,hz,hY'⟩:=hf i |
| 90 | obtain ⟨hq,hA⟩:=presentation hr hL hT hV; refine ⟨beside L' T,hq,hA,?_,?_⟩ |
| 91 | · rw [reckon]; exact (Size.add ..).trans (add_le_add hz hW) |
| 92 | rw [invoice_add L' 0 (S) (R) T (h.wilson.represents N p m hm.le).good hL hV]; exact hY'.taller hY hw.soundD (C.path.levels.transition_mass ..) G' (h.wilson.represents N p m hm.le).good |
| 93 | obtain ⟨T,hT,hZ,hW,hY⟩:=hU Finset.univ; unfold U at hY; rw [← core_expands o S M P.x] at hY |
| 94 | have hv: ∑ i,f i=u*W:= (Finset.sum_mul ..).symm.trans (mul_comm ..) |
| 95 | rw [hv] at hW hZ; |
| 96 | obtain ⟨Q,hF,hQ,hξ,hR⟩:= regular_grant C N m p d o D h hm ho hw (remove P) hα hκ (removable o (M) P Y hp) hP rfl -- binder verify |
| 97 | obtain ⟨hA,hB⟩:= presentation hT hZ hF hQ; refine ⟨beside T Q,hA,hB,?_,?_⟩ |
| 98 | · rw [bundle o S M P,invoice_add T 0 (S) R Q (h.wilson.represents N p m hm.le).good hZ hQ]; rw [show (1+u+β)* W=∑ i, ‖P.x i‖*(1+u+β) from (mul_comm ..).trans (Finset.sum_mul ..)] |
| 99 | exact hY.taller hξ hw.soundD (C.path.levels.transition_mass ..) G' (h.wilson.represents N p m hm.le).good |
| 100 | rw [reckon]; exact (Size.add ..).trans (add_le_add hW hR) |
| 101 | end |
| 102 | end YM.RG05Readout.Address |