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.TraceExtension.Atlas.Web |
| 2 | set_option autoImplicit false |
| 3 | noncomputable section |
| 4 | namespace YM.Trace.Pilot |
| 5 | open Function Filter Set Extraction Climb Next.UVStress Table Work.A01 Maxwell UVNext.FreeStress Spin |
| 6 | open Spec Over Terrace MergeProof.East Next.Rank |
| 7 | open scoped Topology BigOperators InnerProductSpace Matrix.Norms.Frobenius ContDiff Classical |
| 8 | variable {G : Gauge}{C:Family G}{X:Extraction.Order} |
| 9 | variable {S:Table C.book}(F: Final C X S){H:(Bel C.book).Hierarchy} |
| 10 | local notation "F₀"=> Bel C.book |
| 11 | variable (h:G.Simple){𝓛:Ultrafilter (ℕ×ℕ)}{J:Scaling S}{V:∀ i,Vane C i}{Z:Arch C} |
| 12 | variable (h₁:Scribe X J V Z F.sector 𝓛 F.room.kernel H) |
| 13 | |
| 14 | open LinearMap |
| 15 | section |
| 16 | variable {L:Register G}{S:Table L}{T : Table.Rotation S}{H:S.Hierarchy} |
| 17 | lemma expect_turn (H:S.Hierarchy)(K:S.Rotation)(ht:K.Oriented S)(v:S.Field 4)(s: Ortho): expectation S 4 (K.act 4 s v)=expectation S 4 v:=by |
| 18 | have hv:=ht 1 (fun _=>⟨4,v⟩) 0 (Next.UVStress.conf1) s; rw [show Points.move s (0:Points 1)=0 from PiLp.ext fun i => map_zero (Ortho.motion s)] at hv; rw[onepoint,onepoint]; exact hv |
| 19 | variable {d:ℕ} |
| 20 | -- inverse CLm |
| 21 | variable {E: Type*}[NormedAddCommGroup E][NormedSpace ℂ E][FiniteDimensional ℂ E][CompleteSpace E] |
| 22 | def opEquiv (u:E≃ₗ[ℂ] E): Mat E:= LinearMap.toContinuousLinearMap u.toLinearMap |
| 23 | lemma step_round (u:ℕ→ E≃ₗ[ℂ] E)(h:Tendsto (opEquiv ∘ u) atTop (𝓝 1)): Tendsto (fun i=>opEquiv (u i).symm) atTop (𝓝 1):=by |
| 24 | have hr:=NormedRing.inverse_continuousAt (1: (Mat E)ˣ); have hh:= hr.tendsto.comp h; rw[Units.val_one,Ring.inverse_one] at hh; apply hh.congr; intro i |
| 25 | let x:=u i; let p:= opEquiv x; let q:=opEquiv x.symm; have hk:p*q=1:= ContinuousLinearMap.ext (fun i=> x.apply_symm_apply _); have ht:q*p=1:=ContinuousLinearMap.ext (fun i=> x.symm_apply_apply _) |
| 26 | have hu:IsUnit p:=⟨⟨p,q,hk,ht⟩,rfl⟩;apply hu.mul_right_inj.mp; change _=p*q; rw [hk]; exact Ring.mul_inverse_cancel p hu |
| 27 | |
| 28 | variable (F':S.Rotation)(A:S.RealSpin) (h: Spin.Port F' A) |
| 29 | lemma patch_op(s:Ortho) (v:ℕ→ E≃ₗ[ℂ] E)(f:ℕ→ (E ≃ₗ[ℂ] S.Field d))(T: Mat E)(hV:Tendsto (opEquiv ∘ v) atTop (𝓝 1)) (ht:Tendsto (fun i=> circle h (f i) s) atTop (𝓝 T)): Tendsto (fun i=> circle h ((v i).trans (f i)) s) atTop (𝓝 T):=by |
| 30 | let x:=step_round v hV |
| 31 | have hh:= (x.mul ht).mul hV; rw[one_mul,mul_one] at hh |
| 32 | exact hh.congr (fun i=> ContinuousLinearMap.ext (fun j=> rfl)) |
| 33 | |
| 34 | open MeasureTheory |
| 35 | attribute [local instance] Work.A15.compact_ortho |
| 36 | local instance : MeasurableSpace Ortho := borel Ortho |
| 37 | local instance : BorelSpace Ortho := ⟨rfl⟩ |
| 38 | variable {E:Type*}[NormedAddCommGroup E][NormedSpace ℂ E][FiniteDimensional ℂ E][CompleteSpace E][NormedSpace ℝ E][IsScalarTower ℝ ℂ E] |
| 39 | lemma Peg (f g:Ortho→* (Mat E))(hf:Continuous f)(hg:Continuous g)(P:E→L[ℂ] ℂ)(hP:∀ v x,P (f v x)= P x)(hp:∀ v x,P (g v x)=P x)(x): P (meanO f g x)=P x:=by |
| 40 | rw[meanO_value f g hf hg,← P.integral_comp_comm] |
| 41 | · simp_rw [ContinuousLinearMap.mul_apply,hP,hp]; simp |
| 42 | exact ((hf.mul (hg.comp continuous_inv)).clm_apply continuous_const).integrable_of_hasCompactSupport (HasCompactSupport.of_compactSpace _) |
| 43 | end |
| 44 | structure AlignV (K:S.Hierarchy)(U: Spec.Algebra S)(H:(Bel C.book).Hierarchy)(v:change S 4): Prop where |
| 45 | align : AlignO U K.spin H 4 v |
| 46 | cent : ∀ x, expectation S 4 (v x)= expectation (F₀) 4 x |
| 47 | |
| 48 | include h h₁ |
| 49 | lemma nearby (P:ℕ→change S 4)(hp:Tendsto (fun k=>moveV (S:=S) 4 (J.U k 4) (P k)) atTop (𝓝 1))(r:Ortho): Tendsto (fun i=>circle (compassF F) (P i) r) atTop (𝓝 (circle (compass (C:=C) (H:=H) h) (LinearEquiv.refl ℂ ((F₀).Field 4)) r)):=by |
| 50 | apply (patch_op F.sector.turns F.room.kernel.spin (compassF F) r (fun i=>actMove (S:=S) 4 (J.U i 4) (P i)) _ _ hp (acts_tends h h₁ 4 r)).congr |
| 51 | intro i; change circle _ _ r=circle _ (P i) r; congr 1; congr 1; ext1 x; exact LinearEquiv.apply_symm_apply .. |
| 52 | -- exact averaging |
| 53 | -- choose canonical convention.Gr.Unit. |
| 54 | def gaze (h:G.Simple)(L:change S 4): Mat ((Bel C.book).Field 4) := meanO (circle (compassF F) L) (circle (compass (C:=C) (H:=H) h) (LinearEquiv.refl ℂ ((Bel C.book).Field 4))) |
| 55 | structure XScope (r:ℝ)(v:change S 4): Prop where |
| 56 | frame: AlignV F.room.kernel F.sector H v |
| 57 | precess: ∃ u:change S 4, AngularH F.room.kernel H r u∧∀ x,v x=u (gaze (H:=H) F h u x) |
| 58 | lemma fulfill : ∃ P:ℕ→ change S 4,Tendsto (fun k=> moveV (S:=S) 4 (J.U k 4) (P k)) atTop (𝓝 1)∧ ∀ᶠ i:ℕ in atTop,XScope (H:=H) F h (J.r i) (P i):=by |
| 59 | let K:= F.room.kernel |
| 60 | obtain ⟨U,hU,hΩ⟩:= boss F h h₁ |
| 61 | let Q (i):=circle (compassF F) (U i); let L:=LinearEquiv.refl ℂ ((Bel C.book).Field 4); let Q':=circle (compass (C:=C) (H:=H) h) L |
| 62 | let M i:= gaze (H:=H) F h (U i); have hM : Tendsto M atTop (𝓝 1):= eventualMeanO Q (fun i=>circle_cont ..) Q' (circle_cont ..) (nearby F h h₁ U hU) |
| 63 | let Z(i):= if ht:IsUnit (M i) then (unit_shape (M i) ht).choose else L; let P(i):= (Z i).trans (U i); have hp:= hM.eventually (Units.isOpen.mem_nhds isUnit_one); |
| 64 | have he : ∀ i,IsUnit (M i)→∀ x,Z i x=M i x:= by intro i hi x; unfold Z; rw[dif_pos hi]; exact LinearMap.congr_fun (unit_shape _ hi).choose_spec _ |
| 65 | have ht:= hU.mul hM; rw [mul_one] at ht |
| 66 | refine ⟨P,ht.congr' (hp.mono (fun i hi=> ContinuousLinearMap.ext (fun x=> ?_))),?_⟩ |
| 67 | · change (J.U i 4).symm (U i _)= (J.U i 4).symm (U i (Z i x)); rw[he i hi]; rfl |
| 68 | filter_upwards[hp,hΩ] with i hi H' |
| 69 | let Y:= U i; let A:= Q i |
| 70 | have hE(x): P i x=Y (M i x):= congr_arg _ (he i hi x) |
| 71 | refine ⟨⟨⟨?_,?_,?_⟩,?_⟩,Y,H',hE⟩ <;> obtain ⟨T,hT,hF,ht⟩:= H'.pose <;> try change Y=_ at hT |
| 72 | · intro x; let g(s: (Bel C.book).Field 4):= (F₀).conj H.spin 4 s; let B:= LinearMap.toContinuousLinearMap (StressFlux.conjQ (d:=4) H.spin) |
| 73 | have hu(v):Y (B v)= S.conj F.room.kernel.spin 4 (Y v):= by rw[hT];exact (coverV_H _ _ _ hF.twist hF.bar v).1 |
| 74 | have hx(s v): B (Q' s v)=Q' s (B v):=(compass (H:=H) h).real .. |
| 75 | have hY(s v): Q i s (B v)=B (Q i s v):=by |
| 76 | let p:= F.sector.turns.act 4 s; apply Y.injective;change Y (Y.symm (p (Y _)))=_; rw [hu (Q i s v),Y.apply_symm_apply, hu];change _=S.conj _ _ (Y (Y.symm _));rw[Y.apply_symm_apply]; exact ((compassF F).real ..).symm |
| 77 | rw [hE,hE]; exact (congr_arg _ (mean_maps (f:=Q i) (g:=Q') (circle_cont ..) (circle_cont ..) B hY (fun s v=> (hx s v).symm) x)).trans (hu (M i x)) |
| 78 | · let u:=(F₀).unit 4; have hv:Y u= S.unit 4:=by rw[hT]; exact coverV_unit .. |
| 79 | have ha(s):Q i s u=u:=by apply Y.injective; change Y (Y.symm _)= _; rw [Y.apply_symm_apply];change F.sector.turns.act _ _ (Y u)= _; rw[hv,F.phase.transport.spots.identity] |
| 80 | rw [hE,show M i u=u from mean_fixed (Q i) Q' (circle_cont ..) (circle_cont ..) _ ha (fun v=> (baseRights (C:=C) (H:=H) h).identity ..)]; exact hv |
| 81 | · intro s x; rw[hE,hE]; |
| 82 | have hx:= congr_arg (fun f : Mat ((Bel C.book).Field 4)=> f x) (underO (Q i) Q' (circle_cont ..) (circle_cont ..) s); change Y.symm (F.sector.turns.act _ _ (Y _))= M i (Q' s x) at hx; exact (congr_arg Y hx.symm).trans (Y.apply_symm_apply _) |
| 83 | intro x;rw[hE] |
| 84 | have hz(x):expectation S 4 (Y x)=expectation (F₀) 4 x:= by rw[hT];exact coverV_scale .. |
| 85 | rw[hz]; let B:=LinearMap.toContinuousLinearMap (expectation (F₀) 4) |
| 86 | have hh(s v): B (Q i s v)=B v:=by change expectation (F₀) 4 (Q i s v)=_;rw[← hz];change expectation S 4 (Y (Y.symm _))=_; rw [Y.apply_symm_apply]; exact (expect_turn K F.sector.turns F.phase.transport.motion (Y v) s).trans (hz v) |
| 87 | have hP : (turns C).Oriented (F₀):=Maxwell.Free.gear_motion _ |
| 88 | exact Peg (f:=Q i) (g:=Q') (circle_cont ..) (circle_cont ..) B hh (fun s x=> expect_turn H (turns C) hP x s) x |
| 89 | end YM.Trace.Pilot |