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.Next.FREE_KERNELS.Dispatch |
| 2 | import YM.Progress.STATIONARY_SCENES.Green |
| 3 | import YM.Progress.STATIONARY_SCENES.Response |
| 4 | |
| 5 | |
| 6 | /-! |
| 7 | # Post-L exponential Schur estimates needed for the tree-slice Hessian |
| 8 | |
| 9 | Real torus mat, full-metric K alone is NOT Hessian: use `probe` too. |
| 10 | Locality of patch, torus fine-native units (costs post-L, so can afford). |
| 11 | Include rows AND columns. No claims here of pre-L inverse costs as in |
| 12 | some other (e.g. joint gap) arguments in E. |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.Progress.StationaryScenes.Green |
| 17 | open Filter Lattice RG Wilson Precision Bid Function Matrix Exterior Bloch |
| 18 | open YM.Next.Free |
| 19 | open scoped Topology Matrix.Norms.Frobenius ContDiff BigOperators |
| 20 | variable {f c : Side} |
| 21 | |
| 22 | /-- `t` after fixing L. Fine-lattice. -/ |
| 23 | def radius (r L : ℕ) := L + 12*r |
| 24 | |
| 25 | def fee (r L : ℕ) : ℝ := L + 32*(r:ℝ) |
| 26 | |
| 27 | def sideCount (r L : ℕ) (η : ℝ) := let t:= radius r L |
| 28 | ((box t).card * (Fintype.card (TypeFace 1):ℝ))*(Real.exp (η*t)*fee r L) |
| 29 | |
| 30 | section visit |
| 31 | variable (S : StepData c f) |
| 32 | local notation "L" => S.patch.L.val |
| 33 | local notation "t" => radius S.patch.radius L |
| 34 | local notation "ε" => fee S.patch.radius L |
| 35 | |
| 36 | lemma probe_here (y : Body 1 c) (v : form 1 f) (B : ℝ) (hB : 0 ≤ B) |
| 37 | (hh : ∀ z : Body 1 f, separation (S.ratio.embed y.1) z.1 ≤ t → |v z| ≤ B) : |
| 38 | |(probe S *ᵥ v) y| ≤ ε*B := by |
| 39 | obtain ⟨x,i⟩ := y |
| 40 | obtain ⟨i,rfl⟩ := axisEquiv.surjective i |
| 41 | let z := S.ratio.embed x |
| 42 | have hs (b : S.patch.Points) : |integralLink (atPoint S x b) (S.repath i) v| ≤ L*B := by |
| 43 | have he := Response.at_point S x b |
| 44 | have hg : (S.repath i).length=L := List.length_replicate |
| 45 | have hu : separation z (atPoint S x b)+(S.repath i).length ≤ t := by unfold z radius; omega |
| 46 | simpa only [hg] using Response.integral_near v z (atPoint S x b) _ _ B hh hu |
| 47 | have hz : |(mean S *ᵥ v) (x, coord i)| ≤ L*B := by |
| 48 | simp only [mean, LinearMap.toMatrix'_mulVec, LinearMap.pi_apply, LinearMap.sum_apply, |
| 49 | LinearMap.smul_apply, show axisEquiv.symm (coord i) = i from axisEquiv.symm_apply_apply i, |
| 50 | smul_eq_mul] |
| 51 | apply le_trans (Finset.abs_sum_le_sum_abs ..) |
| 52 | calc |
| 53 | _ ≤ ∑ b : S.patch.Points, S.patch.weight b * (L*B) := by |
| 54 | refine Finset.sum_le_sum fun b _ => ?_ |
| 55 | rw [abs_mul, abs_of_nonneg (S.patch.weight_nonneg _)] |
| 56 | exact mul_le_mul_of_nonneg_left (hs b) (S.patch.weight_nonneg _) |
| 57 | _ = _ := by rw [← Finset.sum_mul,S.patch.weight_sum,one_mul] |
| 58 | have hf : separation z (S.ratio.embed (x+step i)) ≤ L := by |
| 59 | apply (scaled_root S.ratio x (x+step i)).trans |
| 60 | have hv : separation x (x+step i) ≤ 1 := (Response.by_one x (posDir i)).1 |
| 61 | calc |
| 62 | _ ≤ L*1 := Nat.mul_le_mul_left _ hv |
| 63 | _ = _ := Nat.mul_one _ |
| 64 | have hu := Response.psi S v z (x+step i) _ B hB hh (Nat.add_le_add_right hf (12*S.patch.radius)) |
| 65 | have hw := Response.psi S v z x t B hB hh (by simp [z,radius]) |
| 66 | rw [probe,Matrix.add_mulVec, Pi.add_apply, ← Matrix.mulVec_mulVec] |
| 67 | change |(mean S *ᵥ v) (x, coord i) + (d 0 c *ᵥ (fixRoot S *ᵥ v)) (x,coord i)| ≤ _ |
| 68 | rw [d_sites] |
| 69 | refine le_trans ((abs_add_le ..).trans (add_le_add hz ((abs_sub ..).trans (add_le_add hu hw)))) (le_of_eq ?_) |
| 70 | unfold fee; ring |
| 71 | |
| 72 | lemma probe_range (x : Body 1 c) (y : Body 1 f) : |probe S x y| ≤ ε ∧ |
| 73 | (¬ separation (S.ratio.embed x.1) y.1 ≤ t → probe S x y=0) := by |
| 74 | let v : form 1 f := Pi.single y 1 |
| 75 | have he : probe S x y = (probe S *ᵥ v) x := by unfold v; rw [Matrix.mulVec_single_one]; rfl |
| 76 | rw [he]; constructor |
| 77 | · have hh (z : Body 1 f) : |v z| ≤ (1:ℝ) := by by_cases h : z=y <;> simp [v,h] |
| 78 | exact (probe_here S _ v 1 (by norm_num) fun z _ => hh z).trans_eq (mul_one _) |
| 79 | intro H |
| 80 | have hh (z : Body 1 f) (hz : separation (S.ratio.embed x.1) z.1 ≤ t) : v z=0 := by |
| 81 | by_cases h : z=y |
| 82 | · rw [h] at hz; exact False.elim (H hz) |
| 83 | simp [v,Pi.single_eq_of_ne h] |
| 84 | have h := probe_here S _ v 0 le_rfl (fun z hz => by rw [hh z hz,abs_zero]) |
| 85 | rwa [mul_zero, abs_nonpos_iff] at h |
| 86 | end visit |
| 87 | |
| 88 | private lemma within_rows {ι χ Y : Type*} [Fintype χ] [Fintype ι] [Fintype Y] [DecidableEq χ] [DecidableEq ι] |
| 89 | (a : Y → Site f) (b : χ → Site f) (P : Matrix Y (χ × ι) ℝ) (hb : Injective b) |
| 90 | (t : ℕ) (η C : ℝ) (h : 0 ≤ η) (hC : 0 ≤ C) |
| 91 | (hp : ∀ y z, |P y z| ≤ C ∧ (¬ separation (a y) (b z.1) ≤ t → P y z=0)) : |
| 92 | Rows a (b ∘ Prod.fst) P η (((box t).card * (Fintype.card ι:ℝ))*(Real.exp (η*t)*C)) := by |
| 93 | intro y |
| 94 | let Z := Finset.univ.filter (fun z : χ × ι => separation (a y) (b z.1) ≤ t) |
| 95 | have he : Z.card ≤ (box t).card * Fintype.card ι := by |
| 96 | let J (x : Z) : ↥(box t) × ι := (⟨lift (b x.val.1 - a y), |
| 97 | Work.E08.lift_mem_box (Finset.mem_filter.mp x.property).2⟩, x.val.2) |
| 98 | have hh : Injective J := by |
| 99 | intro p q H; apply Subtype.ext |
| 100 | have Hq := congr_arg Prod.snd H |
| 101 | refine Prod.ext ?_ (show p.val.2=q.val.2 from Hq) |
| 102 | have he := congr_arg (wrap f) (congr_arg Subtype.val (congr_arg Prod.fst H)) |
| 103 | unfold J at he; dsimp only at he; rw [wrap_lift,wrap_lift] at he |
| 104 | exact hb (sub_left_injective he) |
| 105 | simpa only [Fintype.card_prod,Fintype.card_coe] using Fintype.card_le_of_injective J hh |
| 106 | have hv : 0 ≤ Real.exp (η*t)*C := mul_nonneg (Real.exp_pos _).le hC |
| 107 | calc |
| 108 | _ = ∑ i ∈ Z, wt η (a y) (b i.1)* |P y i| := by |
| 109 | symm; refine Finset.sum_subset (Finset.subset_univ _) fun i _ hi => ?_ |
| 110 | have hg := hp y i |>.2 (fun h => hi (Finset.mem_filter.mpr ⟨Finset.mem_univ _, h⟩)) |
| 111 | simp [hg] |
| 112 | _ ≤ ∑ _i ∈ Z, Real.exp (η*t)*C := by |
| 113 | refine Finset.sum_le_sum fun i hi => ?_ |
| 114 | have hu : separation (a y) (b i.1) ≤ t := (Finset.mem_filter.mp hi).2 |
| 115 | refine mul_le_mul (Real.exp_monotone ?_) (hp y i).1 (abs_nonneg _) (by positivity) |
| 116 | exact mul_le_mul_of_nonneg_left (by exact_mod_cast hu) h |
| 117 | _ ≤ _ := by rw [Finset.sum_const,nsmul_eq_mul]; exact mul_le_mul_of_nonneg_right (by exact_mod_cast he) hv |
| 118 | |
| 119 | theorem probe_budget (S : StepData c f) (η : ℝ) (h : 0 ≤ η) : |
| 120 | let C := sideCount S.patch.radius S.patch.L.val η |
| 121 | Both (S.ratio.embed ∘ Prod.fst) Prod.fst (probe S) η C C := by |
| 122 | intro C |
| 123 | have hp : 0 ≤ fee S.patch.radius S.patch.L.val := by unfold fee; positivity |
| 124 | constructor |
| 125 | · exact within_rows _ id (probe S) (fun _ _ hh => hh) _ η _ h hp (probe_range S) |
| 126 | refine within_rows Prod.fst S.ratio.embed (probe S).transpose S.ratio.embed_injective _ η _ h hp ?_ |
| 127 | rintro y ⟨x,i⟩ |
| 128 | constructor |
| 129 | · exact (probe_range S (x,i) y).1 |
| 130 | rw [separation_comm]; exact (probe_range S (x,i) y).2 |
| 131 | |
| 132 | theorem periodic {m n : Type*} [Fintype n] [Fintype m] (R : Row m n) (f : Side) {η C : ℝ} |
| 133 | (he : 0 ≤ η) (h : R.strip η C) : Both Prod.fst Prod.fst (R.acts f) η (Fintype.card n*C) (Fintype.card m*C) := by |
| 134 | constructor |
| 135 | · exact row_sprawl he h f |
| 136 | intro j |
| 137 | simp only [wt,transpose_apply] |
| 138 | simpa only [separation_comm j.1] using! col_sprawl he h f j |
| 139 | |
| 140 | /-- Price kernel on 1-forms with full (non-diagonal!) metric. -/ |
| 141 | def differential (η : ℝ) := max 1 (Work.F08.stencilCost 1 η) |
| 142 | |
| 143 | def kinetic (η C : ℝ) := Fintype.card (TypeFace 2)*differential η*(Fintype.card (TypeFace 2)*max C 1)* |
| 144 | (Fintype.card (TypeFace 1)*differential η) |
| 145 | |
| 146 | lemma kinetic_price {η C : ℝ} (f : Side) (D : Bed) (h : D.metric.strip η C) (he : 0 ≤ η) : |
| 147 | Rows Prod.fst Prod.fst (K (D.metric.acts f)) η (kinetic η C) := by |
| 148 | have hh := periodic (cobound 1) f he (Work.F08.strip_mono (Work.F08.strip_stencil 1 η) le_rfl |
| 149 | (show Work.F08.stencilCost 1 η ≤ differential η from le_max_right ..)) |
| 150 | have hp : 0 ≤ differential η := le_max_of_le_left zero_le_one |
| 151 | have hv : 0 ≤ max C 1 := le_max_of_le_right zero_le_one |
| 152 | have hu := periodic _ f he (Work.F08.strip_mono h le_rfl (le_max_left C 1)) |
| 153 | exact Rows.multiply he (Rows.multiply he hh.2 (show Rows _ _ (D.metric.acts f) η (Fintype.card (TypeFace 2)*max C 1) from hu.1) (by positivity)) hh.1 (by positivity) |
| 154 | end YM.Progress.StationaryScenes.Green |