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.Next.FOUNDATIONS.Reorient |
| 2 | import YM.Next.FOUNDATIONS.Split |
| 3 | import YM.ProjectorNext.PROJECTOR_EQUIVARIANCE.Test |
| 4 | import YM.ProjectorNext.PROJECTOR_EQUIVARIANCE.Trails |
| 5 | import YM.Work.A01.Mirror |
| 6 | |
| 7 | /-! |
| 8 | # Concrete reanchored Coefficient |
| 9 | |
| 10 | When pulling a charge density by an allowed orientation/translation, can |
| 11 | actually realize that expression with moved supports and the same history, |
| 12 | with cap. Requires the vacuum's genuine `Activities.Moves` and fixed Sound |
| 13 | section, not equivariance of a fitted marking prescription. This is an |
| 14 | operation (available even if other representations of the same density have |
| 15 | been chosen); not asserting another unaligned transfer gave its result. |
| 16 | -/ |
| 17 | set_option autoImplicit false |
| 18 | noncomputable section |
| 19 | namespace YM.ProjectorNext.Equivariance |
| 20 | open Function Filter Labels Lattice Wilson RG Source Analysis MeasureTheory Next.Foundations Push.CutoffProjectors |
| 21 | open scoped Topology BigOperators Matrix.Norms.Frobenius ContDiff |
| 22 | |
| 23 | variable {G : Gauge} {n : Side} {d : ℕ} {F : Frame G d} |
| 24 | {Q : Coefficient F n} {R : Rep G n} {t : Signed} {o b : Site n} |
| 25 | |
| 26 | section Family |
| 27 | |
| 28 | /-- Gauge/premask, and actual ordered differentiability of the moved germ, |
| 29 | including at equality. -/ |
| 30 | lemma pulls_regular (s : Signed) (b : Site n) {P : BudgetPoint} {D : Support n} {F : Config G n → ℂ} |
| 31 | (h : P.Regular D F) : P.Regular (D.image (affine s b)) (F ∘ pull s b) := by |
| 32 | have he (U : Config G n) (ht : Healthy P.threshold (D.image (affine s b)) U) : |
| 33 | HasOrderAt (F ∘ pull s b) U P.order := hasOrder_pull s b U (h.smooth _ ((healthy_pull ..).mpr ht)) |
| 34 | refine ⟨local_pull s b _ h.sites, h.borel.comp (prior_pull ..).measurable, ?_,he,?_⟩ |
| 35 | · intro k U; simp only [comp_apply,pull_gauge]; exact h.symmetry _ _ |
| 36 | intro U hu l A hA; exact left_has l hA (he U hu) |
| 37 | |
| 38 | /-- Pairwise admissibility test is performed after moving the **whole** |
| 39 | occurrence set, even addresses with zero material. -/ |
| 40 | lemma moves_admissible {A : Activities G n} (p : BudgetPoint) (M : A.Moves t b) (U : Config G n) (q : Finset ℕ) : |
| 41 | A.admissible p U (q.map M.kp.toEmbedding) ↔ A.admissible p (pull t b U) q := by |
| 42 | classical |
| 43 | let g := affine t b |
| 44 | have hJ : Injective g := affine_injective t b |
| 45 | have he (i j) : Disjoint (A.forced (M.kp i)).support (A.forced (M.kp j)).support ↔ |
| 46 | Disjoint (A.forced i).support (A.forced j).support := by |
| 47 | rw [M.forced_support,M.forced_support,Finset.disjoint_image hJ] |
| 48 | have hf : (q.map M.kp.toEmbedding).biUnion (fun i => (A.forced i).inventory) = |
| 49 | (q.biUnion (fun i => (A.forced i).inventory)).image g := by |
| 50 | ext x; obtain ⟨x,rfl⟩ := affine_surjective t b x |
| 51 | simp only [Finset.mem_image,Finset.mem_biUnion,Finset.mem_map,Equiv.coe_toEmbedding] |
| 52 | constructor |
| 53 | · rintro ⟨i,⟨j,hj,rfl⟩,ht⟩ |
| 54 | rw [M.forced_inventory] at ht; obtain ⟨y,hy,hr⟩ := Finset.mem_image.mp ht; exact ⟨y,⟨j,hj,hy⟩,hr⟩ |
| 55 | rintro ⟨y,⟨j,hj,hy⟩,ht⟩; exact ⟨M.kp j,⟨j,hj,rfl⟩,by rw [M.forced_inventory]; exact Finset.mem_image.mpr ⟨y,hy,ht⟩⟩ |
| 56 | unfold Activities.admissible |
| 57 | rw [hf,← Work.H03.flags_send t b p.threshold U,(Finset.image_injective hJ).eq_iff]; refine and_congr ?_ Iff.rfl |
| 58 | constructor |
| 59 | · intro H i hi j hj ht |
| 60 | exact (he i j).1 (H (Finset.mem_map.mpr ⟨i,hi,rfl⟩) (Finset.mem_map.mpr ⟨j,hj,rfl⟩) (M.kp.injective.ne ht)) |
| 61 | rintro H i hi j hj ht |
| 62 | obtain ⟨k,hk,rfl⟩ := Finset.mem_map.mp hi |
| 63 | obtain ⟨l,hl,rfl⟩ := Finset.mem_map.mp hj |
| 64 | exact (he k l).2 (H hk hl (fun e => ht (congr_arg M.kp e))) |
| 65 | |
| 66 | lemma gas_pull {R : Rep G n} (U : Config G n) {s : Signed} {b : Site n} (h : R.activities.Moves s b) : |
| 67 | R.activities.gas R.p (pull s b U) = R.activities.gas R.p U := by |
| 68 | classical |
| 69 | unfold Activities.gas; rw [← h.kp.finsetCongr.tsum_eq (fun q => R.activities.gasOccurrence R.p q U)] |
| 70 | refine tsum_congr fun i => ?_ |
| 71 | unfold Activities.gasOccurrence |
| 72 | rw [show h.kp.finsetCongr i = i.map h.kp.toEmbedding from rfl] |
| 73 | split <;> rename_i he |
| 74 | · rw [if_pos ((moves_admissible R.p h U i).2 he)] |
| 75 | rw [Finset.prod_map]; exact Finset.prod_congr rfl fun x _ => (h.valuesK x U).symm |
| 76 | rw [if_neg (fun hx => he ((moves_admissible R.p h U i).1 hx))] |
| 77 | end Family |
| 78 | |
| 79 | /-- Coefficient operation. Don't shorten ANY supports. `M` keeps R fixed; |
| 80 | use it on the *forced* part. No need to share its unmarked-regular names |
| 81 | with the marked regular terms (those can just keep their index here). -/ |
| 82 | def shifted (M : R.activities.Moves t b) (Q : Coefficient F n) : Coefficient F n := { |
| 83 | x := turn F t Q.x |
| 84 | support i := (Q.support i).image (affine t b) |
| 85 | regular i := Q.regular i ∘ pull t b |
| 86 | forced i := Q.forced (M.kp.symm i) ∘ pull t b } |
| 87 | |
| 88 | lemma turn_scalar (F : Frame G d) (s : Signed) (v : F.Coeff) : turn F s v 0 = v 0 := by |
| 89 | have he (v : F.Coeff) : F.scaled 0 v = v 0 • F.e0 := by |
| 90 | funext i |
| 91 | by_cases hi : i=0 |
| 92 | · subst i; simp [Frame.e0,F.zero_degree] |
| 93 | simp [Frame.e0,hi,Nat.ne_of_gt (F.factors_pos i hi)] |
| 94 | have hu : turn F s F.e0 = F.e0 := by |
| 95 | have ht : tensor (Signed.inclusionO s) (Labels.unit G d) = Labels.unit G d := Subtype.ext (map_one (rotated ..)) |
| 96 | rw [← F.coords_unit,turn,F.act_coords,ht] |
| 97 | have hp := F.scaling 0 (Signed.inclusionO s) v |
| 98 | change F.scaled 0 (turn F s v) = turn F s (F.scaled 0 v) at hp |
| 99 | rw [he,he,map_smul,hu] at hp |
| 100 | simpa only [Frame.e0,Pi.smul_apply,Pi.single_eq_same,smul_eq_mul,mul_one] using congr_fun hp 0 |
| 101 | |
| 102 | namespace shifted |
| 103 | variable (M : R.activities.Moves t b) (C : SectionData F) {H : Hol G} |
| 104 | |
| 105 | lemma expEntry (hc : C.Sound H) (Q : Coefficient F n) (U : Config G n) (o : Site n) : |
| 106 | (shifted M Q).exponentialEntry (affine t b o) C R U = |
| 107 | Q.exponentialEntry o C R (pull t b U) := by |
| 108 | let V := pull t b U |
| 109 | let y := affine t b o |
| 110 | let z := R.p.threshold |
| 111 | have he : C.footprint y = (C.footprint o).image (affine t b) := by |
| 112 | unfold SectionData.footprint |
| 113 | nth_rw 1 [← hc.stable t] |
| 114 | simp only [Finset.image_image,Function.comp_def,wrap_signed,y,affine,Signed.act_add,add_assoc] |
| 115 | have ha (v : F.Coeff) : |
| 116 | v 0 + masked z (C.footprint o) (C.places (F.scaled z⁻¹ (F.core v)) o) V = |
| 117 | turn F t v 0 + masked z (C.footprint y) (C.places (F.scaled z⁻¹ (F.core (turn F t v))) y) U := by |
| 118 | have hh : Healthy z (C.footprint y) U ↔ Healthy z (C.footprint o) V := by rw [he]; exact (healthy_pull ..).symm |
| 119 | by_cases hx : Healthy z (C.footprint o) V |
| 120 | · rw [masked_eq _ _ _ _ (hh.mpr hx),masked_eq _ _ _ _ hx,atCore C hc,atCore C hc,turn,F.scaling] |
| 121 | exact C.placed_signed hc t o b _ _ |
| 122 | rw [masked_ne _ _ _ _ hx,masked_ne _ _ _ _ (fun h => hx (hh.mp h)),turn_scalar] |
| 123 | unfold Coefficient.exponentialEntry |
| 124 | refine congr_arg₂ (·+·) (ha Q.x).symm ?_; refine tsum_congr fun i => ?_ |
| 125 | exact mask_pull t b (Q.support i) (Q.regular i) R.p.threshold U |
| 126 | |
| 127 | lemma marked (Q : Coefficient F n) (U : Config G n) (i : Finset ℕ) : |
| 128 | (shifted M Q).marked R (M.kp.finsetCongr i) U = Q.marked R i (pull t b U) := by |
| 129 | classical |
| 130 | unfold Coefficient.marked |
| 131 | split <;> rename_i he |
| 132 | · rw [if_pos ((moves_admissible R.p M U i).mp he)] |
| 133 | change Finset.sum (i.map _) _ = _ |
| 134 | rw [Finset.sum_map]; refine Finset.sum_congr rfl fun j hj => ?_ |
| 135 | have ht : (i.map M.kp.toEmbedding).erase (M.kp j) = (i.erase j).map M.kp.toEmbedding := (Finset.map_erase ..).symm |
| 136 | change Q.forced (M.kp.symm (M.kp j)) _ * Finset.prod ((i.map _).erase (M.kp j)) _ = _ |
| 137 | rw [Equiv.symm_apply_apply,ht,Finset.prod_map]; congr 1 |
| 138 | exact Finset.prod_congr rfl fun k _ => congr_arg ((↑) : ℝ → ℂ) (M.valuesK k U) |
| 139 | rw [if_neg (fun h => he ((moves_admissible R.p M U i).2 h))] |
| 140 | |
| 141 | lemma density (hc : C.Sound H) (Q : Coefficient F n) (o : Site n) : |
| 142 | (shifted M Q).density (affine t b o) C R = Q.density o C R ∘ pull t b := by |
| 143 | funext U |
| 144 | have he : ∑' i, (shifted M Q).marked R i U = ∑' i, Q.marked R i (pull t b U) := by |
| 145 | rw [← M.kp.finsetCongr.tsum_eq (fun i => (shifted M Q).marked R i U)] |
| 146 | exact tsum_congr (marked M Q U) |
| 147 | rw [Function.comp_apply,Coefficient.density,Coefficient.density,expEntry M C hc,Rep.eval,Rep.eval, |
| 148 | exponent_pull _ M,gas_pull _ M,he] |
| 149 | |
| 150 | /-- Format requires the usual nonwrapping test comparison (including flips), |
| 151 | valid on sides ≥ 2. Always met at scheduled levels under Fits. -/ |
| 152 | lemma format (o : Site n) (hn : 2 ≤ n.val) (hQ : Q.Format o H R) : |
| 153 | (shifted M Q).Format (affine t b o) H R := by |
| 154 | have he (i) : (shifted M Q).forced (M.kp i) = Q.forced i ∘ pull t b := by simp [shifted] |
| 155 | constructor |
| 156 | · intro i; exact pulls_regular t b (hQ.smooth i) |
| 157 | · exact fun i => Finset.mem_image_of_mem _ (hQ.origin i) |
| 158 | · intro i; unfold shifted; simp only [Function.comp_apply,pull_constant,hQ.identity_null] |
| 159 | · intro i hi |
| 160 | have hp : Reads H o (Q.support i) (0:Label G d) (Q.regular i) := |
| 161 | (reads_null_iff H d o (Q.support i) (Q.regular i)).mpr ⟨hQ.identity_null i,hQ.projects i⟩ |
| 162 | have hr : Reads H (affine t b o) ((Q.support i).image (affine t b)) (0:Label G d) (Q.regular i ∘ pull t b) := by |
| 163 | simpa only [map_zero] using reads_pull (b:=b) hp (hQ.smooth i).sites hn t |
| 164 | exact ((reads_null_iff ..).mp hr).2 hi |
| 165 | · intro i U; obtain ⟨j,rfl⟩ := M.kp.surjective i; rw [he] |
| 166 | intro ha |
| 167 | exact (Work.H03.eligible_send t b R.p.threshold U _ _ (M.forced_support j) (M.forced_inventory j) (M.forced_tests j U)).2 |
| 168 | (hQ.forcing j (pull t b U) ha) |
| 169 | · intro i; obtain ⟨j,rfl⟩ := M.kp.surjective i; rw [he,M.forced_support] |
| 170 | intro ha; exact Finset.mem_image_of_mem _ (hQ.carried j (fun he => ha (by rw [he]; rfl))) |
| 171 | · intro i; obtain ⟨j,rfl⟩ := M.kp.surjective i; rw [he]; intro k U; simp only [comp_apply,pull_gauge]; exact hQ.invariant j _ _ |
| 172 | · intro i; obtain ⟨j,rfl⟩ := M.kp.surjective i; rw [he,M.forced_support]; exact final_pull t b _ (hQ.supported j) |
| 173 | intro i; unfold shifted; exact (hQ.borel _).comp (prior_pull ..).measurable |
| 174 | |
| 175 | lemma cap {v c : ℝ} (hQ : Q.Format o H R) (he : Q.remBound o R v c) : |
| 176 | (shifted M Q).remBound (affine t b o) R v (permission R.p t * c) := by |
| 177 | let D := permission R.p t |
| 178 | have hD : 1 ≤ D := one_permission _ _ |
| 179 | have h0 : 0 ≤ D := zero_le_one.trans hD |
| 180 | obtain ⟨a,g,ha,hg,hc,hv,⟨E,hE,hX⟩,⟨B,hB,hY⟩⟩ := he |
| 181 | have he : D*a+g ≤ D*c := ((add_le_add_right (le_mul_of_one_le_left hg hD) _).trans_eq |
| 182 | (mul_add D a g).symm).trans (mul_le_mul_of_nonneg_left hc h0) |
| 183 | refine ⟨D*a,g,mul_nonneg h0 ha,hg,he,hv,⟨fun i => D*E i,?_,fun i => |
| 184 | paid_permission t b (hX i) (hQ.smooth i)⟩,fun i => B (M.kp.symm i),?_,?_⟩ |
| 185 | · have ht (i) : R.p.mass ((shifted M Q).support i) (D*E i) = D * R.p.mass (Q.support i) (E i) := by |
| 186 | unfold BudgetPoint.mass shifted; rw [moves_cost]; ring |
| 187 | simp_rw [ht] |
| 188 | refine ⟨fun i => mul_nonneg h0 (hE.1 i), hE.2.1.mul_left D, ?_⟩ |
| 189 | rw [tsum_mul_left]; exact mul_le_mul_of_nonneg_left hE.2.2 h0 |
| 190 | · let F i := R.p.mass (R.activities.forced i).support (B i) |
| 191 | have ht (i) : R.p.mass (R.activities.forced i).support (B (M.kp.symm i)) = (F ∘ M.kp.symm) i := by |
| 192 | obtain ⟨j,rfl⟩ := M.kp.surjective i |
| 193 | unfold F; simp only [Function.comp_apply,Equiv.symm_apply_apply,M.forced_support,BudgetPoint.mass,moves_cost] |
| 194 | simp_rw [ht] |
| 195 | exact ⟨fun i => hB.1 _, M.kp.symm.summable_iff.mpr hB.2.1, (M.kp.symm.tsum_eq F).le.trans hB.2.2⟩ |
| 196 | exact fun i => ⟨(hY _).1,fun U => (hY _).2 _⟩ |
| 197 | end shifted |
| 198 | end YM.ProjectorNext.Equivariance |