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.OPE.Orbits.Real |
| 2 | |
| 3 | /-! |
| 4 | Compatible finite projections adapted to covariant *averaged* readers. |
| 5 | We annihilate previously chosen strata, also using those fixed actual |
| 6 | physical test maps for all lower projections of subsequent fields. -/ |
| 7 | set_option autoImplicit false |
| 8 | noncomputable section |
| 9 | namespace YM.OPE.Orbits |
| 10 | open Function Filter Set MeasureTheory Extraction Table Prescription |
| 11 | open scoped Topology BigOperators ContDiff Classical Matrix.Norms.Frobenius |
| 12 | variable {G:Gauge}{L:Register G}{S:Table L}{Q:DiffPlan S}{P:Prescription Q}{X:Rotation S}{ρ:S.RealSpin} |
| 13 | {I:Type}[Fintype I] {d:I→ℕ} |
| 14 | |
| 15 | /-- Tomography supplies tied to common differential filtration, rotations and |
| 16 | basis. Constructed below from services; never assumed of all models. -/ |
| 17 | structure Reader (Q:DiffPlan S) (X:Rotation S) (ρ:S.RealSpin) where |
| 18 | port : Prescription Q |
| 19 | spans : port.Coherent |
| 20 | continuum : S.Hierarchy |
| 21 | lifts : Q.Inclusions S |
| 22 | stands : Q.Orientation ρ |
| 23 | law : X.Laws Q ρ |
| 24 | |
| 25 | namespace Reader |
| 26 | variable (R:Reader Q X ρ) |
| 27 | def liftOne (m q:ℕ): S.Field q→ₗ[ℂ] S.Field m := |
| 28 | let f:= (checkReal R.port R.law R.continuum m (sole 0) 0 (d:=fun _:Unit=>q)) |
| 29 | f.toLinearMap 0 () -- 0 overwritten at () |
| 30 | lemma liftOne_check (m q) (v:S.Field q): R.liftOne m q v = checkReal R.port R.law R.continuum _ (sole 0) 0 (d:=fun _:Unit=>q) (sole v) :=by |
| 31 | rw [liftOne, MultilinearMap.toLinearMap_apply]; change (checkReal _ _ _ _ _ _ (d:=fun _:Unit=>q) _) = _ |
| 32 | exact congr_arg _ (funext fun (i:Unit) => by cases i; exact update_self ..) |
| 33 | |
| 34 | private lemma shadow_neck (u q m : ℕ)(h:q ≤ m)(z:S.Field q): |
| 35 | OPE.shadow R.port u (sole 0) (sole (quoteTag (⟨m,Q.rise h z⟩:S.Tag))) 0 = OPE.shadow R.port u (sole 0) (sole (quoteTag (⟨q,z⟩:S.Tag))) 0:=by |
| 36 | apply Finset.sum_congr rfl; intro i hi; unfold quoteTag; rw [R.port.insertOne m _ R.continuum,R.port.insertOne q _ R.continuum]; simp only [S.rep]; rw [R.port.affinity R.continuum.laws.toSymmetric R.lifts i z h] |
| 37 | private lemma liftOne_affinity (u q m : ℕ)(h:q ≤ m)(z:S.Field q): R.liftOne u m (Q.rise h z) = R.liftOne u q z :=by |
| 38 | rw [liftOne_check,liftOne_check,checkValue,checkValue] -- if not rw |
| 39 | have ha(z:S.Field q) (j:ℕ) (y:q ≤ j): averageV R.port X u (sole 0) 0 (d:=fun _:Unit=>j) (sole (Q.rise y z))= averageV R.port X u (sole 0) 0 (d:=fun _:Unit=>q) (sole z) := by |
| 40 | classical |
| 41 | unfold averageV; split; swap; rfl |
| 42 | apply integral_congr_ae; refine Eventually.of_forall fun k=>?_ ; unfold spinning |
| 43 | have hx:Ortho.move k⁻¹ 0=0:=map_zero (Ortho.motion k⁻¹); have hg:Ortho.move k⁻¹ ∘ sole (0:E4)=sole (0:E4):=funext fun i=>hx |
| 44 | change X.act u k (OPE.shadow R.port u _ (sole (quoteTag (S:=S) ⟨(j:ℕ),X.act j k⁻¹ (Q.rise y z)⟩)) _) = X.act u k (OPE.shadow R.port u _ (sole (quoteTag (S:=S) ⟨q,X.act q k⁻¹ z⟩)) _) |
| 45 | rw [hg,hx,R.law.filtered,shadow_neck] |
| 46 | have hh (v:ℕ)(w:S.Field v): bar ρ (d:=fun _:Unit=> v) (sole w)=sole (S.conj ρ v w):=rfl |
| 47 | rw [hh,hh,R.stands.realInc, ha z m h,ha (S.conj ρ q z) m h] |
| 48 | |
| 49 | def knife (m : ℕ) : S.Field m →ₗ[ℂ] S.Field m:= Nat.strongRecOn (motive:=fun m=> S.Field m →ₗ[ℂ] S.Field m) m (fun n I=> LinearMap.id - ∑ i:Fin n, Q.rise (d:=i.val) i.isLt.le ∘ₗ I i.val i.isLt ∘ₗ R.liftOne i.val n) |
| 50 | |
| 51 | def cutTest (m q):= R.knife m ∘ₗ R.liftOne m q |
| 52 | |
| 53 | lemma knife_apply (m q:ℕ){h:q ≤ m} (z:S.Field q): |
| 54 | R.knife m (Q.rise h z) = Q.rise h z - ∑ i:Fin m, Q.rise i.isLt.le (R.cutTest i.val q z):=by |
| 55 | have hi(k:ℕ):R.liftOne k m (Q.rise h z)=R.liftOne k q z :=by |
| 56 | exact R.liftOne_affinity .. -- coherence of R.port.ope under inclusions+rot averages (for testing one only, old P.test affinity) |
| 57 | have hw:R.knife m = LinearMap.id - ∑ i:Fin m, (Q.rise i.isLt.le) ∘ₗ R.cutTest i.val m:=by |
| 58 | apply Nat.strongRecOn_eq |
| 59 | rw [hw] |
| 60 | simp only [LinearMap.sub_apply, LinearMap.id_apply, LinearMap.sum_apply, LinearMap.comp_apply]; apply congr_arg (_-·); refine Finset.sum_congr rfl ?_; intro i hv; rw [cutTest,LinearMap.comp_apply,hi]; rfl |
| 61 | lemma test_formula (m q:ℕ)(h:q ≤ m) (z:S.Field q): |
| 62 | R.cutTest m q z = Q.rise h z - ∑ i:Fin m, Q.rise i.isLt.le (R.cutTest i.val q z) :=by |
| 63 | have hs:=checkReal_fixed m R.law R.continuum q z R.spans R.lifts R.stands h |
| 64 | change R.knife m (R.liftOne m q z) = _ |
| 65 | rw [liftOne_check,hs]; exact R.knife_apply .. |
| 66 | lemma reconstruct (m q:ℕ)(h:q ≤ m) (z:S.Field q): ∑ i:Fin (m+1), Q.rise (d:=i.val) (Nat.le_of_lt_succ i.isLt) (R.cutTest i.val q z)=Q.rise h z :=by |
| 67 | rw [Fin.sum_univ_castSucc]; change ∑ i:Fin m,Q.rise (d:=i.val) i.isLt.le (R.cutTest i.val q z) + Q.rise (Nat.le_refl m) (R.cutTest m q z) = _ |
| 68 | rw [Q.arrival R.continuum.laws.toSymmetric R.lifts (R.cutTest m q z),test_formula R m q h]; abel |
| 69 | |
| 70 | lemma kills_lower (m q:ℕ)(h:q < m) (z:S.Field q): R.cutTest m q z=0:=by |
| 71 | cases m with |
| 72 | | zero=> exact (Nat.not_lt_zero _ h).elim |
| 73 | | succ m=> |
| 74 | rw [R.test_formula (m+1) q h.le] |
| 75 | have he: (∑ i:Fin (m+1),Q.rise i.isLt.le (R.cutTest i.val q z))= Q.rise h.le z := by |
| 76 | rw [← Q.transit R.continuum.laws.toSymmetric R.lifts (Nat.le_sub_one_of_lt h) m.le_succ] |
| 77 | have hw:= congr_arg (Q.rise m.le_succ) (R.reconstruct m q (by omega) z) |
| 78 | rw [map_sum] at hw; apply Eq.trans ?_ hw; refine Finset.sum_congr rfl fun i _=> (Q.transit R.continuum.laws.toSymmetric R.lifts ..).symm |
| 79 | rw [he,sub_self] |
| 80 | lemma cut_rise (m v q:ℕ)(h:v≤q)(z:S.Field v): R.cutTest m q (Q.rise h z)=R.cutTest m v z:=by |
| 81 | change R.knife m (R.liftOne m q _) = R.knife m _; rw [R.liftOne_affinity] |
| 82 | |
| 83 | def stratum (m:ℕ) : Submodule ℂ (S.Field m):= ⨅ i:Fin m, (R.cutTest i.val m).ker |
| 84 | lemma piece_mem {m:ℕ}{z:S.Field m} : z∈ R.stratum m ↔ ∀ i:Fin m,R.cutTest i.val m z=0:=by simp [stratum,LinearMap.mem_ker] |
| 85 | |
| 86 | lemma knife_mem (m:ℕ) (x:S.Field m) : R.knife m x∈R.stratum m:= by |
| 87 | induction m using Nat.strong_induction_on with |
| 88 | | h m ih => |
| 89 | refine (piece_mem R).mpr fun i=> ?_ |
| 90 | rw [show x=Q.rise (d:=m) le_rfl x from (Q.arrival R.continuum.laws.toSymmetric R.lifts _).symm] -- occurrences? |
| 91 | rw [R.knife_apply, map_sub,map_sum]; simp_rw [R.cut_rise]; apply sub_eq_zero.mpr (?_); symm; rw [Finset.sum_eq_single i]; rotate_left |
| 92 | · intro j _ h |
| 93 | rcases lt_or_gt_of_ne (show i.val ≠ j.val from (fun he=> h ((Fin.ext he).symm))) with he|he |
| 94 | · exact (piece_mem R).1 (ih j.val j.isLt (R.liftOne j.val m x)) ⟨i.val,he⟩ |
| 95 | exact R.kills_lower i.val j.val he _ |
| 96 | · exact fun hi=> False.elim (hi (Finset.mem_univ ..)) |
| 97 | have hx:= ih i.val i.isLt (R.liftOne i.val m x) |
| 98 | let p:=R.cutTest i.val m x |
| 99 | change R.cutTest i.val i.val p = R.cutTest i.val m x |
| 100 | rw [test_formula R _ _ le_rfl p, Q.arrival R.continuum.laws.toSymmetric R.lifts p, Finset.sum_eq_zero fun j _=>?_ , sub_zero] |
| 101 | erw [(piece_mem R).1 hx j,map_zero] |
| 102 | end Reader |
| 103 | end YM.OPE.Orbits |