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.AnalyticBridge.SECTOR_AFFINE_JETS.Drift |
| 2 | |
| 3 | /-! |
| 4 | # Normalized `t'` jets of the actual `chi`-extended frozen logs |
| 5 | |
| 6 | A pointwise cost even over arbitrary Haar values. Does not change the |
| 7 | support used by a license. Finite smoothness order unlike group matrix |
| 8 | jets. Handle points even on boundary of the log extension |
| 9 | indicator by a compact margin. Does not read actual seeds as smooth. |
| 10 | -/ |
| 11 | set_option autoImplicit false |
| 12 | noncomputable section |
| 13 | namespace YM.AnalyticBridge.SectorAffine.Offset |
| 14 | open Filter Function Lattice Wilson RG Precision Pressure Tree Exterior |
| 15 | open YM.Next YM.Next.Fluctuations YM.Next.SectorChange YM.Next.SectorChange.Rows |
| 16 | open YM.Push.Uniform |
| 17 | open YM.Push.SectorMeasure |
| 18 | open YM.LocalH Metric Set |
| 19 | open scoped Topology ContDiff BigOperators InnerProductSpace Classical Matrix.Norms.Frobenius |
| 20 | |
| 21 | variable {G : Gauge} {c f : Side} {R k n L : ℕ} {C M B σ d s t x r κ : ℝ} {S : StepData c f} |
| 22 | {A : Stores S} {F : Forest S.ratio} |
| 23 | |
| 24 | private def resized (q : Chi) (v : G.Color) := broad q 1 v • v |
| 25 | private lemma actual (q : Chi) (v : G.Color) (hd : 0 < d) : broad q d v • v = d • resized q (d⁻¹ • v) := by |
| 26 | unfold resized; rw [smul_comm d]; simp only [smul_smul, mul_inv_cancel₀ hd.ne', one_smul] |
| 27 | unfold broad Chi.innerShare; rw [norm_smul,Real.norm_of_nonneg (inv_pos.mpr hd).le,div_one,mul_comm,div_eq_mul_inv] |
| 28 | |
| 29 | private lemma fixed_scale (q : Chi) (G : Gauge) (n : ℕ) : ∃ K : ℝ, 0<K ∧ |
| 30 | ∀ x ∈ closedBall (0:G.Color) 2, Through n (resized q) x K := by |
| 31 | have hf : ContDiff ℝ ∞ (resized q (G:=G)) := (broad_smooth q 1).smul contDiff_id |
| 32 | choose X hX using fun k : ℕ => (isCompact_closedBall (0:G.Color) 2).exists_bound_of_continuousOn |
| 33 | ((hf.continuous_iteratedFDeriv (m:=k) (WithTop.coe_le_coe.mpr le_top)).continuousOn) |
| 34 | let M := ∑ i ∈ Finset.range (n+1), |X i| |
| 35 | refine ⟨max 1 M,zero_lt_one.trans_le (le_max_left ..),fun x hx => ⟨(hf.of_le (m:=n) (WithTop.coe_le_coe.mpr le_top)).contDiffAt, |
| 36 | fun i hi => ?_⟩⟩ |
| 37 | have hu : |X i| ≤ M := Finset.single_le_sum (f:=fun j => |X j|) (fun j _ => abs_nonneg _) (Finset.mem_range.mpr (show i < n+1 by omega)) |
| 38 | exact (hX _ _ hx).trans ((le_abs_self _).trans (hu.trans (le_max_right ..))) |
| 39 | |
| 40 | -- Sufficient condition keeps the fixed log patches entirely independent of periods. |
| 41 | lemma patch_price (G : Gauge) (hC : 0 ≤ C) (q : Chi) (n : ℕ) (B : ℝ) (hB : 0<B) : |
| 42 | ∃ M : ℝ, 0<M ∧ ∀ {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 43 | (U : E → G.El), Allows n (fun z => G.mat (U z)) 0 C → ∀ (s t : ℝ), 0<t → 0≤s → s≤1 → s ≤ 2*t → |
| 44 | 2*(B*t) ≤ firstRadius G/2 → Through n (fun z => patched q (B*t) (U (s • z))) 0 (M*t) := by |
| 45 | let Ω := closedBall (0:G.Color) (firstRadius G/2) |
| 46 | let T := G.lieExp '' Ω |
| 47 | have hR : firstRadius G/2 < firstRadius G := half_lt_self (first_pos _) |
| 48 | have he : Ω ⊆ firstBall G := closedBall_subset_ball hR |
| 49 | have hΩ : T ⊆ firstChart G := image_mono he |
| 50 | have hT : IsCompact (G.mat '' T) := ((isCompact_closedBall ..).image G.lieExp_cont).image G.continuous_mat |
| 51 | obtain ⟨K,hK,h⟩ := exists_allows hT (f:=G.plog) (by rintro x ⟨u,hu,rfl⟩; exact (first_geom G).2.2.2.2.2.2 u (hΩ hu)) n |
| 52 | obtain ⟨b,hb,hh⟩ := fixed_scale q G n |
| 53 | let P := composeCost n K C; let A := max (2*P) (2*B); let X := composeCost n b (B⁻¹*A) |
| 54 | have hp : 0 ≤ P := by unfold P composeCost; positivity |
| 55 | have ha : 0 < A := lt_of_lt_of_le (show 0 < 2*B by positivity) (le_max_right ..) |
| 56 | have hx : 0 < X := by unfold X composeCost; positivity |
| 57 | refine ⟨B*X,mul_pos hB hx,?_⟩ |
| 58 | intro E _ _ U hU s t ht hs hs' hv hr |
| 59 | let W (z : E) := U (s • z); let d := B*t |
| 60 | have hW0 : W 0=U 0 := by unfold W; rw [smul_zero] |
| 61 | have hW : ContinuousAt W 0 := (show ContinuousAt U (s • (0:E)) from by |
| 62 | rw [smul_zero]; exact (G.continuous_mat.isClosedEmbedding G.mat_injective).isEmbedding.tendsto_nhds_iff.mpr |
| 63 | hU.analytic.continuousAt.tendsto).comp (continuousAt_id.const_smul s) |
| 64 | let T' := closedBall (0:G.Color) (2*d); let L := G.lieExp '' T' |
| 65 | have hL : L ⊆ T := image_mono (closedBall_subset_closedBall hr) |
| 66 | have ht' : 0<d := mul_pos hB ht |
| 67 | by_cases hw : U 0 ∈ L |
| 68 | · let u z := G.plog (G.mat (U z)); let f z := d⁻¹ • u (s • z) |
| 69 | have hz : ‖u 0‖ ≤ 2*d := by |
| 70 | obtain ⟨x,hx,h⟩ := hw |
| 71 | unfold u; rw [← h] |
| 72 | rw [show G.plog _=x from over_ball (he (closedBall_subset_closedBall hr hx))]; simpa only [T',mem_closedBall,dist_zero_right] using hx |
| 73 | have hf : Through n f 0 (B⁻¹*A) := by |
| 74 | have hy : Allows n u 0 P := (h _ (mem_image_of_mem _ (hL hw))).comp (f:=fun z => G.mat (U z)) hU |
| 75 | have hk : Through n (fun z => u (s • z)) 0 (A*t) := Through.contract (Through.control hy) hs hs' |
| 76 | (hz.trans (le_trans (le_of_eq (mul_assoc (2:ℝ) B t).symm) (mul_le_mul_of_nonneg_right (le_max_right ..) ht.le))) |
| 77 | ((mul_le_mul_of_nonneg_left hv hp).trans (calc P*(2*t) = 2*P*t := by ring |
| 78 | _ ≤ A*t := mul_le_mul_of_nonneg_right (le_max_left ..) ht.le)) |
| 79 | apply (hk.scale d⁻¹).mono; rw [abs_of_nonneg (inv_pos.mpr ht').le]; apply le_of_eq; unfold d; field_simp |
| 80 | have hz' : f 0∈closedBall (0:G.Color) 2 := by |
| 81 | unfold f; rw [smul_zero,mem_closedBall,dist_zero_right,norm_smul,Real.norm_of_nonneg (inv_pos.mpr ht').le] |
| 82 | rw [inv_mul_eq_div, div_le_iff₀ ht']; exact hz |
| 83 | have hl := ((hh _ hz').comp hf).scale d |
| 84 | refine (hl.mono ?_).germ ?_ |
| 85 | · rw [abs_of_pos ht']; exact le_of_eq (show d*X=B*X*t by unfold d; ring) |
| 86 | filter_upwards [hW.tendsto.eventually ((first_geom G).1.mem_nhds (hW0.symm ▸ hΩ (hL hw)))] with z hh |
| 87 | change d • _ = patched q _ (W z) |
| 88 | unfold patched; rw [indicator_of_mem (show W z ∈ firstChart G from hh)] |
| 89 | exact (actual q (LocalH.snap G (W z)) ht').symm |
| 90 | · have hm : Through n (fun _ : E => (0:G.Color)) 0 ((B*X)*t) := |
| 91 | Through.control (allows_const _ (show ‖(0:G.Color)‖≤(B*X)*t by rw [norm_zero]; positivity)) |
| 92 | apply hm.germ |
| 93 | have hl : IsClosed L := ((isCompact_closedBall ..).image G.lieExp_cont).isClosed |
| 94 | have he : W 0∈Lᶜ := by rw [hW0]; exact hw |
| 95 | filter_upwards [hW.tendsto.eventually (hl.isOpen_compl.mem_nhds he)] with z hz |
| 96 | change 0 = patched q d (W z) |
| 97 | unfold patched |
| 98 | by_cases hb : W z∈firstChart G |
| 99 | · rw [indicator_of_mem hb] |
| 100 | by_cases hx : broad q d (LocalH.snap G (W z)) = 0 |
| 101 | · rw [hx,zero_smul] |
| 102 | exact (hz ⟨_,mem_closedBall.mpr (by rw [dist_zero_right]; exact (broad_span q ht' _ hx).le),under_ball hb⟩).elim |
| 103 | exact (indicator_of_notMem hb _).symm |
| 104 | |
| 105 | /- On any frozen edge (without read tests). -/ |
| 106 | lemma shell_price (G : Gauge) (q : Chi) (P : Patch) (d : ℝ) (hd : 0 < d) (K : ℝ) (hK : 0 < K) (n : ℕ) : |
| 107 | ∃ M : ℝ, 0<M ∧ ∀ᶠ x : ℝ in atTop, |
| 108 | let t := fiery G x P.L |
| 109 | ∀ {c f : Side} (S : StepData c f) (F : Forest S.ratio) (A : Stores S), |
| 110 | ∀ (V : Config G c) (Y : LinkArray G (Frozen A x F)) (i : Frozen A x F), |
| 111 | Point 0 (S.ratio.parent i.val.val.1) d n (fun z => autoShell q (K*t) (pulse x V z) Y i) (M*t) := by |
| 112 | obtain ⟨r,C,hr,hC,h⟩ := coordinates G n |
| 113 | let J := max C G.colorScale |
| 114 | have hm : C ≤ J := le_max_left .. |
| 115 | let E := 2^n * G.colorScale * J |
| 116 | have he : 0 ≤ E := mul_nonneg (mul_nonneg (by positivity) G.colorScale_pos.le) (hC.le.trans hm) |
| 117 | obtain ⟨M,hM,H⟩ := patch_price G he q n K hK |
| 118 | refine ⟨M,hM,?_⟩ |
| 119 | filter_upwards [monitors G P.L, Work.E01.fiery_le G P.L (2*K), |
| 120 | (Work.E01.largeT_tendsto G P.L).eventually (ge_mem_nhds (half_pos (first_pos G)))] with x hx ht hv |
| 121 | intro t c f S F A V Y i |
| 122 | obtain ⟨hp,hl,hQ⟩ := hx |
| 123 | let a := (S.ratio.parent i.val.val.1,i.val.val.2) |
| 124 | let L (z : PriceCoords G c) := replica S.ratio (field V z) i.val.val |
| 125 | have hs : Allows n (fun z => G.mat (L z)) 0 J := by |
| 126 | unfold L replica; split |
| 127 | · exact allows_const _ ((mat_paid _).le.trans (le_max_right ..)) |
| 128 | · exact ((h 0 (by simp [hr.le]) V).1 a).mono hm |
| 129 | have he' := (allows_const (0 : PriceCoords G c) (mat_paid (Y i)).le).times (f:=fun _ => Y i) (hs.inverse (f:=L)) |
| 130 | have hh : 0<t := by unfold t; linarith only [hp,hQ] |
| 131 | have h₀ := H (U:=fun z => Y i * (L z)⁻¹) he' (temp x) t hh hp.le hl hQ (le_trans |
| 132 | (le_of_eq (mul_assoc (2:ℝ) K t).symm) (ht.trans hv)) |
| 133 | refine (Point.of_support h₀ (R:=0) ?_ hd.le).mono le_rfl ?_ |
| 134 | · intro u _ v _ h |
| 135 | have hb : AgreeNear id (S.ratio.parent i.val.val.1) 0 (field V (temp x • u)) (field V (temp x • v)) := |
| 136 | field_dep (fun _ _ => rfl) (fun j hj => by change temp x • u j=temp x • v j; rw [h _ hj]) |
| 137 | have hf : L (temp x • u)=L (temp x • v) := by |
| 138 | unfold L replica; split |
| 139 | · rfl |
| 140 | exact hb _ (show separation _ _≤0 by simp) |
| 141 | dsimp only; rw [hf] |
| 142 | simp |
| 143 | end YM.AnalyticBridge.SectorAffine.Offset |