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.AnalyticBridge.COUPLING_SHAPE_ESTIMATE.Plane |
| 2 | import YM.Push.STRESS_FLUX.Clover |
| 3 | import YM.Push.STRESS_FLUX.Low |
| 4 | import YM.Work.F03.Transport |
| 5 | |
| 6 | |
| 7 | |
| 8 | /-! |
| 9 | # Anchors, rotations and the signed four-plaquette Hessian witness, |
| 10 | |
| 11 | Positive pairs only in the Flux index. Visits, rotations and norms are on the |
| 12 | actual finite torus, using a nonwrapping hypothesis just for the affine test. |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.AnalyticBridge.CouplingShape |
| 17 | open Lattice Wilson Filter Function Exterior RG StressFlux Work |
| 18 | open scoped Topology Matrix.Norms.Frobenius ContDiff BigOperators |
| 19 | variable {G : Gauge} {n : Side} |
| 20 | |
| 21 | def ringlet (o : Site n) := halo 1 {o} |
| 22 | lemma central (o : Site n) : o ∈ ringlet o := halo_subset _ _ (Finset.mem_singleton_self _) |
| 23 | lemma unwound (hn : 10 < n.val) (o : Site n) : Nonwrapping (ringlet o) o := by |
| 24 | intro x hx; have h : separation x o ≤ 1 := by simpa [halo_spec,ringlet,separation_comm x o] using hx |
| 25 | omega |
| 26 | |
| 27 | lemma ringlet_turn (s : Signed) (z o : Site n) : ringlet (affine s z o) = (ringlet o).image (affine s z) := by |
| 28 | ext i |
| 29 | obtain ⟨j,rfl⟩ := (show Equiv.Perm (Site n) from s.actEquiv.toEquiv.trans (Equiv.addRight z)).surjective i |
| 30 | change affine s z j ∈ _ ↔ affine s z j ∈ _ |
| 31 | have he : Injective (affine s z) := fun _ _ h => s.act_injective (add_right_cancel h) |
| 32 | simp only [Finset.mem_image,he.eq_iff,exists_eq_right]; simp [ringlet,halo_spec,affine] |
| 33 | |
| 34 | lemma visits_leaf (o : Site n) (a b : Step) : (visits o (Lattice.oriented a b)).toFinset= |
| 35 | {o,o+a.vec,o+b.vec,o+a.vec+b.vec} := by |
| 36 | simp only [visits,Lattice.oriented,Step.vec_rev,show o+a.vec+b.vec+ -a.vec=o+b.vec by abel, add_neg_cancel_right] |
| 37 | ext; simp; tauto |
| 38 | |
| 39 | lemma shift_leaf (o : Site n) (a b : Step) : (visits o (Lattice.oriented a b)).toFinset= |
| 40 | (visits (atFace o a b) (square a.dir b.dir)).toFinset := by |
| 41 | change _=(visits _ (Lattice.oriented (posDir a.dir) (posDir b.dir))).toFinset |
| 42 | rw [visits_leaf,visits_leaf]; ext i; cases ha : a.neg <;> cases hb : b.neg <;> |
| 43 | simp [atFace,Step.vec,ha,hb, posDir] <;> abel_nf <;> tauto |
| 44 | |
| 45 | lemma neighbors (o : Site n) (a b : Step) (he : a.dir≠b.dir) : |
| 46 | (visits o (Lattice.oriented a b)).toFinset ⊆ ringlet o := by |
| 47 | have hx (c : Step) : separation o (o+c.vec) ≤ 1 := by |
| 48 | rw [separation_comm,separation,add_comm o,add_sub_cancel_right,Step.vec] |
| 49 | split |
| 50 | · rw [pdist_neg]; apply pdist_step |
| 51 | apply pdist_step |
| 52 | intro x hh |
| 53 | refine halo_spec.mpr ⟨o,Finset.mem_singleton_self _,?_⟩ |
| 54 | rw [visits_leaf] at hh; simp only [Finset.mem_insert,Finset.mem_singleton] at hh |
| 55 | rcases hh with rfl|rfl|rfl|rfl |
| 56 | · simp |
| 57 | · exact hx a |
| 58 | · exact hx b |
| 59 | rw [separation_comm,separation,add_assoc,add_comm o,add_sub_cancel_right,←wrap_vec n,←wrap_vec n,←map_add] |
| 60 | apply Finset.sup_le; intro i _; refine (Corona.lap _ _).trans ?_ |
| 61 | cases H : a.neg <;> cases H' : b.neg <;> simp only [Step.vec,H,H',Bool.false_eq_true, ↓reduceIte, Pi.neg_apply,Pi.add_apply,step_apply] |
| 62 | <;> split_ifs <;> first | omega | (subst_eqs; contradiction) |
| 63 | |
| 64 | lemma local_square (F : Face (Per n)) : touched F ⊆ ringlet F.1 := neighbors F.1 (posDir _) (posDir _) F.2.property.ne |
| 65 | |
| 66 | lemma local_chord {t : ℝ} {X : Support n} {U : Config G n} (h : Healthy t X U) (F : Face (Per n)) (hh : F.1 ∈ X) : |
| 67 | G.chord (faceValue U F) ≤ t := by |
| 68 | by_contra! he; exact Finset.disjoint_left.mp h hh ((flags_spec ..).mpr ⟨F,by simp [touched,square,visits],he⟩) |
| 69 | |
| 70 | lemma chord_leaf (o : Site n) {t : ℝ} {U : Config G n} (a b : Step) (h : a.dir < b.dir) (ht : Healthy t (ringlet o) U) : |
| 71 | G.chord (travel U o (Lattice.oriented a b)) ≤ t := by |
| 72 | rw [price_shift_pos G.chord U G.chord_inv (fun k g => G.chord_conj g k)] |
| 73 | refine local_chord ht (atFace o a b,⟨(a.dir,b.dir),h⟩) ?_ |
| 74 | refine neighbors o a b h.ne ?_ |
| 75 | rw [shift_leaf]; change atFace o a b∈_; simp [square,visits] |
| 76 | |
| 77 | def windDir (A : Directions G n) : fieldDir G n 1 := fun i => A (i.1, axisEquiv.symm i.2) |
| 78 | lemma collect_wind (A : Directions G n) : collect G (windDir A)=A := by |
| 79 | funext; simp only [windDir,collect,← coord_map, Equiv.symm_apply_apply] |
| 80 | |
| 81 | |
| 82 | lemma curl_square (hn : 2≤n.val) {X : Support n} {o : Site n} (hx : Nonwrapping X o) {A : Directions G n} |
| 83 | {c d} (hA : OnStencil o X c d A) (y : Site n) (i : PlaqAxes) (hy : touched (y,i)⊆X) : |
| 84 | linkSum A y (square i.val.1 i.val.2) = skew d i := by |
| 85 | let a:=i.val.1; let b:=i.val.2 |
| 86 | have hh : {y,y+step a,y+step b,y+step a+step b} ⊆ X := visits_leaf y (posDir a) (posDir b) ▸ hy |
| 87 | have hx1 : y∈X:=hh (by simp); have hx2 : y+step a∈X := hh (by simp); have hx3 : y+step b∈X := hh (by simp) |
| 88 | have hx4 : y+step a+step b∈X := hh (by simp) |
| 89 | change linkSum A y (square a b)=_ |
| 90 | have he : linkSum A y (square a b)=A (y,a)+A (y+step a,b)-A (y+step b,a)-A (y,b) := by |
| 91 | simp [square,linkSum,posDir,negDir,Step.used,Step.vec,show y+step a+step b-step a=y+step b by abel,←sub_eq_add_neg]; abel |
| 92 | rw [he,hA y hx1 a hx2,hA _ hx2 b hx4,hA y hx1 b hx3,hA _ hx3 a (by rw [add_right_comm]; exact hx4)] |
| 93 | simp only [profile,Next.Foundations.lift_end hn hx y hx1,slide_plus,slide_step,skew] |
| 94 | dsimp only [a,b]; abel |
| 95 | |
| 96 | lemma linear_leaf (o : Site n) (a b : Step) (A : Directions G n) : |
| 97 | linkSum A o (Lattice.oriented a b) = (flag a * flag b) • linkSum A (atFace o a b) (square a.dir b.dir) := by |
| 98 | rcases a with ⟨a,h|h⟩ <;> rcases b with ⟨b,t|t⟩ <;> |
| 99 | simp [Lattice.oriented,square, atFace,flag,posDir,negDir,Step.rev,Step.vec,Step.used,linkSum,add_right_comm o,sub_eq_add_neg] <;> abel_nf |
| 100 | |
| 101 | lemma leaf_derivative (o : Site n) {X : Support n} (hn : 2 ≤ n.val) (hx : Nonwrapping X o) {A : Directions G n} {c d} |
| 102 | (h : OnStencil o X c d A) (hg : ringlet o ⊆ X) (a b : Step) (ha : a.dir < b.dir) : |
| 103 | HasDerivAt (fun t : ℝ => plate (increment 1 (t • A)) o a b) |
| 104 | ((flag a * flag b) • skew d ⟨(a.dir,b.dir),ha⟩) 0 := by |
| 105 | have hv := curvature_linear G (windDir A) o (Lattice.oriented a b) |
| 106 | rw [collect_wind, linear_leaf o a b A, |
| 107 | show linkSum _ _ (square a.dir b.dir)=_ from curl_square hn hx h _ ⟨(a.dir,b.dir),ha⟩ (by |
| 108 | change (visits _ (square a.dir b.dir)).toFinset ⊆ X |
| 109 | rw [← shift_leaf]; exact (neighbors o a b ha.ne).trans hg)] at hv |
| 110 | exact F03.curvature_of_hasDerivAt hv |
| 111 | |
| 112 | def needles (o : Site n) (U : Config G n) : Flux G := fun i => clover U o i.1.1 i.1.2 |
| 113 | |
| 114 | lemma needles_mono (o : Site n) (u : Site n → G.El) (U : Config G n) : |
| 115 | needles o (gauge u U)=fun i => G.adjoint (u o) (needles o U i) := funext fun _ => clover_gauge .. |
| 116 | |
| 117 | lemma clover_zero (o : Site n) : needles (G:=G) o 1=0 := by |
| 118 | funext i; simp [needles,clover,stencil,plate,travel,Lattice.oriented] |
| 119 | |
| 120 | lemma clover_jet (o : Site n) {X : Support n} (hn : 2 ≤ n.val) (hx : Nonwrapping X o) {A : Directions G n} {c d} |
| 121 | (h : OnStencil o X c d A) (hg : ringlet o ⊆ X) : HasDerivAt (fun t : ℝ => needles o (increment 1 (t • A))) (skew d) 0 := by |
| 122 | refine (hasDerivAt_pi ..).mpr fun i => ?_ |
| 123 | let a:=i.1.1; let b:=i.1.2 |
| 124 | have ht (e f : Step) (he : e.dir=a) (hf : f.dir=b) : |
| 125 | HasDerivAt (fun t : ℝ => plate (increment 1 (t • A)) o e f) ((flag e * flag f) • skew d i) 0 := by |
| 126 | have hh := leaf_derivative _ hn hx h hg e f (by rw [he,hf]; exact i.property) |
| 127 | convert hh using 2 |
| 128 | simp only [skew,he,hf,a,b] |
| 129 | refine ((((ht (posDir a) (posDir b) rfl rfl).sub (ht (posDir a) (negDir b) rfl rfl)).sub |
| 130 | ((ht (negDir a) (posDir b) rfl rfl).sub (ht (negDir a) (negDir b) rfl rfl))).const_smul ((4:ℝ)⁻¹)).congr_deriv ?_ |
| 131 | simp [flag,posDir,negDir]; module |
| 132 | |
| 133 | end YM.AnalyticBridge.CouplingShape |