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.Contacts.Transport.Geometry |
| 2 | import YM.Contacts.Score.Wings |
| 3 | /-! # Naturality of the Jacobi evolution |
| 4 | |
| 5 | A congruence between scores that can be queried when restricting the test to a fiber of a bigger |
| 6 | ambient. Covers also transforming the real basis and a permutation/padded embedding of the cluster |
| 7 | points. Orthogonal dichotomy on normalization of the measure addressed separately. |
| 8 | -/ |
| 9 | set_option autoImplicit false |
| 10 | set_option maxHeartbeats 600000 |
| 11 | noncomputable section |
| 12 | namespace YM.Contacts.Transport |
| 13 | open Function Set Normal Submodule Ordered MultipleContact Panel |
| 14 | open scoped Topology Classical BigOperators ContDiff TensorProduct InnerProductSpace |
| 15 | variable {E F : Type}[NormedAddCommGroup E][InnerProductSpace ℝ E][FiniteDimensional ℝ E] |
| 16 | [NormedAddCommGroup F][InnerProductSpace ℝ F][FiniteDimensional ℝ F] |
| 17 | variable {k n : ℕ}{U:E→ₗᵢ[ℝ] F}{P : E→ₗᵢ[ℝ] Points k}{T : F→ₗᵢ[ℝ] Points n} |
| 18 | {f g : Normal.Group k}{t:Fin k↪ Fin n}{o:Points k}{o' : Points n}{c:F}{s : Ortho}{w : E4} |
| 19 | variable {b : Bool} |
| 20 | |
| 21 | /-- whether or not to conjugate while transporting. -/ |
| 22 | def realChange (b : Bool) : ℂ →L[ℝ] ℂ:= if b then Complex.conjCLE.toContinuousLinearMap else ContinuousLinearMap.id _ _ |
| 23 | lemma apply_change (b : Bool)(x : ℂ) : realChange b x=if b then star x else x:= by cases b <;> rfl |
| 24 | lemma change_one (b:Bool) : realChange b 1=1:=by rw [apply_change]; simp |
| 25 | lemma change_mul (b:Bool) (x y : ℂ) : realChange b (x*y)= realChange b x*realChange b y:= by simp_rw [apply_change]; cases b; rfl; simp [star_mul,mul_comm] |
| 26 | lemma again (b:Bool)(x:ℂ) : realChange b (realChange b x)=x:= by simp_rw [apply_change]; cases b; rfl; simp |
| 27 | lemma reChange (b:Bool)(x:ℝ) : realChange b x=x:= by |
| 28 | rw [apply_change]; split; · simp |
| 29 | rfl |
| 30 | |
| 31 | def follows (b : Bool) (L : E→ F)(p : SmoothTests E)(q : SmoothTests F) := ∀ i, q.val (L i)= realChange b (p.val i) |
| 32 | -- pullback the parameter to display such f too |
| 33 | def sampling (U : E→ₗᵢ[ℝ] F)(c:F)(b:Bool)(q:SmoothTests F): SmoothTests E:= ⟨fun x=> realChange b (q.val (U x+c)),(realChange b).contDiff.comp ((infSmooth q).comp (U.toContinuousLinearMap.contDiff.add contDiff_const))⟩ |
| 34 | omit [FiniteDimensional ℝ E] [FiniteDimensional ℝ F] in |
| 35 | lemma siblings (q:SmoothTests F) : follows b (fun x=> U x+c) (sampling U c b q) q:= fun _=> (again ..).symm |
| 36 | |
| 37 | variable {A B I I' : Type} [CommRing A] [Algebra ℂ A][CommRing B][Algebra ℂ B]{σ : A →+* B} |
| 38 | def Alike (b : Bool)(L:E→F)(p : Optical E)(q : Optical F) := ∀ x y,follows b L x y → follows b L (p x) (q y) |
| 39 | omit [FiniteDimensional ℝ E] [FiniteDimensional ℝ F] in |
| 40 | lemma Alike.times {L:E→F}{p p':Optical E}{q q':Optical F}(h : Alike b L p q)(hp:Alike b L p' q') : Alike b L (p*p') (q*q'):= fun x y e=> h _ _ (hp x y e) |
| 41 | variable (R : Ribbon t P T U c o o' s w g) |
| 42 | include R |
| 43 | local notation "L" => fun (x:E)=> U x+c |
| 44 | local notation "V" => normalOn T (current t g) |
| 45 | local notation "K!" => normalOn P g |
| 46 | lemma alike_piece (n : ℕ)(hg : g.Nonempty)(b : Bool) : Alike b L (piece K! n) (piece V n) := by |
| 47 | intro x y h i; let p:= scaledField K! x; let q:= scaledField V y; let f(t:ℝ):=p (i,t); let X:= (L) i; let g(t:ℝ):=q (X,t); |
| 48 | have hi (a:ℝ) : g a=realChange b (f a):= by unfold g f p q scaledField; rw [← R.retreat i a hg]; exact h _ |
| 49 | have ht: ContDiff ℝ ∞ f:= (onScale ..).comp (contDiff_const.prodMk contDiff_id) |
| 50 | have hu:=(atoms_equal K! x n 1 i).symm; have hm:=(atoms_equal V y n 1 X).symm; rw [slide_one, Normal.vat] at hu hm; -- fill contdiff |
| 51 | · rw [hu, hm]; change coeff n g 1= realChange b (coeff n f 1); unfold coeff; rw [show g=(realChange b) ∘ f from funext hi,map_smul,(realChange b).iteratedFDeriv_comp_left ht.contDiffAt (le_inf_order n)]; rfl |
| 52 | exacts [onScale ..,onScale ..] |
| 53 | lemma taylor_both (u : ℝ)(n : ℕ) (hg:g.Nonempty)(b:Bool) : Alike b L (taylor K! u n) (taylor V u n):= by |
| 54 | intro p q hp i; change (taylor V u n q).val ((L) i)=_; rw [taylor_formula,taylor_formula,map_smul]; have hx: cutoff u ((look K!).read i)=cutoff u ((look V).read ((L) i)):= by |
| 55 | unfold cutoff; have he:‖(look V).read ((L) i)‖=‖(look K!).read i‖:= by change ‖(V).starProjection (U i+c)‖=‖(K!).starProjection i‖; rw [R.shaded i hg,U.norm_map]; -- end hep |
| 56 | rw [he] |
| 57 | unfold Lens.atoms; rw [hx,map_sum]; exact congrArg ((cutoff u ((look V).read ((L) i))) • ·) (Finset.sum_congr rfl fun j _=> alike_piece R j hg b p q hp i) -- fill |
| 58 | omit R |
| 59 | |
| 60 | -- equivalently relative `Mark` on both bits. Supports turn operations before forming integrals. Not weakening relation to equality of tests. |
| 61 | inductive Recall (b:Bool) (mapL:E→ F) (σ : A→+* B) : Score E A → Score F B → Prop |
| 62 | | atom {p : E→ A}{q : F→B}{v:Optical E}{w:Optical F} (hp : ∀ i,q (mapL i)=σ (p i))(hs : Alike b mapL v w): Recall b mapL σ (p ⊗ₜ[ℂ] v) (q ⊗ₜ[ℂ] w) |
| 63 | | plus {p q u v} : Recall b mapL σ p u → Recall b mapL σ q v → Recall b mapL σ (p+q) (u+v) |
| 64 | | zero : Recall b mapL σ 0 0 |
| 65 | |
| 66 | def Conforms (b:Bool)(σ : A→+* B) : Prop:= ∀ c : ℂ,∀ x, σ (c • x)= (realChange b c) • σ x |
| 67 | namespace Recall |
| 68 | variable {α : E→F}{X : Score E A}{Y : Score F B} |
| 69 | omit [FiniteDimensional ℝ E] [FiniteDimensional ℝ F] |
| 70 | lemma unitRecall : Recall b α σ 1 1:= Recall.atom (v:=1) (w:=1) (p:=1) (q:=1) (fun _=> (map_one _).symm) (fun _ _ h=> h) |
| 71 | lemma illumination (p: Optical E)(q:Optical F)(h : Alike b α p q) : Recall b α σ (instructionScore E A p) (instructionScore F B q):= Recall.atom (fun _=> (map_one _).symm) h |
| 72 | lemma multiply {x y}(h : Recall b α σ X Y)(k : Recall b α σ x y): Recall b α σ (X*x) (Y*y):= by |
| 73 | induction h with |
| 74 | | zero => simp only [zero_mul]; exact .zero |
| 75 | | plus _ _ hx hy=> rw [add_mul,add_mul]; exact .plus hx hy |
| 76 | | @atom p q v w hp hv=> |
| 77 | induction k with |
| 78 | | zero=> simp only [mul_zero]; exact .zero |
| 79 | | plus _ _ hx hy=> rw [mul_add,mul_add]; exact .plus hx hy |
| 80 | | @atom u l v' w' hu hk=> rw [Algebra.TensorProduct.tmul_mul_tmul, Algebra.TensorProduct.tmul_mul_tmul]; exact .atom (fun x=> by simp only [Pi.mul_apply,hu,hp,map_mul]) (hv.times hk) |
| 81 | lemma negation (h : Recall b α σ X Y) : Recall b α σ (-X) (-Y):= by |
| 82 | induction h with |
| 83 | | zero=> rw [neg_zero,neg_zero]; exact .zero |
| 84 | | plus _ _ hx hy=> rw [neg_add,neg_add]; exact .plus hx hy |
| 85 | | atom hp h=> rw [← TensorProduct.neg_tmul,← TensorProduct.neg_tmul]; exact .atom (fun x=> by simp only [Pi.neg_apply,hp,map_neg]) h |
| 86 | lemma sum {X : I → Score E A}{Y : I→ Score F B} (c:Finset I) (h : ∀ i∈c,Recall b α σ (X i) (Y i)): Recall b α σ (∑ i∈ c,X i) (∑ i∈ c,Y i):= by |
| 87 | induction c using Finset.induction with |
| 88 | | empty=> rw [Finset.sum_empty,Finset.sum_empty]; exact .zero |
| 89 | | insert i c hi ih=> rw [Finset.sum_insert hi,Finset.sum_insert hi]; exact .plus (h i (by simp)) (ih (fun j hj=> h _ (Finset.mem_insert_of_mem hj))) |
| 90 | lemma synopsis {X : I→ Score E A}{Y : I' → Score F B} (t:I↪ I')(c:Finset I)(h : ∀ i∈c,Recall b α σ (X i) (Y (t i))) (hh : (c:Set I).Pairwise (fun i j=> Commute (X i) (X j))) (hm : (↑(c.map t):Set I').Pairwise (fun i j=> Commute (Y i) (Y j))): Recall b α σ (product c X) (product (c.map t) Y):=by |
| 91 | induction c using Finset.induction with |
| 92 | | empty=> simp only [product_empty,Finset.map_empty]; exact unitRecall |
| 93 | | insert i c hi ih=> |
| 94 | rw [Finset.map_insert] at hm; have ht:= Finset.coe_subset.mpr (Finset.subset_insert i c); have he: t i∉ c.map t:= by simp [hi]; |
| 95 | rw [Finset.map_insert,product_insert X hi hh,product_insert Y he hm]; exact (h i (by simp)).multiply (ih (fun j hj=>h _ (Finset.mem_insert_of_mem hj)) (hh.mono ht) (hm.mono (Finset.coe_subset.mpr (Finset.subset_insert ..)))) |
| 96 | lemma column {ψ:E→ A→ₗ[ℂ] A}{σ':F→ B→ₗ[ℂ] B} (h:Recall b α σ X Y)(hp: ∀ i t, σ (ψ i t)= σ' (α i) (σ t)): Recall b α σ (reshape ψ X) (reshape σ' Y) := by |
| 97 | induction h with |
| 98 | | zero=> rw [map_zero,map_zero]; exact .zero |
| 99 | | plus _ _ hx hy=> rw [map_add,map_add]; exact .plus hx hy |
| 100 | | atom ht hv=> rw [reshape_tape,reshape_tape]; exact .atom (fun i=>by rw [evaluates,evaluates,ht,hp]) hv |
| 101 | lemma fin (h: Recall b α σ X Y) (hσ:Conforms b σ) {p:SmoothTests E}{q:SmoothTests F}(hp:follows b α p q)(i:E): σ (action i p X)=action (α i) q Y:= by |
| 102 | induction h with |
| 103 | | zero=> simp |
| 104 | | atom ht hv=> rw [action_tmul,action_tmul,hσ,ht, hv _ _ hp] |
| 105 | | plus _ _ hx hy=> simp only [map_add,hx,hy] |
| 106 | end Recall |
| 107 | end YM.Contacts.Transport |