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.MULTISOURCE.Collateral |
| 2 | import YM.Next.MULTISOURCE.Determined |
| 3 | import YM.Next.MULTISOURCE.First |
| 4 | import YM.Next.MULTISOURCE.Recenter |
| 5 | |
| 6 | /-! Packs travel on the same history. -/ |
| 7 | |
| 8 | set_option autoImplicit false |
| 9 | noncomputable section |
| 10 | namespace YM.Multi.AxisShift |
| 11 | open RG Wilson Lattice Function Filter Finset Pack MeasureTheory |
| 12 | open scoped Topology Matrix.Norms.Frobenius BigOperators Classical |
| 13 | variable {G : Gauge} {n : Side} (o : Site n) |
| 14 | |
| 15 | def runway (q : Pack n) : Pack n := ⟨⟨roots o q.zone,roots o q.flagsAt⟩, q.property.1.image _, |
| 16 | roots_mono _ _ _ q.property.2⟩ |
| 17 | |
| 18 | def horse : Pack n ≃ Pack n where |
| 19 | toFun := runway o |
| 20 | invFun := runway (-o) |
| 21 | left_inv q := Subtype.ext (Prod.ext (behind ..) (behind ..)) |
| 22 | right_inv q := by |
| 23 | nth_rw 1 [show o= - -o from (neg_neg _).symm]; exact Subtype.ext (Prod.ext (behind ..) (behind ..)) |
| 24 | |
| 25 | lemma wind {F : Config G n → ℂ} {P : BudgetPoint} {X : Pack n} (h : Legible P X F) : |
| 26 | Legible P (horse o X) (F ∘ translate o) := by |
| 27 | refine ⟨h.borel.comp (visible o).measurable, respects _ _ h.symmetry,fun U W he hv => ?_, ?_⟩ |
| 28 | · change roots o X.zone ∩ _ = roots o X.zone ∩ _ at hv |
| 29 | apply h.reads _ _ (agreeable o X.zone U W he) |
| 30 | rw [← intersection, ← intersection] at hv; exact image_injective (add_left_injective o) hv |
| 31 | intro i hi; exact (occupied o X.zone X.flagsAt _ i).mp (h.inventory _ hi) |
| 32 | |
| 33 | def carry (D : Pulse G n) : Pulse G n := (D.1 ∘ translate o, fun v => D.2 ((horse o).symm v) ∘ translate o) |
| 34 | |
| 35 | lemma carry_at (D : Pulse G n) (i : Pack n) (U) : (carry o D).2 (horse o i) U=D.2 i (translate o U) := by |
| 36 | simp only [carry,Equiv.symm_apply_apply]; rfl |
| 37 | |
| 38 | lemma funded {P : Rep G n} {r κ c : ℝ} {X : Support n} {D : Pulse G n} (h : Credit P.p r κ X D c) : |
| 39 | Credit P.p r κ (roots o X) (carry o D) c := by |
| 40 | obtain ⟨he,h1,h2,h3,⟨u,F,hf,hH,ht,hv⟩,f,hf',H⟩ := h |
| 41 | refine ⟨he.image _,h1,h2,h3, ⟨u,F ∘ translate o, ?_, ?_, ht, recenters o hv⟩, f ∘ (horse o).symm, |
| 42 | ?_,fun i => ?_⟩ |
| 43 | · simp only [carry,hf, comp_def] |
| 44 | · rw [roots_card]; exact hH |
| 45 | · rw [← (horse o).sum_comp] |
| 46 | simp only [Function.comp_apply,Equiv.symm_apply_apply] |
| 47 | change ∑ i, burn P.p r (roots o i.zone) * f i ≤ _ |
| 48 | simpa only [burn,priced] using hf' |
| 49 | obtain ⟨q,rfl⟩ := (horse o).surjective i |
| 50 | obtain ⟨hh,hx,hp,hq⟩ := H q |
| 51 | unfold carry; simp only [Function.comp_apply, Equiv.symm_apply_apply] |
| 52 | refine ⟨wind o hh, fun hz => roots_mono o X q.zone (hx fun h => hz (by simp only [h]; rfl)),hp,fun i => hq _⟩ |
| 53 | |
| 54 | lemma clean (p : BudgetPoint) (U : Config G n) (S : Finset (Pack n)) : |
| 55 | S∈ clears (flags p.threshold (translate o U)) ↔ |
| 56 | (horse o).finsetCongr S ∈ clears (flags p.threshold U) := by |
| 57 | have he : (horse o).finsetCongr S=S.image (horse o) := by rw [Equiv.finsetCongr_apply,Finset.map_eq_image]; rfl |
| 58 | rw [he]; simp only [clears,mem_filter,mem_univ,true_and] |
| 59 | have hv : (S.image (horse o)).biUnion flagsAt=roots o (S.biUnion flagsAt) := by |
| 60 | rw [Finset.image_biUnion]; unfold roots |
| 61 | rw [Finset.biUnion_image]; rfl |
| 62 | have ht : (S : Set (Pack n)).PairwiseDisjoint zone ↔ |
| 63 | ((S.image (horse o):Finset (Pack n)): Set (Pack n)).PairwiseDisjoint zone := by |
| 64 | constructor |
| 65 | · intro h i hi j hj hn |
| 66 | obtain ⟨i,hp,rfl⟩ := mem_image.mp hi; obtain ⟨j,hq,rfl⟩ := mem_image.mp hj |
| 67 | exact (Finset.disjoint_image (add_left_injective o)).mpr (h hp hq (fun h => hn (h ▸ rfl))) |
| 68 | intro h i hi j hj hn |
| 69 | apply (Finset.disjoint_image (add_left_injective o)).mp; exact h (mem_image_of_mem _ hi) |
| 70 | (mem_image_of_mem _ hj) ((horse o).injective.ne hn) |
| 71 | rw [hv,← ht] |
| 72 | conv_rhs => rw [← flagging o p.threshold U] |
| 73 | exact and_congr_right fun _ => (Finset.image_injective (add_left_injective o)).eq_iff.symm |
| 74 | |
| 75 | lemma incumbent_shifts (U : Config G n) {P : Rep G n} (q : Pack n) {δ κ : ℝ} (hh : P.activities.Valid P.p δ κ) : |
| 76 | incumbent P U (horse o q)=incumbent P (translate o U) q := by |
| 77 | obtain ⟨M⟩ := hh.moves 1 o |
| 78 | have he (i) : Pack.ofAddress P.activities (M.kp i)=horse o (ofAddress P.activities i) := by |
| 79 | apply Subtype.ext; refine Prod.ext ?_ ?_ |
| 80 | · apply (M.forced_support i).trans ?_; apply Finset.image_congr; intro x hx; simp [affine] |
| 81 | apply (M.forced_inventory i).trans ?_ |
| 82 | apply Finset.image_congr; intro x hx; simp [affine] |
| 83 | unfold incumbent Pack.collect; rw [← M.kp.tsum_eq] |
| 84 | refine tsum_congr fun i => ?_ |
| 85 | simp only [he, Equiv.apply_eq_iff_eq,M.valuesK, pull_one] |
| 86 | |
| 87 | lemma sum_shifts {T : Type*} [AddCommMonoid T] (f : Finset (Pack n) → T) |
| 88 | (p : BudgetPoint) (U : Config G n) : |
| 89 | (∑ i∈ clears (flags p.threshold U),f i) = |
| 90 | ∑ i∈ clears (flags p.threshold (translate o U)), f ((horse o).finsetCongr i) := by |
| 91 | symm |
| 92 | refine Finset.sum_bij (fun i _ => (horse o).finsetCongr i) (fun i hi => (clean ..).mp hi) |
| 93 | (fun i hi j hj h => (horse o).finsetCongr.injective h) ?_ fun i _ => rfl |
| 94 | intro i hi; obtain ⟨t,rfl⟩ := (horse o).finsetCongr.surjective i; exact ⟨_,(clean ..).mpr hi,rfl⟩ |
| 95 | |
| 96 | lemma vacuum_shifts (U : Config G n) {P : Rep G n} {δ κ : ℝ} (h : P.activities.Valid P.p δ κ) : |
| 97 | P.activities.gas P.p (translate o U)=P.activities.gas P.p U := by |
| 98 | apply Complex.ofReal_injective; rw [real_book _ _ h, real_book _ _ h]; symm |
| 99 | rw [sum_shifts o]; apply sum_congr rfl; intro i hi |
| 100 | simp [Equiv.finsetCongr_apply,incumbent_shifts o U _ h] |
| 101 | |
| 102 | -- No differentiability inference at the masks needed. |
| 103 | lemma currents (P : Rep G n) {δ κ : ℝ} (hd : P.activities.Valid P.p δ κ) (x : Config G n) |
| 104 | (h : P.eval (translate o x)=P.eval x) (ht : 0 < P.eval x) (D : Pulse G n) : |
| 105 | tangent P (carry o D) x=tangent P D (translate o x) := by |
| 106 | have he i : incumbent P x (horse o i) = _ := incumbent_shifts o x i hd |
| 107 | have hp : Real.exp (P.exponent (translate o x))=Real.exp (P.exponent x) := by |
| 108 | apply mul_right_cancel₀ (show P.activities.gas P.p x ≠ 0 from fun he => by |
| 109 | have hh : 0 < P.eval x := ht |
| 110 | rw [Rep.eval,he,mul_zero] at hh; exact lt_irrefl _ hh) |
| 111 | nth_rw 1 [← vacuum_shifts o x hd]; exact h |
| 112 | unfold tangent; rw [hp,h] |
| 113 | change (↑(P.eval x):ℂ)*D.1 (translate o x) + _ = _ |
| 114 | refine congrArg₂ _ rfl (congrArg₂ _ rfl ?_) |
| 115 | rw [sum_shifts o]; apply sum_congr rfl; intro i _ |
| 116 | change _ = ∑ j∈i, _ |
| 117 | rw [Equiv.finsetCongr_apply, Finset.sum_map]; apply sum_congr rfl; intro j _ |
| 118 | simp_rw [← Finset.map_erase, Finset.prod_map, Equiv.coe_toEmbedding, carry_at, he] |
| 119 | |
| 120 | lemma transported {A : History G} {N p j} (hj : j≤N) (h : A.Selected) (D : Pulse G (A.S.side j p)) |
| 121 | (o : Site (A.S.side j p)) : tangent (A.rep N p j) (carry o D)= tangent (A.rep N p j) D ∘ translate o := by |
| 122 | let P := A.rep N p j |
| 123 | funext x; exact currents o P (h.represents N p j hj).good.labels x |
| 124 | (congr_fun (chosen_shift (N:=N) h hj o) x) (chosen_positive h hj x) D |
| 125 | end YM.Multi.AxisShift |