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.MultiNext.SIGNED_SOURCE_CONTINUATION.Pattern |
| 2 | import YM.MultiNext.SIGNED_SOURCE_CONTINUATION.Strings |
| 3 | |
| 4 | |
| 5 | set_option warningAsError false |
| 6 | |
| 7 | /-! |
| 8 | # signed offsets: exact difference recursion |
| 9 | |
| 10 | Implement E Newton approximation via ALL-axis recursion (no enumeration |
| 11 | of multi-indices). About the cover origin 0 after recenter so read positions |
| 12 | and tally shifts in the true `Laurent` convention, not positive shifts only. |
| 13 | No operator or Fourier assumptions here. |
| 14 | -/ |
| 15 | set_option autoImplicit false |
| 16 | noncomputable section |
| 17 | namespace YM.MultiNext.SignedSource.Newt |
| 18 | open Lattice Wilson RG Finset Function Set MeasureTheory Laurent |
| 19 | open Powers Pattern |
| 20 | open scoped Topology ContDiff Matrix.Norms.Frobenius BigOperators Classical |
| 21 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 22 | |
| 23 | def jump (f : Cover→E) (i : Axis) (x : Cover) := f (x+Lattice.step i)-f x |
| 24 | omit [NormedSpace ℝ E] in |
| 25 | lemma commute (f : Cover→E) (i j : Axis) : jump (jump f i) j=jump (jump f j) i := by |
| 26 | funext y; unfold jump; rw [add_right_comm y (Lattice.step j)]; abel |
| 27 | |
| 28 | def piece : ℕ → (Cover→E) → E4 → E |
| 29 | | 0,p,_ => p 0 |
| 30 | | k+1,p,x => ((k:ℝ)+1)⁻¹ • ∑ i:Axis,x i • piece k (jump p i) (x-basis i) |
| 31 | |
| 32 | lemma ix (p : Cover→E) (k : ℕ) (x : E4) (i : Axis) : piece (k+1) p (x+basis i)-piece (k+1) p x=piece k (jump p i) x := by |
| 33 | induction k generalizing p x i with |
| 34 | | zero => |
| 35 | simp only [piece, Nat.cast_zero,zero_add, inv_one, one_smul,PiLp.add_apply,add_smul,Finset.sum_add_distrib, add_sub_cancel_left] |
| 36 | simp [basis,ite_smul] |
| 37 | | succ k ih => |
| 38 | have hh (v : Axis) : piece (k+1) (jump p v) (x+basis i-basis v)-piece (k+1) (jump p v) (x-basis v) = |
| 39 | piece k (jump (jump p i) v) (x-basis v) := by rw [show x+basis i-basis v=x-basis v + basis i from by abel,ih,commute] |
| 40 | let c := ((k+1:ℕ):ℝ) |
| 41 | let h := c+1 |
| 42 | have hc : 0 < c := by unfold c; positivity |
| 43 | have he : 0 < h := by unfold h; positivity |
| 44 | change h⁻¹ • (∑ v,(x+basis i) v • piece (k+1) (jump p v) _) - h⁻¹ • (∑ v,x v • piece (k+1) (jump p v) _) = _ |
| 45 | rw [← smul_sub]; simp only [PiLp.add_apply,add_smul,Finset.sum_add_distrib] |
| 46 | rw [show (∑ v,(basis i) v • piece (k+1) (jump p v) (x+basis i-basis v))=piece (k+1) (jump p i) x by simp [basis,ite_smul]] |
| 47 | let a v := piece (k+1) (jump p v) (x+basis i-basis v) |
| 48 | let b v := piece (k+1) (jump p v) (x-basis v) |
| 49 | let F := ∑ v,x v • piece k (jump (jump p i) v) (x-basis v) |
| 50 | have he' : (∑ v,x v • a v) - ∑ v,x v • b v=F := by unfold F; rw [← Finset.sum_sub_distrib]; simp_rw [←smul_sub,a,b,hh] |
| 51 | let M := piece (k+1) (jump p i) x |
| 52 | change h⁻¹ • ((∑ v,x v • a v)+M-∑ v,x v • b v)=M; rw [show M=c⁻¹ • F by unfold M c; rw [piece]; push_cast; rfl] -- not match M |
| 53 | rw [add_sub_right_comm, he'] |
| 54 | rw [smul_add,smul_smul,← add_smul] |
| 55 | apply congrArg (· • F); unfold h; field_simp |
| 56 | |
| 57 | lemma housed [FiniteDimensional ℝ E] (p : Cover→E) (k : ℕ) : piece k p∈Powers.space E4 E k := by |
| 58 | induction k generalizing p with |
| 59 | | zero => exact Powers.constants (p 0) 0 |
| 60 | | succ k ih => |
| 61 | let A := (ContinuousLinearMap.lsmul ℝ ℝ (E:=E)) -- type |
| 62 | refine Powers.smul (Powers.sums Finset.univ (fun i x => x i • piece k (jump p i) (x-basis i)) (k:=k+1) fun i _ => ?_) _ |
| 63 | rw [add_comm k] |
| 64 | have hp : (fun p : E4 => p i)∈Powers.space E4 ℝ 1 := Powers.residence (k:=1) |
| 65 | ⟨(show ContDiff ℝ ω ⇑(EuclideanSpace.proj i : E4 →L[ℝ] ℝ) from ContinuousLinearMap.contDiff _), fun t v => by simp⟩ le_rfl |
| 66 | let w (x : E4) := piece k (jump p i) x |
| 67 | have hx : (fun x : E4 => w (x-basis i))∈Powers.space E4 E k := by |
| 68 | have hW : w∈Powers.space E4 E k := ih _ |
| 69 | convert Powers.add (Powers.widen _ _ (Nat.sub_le k 1) (Powers.discrete (-basis i) hW)) hW using 1 |
| 70 | funext x; simp [sub_eq_add_neg] |
| 71 | exact Powers.genie A hp hx |
| 72 | |
| 73 | def take (k : ℕ) (f : Cover→E) (x : Cover) := ∑ i∈Finset.range k,piece i f (xyz x) |
| 74 | def tail (k : ℕ) (f : Cover→E) (x : Cover) := f x - take k f x |
| 75 | lemma base (f : Cover→E) (k : ℕ) : piece (k+1) f 0 = 0 := by simp [piece] |
| 76 | lemma top (k : ℕ) (f : Cover→E) : tail (k+1) f 0=0 := by |
| 77 | rw [tail,take,Finset.sum_range_succ']; have hh : xyz 0 = 0 := by ext; simp [xyz] |
| 78 | simp_rw [hh,base]; simp [piece] |
| 79 | lemma currency (k : ℕ) (f : Cover→E) (i : Axis) : jump (tail (k+1) f) i=tail k (jump f i) := by |
| 80 | funext x |
| 81 | change f (x+step i)-take (k+1) f (x+step i) - (f x-take (k+1) f x)=tail k (jump f i) x |
| 82 | unfold tail take |
| 83 | rw [xyz_step, Finset.sum_range_succ', Finset.sum_range_succ'] |
| 84 | have h : (∑ b∈Finset.range k,piece (b+1) f (xyz x+basis i)) - (∑ b∈Finset.range k,piece (b+1) f (xyz x)) = |
| 85 | ∑ b∈Finset.range k,piece b (jump f i) (xyz x) := by rw [←Finset.sum_sub_distrib]; exact sum_congr rfl fun b _ => ix .. |
| 86 | have hh (x) : piece 0 f x=f 0 := rfl |
| 87 | rw [←h]; simp only [hh,jump]; abel |
| 88 | end YM.MultiNext.SignedSource.Newt |