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.Push.STRESS_FLUX.Discrete |
| 2 | import YM.Push.STRESS_FLUX.Matching |
| 3 | |
| 4 | /-! Smooth sampled version of Discrete.boundaryWeight: unwrap and use |
| 5 | mean values on the two segments. Nonzero nodes are in a compact separated |
| 6 | layer for small mesh, not necessarily *exactly* on gradient support. -/ |
| 7 | set_option autoImplicit false |
| 8 | noncomputable section |
| 9 | namespace YM.StressFlux.Layer |
| 10 | open Function Set Filter Lattice MeasureTheory Analysis Metric |
| 11 | open scoped Topology BigOperators ContDiff |
| 12 | variable {R : Schedule} {p N : ℕ} {χ : E4 → ℝ} {V : E4 → E4} {a b : Axis} {d : Step} {t : ℝ} |
| 13 | |
| 14 | def shift (d : Step) := if d.neg then -(basis d.dir) else basis d.dir |
| 15 | @[simp] lemma shift_norm (d : Step) : ‖shift d‖ = 1 := by unfold shift; split <;> simp |
| 16 | @[simp] lemma shift_rev (d : Step) : shift d.rev = -shift d := by rcases d with ⟨b,_|_⟩ <;> simp [Step.rev,shift] |
| 17 | @[simp] lemma shift_posDir (a : Axis) : shift (posDir a)=basis a := rfl |
| 18 | @[simp] lemma shift_negDir (a : Axis) : shift (negDir a)=-basis a := rfl |
| 19 | |
| 20 | lemma place_size {x : Cover} (h : ‖R.gridPoint N x‖ < R.radius p) : R.place (m:=N) (p:=p) (wrap _ x) = R.gridPoint N x := by |
| 21 | refine congr_arg (R.gridPoint N) (lift_eq_iff.mpr ⟨rfl,fun i => ?_⟩) |
| 22 | have ht := (PiLp.norm_apply_le (R.gridPoint N x) i).trans_lt h |
| 23 | rw [Real.norm_eq_abs, abs_lt, Schedule.radius, ← R.span_side N p] at ht |
| 24 | constructor |
| 25 | · have hh : (-((R.side N p).val:ℝ)) < 2*x i := by |
| 26 | apply lt_of_mul_lt_mul_left (a:=R.a N) _ (R.a_pos _).le |
| 27 | linarith [show -(R.a N * ((R.side N p).val:ℝ) / 2)< R.a N * x i from ht.1] |
| 28 | exact_mod_cast hh |
| 29 | have hh : 2*(x i : ℝ) ≤ (R.side N p).val := by |
| 30 | apply le_of_mul_le_mul_left (a:=R.a N) _ (R.a_pos _) |
| 31 | linarith [show R.a N * x i < R.a N * ((R.side N p).val:ℝ) / 2 from ht.2] |
| 32 | exact_mod_cast hh |
| 33 | |
| 34 | lemma grid_step (x : Cover) (d : Step) : R.gridPoint N (x + d.vec) = R.gridPoint N x + R.a N • shift d := by |
| 35 | ext i; rcases d with ⟨b,_|_⟩ <;> by_cases he:i=b <;> simp [Schedule.gridPoint,Step.vec,shift,he,mul_add] |
| 36 | lemma placed_step (x : Site (R.side N p)) (h : ‖R.place x‖ + R.a N < R.radius p) (d : Step) : R.place (x+d.vec) = R.place x + R.a N • shift d := by |
| 37 | have he : x + d.vec = wrap _ (lift x + d.vec) := by rw [map_add,wrap_lift,wrap_vec] |
| 38 | rw [he,place_size,grid_step]; rfl |
| 39 | rw [grid_step] |
| 40 | apply (norm_add_le ..).trans_lt |
| 41 | simpa only [norm_smul, Real.norm_of_nonneg (R.a_pos _).le,shift_norm,mul_one,Schedule.place] using h |
| 42 | |
| 43 | def half (χ : E4 → ℝ) (t : ℝ) (V : E4 → E4) (z : E4) (d : Step) (b : Axis) := |
| 44 | (χ (z+t • shift d)-χ z) / t * V (z+t • shift d) b |
| 45 | |
| 46 | def stone (χ : E4 → ℝ) (t : ℝ) (V : E4 → E4) (a b : Axis) (z : E4) := |
| 47 | (half χ t V z (posDir a) b - half χ t V z (negDir a) b) / 2 |
| 48 | |
| 49 | lemma smul_shift (t : ℝ) (d : Step) : ‖t • shift d‖ = |t| := by rw [norm_smul, Real.norm_eq_abs,shift_norm,mul_one] |
| 50 | lemma unwrap (R : Schedule) (hw : HasCompactSupport χ) : ∀ᶠ p : ℕ in atTop, ∀ N : ℕ, ∀ x : Site (R.side N p), |
| 51 | ∀ (V : E4 → E4) (a b : Axis), Discrete.boundaryWeight (R.a N) (χ ∘ R.place) (V ∘ R.place) x a b = stone χ (R.a N) V a b (R.place x) := by |
| 52 | obtain ⟨K,hK⟩ := hw.exists_bound_of_continuousOn (continuous_id (X:=E4)).continuousOn |
| 53 | filter_upwards [R.radius_diverges.eventually (eventually_gt_atTop (K+2))] with p hp N x V a b |
| 54 | let z := R.place x; let t := R.a N |
| 55 | have ht : 0<t := R.a_pos N |
| 56 | have h1 : t ≤ 1 := (R.strictAnti.antitone (Nat.zero_le N)).trans_eq R.a_zero |
| 57 | have hχ {z : E4} (h : χ z≠0) : ‖z‖ ≤ K := hK z (subset_closure h) |
| 58 | have h (d : Step) : ((χ ∘ R.place) (x+d.vec) - (χ ∘ R.place) x) / t * ((V ∘ R.place) (x+d.vec)) b = half χ t V z d b := by |
| 59 | unfold half |
| 60 | simp only [comp_apply] |
| 61 | by_cases he : R.place (x+d.vec) = z + t • shift d |
| 62 | · rw [he] |
| 63 | have hz : ¬(‖z‖ + t < R.radius p) := mt (fun h => placed_step x h d) he |
| 64 | have hh : ‖z‖ ≤ ‖z + t • shift d‖ + t := by simpa [smul_shift, abs_of_pos ht] using norm_sub_le (z + t • shift d) (t • shift d) |
| 65 | have hz' : χ z = 0 := by_contra fun h => hz (by linarith [hχ h]) |
| 66 | have he' : χ (z+t • shift d)=0 := by_contra fun h => hz (by linarith [hχ h]) |
| 67 | have hr : χ (R.place (x+d.vec))=0 := by |
| 68 | by_contra h; apply he |
| 69 | have H := placed_step (x+d.vec) (by change _+t<R.radius p; linarith [hχ h]) d.rev |
| 70 | rw [Step.vec_rev,shift_rev,add_neg_cancel_right,smul_neg,← sub_eq_add_neg] at H |
| 71 | exact eq_add_of_sub_eq (H.symm) |
| 72 | simp [z,hr,hz',he'] -- z in he' |
| 73 | change (2*t)⁻¹ * _ = stone χ t V a b z |
| 74 | simp only [stone,← h, Step.vec_pos,Step.vec_neg,← sub_eq_add_neg] |
| 75 | field_simp; ring |
| 76 | |
| 77 | |
| 78 | |
| 79 | |
| 80 | |
| 81 | |
| 82 | |
| 83 | |
| 84 | |
| 85 | |
| 86 | |
| 87 | end YM.StressFlux.Layer |