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.MergeProof.Weathervane |
| 2 | set_option autoImplicit false |
| 3 | noncomputable section |
| 4 | namespace YM.MergeProof |
| 5 | open Finset Function Filter MeasureTheory Lattice Wilson RG Source Labels Extra.Histories |
| 6 | open Planned.GuardedAtom Push Local Motion |
| 7 | open scoped Topology Matrix.Norms.Frobenius BigOperators ContDiff Classical |
| 8 | variable {G:Gauge}{n:Side}{ι:Type*}{d:ℕ}{F:Labels.Frame G d}{o:Site n} |
| 9 | {R:Rep G n}{P:BudgetPoint}(m j:Motion) |
| 10 | -- action reduction on Motion.either. needed on apron |
| 11 | private def glide (t:Signed):Motion≃Motion:=(Equiv.mulLeft t).prodCongr (Equiv.refl _) |
| 12 | def twist (t a:Motion):Motion:=(t.1*a.1,Bool.xor t.2 a.2) |
| 13 | def bal (t:Motion): Motion ≃ Motion where |
| 14 | toFun:= twist t |
| 15 | invFun:=twist (Motion.backward t) |
| 16 | left_inv j:= by rcases t with ⟨t,_|_⟩ <;>cases j.2 <;>simp [twist,Motion.backward] |
| 17 | right_inv j:= by rcases t with ⟨t,_|_⟩ <;>cases j.2 <;>simp [twist,Motion.backward] |
| 18 | -- simplify patch compositions |
| 19 | local notation "D" => Motion.patch F |
| 20 | variable (v:F.Coeff) |
| 21 | lemma opus : D m (D j v)=D (twist m j) v:=by |
| 22 | rcases m with ⟨t,_|_⟩ <;> rcases j with ⟨u,_|_⟩<;> simp [Motion.patch,twist,(act_conj F), ← Frame.act_mul, show ∀ t u:Signed,(t*u).ortho=t.ortho*u.ortho from fun t u=> map_mul Signed.inclusionO t u] |
| 23 | lemma oper (a:ℂ): Motion.scalar m (Motion.scalar j a)= Motion.scalar (twist m j) a:= by rcases m with ⟨_,_|_⟩<;> rcases j with ⟨_,_|_⟩<;>simp [Motion.scalar,twist] |
| 24 | -- floatUp composition |
| 25 | local notation "xo"=> (0:Site n) |
| 26 | lemma up_twice (p:Support n): sky m xo (sky j xo p)= sky (twist m j) xo p:= by |
| 27 | simp only [shading,image_image]; refine image_congr (fun i _=>?_); change affine m.1 xo (affine j.1 xo i)=affine (twist m j).1 xo i; simp [affine,twist,Signed.act_mul] |
| 28 | lemma tow (p : Box n): puff m xo (puff j xo p)= puff (twist m j) xo p:= Prod.ext (up_twice m j p.1) (up_twice m j p.2) |
| 29 | lemma climbs (f:Box n→Config G n→ℂ): floatUp m xo (floatUp j xo f)=floatUp (twist m j) xo f:=by |
| 30 | funext p U; obtain ⟨p,rfl⟩:= (puff (twist m j) xo).surjective p |
| 31 | unfold floatUp stepUp; rw [(puff (twist ..) xo).symm_apply_apply,← tow, Equiv.symm_apply_apply,Equiv.symm_apply_apply] |
| 32 | simp_rw [pull_pull,oper]; simp [affine,twist] -- order |
| 33 | lemma pipes (g:ι→ℂ)(b:Finset ι): Motion.scalar m (∑ i∈b,g i)=∑ i∈b,Motion.scalar m (g i):=by unfold Motion.scalar;split_ifs; exact star_sum ..; rfl |
| 34 | lemma trove (i:F.Index): scalar m (chips F v (j,i)) = chips F (D m v) (twist m j,i):= by |
| 35 | let t:= twist m j; let j':= backward j; let v':= (D) j' v |
| 36 | have hp : D (backward t) (D m v)= v':= Motion.patch_inj F t (by rw [round]; exact (show D m v=D t v' from by rw [← opus,round])) |
| 37 | rw [chips,show (twist m j,i)= (t,i) from rfl]; change scalar m (_ * scalar j _)=(_ * scalar t _); rw [hp]; simp_rw [scalar_mul,oper]; congr 1; apply scalar_real |
| 38 | set_option maxRecDepth 4000 in |
| 39 | lemma concert (Q:F.Index→ Box n→ Config G n→ℂ): let O(p:Tally F):= floatUp p.1 xo (Q p.2) |
| 40 | let E(x):=∑ p:Tally F, chips F x p • O p |
| 41 | floatUp m xo (E v)= E (D m v):= by |
| 42 | intro O E; let e:= Equiv.prodCongr (bal m) (Equiv.refl F.Index); funext i U; unfold E; -- rw RHS |
| 43 | unfold floatUp stepUp; simp_rw [Finset.sum_apply, pipes]; nth_rw 2 [← Equiv.sum_comp e]; refine Finset.sum_congr rfl fun j _=> ?_ |
| 44 | change scalar m (chips F v j * _)= chips F (D m v) _ * _ |
| 45 | rw [scalar_mul,show j= (j.1,j.2) from rfl, trove] |
| 46 | exact congr_arg (_ * ·) (congr_fun (congr_fun (climbs m j.1 (Q j.2)) _) _) -- check |
| 47 | variable {H:Hol G}{T:SectionData F} (p: Coefficient F n) (x:Site n)(h:T.Sound H) (π : R.activities.Moves m.1 x) |
| 48 | include h |
| 49 | lemma bow : (audition π p).exponentialEntry (affine m.1 x o) T R=stepUp m x (p.exponentialEntry o T R):=by |
| 50 | let V:=affine m.1 x o; let t:=m.1 |
| 51 | have hi:(reorient π p).exponentialEntry V T R=p.exponentialEntry o T R ∘ pull t x:=by |
| 52 | funext U; let v:=pull t x U;have he := footprint_turn h t o x |
| 53 | have hP q : T.places q o ∘ pull t x = T.places (F.act t.ortho q) (affine t x o) := funext fun V => T.placed_signed h t o x q V |
| 54 | unfold Coefficient.exponentialEntry Coefficient.maskedTerm reorient V t at *; dsimp only [Function.comp_apply]; rw [act_at_zero, ← core_act, F.scaling, he, masked_pull, hP]; simp_rw [masked_pull]; rfl |
| 55 | let P:=reorient π p |
| 56 | have hY U : (barAll P).exponentialEntry V T R U = star (P.exponentialEntry V T R U) := by |
| 57 | have hb (i): (barAll P).maskedTerm R i U = star (P.maskedTerm R i U) := masked_bar .. |
| 58 | rw [Coefficient.exponentialEntry,Coefficient.exponentialEntry, star_add,star_add,tsum_star] |
| 59 | simp_rw [hb,barAll,Pi.star_apply]; rw [core_star,scaled_star,show T.places (star (F.scaled R.p.threshold⁻¹ (F.core P.x))) V = star (T.places (F.scaled R.p.threshold⁻¹ (F.core P.x)) V) from funext fun _ => h.ordinary_real ..,masked_bar] |
| 60 | funext U; unfold audition stepUp Motion.scalar; split; exact (hY U).trans (congr_arg star (congr_fun hi U)); exact congr_fun hi U |
| 61 | -- any Heard invariant via orientation.profile and density! ledger primary.exp linear |
| 62 | omit v h π x m in |
| 63 | lemma expoLinear (P : F.Coeff→ Coefficient F n)(t:F.Coeff→ℝ){s:ℝ}(h:Ledger F n P)(he:∀ v,(P v).remBound o R s (t v)):IsLinearMap ℂ fun v=> (P v).exponentialEntry o T R:=by |
| 64 | let f x j V:= (P x).maskedTerm R j V |
| 65 | have hf v U: Summable fun j=> f v j U:=(Coefficient.regular_series (he v)).summable U |
| 66 | have hv j V: IsLinearMap ℂ (fun x=> f x j V):=by |
| 67 | unfold f Coefficient.maskedTerm; simp_rw [h.tags]; constructor |
| 68 | · intro x y; rw [h.reg.map_add]; exact congr_fun (map_add (maskLinear R.p.threshold _) _ _) V -- implicit |
| 69 | intro c x; rw [h.reg.map_smul]; exact congr_fun (map_smul (maskLinear R.p.threshold _) _ _) V |
| 70 | constructor |
| 71 | · intro x y; funext U; change part T o R U ((P (x+y)).x) + ∑' i,f _ i U= (part T o R U ((P x).x) + ∑' i,f x i U)+(part T o R U ((P y).x)+∑' i,f y i U) |
| 72 | rw [h.x.map_add,map_add]; simp_rw [(fun i=> (hv i U).map_add x y), (hf x U).tsum_add (hf y U)]; ring |
| 73 | intro a x; funext U;change part T o R U ((P (a • x)).x) + ∑' i, f _ i U=a • (part T o R U ((P x).x) + ∑' i,f x i U) |
| 74 | rw [h.x.map_smul,map_smul]; simp_rw [(fun i=> (hv i U).map_smul a x), (hf x U).tsum_const_smul]; exact (smul_add ..).symm |
| 75 | end YM.MergeProof |