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.Push.RELAY_MARK.Micro |
| 2 | import YM.Shift.Breath |
| 3 | |
| 4 | /-! |
| 5 | # Path/panel avoidance and div-free microscopic equations |
| 6 | |
| 7 | an option avoiding the Haar divergence |
| 8 | counterterm when choosing the *section* at RAuthors, not changing it at |
| 9 | running cutoffs. Charge enough independent plaquettes **away** from |
| 10 | the varied link (paths may pass through its source!), and choose |
| 11 | transport paths around it; the multiplier of the actual gradient can |
| 12 | then be made independent of that positive-link variable altogether. |
| 13 | Use distinct cover positions and prove the actual large-side avoidance |
| 14 | for every wrapped assignment before even talking about a measure. We will |
| 15 | still have to show these probes have enough rank under jet normalization. |
| 16 | -/ |
| 17 | |
| 18 | set_option autoImplicit false |
| 19 | noncomputable section |
| 20 | namespace YM.Push.Mark |
| 21 | open Function Set Filter MeasureTheory Wilson Lattice RG Source InnerProductSpace |
| 22 | open scoped Topology ContDiff Matrix.Norms.Frobenius BigOperators InnerProductSpace |
| 23 | variable {G : Gauge} {n : Side} |
| 24 | |
| 25 | section Paths |
| 26 | |
| 27 | def edges (x : Cover) : Walk → Finset (Edge Cover) |
| 28 | | [] => ∅ |
| 29 | | d::l => insert (d.used x) (edges (x+d.vec) l) |
| 30 | |
| 31 | lemma edges_join (x : Cover) (w s : Walk) : edges x (w++s)=edges x w ∪ edges (stop x w) s := by |
| 32 | induction w generalizing x <;> simp_all [edges,stop] |
| 33 | |
| 34 | def avoids (x : Cover) (l : Walk) (b : Edge Cover) := b∉edges x l |
| 35 | |
| 36 | lemma circumvent (b : Edge Cover) (x y : Cover) : ∃ p : Walk, stop x p=y ∧ avoids x p b := by |
| 37 | have he (x : Cover) (d : Step) : ∃ p : Walk, stop x p=x+d.vec ∧ avoids x p b := by |
| 38 | by_cases h : b=d.used x |
| 39 | · rw [h]; obtain ⟨i,t|t⟩ := d |
| 40 | · obtain ⟨a,ha⟩ := exists_ne i |
| 41 | refine ⟨[posDir a,posDir i,negDir a], by simp only [stop, Step.vec_pos,Step.vec_neg]; change _ = _+step i; abel, ?_⟩ |
| 42 | have hx : (step a : Cover)≠0 := by intro h; have := congr_fun h a; simp at this |
| 43 | simp [avoids, edges, posDir, negDir, Step.used, Step.vec, Ne.symm ha,hx] |
| 44 | obtain ⟨a,ha⟩ := exists_ne i |
| 45 | refine ⟨[posDir a,negDir i,negDir a],by simp only [stop,Step.vec_pos,Step.vec_neg]; change _ = _ + -(step i); abel,?_⟩ |
| 46 | have hx : (step a : Cover)≠0 := by intro h; have := congr_fun h a; simp at this |
| 47 | simp [avoids, edges, posDir, negDir, Step.used,Step.vec, Ne.symm ha,hx] |
| 48 | exact ⟨[d],rfl,by simp [avoids,edges,h]⟩ |
| 49 | have hl (p : Walk) (x : Cover) : ∃ s : Walk, stop x s=stop x p ∧ avoids x s b := by |
| 50 | induction p generalizing x with |
| 51 | | nil => exact ⟨[],rfl,by simp [avoids,edges]⟩ |
| 52 | | cons d p ih => |
| 53 | obtain ⟨s,hs,hS⟩ := he x d |
| 54 | obtain ⟨l,hy,hL⟩ := ih (x+d.vec) |
| 55 | exact ⟨s++l,by rw [stop_append,hs,hy,stop],by unfold avoids; rw [edges_join,Finset.mem_union,hs]; exact not_or.mpr ⟨hS,hL⟩⟩ |
| 56 | simpa only [route_end] using hl (route x y 1) x |
| 57 | |
| 58 | def safe (b : Edge Cover) (s : Slot) := avoids 0 s.walk b ∧ avoids s.offset (square s.plaq.val.1 s.plaq.val.2) b |
| 59 | |
| 60 | lemma safe_slot (b : Edge Cover) (x : Cover) (p : PlaqAxes) (h : avoids x (square p.val.1 p.val.2) b) : |
| 61 | ∃ s : Slot, safe b s ∧ s.offset=x ∧ s.plaq=p := by |
| 62 | obtain ⟨w,hw,hW⟩ := circumvent b 0 x |
| 63 | exact ⟨⟨w,p⟩,⟨hW, by simp only [Slot.offset,hw]; exact h⟩,hw,rfl⟩ |
| 64 | |
| 65 | lemma finite_exception (b : Edge Cover) (p : PlaqAxes) : Set.Finite {x : Cover | ¬ avoids x (square p.val.1 p.val.2) b} := by |
| 66 | let i := p.val.1; let j := p.val.2 |
| 67 | refine (Finset.finite_toSet ({b.1,b.1-step i,b.1-step j} : Finset Cover)).subset (fun x hx => ?_) |
| 68 | simp only [mem_setOf_eq, avoids, square, edges,Finset.mem_insert, Finset.notMem_empty, |
| 69 | not_not, or_false] at hx |
| 70 | simp only [Finset.mem_coe, Finset.mem_singleton,Finset.mem_insert] |
| 71 | have he : x+(step i)+(step j)-step i = x+step j := by abel |
| 72 | have ht : x+(step i)+(step j) + (-step i) - step j=x := by abel |
| 73 | rcases hx with hx|hx|hx|hx |
| 74 | · exact Or.inl ((congr_arg Prod.fst hx).symm) |
| 75 | · right; left; exact eq_sub_of_add_eq ((congr_arg Prod.fst hx).symm) |
| 76 | · right; right; apply eq_sub_of_add_eq |
| 77 | rw [← he]; exact (congr_arg Prod.fst hx).symm |
| 78 | left; rw [← ht]; exact (congr_arg Prod.fst hx).symm |
| 79 | |
| 80 | lemma travel_edges {x : Cover} {F : Walk} (U V : CoverConfig G) |
| 81 | (h : ∀ i∈edges x F, U i = V i) : travel U x F = travel V x F := by |
| 82 | induction F generalizing x with |
| 83 | | nil => simp only [travel] |
| 84 | | cons d w ih => |
| 85 | have hh (i) (hi : i ∈ edges (x + d.vec) w) := h i (Finset.mem_insert_of_mem hi) |
| 86 | have ht : d.read U x = d.read V x := by simp only [Step.read, h _ (Finset.mem_insert_self ..)] |
| 87 | simp only [travel, ht, ih hh] |
| 88 | end Paths |
| 89 | |
| 90 | section Wrap |
| 91 | |
| 92 | def placeEdge (o : Site n) (b : Edge Cover) : Edge (Site n) := (wrap n b.1+o,b.2) |
| 93 | |
| 94 | lemma place_size (x : Cover) : ∃ (r M : ℕ), ∀ n : Side, M ≤ n.val → lift (wrap n x)=x ∧ pdist (wrap n x)≤r := by |
| 95 | let r := Finset.univ.sup fun i : Axis => (x i).natAbs |
| 96 | refine ⟨r,2*r+1,fun n hn => ?_⟩ |
| 97 | have he : lift (wrap n x)=x := lift_eq_iff.mpr ⟨rfl,fun i => by |
| 98 | have ht : (x i).natAbs ≤ r := Finset.le_sup (f:=fun i => (x i).natAbs) (Finset.mem_univ i) |
| 99 | omega⟩ |
| 100 | exact ⟨he, by rw [pdist,he]⟩ |
| 101 | |
| 102 | lemma eventually_apart (b e : Edge Cover) (h : b≠e) : |
| 103 | ∃ M : ℕ, ∀ n : Side, M ≤ n.val → ∀ o : Site n, placeEdge o b ≠ placeEdge o e := by |
| 104 | obtain ⟨r,M,he⟩ := place_size b.1 |
| 105 | obtain ⟨s,N,ht⟩ := place_size e.1 |
| 106 | refine ⟨max M N,fun n hn o h' => h (Prod.ext ?_ (show (placeEdge o b).2=(placeEdge o e).2 from congr_arg Prod.snd h'))⟩ |
| 107 | have hx : wrap n b.1=wrap n e.1 := add_right_cancel (b:=o) (congr_arg Prod.fst h') |
| 108 | rw [← (he n ((le_max_left ..).trans hn)).1, hx]; exact (ht n ((le_max_right ..).trans hn)).1 |
| 109 | |
| 110 | def independent {X : Type*} (b : Edge Cover) (f : CoverConfig G → X) := |
| 111 | ∃ M : ℕ, ∀ n : Side, M ≤ n.val → ∀ o : Site n, ∀ (P : Config G n) A t, f (expandAt o (turnLink (placeEdge o b) A t P)) = f (expandAt o P) |
| 112 | |
| 113 | lemma traveled (b : Edge Cover) (x : Cover) (p : Walk) (h : avoids x p b) : |
| 114 | independent b (fun V : CoverConfig G => travel V x p) := by |
| 115 | choose M hM using fun i : edges x p => eventually_apart i.val b (by intro he; exact h (he ▸ i.property)) |
| 116 | refine ⟨Finset.univ.sup M,fun n hn o V A t => travel_edges _ _ (fun i hi => ?_)⟩ |
| 117 | exact turn_away V A t (hM ⟨i,hi⟩ n ((Finset.le_sup (f:=M) (Finset.mem_univ ⟨i,hi⟩)).trans hn) o) |
| 118 | |
| 119 | namespace independent |
| 120 | variable {b : Edge Cover} {X Y Z : Type*} |
| 121 | |
| 122 | lemma const (y : X) : independent b (fun _ : CoverConfig G => y) := ⟨0,fun _ _ _ _ _ _ => rfl⟩ |
| 123 | lemma map {f : CoverConfig G → X} (h : independent b f) (g : X → Y) : independent b (g ∘ f) := by |
| 124 | obtain ⟨M,h⟩ := h; exact ⟨M,fun n hn o V A t => congr_arg g (h n hn o V A t)⟩ |
| 125 | lemma join {f : CoverConfig G → X} {g : CoverConfig G → Y} (h : independent b f) (he : independent b g) |
| 126 | (P : X → Y → Z) : independent b (fun V => P (f V) (g V)) := by |
| 127 | obtain ⟨M,h⟩ := h; obtain ⟨N,he⟩ := he |
| 128 | exact ⟨max M N,fun n hn o V A t => congr_arg₂ P (h n ((le_max_left ..).trans hn) o V A t) |
| 129 | (he n ((le_max_right ..).trans hn) o V A t)⟩ |
| 130 | end independent |
| 131 | |
| 132 | lemma safe_read (b : Edge Cover) (s : Slot) (h : safe b s) : independent b (s.eval (G:=G)) := by |
| 133 | apply independent.join (traveled b 0 s.walk h.1) (traveled _ _ _ h.2) (fun z a => G.adjoint z (G.curvature a)) |
| 134 | |
| 135 | lemma stem_place (U : Config G n) (o : Site n) (x : Cover) (j : Axis) (p : PlaqAxes) : |
| 136 | stem (expandAt o U) x j p = stem U (wrap n x+o) j p := by |
| 137 | simp only [stem,faceValue,travel_at] |
| 138 | simp only [expandAt, map_sub, wrap_step] |
| 139 | rw [sub_add_eq_add_sub] |
| 140 | |
| 141 | lemma field_place (U : Config G n) (o : Site n) (b : Edge Cover) : |
| 142 | field (expandAt o U) b=field U (placeEdge o b) := by |
| 143 | simp [field,flux,stem_place,placeEdge] |
| 144 | end Wrap |
| 145 | |
| 146 | section Micro |
| 147 | |
| 148 | /- Haar multiplier at root after parallel transport of gradient. -/ |
| 149 | def force (P : CoverConfig G) (w : Walk) (b : Edge Cover) := |
| 150 | G.adjoint (travel P 0 w) (field P b) |
| 151 | |
| 152 | lemma continuous_force (w : Walk) (b : Edge Cover) : Continuous (fun U : CoverConfig G => force U w b) := by |
| 153 | have he := (continuous_ad G).comp ((continuous_travel w (0:Cover) (G:=G)).prodMk (continuous_field G b)) |
| 154 | exact he |
| 155 | |
| 156 | lemma twist_inner (g : G.El) (X Y : G.Color) : inner ℝ X (G.adjoint g Y) = inner ℝ (G.adjoint g⁻¹ X) Y := by |
| 157 | let L : G.Color →ₗᵢ[ℝ] G.Color := { G.adjoint g with norm_map' := G.norm_adjoint g } |
| 158 | have he := L.inner_map_map (G.adjoint g⁻¹ X) Y |
| 159 | change inner ℝ (G.adjoint g _) (G.adjoint g _) = _ at he |
| 160 | simpa only [← G.adjoint_mul,mul_inv_cancel,G.adjoint_one] using he |
| 161 | |
| 162 | lemma cont_envelope {X : Type*} [TopologicalSpace X] [CompactSpace X] [MeasurableSpace X] [OpensMeasurableSpace X] |
| 163 | {f : X → ℂ} (h : Continuous f) : Envelope f := |
| 164 | ⟨h.measurable,h.bounded_above_of_compact_support (HasCompactSupport.of_compactSpace _)⟩ |
| 165 | |
| 166 | lemma envelope_mul {X : Type*} [MeasurableSpace X] (f g : X → ℂ) (hf : Envelope f) (hg : Envelope g) : Envelope (fun x=> f x*g x) := by |
| 167 | obtain ⟨c,hc⟩ := hf.cost; obtain ⟨d,hd⟩ := hg.cost |
| 168 | exact ⟨hf.meas.mul hg.meas,c*d,fun V => by rw [norm_mul]; exact mul_le_mul (hc _) (hd _) (norm_nonneg _) ((norm_nonneg _).trans (hc V))⟩ |
| 169 | |
| 170 | lemma micro_force (X : G.Color) (f : Pre G) (w : Walk) (b : Edge Cover) |
| 171 | (hw : avoids 0 w b) (hf : Continuous f) (he : independent b f) : |
| 172 | Micro (fun P => (inner ℝ X (force P w b) : ℂ) * f P) := by |
| 173 | let g (P : CoverConfig G) := travel P 0 w |
| 174 | let V (P : CoverConfig G) := G.adjoint (g P)⁻¹ X |
| 175 | let Z := fun P : CoverConfig G => (inner ℝ X (force P w b) : ℂ) * f P |
| 176 | have ht : Continuous V := by |
| 177 | have h := (continuous_ad G).comp (((continuous_travel w (0:Cover) (G:=G)).inv).prodMk (continuous_const (y:=X))) |
| 178 | exact h |
| 179 | have hl : Continuous Z := (Complex.continuous_ofReal.comp (continuous_const (y:=X)|>.inner (continuous_force w b))).mul hf |
| 180 | obtain ⟨m,he⟩ := he |
| 181 | obtain ⟨r,k,hk⟩ := place_size b.1 |
| 182 | let L := max 2 (max m k) |
| 183 | obtain ⟨l,hv⟩ := (traveled (G:=G) b 0 w hw).map (fun t : G.El => G.adjoint t⁻¹ X) |
| 184 | refine ⟨hl,r,max l L,fun n hn o β hb S hs hS => ?_⟩ |
| 185 | have hL : 2 ≤ n.val ∧ m ≤ n.val ∧ k ≤ n.val := max_le_iff.mp ((le_max_right ..).trans hn) |>.imp_right max_le_iff.mp |
| 186 | let Gf : Config G n → G.Color := V ∘ expandAt o |
| 187 | let F : Config G n → ℂ := f ∘ expandAt o |
| 188 | have Hf : Continuous F := onStencil o hf |
| 189 | have hv (P : Config G n) (A : G.Color) (t : ℝ) : Gf (turnLink (placeEdge o b) A t P) = Gf P := hv n ((le_max_left ..).trans hn) .. |
| 190 | have hz (P : Config G n) (A : G.Color) (t : ℝ) : S (turnLink (placeEdge o b) A t P) = S P := by |
| 191 | apply hs; intro i hi _; apply turn_away P A t |
| 192 | intro h; subst i |
| 193 | have hl : r < separation (wrap n b.1 + o) o := hi |
| 194 | simp only [separation, add_sub_cancel_right] at hl |
| 195 | exact not_lt_of_ge (hk n hL.2.2).2 hl |
| 196 | let E := EuclideanSpace.basisFun G.ColorIndex ℝ |
| 197 | let a (i : G.ColorIndex) (P : Config G n) := ((Gf P i : ℝ) : ℂ) * F P |
| 198 | let c (i : G.ColorIndex) (P : Config G n) := a i P * S P |
| 199 | let d (i : G.ColorIndex) (P : Config G n) := (inner ℝ (E i) (field P (placeEdge o b)) : ℂ) * c i P |
| 200 | have hc (i : G.ColorIndex) : Envelope (c i) := envelope_mul _ _ (cont_envelope |
| 201 | ((Complex.continuous_ofReal.comp ((PiLp.continuous_apply _ _ i).comp (onStencil o ht))).mul Hf)) hS |
| 202 | have H (P : Config G n) : Z (expandAt o P)*S P = ∑ i, d i P := by |
| 203 | unfold Z force; rw [twist_inner,field_place] |
| 204 | let Y := field P (placeEdge o b) |
| 205 | change ((inner ℝ (Gf P) Y : ℂ) * F P) * S P = _ |
| 206 | have hh : inner ℝ (Gf P) Y = ∑ i, Gf P i * inner ℝ (E i) Y := by |
| 207 | have hu : ∑ i, Gf P i • E i = Gf P := E.sum_repr _ |
| 208 | nth_rw 1 [← hu]; simp [sum_inner, real_inner_smul_left] |
| 209 | rw [hh,Complex.ofReal_sum,Finset.sum_mul,Finset.sum_mul] |
| 210 | refine Finset.sum_congr rfl fun i _ => ?_ |
| 211 | push_cast; unfold d c a Y; ring |
| 212 | have hI (i : G.ColorIndex) : Integrable (d i) (law G n β) := times_integrable (Complex.continuous_ofReal.comp |
| 213 | (continuous_const (y:=E i)|>.inner (continuous_field G _))) (hc i) |
| 214 | change (∫ U, Z (expandAt o U)*S U ∂law G n β) = _ |
| 215 | simp_rw [H]; rw [integral_finsetSum _ fun i _ => hI i] |
| 216 | refine Finset.sum_eq_zero fun i _ => equation_silent _ _ β hL.1 hb (hc i) ?_ |
| 217 | intro U t |
| 218 | unfold c a; rw [hz,hv,show F (turnLink (placeEdge o b) (E i) t U) = F U from he n hL.2.1 ..] |
| 219 | end Micro |
| 220 | end YM.Push.Mark |