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.Splitting.Basis |
| 2 | /-! |
| 3 | # Successive coherence: subtract the true projection |
| 4 | |
| 5 | Our prescription doesn't require increasing the detector collars with r. |
| 6 | Instead of fitting grade-by-grade independent *splittings*, choose successive |
| 7 | bases in exact kernels of old point readouts. Their continuations are still |
| 8 | finite readouts. Implements actual filtering inclusions, not reference-slot |
| 9 | inclusions. |
| 10 | -/ |
| 11 | set_option autoImplicit false |
| 12 | noncomputable section |
| 13 | namespace YM.OPE.Prescription |
| 14 | open Function Matrix Table Finset |
| 15 | open scoped Topology BigOperators Classical ContDiff |
| 16 | variable {G: Gauge}{L:Register G}{S:Table L}{P:DiffPlan S}{m n : ℕ} |
| 17 | variable {U V:Prescription P} |
| 18 | |
| 19 | def slice (P:DiffPlan S)(n:ℕ) : Qname P n↪ Mode P := ⟨Sigma.mk n,fun _ _ h=>eq_of_heq (Sigma.mk.inj h).2⟩ |
| 20 | def tier (P:DiffPlan S)(n:ℕ):= Finset.univ.map (slice P n) |
| 21 | lemma mem_tier (x : Mode P) : x ∈ tier P n ↔ x.fst=n:= by |
| 22 | rw [tier,mem_map]; constructor |
| 23 | · rintro ⟨v,-,rfl⟩; rfl |
| 24 | obtain ⟨i,x⟩:=x; rintro rfl; exact ⟨x,mem_univ _,rfl⟩ |
| 25 | lemma band_zero (P:DiffPlan S): bands P 0=tier P 0:= Finset.ext fun x=> by rw [full_bands, Nat.le_zero,mem_tier] |
| 26 | lemma band_next (P:DiffPlan S)(n:ℕ): bands P (n+1)=bands P n∪ tier P (n+1):= Finset.ext fun x=>by rw [mem_union,mem_tier,full_bands,full_bands]; omega |
| 27 | lemma tier_far (P:DiffPlan S)(n:ℕ): Disjoint (bands P n) (tier P (n+1)):= Finset.disjoint_left.mpr fun _ hp hx=> by have h:=(full_bands ..).1 hp; have he :=(mem_tier ..).1 hx; omega |
| 28 | -- disjoint binder orientation |
| 29 | lemma tier_inside (i:Qname P n)(hm:n≤ m): slice P n i ∈ bands P m:= (full_bands ..).mpr hm |
| 30 | -- set grade |
| 31 | def edit (P: DiffPlan S) (n:ℕ) (U:Prescription P) (f: Qname P n→ S.Field n) (p:Qname P n→ Exterior L →₀ ℂ) : Prescription P where |
| 32 | needle := fun ⟨i,t⟩=> update (β:= fun i=> Qname P i→ S.Field i) (fun i c=> U.needle (slice P i c)) n f i t |
| 33 | sheet := fun ⟨i,t⟩=> update (β:= fun i=> Qname P i→ Exterior L →₀ ℂ) (fun i c=> U.sheet (slice P i c)) n p i t |
| 34 | lemma edited (U : Prescription P) (u t) : ∀ i,(edit P n U u t).needle (slice P n i) = (u i:S.Field n) ∧ (edit P n U u t).sheet (slice P n i)=t i:=by |
| 35 | intro i; constructor <;> simp only [edit,slice,Function.Embedding.coeFn_mk,Function.update_self] |
| 36 | lemma edit_ext (U:Prescription P)(u t) (h:m<n) : Extends m U (edit P n U u t):=by |
| 37 | constructor <;> (rintro ⟨k,i⟩ he; have hp:k≠n:= ((show k≤ m from (full_bands ..).1 he).trans_lt h).ne; simp only [edit,hp, ne_eq, not_false_eq_true,Function.update_of_ne] <;> rfl) |
| 38 | |
| 39 | lemma Extends.atField (h:Extends n U V)(i: Mode P)(he:i∈bands P n)(d) : U.loaded i d=V.loaded i d:=by rw [loaded,loaded]; split; rw [h.needle i he]; rfl |
| 40 | lemma Extends.atTest (h:Extends n U V)(i: Mode P)(he:i∈ bands P n)(d): U.test i d=V.test i d:=by rw [test,test,h.sheet _ he] |
| 41 | |
| 42 | variable (h:S.Symmetric)(hp:P.Inclusions S) |
| 43 | include h hp |
| 44 | lemma startRows : ∃ V:Prescription P, SignedOff 0 V :=by |
| 45 | let q := ((old P 0).quotEquivOfEqBot (by rfl)); let E:Module.Basis (Qname P 0) ℂ (S.Field 0):= (quotientFrame P 0).map q |
| 46 | choose B hB using fun i=> reachReads _ (E.coord i); let U:Prescription P:= ⟨fun _=>0,fun _=>0⟩; let V:= edit P 0 U E B |
| 47 | have he:=edited U E B; have hb i: V.test (slice P 0 i) 0= E.coord i:=by unfold V test; rw [(he i).2]; exact hB i -- equality problem? |
| 48 | have ht i: V.loaded (slice P 0 i) 0= E i:=by rw [cost V _ (tier_inside i le_rfl)]; change P.rise (le_refl 0) (V.needle (slice P 0 i)) = _; rw [P.arrival h hp,(he i).1] |
| 49 | refine ⟨V,fun i j hi hj=>?_,fun x=>?_⟩ |
| 50 | · rw [band_zero] at hi hj; obtain ⟨i,-,rfl⟩:= mem_map.mp hi; obtain ⟨j,-,rfl⟩:= mem_map.mp hj; rw [hb,ht]; simp only [(slice P 0).injective.eq_iff]; by_cases hp:i=j |
| 51 | · subst j; simp |
| 52 | simp [hp] |
| 53 | rw [band_zero,tier,sum_map]; simp_rw [hb,ht]; exact E.sum_repr _ |
| 54 | |
| 55 | /-- Keep all polarizers at old grades; one new ring of tests actualizes the |
| 56 | coordinate readouts of the next quotient. -/ |
| 57 | lemma nextRows (U: Prescription P) (hu:SignedOff n U) : ∃ V: Prescription P, Extends n U V ∧ SignedOff (n+1) V:=by |
| 58 | let ξ:= bands P n; let L':=old P (n+1); let R:= P.rise (Nat.le_succ n); let q:= L'.mkQ |
| 59 | let A(i : Mode P) := U.test i (n+1); let p(i: Mode P):= U.loaded i n |
| 60 | let B : S.Field (n+1)→ₗ[ℂ] S.Field n := ∑ i∈ξ,(A i).smulRight (p i) |
| 61 | have hη(x): B x=∑ i∈ξ, A i x • p i:= by simp [B] |
| 62 | have hb : LeftInverse B R := fun x=> by rw [hη]; unfold R A; simp_rw [U.affinity h hp]; exact hu.rebuilds x |
| 63 | have hR(x): q (R x)=0:= (Submodule.Quotient.mk_eq_zero _).mpr ((show R x∈ LinearMap.range R from ⟨x,rfl⟩): R x∈ L') |
| 64 | obtain ⟨S',hS⟩:= q.exists_rightInverse_of_surjective L'.range_mkQ |
| 65 | let F : (S.Field (n+1) ⧸ L') →ₗ[ℂ] S.Field (n+1):= S'-R.comp (B.comp S') |
| 66 | have ht : LeftInverse q F:=by intro x; unfold F; rw [LinearMap.sub_apply,LinearMap.comp_apply, map_sub,hR, sub_zero]; exact LinearMap.congr_fun hS _ |
| 67 | have hz x:B (F x)=0:=by unfold F; rw [LinearMap.sub_apply,LinearMap.comp_apply,LinearMap.comp_apply, map_sub,hb _,sub_self] |
| 68 | have hX (i) (hi:i∈ξ) (x): U.test i n (B x)= A i x:= by |
| 69 | rw [hη,map_sum]; simp_rw [map_smul]; change (∑ j∈ξ, A j x*(U.test i n (p j))) = _; rw [sum_eq_single i]; simp [p,hu.bothWays i i hi hi] |
| 70 | · intro j hj hs; simp [p,hu.bothWays i j hi hj, Ne.symm hs] |
| 71 | tauto |
| 72 | have hr x: x= F (q x) + R (B x):=by |
| 73 | have hd:x-F (q x)∈L':= (Submodule.Quotient.mk_eq_zero _).mp (show q (x-F (q x))=0 by rw [map_sub,ht _,sub_self]); obtain ⟨a,he⟩:= (hd:x-F (q x)∈ LinearMap.range R) |
| 74 | have he' : B x=a:= by rw [← hb a,he,map_sub,hz,sub_zero] |
| 75 | rw [he',he]; abel |
| 76 | let E : Module.Basis (Qname P (n+1)) ℂ (S.Field (n+1) ⧸ L'):= quotientFrame P (n+1); choose r ht' using fun i=> reachReads _ ((E.coord i).comp q); let V:= edit P (n+1) U (F ∘ E) r; have he:= edit_ext U (F ∘ E) r n.lt_succ_self |
| 77 | have hV:=edited U (F ∘ E) r |
| 78 | have hF(i): V.loaded (slice P (n+1) i) (n+1)= F (E i):= by rw [cost V _ (tier_inside i le_rfl)]; change P.rise (le_refl (n+1)) (V.needle (slice P (n+1) i)) = _; rw [P.arrival h hp,(hV i).1]; rfl |
| 79 | have hY(i)(hi:i∈ξ): V.loaded i (n+1)= R (p i):= by rw [← he.atField i hi, U.load_next h hp i hi n.le_succ] |
| 80 | have hc(i): V.test (slice P (n+1) i) (n+1)= (E.coord i).comp q:=by unfold test; rw [(hV i).2]; apply ht' i |
| 81 | have hd(i)(hi:i ∈ ξ): V.test i (n+1)= A i:= (he.atTest i hi _).symm |
| 82 | have hf (i) (hi:i∈ξ) (j:Qname P (n+1)): i≠ slice P (n+1) j:=fun h=> by have he:=(full_bands ..).1 hi; rw [h] at he; exact Nat.not_succ_le_self _ he |
| 83 | refine ⟨V,he,fun i j hi hj=>?_,fun x=>?_⟩ |
| 84 | · simp only [band_next,mem_union,tier,mem_map,mem_univ,true_and] at hi hj; rcases hi with hi|⟨i,rfl⟩ <;> rcases hj with hj|⟨j,rfl⟩ |
| 85 | · rw [hd _ hi,hY _ hj]; unfold A R p; rw [U.affinity h hp,hu.bothWays i j hi hj] -- p unfold |
| 86 | · rw [hd _ hi,hF j, if_neg (hf _ hi _), ← hX _ hi, hz, map_zero] |
| 87 | · rw [hc i,hY _ hj,LinearMap.comp_apply,hR,map_zero,if_neg ((hf _ hj i).symm)] -- .symm ? |
| 88 | rw [hc i,hF j, LinearMap.comp_apply,ht _]; simp only [(slice P (n+1)).injective.eq_iff]; by_cases h:i=j; subst i; · simp |
| 89 | simp [h] |
| 90 | rw [band_next,sum_union (tier_far ..),tier,sum_map] |
| 91 | simp_rw [hF,hc]; have hi : ∑ i∈ξ,V.test i (n+1) x • V.loaded i (n+1) = R (B x):=by rw [hη,map_sum]; exact sum_congr rfl fun i hi=> by rw [hd i hi,hY i hi,map_smul] |
| 92 | rw [hi]; change R (B x)+ (∑ i, E.repr (q x) i • F (E i)) = _; simp_rw [← F.map_smul]; rw [← map_sum,E.sum_repr,add_comm,← hr] |
| 93 | end YM.OPE.Prescription |