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.Measuring.Grams |
| 2 | import YM.Push.FINITE_DETECTION.TwoPoint |
| 3 | |
| 4 | /-! |
| 5 | # Pair Gram tariff in the weak measuring frames |
| 6 | |
| 7 | A bound on the inverse applied to actual labels, without assuming the relative |
| 8 | normalization. First expose a fully nondegenerate two-field limit with both |
| 9 | maps the moving ones on the *same* trajectory. No phase change is involved |
| 10 | in measuring this matrix. Lower slots are included. Then test that matrix |
| 11 | using also the upstream engineering asymptotics on true fixed fields. |
| 12 | This direction is independent of upper prices for the columns of `X`. |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.OPE.Levy |
| 17 | open Set Filter Function Pert Orbits Spec Table Extraction Ward Climb Next.UVStress |
| 18 | open Push.FiniteDetection.Free Maxwell |
| 19 | open scoped Topology BigOperators ContDiff Matrix.Norms.Frobenius Classical ComplexOrder |
| 20 | set_option backward.privateInPublic true |
| 21 | |
| 22 | variable {G:Gauge}{C:Family G}{f:Order}{S:Table C.book} |
| 23 | local notation "L" => C.labels |
| 24 | local notation "Q" => Maxwell.freeTable C.labels |
| 25 | |
| 26 | variable (h:Final C f S)(d:ℕ) |
| 27 | def pair (T:Table C.book)(x:Points 2)(u v:S.Field d):ℂ := |
| 28 | S.classMoment T (fun _=>d) x ![u,v] |
| 29 | def free2 (u v:(Q).Field d):ℂ := (Q).classMoment Q (fun _ => d) detectors ![u,v] |
| 30 | |
| 31 | local notation "ρ" => Maxwell.Free.spin_free C.labels |
| 32 | local notation "σ₀" => Push.FiniteDetection.Kelvin.σ |
| 33 | set_option quotPrecheck false |
| 34 | local notation "a₀" => Table.conj Q (Maxwell.Free.spin_free C.labels) d |
| 35 | |
| 36 | -- `σ` is a Signed? Check below. |
| 37 | abbrev reflect (v:(Q).Field d): (Q).Field d:= (Q).mirror ρ d (Signed.mirror timeAxis) (a₀ v) |
| 38 | |
| 39 | lemma free_positive (x:(Q).Field d) (hx:x≠0):0<(free2 (C:=C) d x (reflect (C:=C) d x)).re:=by |
| 40 | let p:=Maxwell.Free.address C.labels d x |
| 41 | obtain ⟨w,hw⟩:∃ y,Maxwell.observable G d y=p:= Maxwell.Free.address_in C.labels d x |
| 42 | have hp:p≠0:= fun h=> hx (Maxwell.Free.address_inj C.labels d (show Maxwell.Free.address C.labels d x=Maxwell.Free.address C.labels d 0 from h.trans (map_zero _).symm)) |
| 43 | have he:=two_detect w (fun h'=>hp (hw.symm.trans (show Maxwell.observable G d w=0 from h'))) |
| 44 | have hq: Maxwell.Free.reflectPol σ₀ (Maxwell.Free.realForm p) = observable G d (Labels.tensor σ₀ (Labels.realBar w)):=by rw [Maxwell.Free.pulls_label,Maxwell.Free.real_eats,hw] |
| 45 | have ht (y z : (Q).Field d): free2 d (C:=C) y z = disc (fun i:Fin 2=> (⟨d,![y,z] i⟩:Table.Tag Q)) detectors :=rfl |
| 46 | rw [ht,disc,Maxwell.Free.display]; convert he using 2 |
| 47 | apply DFunLike.congr_arg (Wick.moment G detectors) |
| 48 | ext1 i; unfold Maxwell.Free.supply reflect |
| 49 | fin_cases i <;> dsimp |
| 50 | · exact hw.symm |
| 51 | rw [Maxwell.Free.address_motion,Maxwell.Free.address_star]; exact hq |
| 52 | |
| 53 | variable {ι V : Type*}[AddCommGroup V][Module ℂ V] |
| 54 | def linear₂ (p:MultilinearMap ℂ (fun _:Fin 2=> V) ℂ): V→ₗ[ℂ]V→ₗ[ℂ]ℂ := |
| 55 | let B(x y : V):ℂ:=p ![x,y] |
| 56 | let N(i) (x y:V):= p.toLinearMap ![x,y] i |
| 57 | have h(v x y): N 0 v y x = B x y:= by unfold N B; rw [MultilinearMap.toLinearMap_apply]; congr 1; ext1 i; fin_cases i <;> simp |
| 58 | have g(w x y): N 1 x w y = B x y:= by unfold N B; rw [MultilinearMap.toLinearMap_apply]; congr 1; ext1 i; fin_cases i <;> simp |
| 59 | LinearMap.mk₂ ℂ B |
| 60 | (fun x y z=>by simpa only [h] using (N 0 x z).map_add x y) |
| 61 | (fun a x y=>by simpa only [h] using (N 0 x y).map_smul a x) |
| 62 | (fun x y z=>by simpa only [g] using (N 1 x y).map_add y z) |
| 63 | (fun c x y=>by simpa only [g] using (N 1 x y).map_smul c y) |
| 64 | |
| 65 | variable (X:Scaling S)(H:FirstExtension h X) |
| 66 | local notation "P" => fun k=> pair (S:=S) d S (X.r k • detectors) |
| 67 | local notation "V'" => (Q).Field |
| 68 | |
| 69 | include H |
| 70 | lemma diagram (u v:(Q).Field d) {e:ℝ}(he:0< e) : |
| 71 | ∀ᶠ k in atTop, ‖P k (X.U k d u) (X.U k d v)- free2 (C:=C) d u v‖ ≤ e := by |
| 72 | let b i: (Q).Tag:= ⟨d,![u,v] i⟩ |
| 73 | let q(k:ℕ):=scaledPhysical X h.sector.energy k b (fun _=>false) 0 |
| 74 | let F(k:ℕ):=fun z : Points 2=>disc (q k) (X.r k • z) |
| 75 | let D:=disc (freeWithStress L b (fun _=>false) 0) |
| 76 | have hj := H.jets 2 0 b (fun _=>false) 0 isCompact_singleton (singleton_subset_iff.mpr detectors_in) he |
| 77 | filter_upwards [hj] with k hk |
| 78 | specialize hk detectors rfl |
| 79 | change ‖iteratedFDeriv ℝ 0 (F k) detectors - iteratedFDeriv ℝ 0 D detectors‖≤e at hk |
| 80 | rw [show (iteratedFDeriv ℝ 0 (F k) detectors - iteratedFDeriv ℝ 0 D detectors)= iteratedFDeriv ℝ 0 (F k-D) detectors by ext; simp, norm_iteratedFDeriv_zero,Pi.sub_apply] at hk |
| 81 | have eq:P k (X.U k d u) (X.U k d v) = F k detectors :=by |
| 82 | unfold F; rw [show q k=fun i: Fin 2=> (⟨d,X.U k d (![u,v] i)⟩:S.Tag) from rfl] |
| 83 | unfold pair disc useAt |
| 84 | exact DFunLike.congr_arg _ (funext fun i=>by fin_cases i <;> rfl) |
| 85 | dsimp only at eq; rw [eq]; apply hk |
| 86 | |
| 87 | -- a TWO slot, not just a many-spectator detector |
| 88 | def panel (k:ℕ) : (V' d)→ₗ[ℂ] (V' d)→ₗ[ℂ] ℂ where |
| 89 | toFun v:= (((linear₂ (S.classMoment S (fun _ : Fin 2=>d) (X.r k • detectors))).comp (X.U k d).toLinearMap) v).comp (X.U k d).toLinearMap |
| 90 | map_add' x y:=by rw [map_add]; rfl |
| 91 | map_smul' r x:=by rw [map_smul]; rfl |
| 92 | def target: V' d →ₗ[ℂ] V' d →ₗ[ℂ] ℂ := linear₂ ((Q).classMoment Q (fun _=>d) detectors) |
| 93 | |
| 94 | lemma limits (u v:V' d): Tendsto (fun k=>panel d X k u v) atTop (𝓝 (target (C:=C) d u v)):= by |
| 95 | apply Metric.tendsto_nhds.mpr |
| 96 | intro ε he; filter_upwards [diagram h d X H u v (half_pos he)] with k hk |
| 97 | rw [dist_eq_norm]; exact hk.trans_lt (half_lt_self he) |
| 98 | |
| 99 | set_option maxHeartbeats 1500000 in |
| 100 | lemma joint {E:Type*}{l:Filter E}{n:E→ℕ}{x y:E→V' d}{x₀ y₀:V' d}(hn:Tendsto n l atTop)(hx:Tendsto x l (𝓝 x₀))(hy:Tendsto y l (𝓝 y₀)): |
| 101 | Tendsto (fun i=>panel d X (n i) (x i) (y i)) l (𝓝 (target d (C:=C) x₀ y₀)) :=by |
| 102 | refine YM.Dash.arcing (W:=fun i=> (panel d X (n i) (x i)).toContinuousLinearMap) (X:=LinearMap.toContinuousLinearMap (target (C:=C) d x₀)) (?_) hy |
| 103 | refine YM.Dash.fit_plane _ _ (fun p : V' d=> ?_) |
| 104 | let A:= (LinearMap.applyₗ (R:=ℂ) p : (V' d →ₗ[ℂ] ℂ) →ₗ[ℂ] ℂ) |
| 105 | exact YM.Dash.arcing (YM.Dash.fit_plane (fun i=> A.comp (panel d X (n i))) (A.comp (target (C:=C) d)) (fun u : V' d=> (limits h d X H u p).comp hn)) hx |
| 106 | |
| 107 | omit H in |
| 108 | lemma reflect_limit {E:Type*}{l:Filter E}{x:E→V' d}{y}(hx:Tendsto x l (𝓝 y)): Tendsto (reflect (C:=C) d ∘ x) l (𝓝 (reflect d y)) :=by |
| 109 | have he : Continuous (reflect (C:=C) d) := by |
| 110 | let A: V' d →ₗ[ℝ] V' d := { |
| 111 | toFun v:= reflect d v |
| 112 | map_add' _ _:=by unfold reflect; rw [map_add,map_add] |
| 113 | map_smul' r v:=by |
| 114 | change reflect d (r • v)=r • reflect d v |
| 115 | unfold reflect |
| 116 | rw [← Complex.coe_smul,← Complex.coe_smul,LinearMap.map_smulₛₗ] |
| 117 | simp } |
| 118 | apply A.continuous_of_finiteDimensional |
| 119 | exact he.continuousAt.tendsto.comp hx |
| 120 | |
| 121 | -- Inverse *quadratic* test with the conjugation implemented separately (no loss from an unknown price on moving exteriors). |
| 122 | private lemma norm_unit: ∃ c:ℝ,0<c ∧ ∀ᶠ n in atTop, ∀ x:V' d, ‖x‖=1 → c ≤ ‖panel d X n x (reflect (C:=C) d x)‖ :=by |
| 123 | let c(i:ℕ):ℝ:=1/(i+1) |
| 124 | let Y (i n:ℕ):=∃ x: V' d, ‖x‖=1 ∧ ‖panel d X n x (reflect d x)‖ < c i |
| 125 | by_contra! hf |
| 126 | have he(i):∃ n, i ≤ n ∧ Y i n:=Filter.frequently_atTop.mp (hf (c i) (div_pos zero_lt_one (by positivity))) i |
| 127 | choose g hL x hp hh using he |
| 128 | obtain ⟨y,-,q,hq,hy⟩:=IsCompact.tendsto_subseq (isCompact_closedBall (0:V' d) 1) (x:=x) (fun i=>mem_closedBall_zero_iff.mpr (by exact (hp i).le)) |
| 129 | have hpos:0<‖target (C:=C) d y (reflect d y)‖:=by |
| 130 | have h1:=tendsto_nhds_unique hy.norm (tendsto_const_nhds.congr (fun i=> (hp (q i)).symm):Tendsto (fun i=> ‖(x ∘ q) i‖) atTop (𝓝 1)) |
| 131 | have hy:y ≠ 0:=norm_ne_zero_iff.mp (h1.trans_ne one_ne_zero) |
| 132 | rw [norm_pos_iff] |
| 133 | exact fun H => (free_positive d y hy).ne' (congr_arg Complex.re H) |
| 134 | apply hpos.not_ge |
| 135 | have hg:Tendsto g atTop atTop:=tendsto_atTop_mono (f:=id) hL tendsto_id |
| 136 | exact le_of_tendsto_of_tendsto' ((joint h d X H (hg.comp hq.tendsto_atTop) hy (reflect_limit d hy)).norm) (tendsto_one_div_add_atTop_nhds_zero_nat.comp hq.tendsto_atTop) (fun i=>(hh _).le) |
| 137 | |
| 138 | section |
| 139 | omit H |
| 140 | private lemma quadratic (n:ℕ) (x:V' d) (a:ℝ) : panel d X n ((a:ℂ) • x) (reflect (C:=C) d ((a:ℂ) • x))= ((a:ℂ)^2) * panel d X n x (reflect d x):=by |
| 141 | have he: a₀ ((a:ℂ) • x)=(a:ℂ) • a₀ x:=by rw [LinearMap.map_smulₛₗ]; simp |
| 142 | unfold reflect; rw [he, map_smul, map_smul, LinearMap.smul_apply,map_smul]; simp only [smul_eq_mul,pow_two,mul_assoc] |
| 143 | end |
| 144 | lemma norm_test: ∃ c:ℝ,0<c ∧ ∀ᶠ n in atTop, ∀ x:V' d, ‖x‖^2 ≤ c* ‖panel d X n x (reflect (C:=C) d x)‖ :=by |
| 145 | obtain ⟨c,hc,hk⟩:= norm_unit h d X H |
| 146 | refine ⟨_, inv_pos.mpr hc, hk.mono fun n hn x=>?_⟩ |
| 147 | rcases eq_or_ne x 0 with rfl|hx |
| 148 | · simpa only [norm_zero,zero_pow (show 2 ≠ 0 from by decide)] using mul_nonneg (inv_pos.mpr hc).le (norm_nonneg _) |
| 149 | let e:ℝ:=‖x‖⁻¹; have hp:0<e:= inv_pos.mpr (norm_pos_iff.mpr hx) |
| 150 | have he:e*‖x‖=1:=inv_mul_cancel₀ (norm_ne_zero_iff.mpr hx) |
| 151 | have h₁ : ‖(↑e:ℂ)‖=e:= (Complex.norm_real ..).trans (Real.norm_of_nonneg hp.le) |
| 152 | have ht := hn ((e:ℂ) • x) (by rw [norm_smul,h₁,he]) |
| 153 | rw [quadratic d X,norm_mul,Complex.norm_pow,h₁] at ht |
| 154 | apply (le_inv_mul_iff₀ hc).2 |
| 155 | calc _ ≤ e^2 * ‖panel d X n x (reflect d x)‖ * ‖x‖^2:=mul_le_mul_of_nonneg_right ht (sq_nonneg _) |
| 156 | _ = _:=by change ‖x‖⁻¹^2 * _ * _ = _; field_simp [(norm_ne_zero_iff.mpr hx)] |
| 157 | |
| 158 | end YM.OPE.Levy |