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.FOUNDATIONS.JetReads |
| 2 | import YM.Work.G01 |
| 3 | |
| 4 | /-! |
| 5 | # Compatibility with moves of the local insert |
| 6 | |
| 7 | No independent optimization of coordinates after moving a read. In addition |
| 8 | to the *section* transport law (already in Sound), check local reads on |
| 9 | arbitrary stencil placements. This is local/algebraic only, not transfer |
| 10 | down scales. E.g., estimates with actual `BudgetPoint.dirBound` under an |
| 11 | operation may have costs (it matters from which endpoint the distance |
| 12 | weight is measured); we do NOT assume exact invariance of all bounds. |
| 13 | -/ |
| 14 | |
| 15 | set_option autoImplicit false |
| 16 | noncomputable section |
| 17 | namespace YM.Next.Foundations |
| 18 | |
| 19 | open Function Filter Lattice RG Wilson Source Labels |
| 20 | open scoped Topology Matrix.Norms.Frobenius BigOperators ContDiff |
| 21 | |
| 22 | variable {G : Gauge} {n : Side} |
| 23 | |
| 24 | private lemma lift_rotate {o : Site n} (x : Site n) {X : Support n} |
| 25 | (h : Nonwrapping X o) (hx : x ∈ X) (s : Signed) : |
| 26 | s.act (lift (x-o)) = lift (s.act (x-o)) := by |
| 27 | have ht := h x hx |
| 28 | refine Eq.symm (lift_eq_iff.mpr ⟨by rw [← wrap_signed, wrap_lift], fun i => ?_⟩) |
| 29 | obtain ⟨j,rfl⟩ := s.perm.surjective i |
| 30 | rw [Signed.act_at] |
| 31 | have hb : (lift (x-o) j).natAbs ≤ separation x o := component_le _ _ |
| 32 | split <;> omega |
| 33 | |
| 34 | /-- The test on the torus can use literal reads even when rotating through |
| 35 | negative orientation. Only a **local** comparison, not an equation for |
| 36 | all links of the torus. Endpoints of the flipped edge must be accounted for. -/ |
| 37 | lemma test_rotation (H : Hol G) (d : ℕ) (s : Signed) (o b : Site n) {X : Support n} |
| 38 | (h : Nonwrapping X o) (hn : 2 ≤ n.val) (J : Jet G) (t : ℝ) : |
| 39 | Agrees X (pull s b (H.testLinks d (affine s b o) J t)) |
| 40 | (H.testLinks d o (changedJet (fun _ => Taylor.turn s.ortho⁻¹) J) t) := by |
| 41 | let U := H.testLinks d (affine s b o) J t |
| 42 | let V := expandAt (affine s b o) U |
| 43 | let W := H.links d J t |
| 44 | have he (x : Site n) (hx : x ∈ X) (i : Axis) : |
| 45 | V (s.act (lift (x-o)),i) = W (s.act (lift (x-o)),i) := by |
| 46 | rw [lift_rotate x h hx] |
| 47 | simp [V,W,U,expandAt,Hol.testLinks] |
| 48 | rintro ⟨x,i⟩ hx hi |
| 49 | let J' := changedJet (fun _ => Taylor.turn s.ortho⁻¹) J |
| 50 | let z := lift (x-o) |
| 51 | change pull s b U (x,i) = H.links d J' t (z,i) |
| 52 | rw [← show expandAt o (pull s b U) (z,i) = pull s b U (x,i) by simp [z,expandAt], |
| 53 | expandAt_pull, ← Work.G01.swirls_of_flow H s] |
| 54 | change ((posDir i).rotate s).read V (affine s 0 z) = ((posDir i).rotate s).read W (affine s 0 z) |
| 55 | simp only [affine, add_zero] |
| 56 | cases hs : s.flip i |
| 57 | · rw [show (posDir i).rotate s = posDir (s.perm i) by simp [Lattice.Step.rotate, posDir,hs]] |
| 58 | exact he x hx _ |
| 59 | have ht : (posDir i).rotate s = negDir (s.perm i) := by simp [Lattice.Step.rotate, posDir, negDir, hs] |
| 60 | rw [ht, Lattice.Step.neg_read, Lattice.Step.neg_read] |
| 61 | rw [show s.act z-step (s.perm i)=s.act (lift (x+step i-o)) by |
| 62 | rw [lift_end hn h x hx, Signed.act_add, ← Lattice.Step.vec_pos i, |
| 63 | ← Lattice.Step.vec_rotate, ht]; simp [z, sub_eq_add_neg]] |
| 64 | exact congr_arg Inv.inv (he _ hi _) |
| 65 | |
| 66 | lemma reads_pull {H : Hol G} {d : ℕ} {b o : Site n} {X : Support n} {f : Config G n → ℂ} |
| 67 | {p : Label G d} (h : Reads H o X p f) (hf : LocalOn X f) (hn : 2 ≤ n.val) (s : Signed) : |
| 68 | Reads H (affine s b o) (X.image (affine s b)) (tensor s.ortho p) (f ∘ pull s b) := by |
| 69 | have he : Nonwrapping X o ↔ Nonwrapping (X.image (affine s b)) (affine s b o) := by |
| 70 | constructor |
| 71 | · intro hp y hy |
| 72 | obtain ⟨x,hx,rfl⟩ := Finset.mem_image.mp hy |
| 73 | simpa only [affine, separation_signed,separation_translate] using hp x hx |
| 74 | intro hp x hx |
| 75 | simpa only [affine,separation_signed,separation_translate] using hp _ (Finset.mem_image_of_mem _ hx) |
| 76 | unfold Reads at * |
| 77 | split at h <;> rename_i hX |
| 78 | · rw [if_pos (he.mp hX)] |
| 79 | intro J |
| 80 | dsimp only [comp_apply] |
| 81 | let A := fun j : ℕ => Taylor.turn (G:=G) (j:=j) s.ortho⁻¹ |
| 82 | let J' := changedJet A J |
| 83 | rw [show (fun t => f (pull s b (H.testLinks d (affine s b o) J t))) = |
| 84 | (fun t => f (H.testLinks d o J' t)) from funext fun t => hf _ _ (test_rotation H d s o b hX hn J t)] |
| 85 | rw [show (fun t => read (scaleJet J t) (tensor s.ortho p).val) = |
| 86 | (fun t => read (scaleJet J' t) p.val) by |
| 87 | funext t |
| 88 | change read _ (changed A _) = _ |
| 89 | rw [eval_changed, show changedJet A (scaleJet J t)= scaleJet J' t from |
| 90 | funext fun i => map_smul (A i) (t^(i+2)) _]] |
| 91 | exact h J' |
| 92 | rw [if_neg (fun hb => hX (he.mpr hb)), h,map_smul, comp_apply] |
| 93 | have ha : tensor s.ortho (unit G d) = unit G d := Subtype.ext (map_one (rotated (G:=G) s.ortho)) |
| 94 | rw [ha, show pull (K:=G.El) s b 1 = 1 by |
| 95 | funext x; simp [pull,Lattice.Step.read]] |
| 96 | |
| 97 | /-- Ordinary conjugation, not the time-reflected star. -/ |
| 98 | lemma reads_bar {H : Hol G} {d : ℕ} {o : Site n} {X : Support n} {f : Config G n → ℂ} |
| 99 | {p : Label G d} (h : Reads H o X p f) : Reads H o X (realBar p) (star f) := by |
| 100 | unfold Reads at * |
| 101 | split at h <;> rename_i hX |
| 102 | · rw [if_pos hX] |
| 103 | intro J |
| 104 | simp only [Pi.star_apply] |
| 105 | rw [show (fun x => read (scaleJet J x) (realBar p).val) = |
| 106 | (fun x => star (read (scaleJet J x) p.val)) from funext fun x => conj_value p.val _] |
| 107 | have he := h J |
| 108 | let L := (starL' ℝ : ℂ ≃L[ℝ] ℂ).toContinuousLinearMap |
| 109 | change ContDiffAt _ _ (L ∘ (f ∘ H.testLinks d o J)) 0 ∧ _ |
| 110 | refine ⟨L.contDiff.contDiffAt.comp 0 he.1, L.contDiff.contDiffAt.comp 0 he.2.1, fun k hk => ?_⟩ |
| 111 | have hh (w : ℝ → ℂ) (hw : ContDiffAt ℝ k w 0) : |
| 112 | iteratedDeriv k (L ∘ w) 0 = L (iteratedDeriv k w 0) := by |
| 113 | unfold iteratedDeriv; rw [L.iteratedFDeriv_comp_left hw le_rfl]; rfl |
| 114 | have hu := hh (f ∘ H.testLinks d o J) (he.1.of_le (Nat.cast_le.mpr hk)) |
| 115 | exact hu.trans ((congr_arg L (he.2.2 k hk)).trans |
| 116 | (hh _ (he.2.1.of_le (Nat.cast_le.mpr hk))).symm) |
| 117 | rw [if_neg hX, h, map_smulₛₗ, unit_real]; rfl |
| 118 | |
| 119 | end YM.Next.Foundations |