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.SectorNext.GAUSSIAN_SECTOR_CHANGE.Motion |
| 2 | import YM.SectorNext.LARGE_FIELD_REMAINDERS.Clean |
| 3 | |
| 4 | |
| 5 | /-! |
| 6 | # One Forest, tag system and incidence geometry, through the Gaussian bridge |
| 7 | |
| 8 | exterior/collar tests on an *oriented* row of `dyed` |
| 9 | vs stores. In particular `replica` is equivariant through signed rotations, |
| 10 | even on tori where a coarse bond may have reversed, even though it does |
| 11 | not assert a canonical lift at the seam. We need the odd block sizes of |
| 12 | this StepData here. |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.AnalyticBridge.AnnulusRatioInsertions |
| 17 | open Function Filter Lattice Wilson RG RG.Patch Precision Exterior Tree MeasureTheory Metric Matrix |
| 18 | open Next.SectorChange Next.SectorChange.Motion |
| 19 | open Pressure Pressure.Tube Pressure.Stores Bid Push.SectorMeasure Push.SectorMeasure.Oriented |
| 20 | open SectorNext.Remainder SectorNext.Remainder.Affine |
| 21 | open scoped Topology BigOperators Classical ContDiff Matrix.Norms.Frobenius |
| 22 | |
| 23 | variable {G : Gauge} {c f n : Side} {S : StepData c f} |
| 24 | |
| 25 | lemma go_flip (s : Signed) (i : Bond n) (hf : s.flip i.2 = true) : |
| 26 | s.act (i.1 + Lattice.step i.2) = s.act i.1 - Lattice.step (s.perm i.2) := by |
| 27 | simpa [affine] using StepData.negsite s (0:Site n) i.1 i.2 hf |
| 28 | lemma go_plain (s : Signed) (i : Bond n) (hf : s.flip i.2 = false) : |
| 29 | s.act (i.1 + Lattice.step i.2) = s.act i.1 + Lattice.step (s.perm i.2) := by |
| 30 | simpa [affine] using StepData.possite s (0:Site n) i.1 i.2 hf |
| 31 | lemma send_flip (s : Signed) (i : Bond n) (hf : s.flip i.2 = true) : |
| 32 | sendEdge s 0 i = (s.act i.1 - Lattice.step (s.perm i.2), s.perm i.2) := by |
| 33 | simp [sendEdge,Step.rotate,posDir,hf,Step.used,affine] |
| 34 | lemma send_plain (s : Signed) (i : Bond n) (hf : s.flip i.2 = false) : |
| 35 | sendEdge s 0 i = (s.act i.1, s.perm i.2) := by |
| 36 | simp [sendEdge,Step.rotate,posDir,hf,Step.used,affine] |
| 37 | |
| 38 | lemma turn_replica (s : Signed) (V : Config G c) : |
| 39 | pull s 0 (replica S.ratio V) = replica S.ratio (pull s 0 V) := by |
| 40 | funext i |
| 41 | let p := S.ratio |
| 42 | let j : Bond c := (p.parent i.1,i.2) |
| 43 | have hx y : p.parent (s.act y) = s.act (p.parent y) := p.parent_signed S.patch.odd_side _ _ |
| 44 | have ht (y z : Site c) : s.act y = s.act z ↔ y=z := s.act_injective.eq_iff |
| 45 | change pull s 0 (replica p V) i = replica p (pull s 0 V) i |
| 46 | rw [turn_read] |
| 47 | change (if _ then (_ : G.El) else _) = (if _ then 1 else pull s 0 V j) |
| 48 | rw [turn_read] |
| 49 | cases hr : s.flip i.2 |
| 50 | · simp only [Bool.false_eq_true,↓reduceIte, send_plain s i hr, send_plain s j hr] |
| 51 | change (if p.parent _ = p.parent _ then _ else _) = _ |
| 52 | rw [← go_plain s i hr, hx,hx]; simp only [ht,j] |
| 53 | · simp only [↓reduceIte] |
| 54 | rw [replica, send_flip s i hr,send_flip s j hr] |
| 55 | simp only [sub_add_cancel]; rw [← go_flip s i hr,hx,hx]; simp only [ht] |
| 56 | by_cases h : p.parent (i.1+Lattice.step i.2) = p.parent i.1 |
| 57 | · rw [h]; simp |
| 58 | have he := p.parents_hop S.patch.odd_side i.1 i.2 |
| 59 | split at he |
| 60 | · rw [if_neg h,if_neg (Ne.symm h),he] |
| 61 | rw [go_flip s j hr] |
| 62 | exact (h he).elim |
| 63 | |
| 64 | lemma cost_turn (s : Signed) (A : Stores S) (p : Cell f) : |
| 65 | p ∈ (turnStore s A).costs ↔ faces s f p ∈ A.costs := by simp [turnStore] |
| 66 | lemma aisle_turn (s : Signed) (A : Stores S) (b : Bond c) : |
| 67 | b ∈ (turnStore s A).aisles ↔ sendEdge s 0 b ∈ A.aisles := by |
| 68 | change b ∈ _ ↔ StepData.sendBonds s 0 b ∈ A.aisles |
| 69 | dsimp only [turnStore]; simp |
| 70 | lemma flag_turn (s : Signed) (A : Stores S) (x : Site c) : |
| 71 | x ∈ (turnStore s A).flags ↔ s.act x ∈ A.flags := by |
| 72 | have hx : s.act x = StepData.sendSites s 0 x := (add_zero (s.act x)).symm |
| 73 | dsimp only [turnStore]; rw [hx]; exact Finset.mem_map_equiv |
| 74 | |
| 75 | private lemma image_act (s : Signed) {x : Site n} {P : Support n} : |
| 76 | s.act x ∈ P.image s.act ↔ x∈P := by |
| 77 | simp [s.act_injective.mem_finset_image] |
| 78 | |
| 79 | lemma turn_pin (s : Signed) (x : Site n) (p : Bond n) : |
| 80 | s.act x ∈ pinPos (sendEdge s 0 p) ↔ x ∈ pinPos p := by |
| 81 | cases h : s.flip p.2 |
| 82 | · rw [send_plain s p h]; simp only [pinPos, Finset.mem_insert, Finset.mem_singleton, ← go_plain s p h, |
| 83 | s.act_injective.eq_iff] |
| 84 | rw [send_flip s p h]; simp only [pinPos, Finset.mem_insert, Finset.mem_singleton, sub_add_cancel]; rw [← go_flip s p h]; simp only [s.act_injective.eq_iff]; rw [or_comm] |
| 85 | |
| 86 | lemma turn_start (s : Signed) (x : Site c) (p : Cell f) : |
| 87 | s.act x ∈ startPos S (faces s f p) ↔ x∈ startPos S p := by |
| 88 | have he : startPos S (faces s f p) = (startPos S p).image s.act := by |
| 89 | unfold startPos; change (RG.touched (Face.send s 0 p)).image S.ratio.parent = _ |
| 90 | rw [Work.H03.touched_send,Finset.image_image,Finset.image_image] |
| 91 | apply Finset.image_congr; intro i _; change S.ratio.parent (affine s 0 i) = s.act (S.ratio.parent i); rw [affine,add_zero,S.ratio.parent_signed S.patch.odd_side] |
| 92 | rw [he,image_act] |
| 93 | |
| 94 | lemma turn_place (s : Signed) (A : Stores S) (x : Site c) : |
| 95 | x∈(turnStore s A).place ↔ s.act x∈A.place := by |
| 96 | unfold place; simp only [Finset.mem_union,Finset.mem_biUnion, flag_turn] |
| 97 | constructor |
| 98 | · rintro ((⟨p,h,ht⟩|⟨p,h,ht⟩)|h) |
| 99 | · exact Or.inl (Or.inl ⟨faces s f p,(cost_turn ..).mp h,(turn_start ..).mpr ht⟩) |
| 100 | · exact Or.inl (Or.inr ⟨sendEdge s 0 p,(aisle_turn ..).mp h,(turn_pin ..).mpr ht⟩) |
| 101 | exact Or.inr h |
| 102 | rintro ((⟨p,h,ht⟩|⟨p,h,ht⟩)|h) |
| 103 | · obtain ⟨p,rfl⟩ := (faces s f).surjective p |
| 104 | exact Or.inl (Or.inl ⟨p,(cost_turn ..).mpr h,(turn_start ..).mp ht⟩) |
| 105 | · obtain ⟨p,rfl⟩ := (StepData.sendBonds s 0).surjective p |
| 106 | exact Or.inl (Or.inr ⟨p,(aisle_turn ..).mpr h,(turn_pin ..).mp ht⟩) |
| 107 | exact Or.inr h |
| 108 | |
| 109 | lemma turn_dome (s : Signed) (A : Stores S) (x : Site c) (b : ℕ) : |
| 110 | x∈(turnStore s A).dome b ↔ s.act x∈A.dome b := by |
| 111 | unfold dome; rw [halo_spec,halo_spec] |
| 112 | constructor |
| 113 | · rintro ⟨y,h,hx⟩; exact ⟨s.act y,(turn_place ..).mp h,(separation_signed y x s).trans_le hx⟩ |
| 114 | rintro ⟨y,h,hx⟩ |
| 115 | obtain ⟨y,rfl⟩ := s.actEquiv.surjective y |
| 116 | exact ⟨y,(turn_place ..).mpr h,(separation_signed y x s) ▸ hx⟩ |
| 117 | |
| 118 | lemma turn_incidence (s : Signed) (R Q R' Q' : Support c) |
| 119 | (h : ∀ x, x∈R' ↔ s.act x∈R) (he : ∀ x,x∈Q' ↔ s.act x∈Q) : |
| 120 | Disjoint R' Q' ↔ Disjoint R Q := by |
| 121 | simp_rw [Finset.disjoint_left] |
| 122 | constructor |
| 123 | · intro hh i hi ht |
| 124 | obtain ⟨j,rfl⟩ := s.actEquiv.surjective i |
| 125 | exact hh ((h j).mpr hi) ((he j).mpr ht) |
| 126 | intro hh i hi ht; exact hh ((h i).mp hi) ((he i).mp ht) |
| 127 | |
| 128 | |
| 129 | |
| 130 | lemma turn_mass (s : Signed) {U : Config G f} {k : S.Choices} (hm : S.patch.Branches S.kernel G) (i : Site c) : |
| 131 | S.patch.frameMass S.kernel (expandAt (S.ratio.embed i) (pull s 0 U)) ((choice s k).1 i) = |
| 132 | S.patch.frameMass S.kernel (expandAt (S.ratio.embed (s.act i)) U) (k.1 (s.act i)) := by |
| 133 | have he : S.withinSites s 0 (choice s k).1 = k.1 := congr_arg Prod.fst ((S.withinChoice s 0).apply_symm_apply k) |
| 134 | rw [expandAt_pull,affine,add_zero,← Ratio.signed,(S.patch.frames_channel hm ..).1,← S.port_site s 0] |
| 135 | rw [affine,add_zero,he] |
| 136 | |
| 137 | /-- Through the whole local halo (so we will not need Alive globally for the payment). -/ |
| 138 | lemma turn_wide (s : Signed) {D : ℕ} {x w : ℝ} {O A : Stores S} {U : Config G f} {k : S.Choices} {V : Config G c} |
| 139 | (hm : S.patch.Branches S.kernel G) (h : Affine.Wide O A D x w U k V) : Affine.Wide |
| 140 | (turnStore s O) (turnStore s A) D x w (pull s 0 U) (choice s k) (pull s 0 V) := by |
| 141 | constructor |
| 142 | · intro i hi |
| 143 | have he : toll (pull s 0 U) i = toll U (faces s f i) := |
| 144 | Face.send_price U i s 0 G.chord G.chord_inv fun k g => G.chord_conj g k |
| 145 | simp only [cost_turn,he] |
| 146 | apply h.consumes |
| 147 | exact mt (turn_incidence s _ _ _ _ (fun x => turn_dome s ..) (fun x => (turn_start s x i).symm)).mpr hi |
| 148 | · intro i hi |
| 149 | simp only [aisle_turn,(carry s hm k U).2,wire_pulled] |
| 150 | apply h.drive |
| 151 | exact mt (turn_incidence s _ _ _ _ (fun x => turn_dome s ..) (fun x => (turn_pin s x i).symm)).mpr hi |
| 152 | · intro i hi |
| 153 | have hh := Work.H03.flags_send s (0:Site c) (temp x) V |
| 154 | rw [show affine s (0:Site c) = s.act from funext fun i => add_zero _] at hh |
| 155 | rw [flag_turn,h.precise (s.act i) ((turn_dome ..).mp hi),← hh,image_act] |
| 156 | intro i hi |
| 157 | rw [turn_mass s hm i]; exact h.list _ ((turn_dome ..).mp hi) |
| 158 | |
| 159 | end YM.AnalyticBridge.AnnulusRatioInsertions |