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.Cells.Cut |
| 2 | import Mathlib.MeasureTheory.Measure.Haar.Unique |
| 3 | |
| 4 | /-! |
| 5 | # Cut a torus into transverse matrices and time-link thread |
| 6 | |
| 7 | ff. Approach both chess reflection and cutoff JLips via this |
| 8 | specific decomposition. Positive time pointing `C.pos` by the axis choice. |
| 9 | No zero-mode projection here; probabilities throughout. |
| 10 | -/ |
| 11 | set_option autoImplicit false |
| 12 | noncomputable section |
| 13 | namespace YM.Slice |
| 14 | open Function Set MeasureTheory |
| 15 | open Lattice Wilson |
| 16 | open scoped Topology BigOperators Matrix.Norms.Frobenius |
| 17 | variable {n : Side} {G : Gauge} (a : Axis) |
| 18 | |
| 19 | /-- Transverse directions use their actual positive orientation. -/ |
| 20 | abbrev Flat (a : Axis) := {i : Axis // i ≠ a} |
| 21 | abbrev Row (a : Axis) (n : Side) := Flat a → Per n |
| 22 | abbrev Tile (a : Axis) (n : Side) := Row a n × Flat a |
| 23 | |
| 24 | abbrev Leaf (G : Gauge) (a : Axis) (n : Side) := Tile a n → G.El |
| 25 | abbrev Thread (G : Gauge) (a : Axis) (n : Side) := Row a n → G.El |
| 26 | abbrev Layer (G : Gauge) (a : Axis) (n : Side) := Leaf G a n × Thread G a n |
| 27 | abbrev Circle (G : Gauge) (a : Axis) (n : Side) := Per n → Layer G a n |
| 28 | |
| 29 | def plane (t : Per n) (v : Row a n) : Site n := fun i => if h : i=a then t else v ⟨i,h⟩ |
| 30 | def drop (x : Site n) (t : Flat a) := x t |
| 31 | |
| 32 | @[simp] lemma plane_pos (t : Per n) (v) : plane a t v a=t := by simp [plane] |
| 33 | @[simp] lemma plane_row (t : Per n) (v) (i : Flat a) : plane a t v i=v i := by simp [plane,i.property] |
| 34 | @[simp] lemma dropped (t : Per n) (v) : drop a (plane a t v)=v := by funext i; simp [drop] |
| 35 | @[simp] lemma plane_from (x : Site n) : plane a (x a) (drop a x) = x := by |
| 36 | funext i; rcases eq_or_ne i a with h|h <;> simp [h,plane,drop] |
| 37 | |
| 38 | @[simp] lemma lift_time (t : Per n) (v) : plane a t v + step a = plane a (t+1) v := by |
| 39 | funext i; rcases eq_or_ne i a with h|h <;> simp [plane,h] |
| 40 | |
| 41 | def forward (v : Row a n) (p : Flat a) : Row a n := v+Pi.single p 1 |
| 42 | |
| 43 | @[simp] lemma shift (t : Per n) (v : Row a n) (p : Flat a) : plane a t v + step p.val = plane a t (forward a v p) := by |
| 44 | funext i; rcases eq_or_ne i a with h|h |
| 45 | · simp [h,Ne.symm p.property] |
| 46 | change _ = plane a t _ (⟨i,h⟩ : Flat a) |
| 47 | rw [plane_row]; change plane a _ _ (⟨i,h⟩ : Flat a) + _ = _ |
| 48 | rw [plane_row]; simp [forward, step_apply, Pi.single_apply,Subtype.ext_iff,eq_comm] |
| 49 | |
| 50 | def leaves (U : Config G n) : Circle G a n := fun t => |
| 51 | (fun p => U (plane a t p.1,p.2), fun p => U (plane a t p,a)) |
| 52 | |
| 53 | def chain (F : Circle G a n) (e : Edge (Site n)) : G.El := |
| 54 | if h : e.2=a then (F (e.1 a)).2 (drop a e.1) else (F (e.1 a)).1 (drop a e.1,⟨e.2,h⟩) |
| 55 | |
| 56 | @[simp] lemma chain_space (F : Circle G a n) (t : Per n) (v) (b : Flat a) : |
| 57 | chain a F (plane a t v,b) = (F t).1 (v,b) := by simp [chain,b.property] |
| 58 | |
| 59 | @[simp] lemma chain_time (F : Circle G a n) (t : Per n) (v) : |
| 60 | chain a F (plane a t v,a) = (F t).2 v := by simp [chain] |
| 61 | |
| 62 | def slice : Config G n ≃* Circle G a n where |
| 63 | toFun := leaves a |
| 64 | invFun := chain a |
| 65 | left_inv x := by |
| 66 | funext i |
| 67 | rcases i with ⟨v,i⟩ |
| 68 | unfold chain leaves |
| 69 | dsimp only |
| 70 | by_cases h : i=a |
| 71 | · subst i; simp |
| 72 | simp [h] |
| 73 | right_inv f := by |
| 74 | funext i |
| 75 | apply Prod.ext |
| 76 | · ext1 j; exact chain_space .. |
| 77 | exact funext fun j => chain_time .. |
| 78 | map_mul' _ _ := rfl |
| 79 | |
| 80 | @[fun_prop] lemma leaves_cont : Continuous (leaves (G := G) (n := n) a) := by |
| 81 | unfold leaves; fun_prop |
| 82 | @[fun_prop] lemma chain_cont : Continuous (chain (G := G) (n := n) a) := by |
| 83 | refine continuous_pi fun i => ?_ |
| 84 | unfold chain; split <;> fun_prop |
| 85 | |
| 86 | -- all volume adapters use actual probHaar, no independent definition. |
| 87 | variable (G n) in |
| 88 | def trans := Measure.pi fun _ : Tile a n => G.probHaar |
| 89 | variable (G n) in |
| 90 | def threads := Measure.pi fun _ : Row a n => G.probHaar |
| 91 | |
| 92 | variable (G n) in |
| 93 | def layerLaw := (trans n G a).prod (threads n G a) |
| 94 | variable (G n) in |
| 95 | def spread := Measure.pi fun _ : Per n => layerLaw n G a |
| 96 | |
| 97 | instance : IsProbabilityMeasure (trans n G a) := by unfold trans; infer_instance |
| 98 | instance : IsProbabilityMeasure (threads n G a) := by unfold threads; infer_instance |
| 99 | instance : IsProbabilityMeasure (layerLaw n G a) := by unfold layerLaw; infer_instance |
| 100 | instance : IsProbabilityMeasure (spread n G a) := by unfold spread; infer_instance |
| 101 | |
| 102 | section |
| 103 | instance : BorelSpace (Leaf G a n) := by unfold Leaf; infer_instance |
| 104 | instance : BorelSpace (Thread G a n) := by unfold Thread; infer_instance |
| 105 | instance : BorelSpace (Layer G a n) := by unfold Layer Leaf Thread; infer_instance |
| 106 | instance : BorelSpace (Circle G a n) := by unfold Circle Layer Leaf Thread; infer_instance |
| 107 | open Measure |
| 108 | instance : IsHaarMeasure (trans n G a) := by unfold trans; constructor |
| 109 | instance : IsHaarMeasure (threads n G a) := by unfold threads; constructor |
| 110 | instance : MeasurableMul (Leaf G a n) := by unfold Leaf; infer_instance |
| 111 | instance : MeasurableMul (Thread G a n) := by unfold Thread; infer_instance |
| 112 | instance : MeasurableMul (Layer G a n) := by unfold Layer; infer_instance |
| 113 | instance : IsHaarMeasure (layerLaw n G a) := by unfold layerLaw; exact Measure.prod.instIsHaarMeasure (G := Leaf G a n) (H := Thread G a n) (trans n G a) (threads n G a) |
| 114 | instance : IsHaarMeasure (spread n G a) := by unfold spread; constructor |
| 115 | instance : IsHaarMeasure (prior G n) := by unfold prior; constructor |
| 116 | end |
| 117 | |
| 118 | lemma leaves_volume : MeasurePreserving (leaves a) (prior G n) (spread n G a) := |
| 119 | MonoidHom.measurePreserving (f := (slice (n := n) (G := G) a).toMonoidHom) (leaves_cont a) (slice (n := n) (G := G) a).surjective (by simp) |
| 120 | |
| 121 | lemma chain_volume : MeasurePreserving (chain a) (spread n G a) (prior G n) := |
| 122 | MonoidHom.measurePreserving (f := (slice (n := n) (G := G) a).symm.toMonoidHom) (chain_cont a) (slice (n := n) (G := G) a).symm.surjective (by simp) |
| 123 | |
| 124 | end YM.Slice |