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.SharpGram.Weak.Pairing |
| 2 | import YM.Extra.WEAK_SCALING_ACTLAW.Adjust |
| 3 | import YM.Push.FINITE_DETECTION.Test |
| 4 | /-! |
| 5 | # Correct to a single compatible weak measuring frame, through D |
| 6 | |
| 7 | We switch on all pairs at once (mixed at the *same* D station, not plucked |
| 8 | from independently calibrated ones). Use a complex first-slot detector for |
| 9 | prices of the cross adjust; after that the real-part lower and norm upper |
| 10 | of Weak.Pairing transfer too. The final basis can be chosen as |
| 11 | Extra.WeakScaling.Graded (all incl and all H symmetries real, unit) and used |
| 12 | at `tiltLength` (doesn't require the tilted form itself to enjoy the mirror |
| 13 | symmetry). |
| 14 | -/ |
| 15 | set_option autoImplicit false |
| 16 | noncomputable section |
| 17 | namespace YM.SharpGram.Weak.Portfolio |
| 18 | open Function Filter Set MeasureTheory Lattice Wilson RG Marker Source Extra.Histories |
| 19 | open Extraction Bid Push Next.Extract Dash Cells Next.Rank PhysicalNext.RankCovariance |
| 20 | open Org Spec Next.Rank.Station Further.CorrectedLift Analysis Next.UVStress Climb Ward |
| 21 | open scoped Topology Matrix.Norms.Frobenius BigOperators Classical ContDiff |
| 22 | open Push.FiniteDetection.Free |
| 23 | set_option quotPrecheck false |
| 24 | variable {G:Gauge}{C:Family G}{S:Table C.book}{f:Extraction.Order}(U:Final C f S) |
| 25 | variable {D:ℕ}{u:Filter (ℕ×ℕ)}{H:C.Makes} (X : Portfolio C H D u) |
| 26 | local notation "F"=> standard C |
| 27 | local notation "σ"=> U.room.kernel.spin |
| 28 | local notation "θ"=> Maxwell.Free.spin_free C.labels |
| 29 | |
| 30 | -- Work via Fin pair tag read for differently raised labels |
| 31 | def firstProbe {L : Register G} (T : Table L) {d : ℕ} (e : ℕ) (p : Points 2) (q : T.Field d) : T.Field e →ₗ[ℂ] ℂ := |
| 32 | Work.A15.front p (![⟨d,q⟩] : Fin 1 → T.Tag) _ |
| 33 | lemma firstProbe_read {L:Register G} (T : Table L) {d e : ℕ} (p : Points 2) (x : T.Field d) (y : T.Field e) : |
| 34 | firstProbe T d p y x = T.useAt T p ![⟨d,x⟩,⟨e,y⟩] := Work.A15.front_apply p .. |
| 35 | lemma firstProbe_eq {L:Register G} (T : Table L){q : Fin 2 → T.Tag} {x : Points 2} : |
| 36 | firstProbe T (q 0).1 x (q 1).2 (q 0).2=T.useAt T x q := by |
| 37 | rw [firstProbe_read,show (![⟨_,(q 0).2⟩,⟨_,(q 1).2⟩] : Fin 2 → T.Tag)=q from ?_] |
| 38 | funext i; fin_cases i <;> rfl |
| 39 | lemma readSecond {L:Register G} (T : Table L) {d : ℕ} (p : Points 2) |
| 40 | (x y : T.Field d) : firstProbe T d p y x = T.classMoment T (fun _=>d) p ![x,y] := by |
| 41 | let q : Fin 2 → T.Tag := fun i=> ⟨d,(![x,y] : Fin 2→T.Field d) i⟩ |
| 42 | exact firstProbe_eq T (q:=q) |
| 43 | lemma ascend {L:Register G} (T : Table L) (P : DiffPlan T) (h : P.Inclusions T) {d e n : ℕ} (he : d ≤ e) (x : Points 2) (hx : x ∈ conf 2) (v : T.Field d) (z : T.Field n) : firstProbe T e x z (P.rise he v) = firstProbe T d x z v := by |
| 44 | rw [firstProbe_read,firstProbe_read] |
| 45 | exact h.kernels _ _ hx _ |
| 46 | |
| 47 | variable {W r T0} (T : OPE.TableTickets C W r T0) [u.NeBot] (hf : u ≤ f.fuse) (hG:G.Simple) |
| 48 | include U hf T hG |
| 49 | lemma twoBelow (d e : Fin (D+1)) (v : (F).Field d) (z : (F).Field e) : |
| 50 | Tendsto (fun k => firstProbe S d (X.detector k) (X.draw S k e z) (X.draw S k d v)) atTop |
| 51 | (𝓝 (firstProbe (F) d detectors z v)) := by |
| 52 | let t := (![d,e] : Fin 2 → Fin (D+1)) |
| 53 | let a : (i : Fin 2) → C.label (t i) := Fin.cons (α := fun i=> C.label (t i)) (ladder C d v) (Fin.cons (ladder C e z) (fun i=> Fin.elim0 i)) |
| 54 | have he := X.twoC U hG T hf (t:=t) a |
| 55 | let r : Fin 2 → (F).Tag := fun i=>⟨(t i).val, (F).project (t i) (a i)⟩ |
| 56 | let q k : Fin 2 → S.Tag := fun i=>⟨(t i).val,X.visible S k (t i) (a i)⟩ |
| 57 | change Tendsto (fun k=> S.useAt S _ (q k)) _ (𝓝 ((standard C).useAt (F) detectors r)) at he |
| 58 | rw [← firstProbe_eq (F)] at he |
| 59 | have hr : firstProbe (F) (r 0).1 detectors (r 1).2 (r 0).2=firstProbe (F) d detectors z v := by |
| 60 | change firstProbe _ (d:ℕ) _ ((F).project _ (ladder C _ z)) ((F).project _ (ladder C _ v))=_ |
| 61 | rw [ladder_reads,ladder_reads] |
| 62 | rw [hr] at he |
| 63 | refine he.congr (fun k=>?_) |
| 64 | exact (firstProbe_eq S (q:=q k)).symm |
| 65 | |
| 66 | omit hG T hf |
| 67 | -- fallback only for small k or unwitnessed horizons |
| 68 | section |
| 69 | omit [u.NeBot] |
| 70 | include U |
| 71 | lemma someChart (d : ℕ) : Nonempty (YM.Spin.change S d) := by |
| 72 | obtain ⟨H,h⟩:=U.phase.transport.comparator |
| 73 | obtain ⟨e,h⟩:= h d |
| 74 | exact ⟨e.symm⟩ |
| 75 | |
| 76 | def chart (k d : ℕ) : YM.Spin.change S d := if h:d ≤ D then |
| 77 | let e := X.draw S k ⟨d,Nat.lt_succ_of_le h⟩ |
| 78 | if H : Bijective e then LinearEquiv.ofBijective e H else Classical.choice (someChart U d) |
| 79 | else Classical.choice (someChart U d) |
| 80 | lemma chart_eq (k : ℕ) (d : Fin (D+1)) (h : Bijective (X.draw S k d)) (x : (F).Field d) : |
| 81 | X.chart U k d x=X.draw S k d x := by unfold chart; rw [dif_pos (Nat.le_of_lt_succ d.isLt), dif_pos h]; rfl |
| 82 | end |
| 83 | include hG T hf |
| 84 | lemma chartDraw (d : Fin (D+1)) : ∀ᶠ k in atTop, Bijective (X.draw S k d) ∧ ∀ x : (F).Field d, X.chart U k d x=X.draw S k d x := by |
| 85 | obtain ⟨δ,he,hc⟩:= freely (C:=C) d |
| 86 | filter_upwards [X.certified U hG T hf d δ he hc] with k ⟨_,_,_,ha⟩ |
| 87 | exact ⟨ha,fun v => X.chart_eq U k d ha v⟩ |
| 88 | |
| 89 | lemma extraStep (d e : Fin (D+1)) (v : (F).Field d) (z : (F).Field e) : |
| 90 | Tendsto (fun k => firstProbe S d (X.detector k) (X.chart U k e z) (X.chart U k d v)) atTop |
| 91 | (𝓝 (firstProbe (F) d detectors z v)) := by |
| 92 | apply (X.twoBelow U T hf hG d e v z).congr' |
| 93 | filter_upwards [X.chartDraw U T hf hG d,X.chartDraw U T hf hG e] with k hk he |
| 94 | rw [hk.2, he.2] |
| 95 | |
| 96 | local notation "V"=> U.sector.derivatives |
| 97 | local notation "B"=> Maxwell.Free.scheme C.labels |
| 98 | set_option maxHeartbeats 800000 in |
| 99 | lemma stepFits : Extra.WeakScaling.Near V B (chart U X) D := by |
| 100 | intro d hd v |
| 101 | let e : Fin (D+1) := ⟨d+1, by omega⟩ |
| 102 | let r : Fin (D+1) := ⟨d, by omega⟩ |
| 103 | let β := Module.finBasis ℂ ((standard C).Field e) |
| 104 | let b0 := Push.FiniteDetection.freeMatrix (C:=C) β detectors |
| 105 | let b (k : ℕ):= LinearMap.pi (fun i: Fin (Module.finrank ℂ ((F).Field e)) => |
| 106 | (firstProbe S e (X.detector k) (X.chart U k e (β i))).comp (X.chart U k e).toLinearMap) |
| 107 | have hv : ∀ x i, b0 x i = firstProbe (F) e detectors (β i) x := |
| 108 | fun x i => (readSecond (F) _ x (β i)).symm |
| 109 | apply Work.A04.tendsto_of_fitted b b0.toLinearMap (Push.FiniteDetection.free_injective β) |
| 110 | · intro x |
| 111 | refine tendsto_pi_nhds.mpr fun i => ?_ |
| 112 | change Tendsto _ atTop (𝓝 (b0 x i)) |
| 113 | rw [hv] |
| 114 | exact X.extraStep U T hf hG e e x (β i) |
| 115 | refine tendsto_pi_nhds.mpr fun i => ?_ |
| 116 | |
| 117 | change Tendsto (fun k => firstProbe S e (X.detector k) (X.chart U k e (β i)) (X.chart U k e ((X.chart U k e).symm ((V).rise (show d≤e.val from d.le_succ) (X.chart U k d v))))) atTop (𝓝 (b0 ((B).rise (show d≤e.val from d.le_succ) v) i)) |
| 118 | rw [hv] |
| 119 | rw [ascend (F) B (Maxwell.Free.scheme_filters _) _ detectors detectors_in] |
| 120 | simp_rw [LinearEquiv.apply_symm_apply, ascend S V U.phase.transport.injection _ _ (X.detector_conf _)] |
| 121 | exact X.extraStep U T hf hG r e v (β i) |
| 122 | |
| 123 | -- an H-real filtration-compatible identification in every pose of a window. |
| 124 | lemma symmetrical (d:Fin (D+1)) : ∀ᶠ k : ℕ in atTop, YM.Spin.realH σ θ (X.chart U k d) := by |
| 125 | filter_upwards [X.onLevel,X.chartDraw U T hf hG d] with k ⟨_,_,hp,hZ⟩ hE |
| 126 | constructor |
| 127 | · intro s x |
| 128 | rw [hE.2,hE.2] |
| 129 | change X.visible S k d (ladder C d _) = _ |
| 130 | rw [ladder_spin] |
| 131 | exact commutesTurn hp U hf hZ s d _ |
| 132 | intro x |
| 133 | rw [hE.2,hE.2] |
| 134 | change X.visible S k d (ladder C d _) = _ |
| 135 | rw [ladder_conj] |
| 136 | exact realStar hp U hf hZ d _ |
| 137 | |
| 138 | /-- Extra.WeakScaling's graded notion: full exact across the same Final d through D. |
| 139 | This uses a compatible basis, steering the noncoherent `Portfolio.draw`. -/ |
| 140 | lemma tune_grades : |
| 141 | ∃ p : ℕ → ∀ d : ℕ, YM.Spin.change S d, |
| 142 | (∀ᶠ k : ℕ in atTop, Extra.WeakScaling.Graded V B σ θ (p k) D) ∧ |
| 143 | ∀ d : Fin (D+1), ∀ v : (F).Field d, Tendsto (fun k => (X.chart U k d).symm (p k d v)) atTop (𝓝 v) := by |
| 144 | let X' := X.chart U |
| 145 | choose P hP hx hy using (Extra.WeakScaling.retraction (Maxwell.Free.hierarchy C.labels) B (Maxwell.Free.scheme_filters _) (Maxwell.Free.phase_orientation _)) |
| 146 | let q := Extra.WeakScaling.rotateChart V B P X' |
| 147 | have hr := X.stepFits U T hf hG |
| 148 | refine ⟨q,?_,fun d x=> Extra.WeakScaling.relative hr (Nat.le_of_lt_succ d.isLt) x⟩ |
| 149 | have ht(d:Fin (D+1)):= (Extra.WeakScaling.eventually_unit (P:=P) hr (show d.val ≤ D from Nat.le_of_lt_succ d.isLt)).and ((X.symmetrical U T hf hG d).and ((X.chartDraw U T hf hG d).and (drawUnit (S:=S) X hf d))) |
| 150 | filter_upwards [eventually_all.mpr ht] with k hk |
| 151 | have hF d (hd:d ≤ D) (x : (F).Field d) : q k d x=Extra.WeakScaling.adjusted V B P (X' k) d x := Extra.WeakScaling.rotate_eq (hk (⟨d,Nat.lt_succ_of_le hd⟩:Fin (D+1))).1 x |
| 152 | have hA d (hd:d ≤ D) : YM.Spin.realH σ θ (X' k d) ∧ X' k d ((standard C).unit d)= S.unit d := by |
| 153 | let j : Fin (D+1) := ⟨d,Nat.lt_succ_of_le hd⟩ |
| 154 | obtain ⟨_,h,hv,ht⟩:= hk j |
| 155 | exact ⟨h,(hv.2 ((standard C).unit d)).trans ht⟩ |
| 156 | obtain ⟨h1,h2⟩ := Extra.WeakScaling.adjusted_exact (h:=U.room.kernel) (H:=Maxwell.Free.hierarchy C.labels) U.phase.transport.injection (Maxwell.Free.scheme_filters _) U.phase.transport.rights (Maxwell.Free.phase_orientation _) (fun d => ⟨hP d,hx d,hy d⟩) hA |
| 157 | constructor |
| 158 | · intro d hd; simp_rw [LinearEquiv.coe_coe,hF d hd]; exact h1 d hd |
| 159 | intro d e he hd; simp_rw [LinearEquiv.coe_coe,hF e hd,hF d (he.trans hd)]; exact h2 d e he hd |
| 160 | |
| 161 | local instance {G: Gauge} {L:Register G} (S:Table L)(d:ℕ) : FiniteDimensional ℝ (S.Field d) := Module.Finite.trans ℂ _ |
| 162 | |
| 163 | -- transfer real-part actual estimate to the compatible measuring frames |
| 164 | -- private case change |
| 165 | |
| 166 | def inBasis (k : ℕ)(d : ℕ) (Y : (F).Field d ≃ₗ[ℂ] S.Field d) := pullBoth (Y.toLinearMap.restrictScalars ℝ) (Y.toLinearMap.restrictScalars ℝ) (glass S σ d (X.detector k)) |
| 167 | |
| 168 | lemma aligned (d: Fin (D+1)){P : ℕ → (F).Field d ≃ₗ[ℂ] S.Field d} |
| 169 | (he : ∀ x, Tendsto (fun k => (X.chart U k d).symm (P k x)) atTop (𝓝 x)) : |
| 170 | Tendsto (fun k => inBasis U X k d (P k)) atTop (𝓝 (model C d)) := by |
| 171 | refine formsLimits _ _ (fun i j => ?_) |
| 172 | let Z k := (P k).trans (X.chart U k d).symm |
| 173 | have ht := X.detectorActual U hG T hf d |
| 174 | have h := (continuous_fst.clm_apply continuous_snd).continuousAt.tendsto.comp |
| 175 | (ht.prodMk_nhds (he i)) |
| 176 | have h' := (continuous_fst.clm_apply continuous_snd).continuousAt.tendsto.comp (h.prodMk_nhds (he j)) |
| 177 | refine h'.congr' ?_ |
| 178 | filter_upwards [X.chartDraw U T hf hG d] with k hk |
| 179 | change glass S σ d (X.detector k) (X.draw S k d (Z k i)) (X.draw S k d (Z k j))=glass S σ d (X.detector k) (P k i) (P k j) |
| 180 | rw [← hk.2,← hk.2]; unfold Z; rw [LinearEquiv.trans_apply,LinearEquiv.trans_apply,LinearEquiv.apply_symm_apply,LinearEquiv.apply_symm_apply] |
| 181 | end YM.SharpGram.Weak.Portfolio |