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_DIFFERENCE.Placement |
| 2 | /-! Coarse joint inequalities for products of actual cutoff residual cylinders. -/ |
| 3 | set_option autoImplicit false |
| 4 | noncomputable section |
| 5 | namespace YM.MultipleContact.Arbor |
| 6 | open Function Filter Set MeasureTheory Lattice Cells Extraction Around Push.RelayDifference Wilson |
| 7 | open scoped Topology BigOperators Classical |
| 8 | set_option maxHeartbeats 640000 |
| 9 | variable {G:Gauge}{S:Schedule}{N p:ℕ}{α:Type*}[Fintype α] |
| 10 | local notation "Λ" => S.side N p |
| 11 | lemma shift_literal (F:Config G Λ→ℂ)(b:Bool)(s:Signed) : literal (fun z=>oriented F b s z):=by |
| 12 | intro x t; funext U |
| 13 | change hand b (F (pull _ _ U))= hand b (F (pull _ _ (translate t U))) |
| 14 | rw [← pull_one,pull_pull, one_mul]; congr 3 |
| 15 | private lemma copyAt (T:Tiling Λ)(F:Config G Λ→ℂ)(b:Bool)(s:Signed)(w:T.Cell)(o:Site Λ): T.copy w (oriented F ((decide (T.hand w)).xor b) ((T.omega w)⁻¹*s) o) = oriented F b s (T.copyMap w o) := by |
| 16 | rw [copied,mul_inv_cancel_left]; let a:Bool:=decide (T.hand w); have hb:(a).xor (a.xor b)=b:=by cases a <;> cases b <;> decide |
| 17 | unfold a at hb;rw [hb] |
| 18 | private lemma movedBudget {β:ℝ}{T:Tiling Λ}{k:ℕ}(hm:k≤N)(ht:Cells.span S hm p ∣ T.side.val)(hs:Seam G Λ β)(A:ℝ)(F:Config G Λ→ℂ) |
| 19 | (hA:Interior ((center S p hm 0).chamber 0) F ∧ (center S p hm 0).rootTest β F ≤ A) |
| 20 | {o:Site Λ}(hx:o ∈T.margin 0 (3*Cells.span S hm p)) (s:Signed)(b:Bool)(hd:diag s): |
| 21 | let f:=oriented F b s o; Interior (T.chamber 0) f ∧ T.rootTest β f≤ A:= by |
| 22 | exact offset (S:=S) hm T β A ht (shift_literal (S:=S) F b s) hs (center_interior (S:=S) hm _ hd _ _ hA.1) ((center_price (S:=S) hm _ F b s hd hA.1 β).le.trans hA.2) hx |
| 23 | private lemma oriented_planted {β:ℝ}(hs:Seam G Λ β){T:Tiling Λ} (m:α→ℕ)(hm:∀i:α,m i ≤ N)(ht:∀i,Cells.span S (hm i) p ∣ T.side.val) |
| 24 | (A:α → ℝ)(F:α → Config G Λ →ℂ) |
| 25 | (hA:∀i,Interior ((center S p (hm i) 0).chamber 0) (F i) ∧ (center S p (hm i) 0).rootTest β (F i) ≤ A i) |
| 26 | (x:α → Site Λ)(hx:∀i,x i∈T.margin (T.which (x i)) (3*Cells.span S (hm i) p))(hi:Injective (T.which ∘ x)) (s:α→Signed)(b:α→Bool)(hd:∀i,diag (s i)): |
| 27 | ‖moment β (fun U=> ∏ i:α, oriented (F i) (b i) (s i) (x i) U)‖ ≤ ∏ i:α,A i:=by |
| 28 | classical |
| 29 | let w i := (T.which (x i)); choose o ho using fun i=>T.pointed (w i) (x i) |
| 30 | have hx'(i):o i∈T.margin 0 (3*Cells.span S (hm i) p):= by |
| 31 | refine (T.reflected_margin (o i) (w i) _).2 ?_ |
| 32 | exact Eq.mp (congrArg (fun y=> y ∈ T.margin (w i) _) (ho i)).symm (hx i) |
| 33 | let s' i := (T.omega (w i))⁻¹ * (s i); let b' i := (decide (T.hand (w i))).xor (b i) |
| 34 | have hd' i:diag (s' i):=diag_mul (diag_inv (show diag (T.omega (w i)) from rfl)) (hd i) |
| 35 | let f (i) := oriented (F i) (b' i) (s' i) (o i) |
| 36 | have hc' i : T.copy (w i) (f i) = oriented (F i) (b i) (s i) (x i) := by |
| 37 | exact (copyAt (S:=S) T (F i) (b i) (s i) (w i) (o i)).trans (congrArg (oriented (F i) (b i) (s i)) (ho i)) |
| 38 | have hP i : Interior (T.chamber 0) (f i) ∧ T.rootTest β (f i) ≤ A i := movedBudget (S:=S) (T:=T) (hm i) (ht i) hs _ (F i) (hA i) (hx' i) (s' i) (b' i) (hd' i) |
| 39 | have he := T.planted hs w hi f (fun i=>(hP i).1) |
| 40 | simp_rw [hc'] at he |
| 41 | exact he.trans (Finset.prod_le_prod (fun _ _=> T.root_nonneg ..) fun i _=> (hP i).2) |
| 42 | lemma simultaneous {β:ℝ}(hs:Seam G Λ β){n:ℕ}{T:Tiling Λ}(m:Fin n → ℕ)(hm:∀i,m i ≤ N)(ht:∀i,Cells.span S (hm i) p ∣ T.side.val) |
| 43 | (A:Fin n→ ℝ)(F:Fin n→ Config G Λ →ℂ) |
| 44 | (hA:∀i,Interior ((center S p (hm i) 0).chamber 0) (F i) ∧ (center S p (hm i) 0).rootTest β (F i) ≤ A i) |
| 45 | (x:Fin n → Site Λ)(x':Fin n→Cover)(hx:∀i,x i=(wrap Λ) (x' i)) (hsep:∀i j:Fin n,i≠ j → T.side.val < separation (x i) (x j)) |
| 46 | {K:ℕ}(hK:0<K)(hFit:n*(2*K) < T.side.val)(hK':∀i,3*Cells.span S (hm i) p ≤ K): |
| 47 | ‖moment β (fun U=> ∏ i, F i (translate (x i) U))‖≤ ∏i:Fin n,A i:=by |
| 48 | classical |
| 49 | obtain ⟨o,hoi⟩:= T.fits_together x K hK hFit |
| 50 | let X:=T.newly o; let w(i):X.Cell:= (X.which (x i)) |
| 51 | have ho'(i):x i∈X.margin (w i) (3*Cells.span S (hm i) p):=YM.Extraction.Lease.fewer X (w i) (hK' i) (hoi i) |
| 52 | have hi:Injective w:=by |
| 53 | intro i j h |
| 54 | apply by_contra; intro ne |
| 55 | have h':= X.extent (v:=w i) (ho' i).1 (h.symm ▸ (ho' j).1) |
| 56 | exact (hsep i j ne).not_ge h' |
| 57 | convert oriented_planted (T:=X) (S:=S) hs m hm ht A F hA x ho' hi (fun _=>1) (fun _=>false) (fun _=>rfl) using 1 |
| 58 | congr! 3 -- maybe rfl pull_one |
| 59 | |
| 60 | /-- Common margins for repeated placements modulo a micro tiling. Restrict by physical separation separately. -/ |
| 61 | lemma grid_margin {T:Tiling Λ}{n:ℕ}(x:Fin n→ Site Λ){K:ℕ}(hK:0<K)(hFit:n*(2*K)<T.side.val): |
| 62 | ∃ o:Site Λ,∀ v:Site Λ, (∃i,∀a:Axis,T.hom (v a)=T.hom (x i a)) → v∈ (T.newly o).margin ((T.newly o).which v) K:= by |
| 63 | obtain ⟨o,ho⟩:=T.fits_together x K hK hFit |
| 64 | refine ⟨o,fun v h=>?_⟩; obtain ⟨i,hi⟩:=h; let U:=T.newly o |
| 65 | have hh(a:Axis)(y:Site Λ): U.coordinated (U.which y) y a = (T.hom (y a-o a)).val:=by |
| 66 | rw [Tiling.residual]; change _ % T.side.val= _ |
| 67 | conv_rhs =>arg 1; arg 2; rw [← ZMod.natCast_zmod_val (y a-o a)] |
| 68 | rw [map_natCast]; symm; exact ZMod.val_natCast .. |
| 69 | have he(a:Axis):U.coordinated (U.which v) v a=U.coordinated (U.which (x i)) (x i) a:=by |
| 70 | rw [hh,hh,map_sub,map_sub,hi a] |
| 71 | refine ⟨fun a=> (show _ from by change U.kind.Strict U.side.val (U.coordinated (U.which v) v a);rw [he];exact (ho i).1 a), fun a=> by rw [he]; exact (ho i).2 a⟩ |
| 72 | lemma grid_margin' {T:Tiling Λ}{α:Type*}[Fintype α](x:α→ Site Λ){K:ℕ}(hK:0<K)(hFit:Fintype.card α*(2*K)<T.side.val): |
| 73 | ∃ o:Site Λ,∀ v:Site Λ, (∃i,∀a:Axis,T.hom (v a)=T.hom (x i a)) → v∈ (T.newly o).margin ((T.newly o).which v) K:=by |
| 74 | let e:=Fintype.equivFin α; obtain ⟨o,ho⟩:= grid_margin (T:=T) (fun i=>x (e.symm i)) hK hFit |
| 75 | refine ⟨o,fun v h=>?_⟩; obtain ⟨i,hi⟩:=h |
| 76 | exact ho _ ⟨e i,by simpa using hi⟩ |
| 77 | private lemma edge_separate {Y:Tiling Λ}{v w:Y.Cell}(h:v≠w): Y.side.val ≤ separation (Y.units.embed v) (Y.units.embed w):=by |
| 78 | obtain ⟨a,hne⟩:= Function.ne_iff.mp h |
| 79 | have hn: ((lift (v-w) a).natAbs) ≠ 0:= by |
| 80 | intro e; have he:= congr_fun (wrap_lift (v-w)) a; change ↑(lift (v-w) a) = v a - w a at he |
| 81 | rw [Int.natAbs_eq_zero.mp e,Int.cast_zero] at he; exact hne (sub_eq_zero.mp he.symm) |
| 82 | have he : (Y.units.embed v - Y.units.embed w)=Y.units.embed (v-w):= (Y.units.root.map_sub ..).symm |
| 83 | apply le_trans ?_ (component_le _ a) |
| 84 | rw [he,Y.units.lift_embed,Pi.smul_apply,nsmul_eq_mul,Int.natAbs_mul,Int.natAbs_natCast] |
| 85 | exact le_mul_of_one_le_right (Nat.zero_le _) (by omega) |
| 86 | private lemma burnt {T Y:Tiling Λ} (hh: T.side.val ∣ Y.side.val)(v:Y.Cell)(a:Axis): T.hom (Y.units.embed v a)=0:=by |
| 87 | obtain ⟨q,hq⟩:=hh |
| 88 | change T.hom (↑((Y.side.val:ℤ) * (lift v) a))=0 |
| 89 | rw [hq]; simp |
| 90 | private lemma fill_copy {k:ℕ}(hk:k≤N)(Y:Tiling Λ)(hY: Y = center S p hk 0)(u:α→ Site Λ)(x:Y.Cell×α)(h:Site Λ): |
| 91 | let actual (t:Y.Cell):Site (S.side k p):=by rw [hY] at t; exact t |
| 92 | Y.copyMap x.1 h = (Y.omega x.1).act h + Y.units.embed x.1:=by |
| 93 | subst Y |
| 94 | intro y |
| 95 | have He:= copy_home S hk (0:Site Λ) x.1; rw [Tiling.copyMap,affine] at He ⊢; simp only [Signed.act_zero,zero_add] at He |
| 96 | rw [He];rfl |
| 97 | private lemma disparate {k:ℕ}(hk:k≤N)(T Y:Tiling Λ)(hY:Y = center S p hk 0) |
| 98 | (x:α→ Site Λ) (hx:∀i,4*pdist (x i:Site Λ)≤Y.side.val) (hs:∀i j:α,i≠j → T.side.val < separation (x i:Site Λ) (x j)) (hTY:2*T.side.val < Y.side.val): |
| 99 | let y(w:Y.Cell×α):= Y.copyMap w.1 (x w.2) |
| 100 | ∀i j:Y.Cell×α,i≠j → T.side.val < separation (y i:Site Λ) (y j):=by |
| 101 | intro y i j ne; by_cases h:i.1=j.1 |
| 102 | · have h': i.2 ≠ j.2:=fun hh=>ne (Prod.ext h hh) |
| 103 | simp [y, Tiling.copyMap,affine,h]; exact hs _ _ h' |
| 104 | have h'(t:Y.Cell×α): separation (Y.units.embed t.1) (y t) = pdist (x t.2):=by |
| 105 | rw [show y t=_ from fill_copy hk Y hY x t _, ← pdist_invariant (Y.omega t.1)] |
| 106 | simp [separation] |
| 107 | have ht:=edge_separate h; have hi:=hx i.2;have hj:=hx j.2 |
| 108 | have h1:= separation_triangle (Y.units.embed i.1) (y i) (Y.units.embed j.1) |
| 109 | have h2:= separation_triangle (y i) (y j) (Y.units.embed j.1) |
| 110 | rw [h' i] at h1 |
| 111 | rw [separation_comm (y j),h' j] at h2 |
| 112 | omega |
| 113 | lemma micro {k:ℕ}(hk:k≤N){T Y:Tiling Λ}(hY:Y = center S p hk 0){m:ℕ}(hm:m ≤ N)(ht:Cells.span S hm p ∣ T.side.val)(h0:T.side.val ∣ Y.side.val)(hTY:2*T.side.val < Y.side.val) |
| 114 | (x:α→ Site Λ) (hx:∀i,4*pdist (x i:Site Λ)≤Y.side.val) (hs:∀i j:α,i≠j → T.side.val < separation (x i:Site Λ) (x j)) {β:ℝ}(hb:Seam G Λ β) |
| 115 | (hFit: Fintype.card (Signed × α) * (2*(3*Cells.span S hm p)) < T.side.val) |
| 116 | (A:α → ℝ)(F:α → Config G Λ →ℂ) |
| 117 | (hA:∀i,Interior ((center S p hm 0).chamber 0) (F i) ∧ (center S p hm 0).rootTest β (F i) ≤ A i): |
| 118 | Y.rootTest β (fun U=> ∏ i:α, F i (translate (x i) U)) ≤ ∏ i:α,A i:=by |
| 119 | classical |
| 120 | let x' (b:Signed×α):= b.1.act (x b.2); let y(w:Y.Cell×α):= Y.copyMap w.1 (x w.2) |
| 121 | have hv:= disparate hk T Y hY x hx hs hTY; change ∀ i j, _→ T.side.val < separation (y i) (y j) at hv |
| 122 | let K:=3*Cells.span S hm p; obtain ⟨o,ho⟩:=grid_margin' (K:=K) x' (mul_pos (by decide) ((S.toDepth hm p).count.property)) hFit |
| 123 | let X:=T.newly o |
| 124 | have hq (u:Y.Cell×α)(a:Axis):T.hom (y u a)=T.hom (x' (Y.omega u.1,u.2) a):= by |
| 125 | unfold y x'; rw [fill_copy hk Y hY x u,Pi.add_apply,map_add,burnt h0, add_zero] |
| 126 | let v:=X.which ∘ y |
| 127 | have hi(t:Y.Cell×α) : y t∈X.margin (v t) K:=ho _ ⟨_, hq t⟩ |
| 128 | have hf:Injective v:=by |
| 129 | intro i j h; by_contra ne |
| 130 | have h':= X.extent (v:=v i) (hi i).1 (h.symm ▸ (hi j).1) |
| 131 | exact (hv i j ne).not_ge h' |
| 132 | have hU:= oriented_planted (T:=X) hb (fun (_:Y.Cell×α)=>m) (fun _=>hm) (fun _=>ht) (fun k=>A k.2) (fun k=>F k.2) (fun i=>hA i.2) y hi hf (fun i=> Y.omega i.1) (fun i=>decide (Y.hand i.1)) (fun _=>rfl) |
| 133 | let cfg:= fun U=>∏ i:α,F i (translate (x i) U) |
| 134 | have he (j:Y.Cell)(U):Y.copy j cfg U= ∏ i:α,oriented (F i) (decide (Y.hand j)) (Y.omega j) (y (j,i)) U:=by |
| 135 | unfold Tiling.copy; dsimp only [cfg]; let D := pull (Y.omega j) (Y.translateBy j) U |
| 136 | change (if Y.hand j then star (∏ i:α, F i (translate (x i) D)) else ∏ i,F i (translate (x i) D))=_ |
| 137 | have hf'(t:Site Λ):translate t D = pull (Y.omega j) (Y.copyMap j t) U:=by unfold D; rw [← pull_one,pull_pull,mul_one];rfl |
| 138 | simp_rw [hf' _] |
| 139 | by_cases h:Y.hand j <;> simp [Push.RelayDifference.oriented,hand, h,y] <;> rfl |
| 140 | rw [Fintype.prod_prod_type] at hU -- two occurrences? |
| 141 | change ‖moment β (fun U=>∏ t: Y.Cell×α, oriented (F t.2) (decide (Y.hand t.1)) (Y.omega t.1) (y t) U)‖ ≤ ∏ (_:Y.Cell), ∏ i, A i at hU |
| 142 | simp_rw [Fintype.prod_prod_type _,← he,Finset.prod_const,Finset.card_univ] at hU |
| 143 | apply le_of_pow_le_pow_left₀ Y.cells_positive.ne' (Finset.prod_nonneg (fun i _=> ((center S p hm 0).root_nonneg _ _).trans (hA i).2)) |
| 144 | rw [Tiling.powering]; exact hU |
| 145 | end YM.MultipleContact.Arbor |