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.AnalyticNext.CONNECTED_ACTIVITY_BOUNDS.Birthday |
| 2 | import YM.AnalyticNext.CONNECTED_ACTIVITY_BOUNDS.Tangent |
| 3 | |
| 4 | |
| 5 | /-! |
| 6 | # The D stencil even before seeing the tree, and the orientation footprints |
| 7 | -/ |
| 8 | set_option autoImplicit false |
| 9 | noncomputable section |
| 10 | namespace YM.AnalyticNext.ConnectedActivity.Aff |
| 11 | open Function Matrix Lattice RG Wilson Pressure Pressure.Stores Precision Tree Exterior Turn |
| 12 | open Push.SectorMeasure Push.SectorMeasure.Oriented Work.F03 Progress.StationaryScenes |
| 13 | open Push.AbsoluteSums Next.Fluctuations |
| 14 | open scoped Topology BigOperators Matrix.Norms.Frobenius Classical |
| 15 | variable {G : Gauge} {c f n : Side} {S : StepData c f} |
| 16 | |
| 17 | def home (S : StepData c f) (p : Bond f) := S.ratio.parent p.1 |
| 18 | def base (S : StepData c f) (i : Pos S) := i.1.act (center S i.2) |
| 19 | |
| 20 | theorem pin_origin (S : StepData c f) (p : Bond f) : home S p∈points S p := |
| 21 | Finset.mem_image_of_mem _ (Finset.mem_insert_self ..) |
| 22 | |
| 23 | theorem pin_radius (p : Bond f) (j : Site c) (h : j∈points S p) : separation (home S p) j ≤ 1 := by |
| 24 | obtain ⟨y,hy,rfl⟩ := Finset.mem_image.mp h |
| 25 | rcases Finset.mem_insert.mp hy with H|H |
| 26 | · rw [H]; simp [home] |
| 27 | rw [Finset.mem_singleton.mp H]; exact Work.E03.parent_step S p.1 p.2 |
| 28 | |
| 29 | lemma points_turn (s : Signed) (p : Bond f) : points S (edgeP s p) = (points S p).image s.act := by |
| 30 | unfold points; rw [pin_map,Finset.image_image,Finset.image_image]; congr 1; funext x |
| 31 | exact S.ratio.parent_signed S.patch.odd_side x s |
| 32 | |
| 33 | lemma to_home (s : Signed) (S : StepData c f) (p : Bond f) : |
| 34 | separation (s.act (home S p)) (home S (edgeP s p)) ≤ 1 := by |
| 35 | rw [separation_comm] |
| 36 | apply pin_radius; rw [points_turn]; exact Finset.mem_image_of_mem _ (pin_origin ..) |
| 37 | |
| 38 | lemma along_home (s : Signed) (y : Site c) (S : StepData c f) (i : Bond f) : |
| 39 | separation (s.act y) (home S (edgeP s i)) ≤ separation y (home S i)+1 := by |
| 40 | refine le_trans (separation_triangle _ (s.act (home S i)) _) (Nat.add_le_add ?_ (to_home ..)) |
| 41 | rw [separation_signed] |
| 42 | |
| 43 | lemma trunc_range (x : Site f) (s : Slot) : |
| 44 | separation (S.ratio.parent x) (S.ratio.parent (slotFace s x).1) ≤ s.walk.length := by |
| 45 | have hv : stop x s.walk = (slotFace s x).1 := by |
| 46 | unfold slotFace Slot.offset; rw [wrap_stop_cover, map_zero, add_comm]; dsimp only |
| 47 | exact (by simpa using (Work.E03.stop_add_left x (0:Site f) s.walk)) |
| 48 | rw [← hv]; exact Work.E03.sep_walk _ (Work.E03.parent_step S) x s.walk |
| 49 | |
| 50 | /-- Gates on untransformed directions can be slightly larger; here |
| 51 | `v` is already in the normal physical orientation. -/ |
| 52 | lemma pull_cost (s : Pos S) (V : Config G c) (v : Directions G f) (i : Bond f) : |
| 53 | ‖untwine S s V v i‖=‖v (edgeP s.1 i)‖ := by unfold untwine rotateG; rw [G.norm_adjoint,maps_cost] |
| 54 | |
| 55 | lemma pull_dep (s : Pos S) (V : Config G c) (v u : Directions G f) (i : Bond f) |
| 56 | (h : v (edgeP s.1 i)=u (edgeP s.1 i)) : untwine S s V v i = untwine S s V u i := by |
| 57 | simp only [untwine,rotateG,maps_apply,h] |
| 58 | |
| 59 | lemma curl_range (S : StepData c f) (p : Cell f) (x y : Directions G f) |
| 60 | (h : ∀ i : Bond f, separation (S.ratio.parent p.1) (home S i) ≤ 1 → x i=y i) : curl p x=curl p y := by |
| 61 | simp only [curl_chain,chain] |
| 62 | have hf j k := h (p.1+Lattice.step j,k) (Work.E03.parent_step S p.1 j) |
| 63 | have hc j := h (p.1,j) (by simp [home]); rw [hf,hc,hf,hc] |
| 64 | |
| 65 | lemma slot_range (T : Tube G S) (R : ℕ) (p : Pos S) (i : Twin f) (hi : p.2=Sum.inl i) |
| 66 | (V : Config G c) (l : ℕ) (x y : Directions G f) (h : ∀ j : Bond f, |
| 67 | separation (base S p) (home S j) ≤ (T.up.row i.1.2 l).2.length → x j=y j) : |
| 68 | bandTerm T R i.1 l (untwine S p V x)=bandTerm T R i.1 l (untwine S p V y) := by |
| 69 | let t := (T.up.row i.1.2 l).2 |
| 70 | let a := slotFace t i.1.1 |
| 71 | unfold bandTerm; split |
| 72 | · refine congr_arg _ (curl_range S a _ _ ?_) |
| 73 | intro j hj; apply pull_dep; apply h |
| 74 | unfold base; rw [hi] |
| 75 | have h1 := trunc_range (S:=S) i.1.1 t |
| 76 | have h2 := separation_triangle (S.ratio.parent i.1.1) (S.ratio.parent a.1) (home S j) |
| 77 | have h3 := along_home p.1 (S.ratio.parent i.1.1) S j |
| 78 | change separation _ _ ≤ 1 at hj |
| 79 | apply h3.trans |
| 80 | change separation _ (S.ratio.parent a.1) ≤ t.walk.length at h1 |
| 81 | change _ ≤ t.walk.length + 4; omega |
| 82 | rfl |
| 83 | |
| 84 | lemma z_range (hb : S.patch.Branches S.kernel G) (i : Bond c) (x y : Directions G f) |
| 85 | (h : ∀ j : Bond f,separation i.1 (home S j)≤predReach S.patch → x j=y j) : |
| 86 | zLin S (form x) 0 i=zLin S (form y) 0 i := by |
| 87 | let k : S.Choices := Classical.ofNonempty |
| 88 | have he := zTest_deriv (S:=S) hb k i (form x,0) |
| 89 | have hf := zTest_deriv (S:=S) hb k i (form y,0) |
| 90 | apply HasDerivAt.unique _ hf |
| 91 | refine he.congr_of_eventuallyEq (Filter.Eventually.of_forall fun t => ?_) |
| 92 | unfold zTest; dsimp only [Prod.smul_mk,smul_zero] |
| 93 | unfold Tube.Z |
| 94 | rw [prediction_near_eq hb _ (represent (t • form x)) _ i ?_] |
| 95 | intro j hh |
| 96 | have hx := h j hh |
| 97 | unfold represent increment |
| 98 | change G.lieExp (t • collect G (form y) j)*_ = G.lieExp (t • collect G (form x) j)*_ |
| 99 | simp only [collect_form,hx] |
| 100 | |
| 101 | def stencilD (D : RG.Patch) (R : ℕ) := R+predReach D+2 |
| 102 | |
| 103 | /-- Dependence on `x` (not the full record/readout; price those |
| 104 | also before declaring independence). -/ |
| 105 | lemma derivative_range (T : Tube G S) (R : ℕ) (p : Pos S) (V : Config G c) (hb : S.patch.Branches S.kernel G) |
| 106 | (x y : Directions G f) (h : ∀ i : Bond f, separation (base S p) (home S i) ≤ stencilD S.patch R → x i=y i) : |
| 107 | derivative T R p V x = derivative T R p V y := by |
| 108 | rcases p with ⟨s,i|i⟩ |
| 109 | · let p : Pos S := (s,Sum.inl i) |
| 110 | unfold derivative; dsimp only [Sum.elim_inl]; unfold level; split |
| 111 | next hi => |
| 112 | apply tsum_congr; intro l |
| 113 | by_cases H : (T.up.row i.1.2 l).2.length ≤ R |
| 114 | · exact slot_range T R p i rfl V l x y fun j hj => h j (hj.trans (H.trans (by unfold stencilD; omega))) |
| 115 | simp [H] |
| 116 | next hi => |
| 117 | refine congr_arg _ (curl_range S _ _ _ ?_) |
| 118 | intro j hj; apply pull_dep; apply h |
| 119 | exact (along_home s (S.ratio.parent i.1.1) S j).trans (by unfold stencilD; omega) |
| 120 | unfold derivative; dsimp only [Sum.elim_inr]; refine z_range hb _ _ _ (fun j hj => ?_) |
| 121 | apply pull_dep; apply h |
| 122 | exact (along_home s i.1 S j).trans (by unfold stencilD; omega) |
| 123 | |
| 124 | lemma lie_basis (i : Vars G f) (z : Bond f) (h : i.1≠z) : lie (Pi.single i 1) z=(0:G.Color) := by |
| 125 | rcases i with ⟨p,l⟩ |
| 126 | ext k; simp [lie, Ne.symm h] |
| 127 | |
| 128 | lemma tangent_support (T : Tube G S) {P : Teller G} (hT : P.Funds S T) (x : ℝ) (V : Config G c) |
| 129 | (p : Ix G S) (i : Vars G f) (h : stencilD S.patch (till x)<separation (base S p.1) (home S i.1)) : |
| 130 | scale T x V p i = 0 := by |
| 131 | have hv : derivative T (till x) p.1 V (0:Directions G f) = 0 := map_zero (elongate x V p.1 hT) |
| 132 | unfold scale; rw [Matrix.of_apply,derivative_range T _ _ _ (Push.SectorMeasure.funds_branch hT) _ 0 ?_,hv]; simp |
| 133 | intro j hj; apply lie_basis i j |
| 134 | rintro H; rw [← H] at hj; omega |
| 135 | end YM.AnalyticNext.ConnectedActivity.Aff |