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.AnalyticNext.CUBIC_MATCH.Region.Expressions |
| 2 | import YM.AnalyticNext.CUBIC_MATCH.Terms.Products |
| 3 | import YM.Next.BOUNDARY.Coordinates |
| 4 | import YM.Next.EXTRACTION.Tails |
| 5 | import YM.Next.FREE_KERNELS.Lifts |
| 6 | import YM.Next.SCHEDULE.Blocks |
| 7 | import YM.Next.SCHEDULE.Post |
| 8 | |
| 9 | |
| 10 | set_option warningAsError false |
| 11 | |
| 12 | /-! |
| 13 | # Compose representations on rays |
| 14 | |
| 15 | Only first and second terms needed to read the cost of norm-square price. |
| 16 | Use actual group matrix auxiliaries, calibrate with `colorScale`. Formal |
| 17 | kernel maps not commitments about the clipped functions/circles of analyticity. |
| 18 | Pay coefficient expressions pointwise (no arbitrary rates for substituted |
| 19 | larger period maps). |
| 20 | -/ |
| 21 | set_option autoImplicit false |
| 22 | noncomputable section |
| 23 | namespace YM.CubicMatch |
| 24 | open Function Filter Lattice RG Wilson Precision Exterior Tree Tensor Bid |
| 25 | open scoped Topology ContDiff Matrix.Norms.Frobenius BigOperators InnerProductSpace |
| 26 | attribute [local instance] Gauge.frobInner |
| 27 | |
| 28 | variable {G : Gauge} {k : ℕ} {ι μ : Type*} {c : μ → Side} |
| 29 | {θ C B D H : ℝ} |
| 30 | |
| 31 | /-- Pointwise path, with no assertions at finite radius. -/ |
| 32 | abbrev GermRead (G : Gauge) (c : μ → Side) (E : Type*) := SiteRead G c (ℝ → E) |
| 33 | section norm |
| 34 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 35 | |
| 36 | def makesTerm (f : GermRead G c E) (k : ℕ) : SiteRead G c E := fun p x a => term k (f p x a) |
| 37 | |
| 38 | lemma positive_nil {g : E} (h : 0<k) : term k (fun _ : ℝ => g)=0 := by |
| 39 | unfold term iteratedDeriv; rw [iteratedFDeriv_const_of_ne h.ne']; simp |
| 40 | |
| 41 | variable {F : Type*} [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 42 | |
| 43 | /-- Bilinear map for the second coefficient (without factor 2). -/ |
| 44 | def sec (f : E → F) (e : E) : E →L[ℝ] E →L[ℝ] F := ((2:ℕ).factorial:ℝ)⁻¹ • fderiv ℝ (fderiv ℝ f) e |
| 45 | |
| 46 | lemma second_line (f : E → F) (e x : E) : diagonal (coeff f 2 e) x=sec f e x x := by |
| 47 | unfold sec diagonal coeff; simp only [smul_apply, iteratedFDeriv_two_apply] |
| 48 | |
| 49 | |
| 50 | |
| 51 | end norm |
| 52 | |
| 53 | namespace LocalRep |
| 54 | |
| 55 | lemma coin {f : SiteRead G c G.Color} (h : LocalRep c k θ C f) : |
| 56 | LocalRep c k θ (G.colorScale*C) (fun p x a => G.colorMat (f p x a)) := |
| 57 | h.linear_bound G.colorMat.toContinuousLinearMap G.colorScale_pos.le fun x => (G.colorMat_norm x).le |
| 58 | lemma tint {f : SiteRead G c G.Mat} (h : LocalRep c k θ C f) : |
| 59 | LocalRep c k θ (G.colorScale⁻¹*C) (fun p x a => G.projectColor (f p x a)) := |
| 60 | h.linear_bound G.projectColor.toContinuousLinearMap (inv_nonneg.mpr G.colorScale_pos.le) fun x => |
| 61 | (G.project_norm x).trans_eq (div_eq_inv_mul ..) |
| 62 | |
| 63 | |
| 64 | /-- Frobenius. -/ |
| 65 | def mirror (G : Gauge) : G.Mat →L[ℝ] G.Mat := (show G.Mat ≃L[ℝ] G.Mat from starL ℝ).toContinuousLinearMap |
| 66 | lemma mirror_price {f : SiteRead G c G.Mat} (h : LocalRep c k θ C f) : LocalRep c k θ C (fun p x a => star (f p x a)) := by |
| 67 | have hh (x : G.Mat) : ‖mirror G x‖ ≤ 1*‖x‖ := by rw [one_mul,show mirror G x=star x from rfl,norm_star] |
| 68 | have he := h.linear_bound (mirror G) zero_le_one hh; rw [one_mul] at he; exact he |
| 69 | end LocalRep |
| 70 | |
| 71 | lemma smoothed_star {f : ℝ → G.Mat} (h : ContDiffAt ℝ ω f 0) : ContDiffAt ℝ ω (fun t => star (f t)) 0 := |
| 72 | (LocalRep.mirror G).contDiff.contDiffAt.comp _ h |
| 73 | lemma term_star {f : ℝ → G.Mat} (h : ContDiffAt ℝ ω f 0) : term k (fun t => star (f t))=star (term k f) := |
| 74 | term_linear (LocalRep.mirror G) (h.of_le le_top) |
| 75 | lemma expRead {f : SiteRead G c G.Color} (h : LocalRep c 1 θ C f) : |
| 76 | let F (p) (x : Site (c p)) (a : Dir G (c p)) (t : ℝ) := G.mat (G.lieExp (t • f p x a)) |
| 77 | LocalRep c 1 θ (G.colorScale*C) (makesTerm F 1) ∧ |
| 78 | LocalRep c 2 θ (‖sec (fun u => G.mat (G.lieExp u)) 0‖*C*C) (makesTerm F 2) := by |
| 79 | intro F |
| 80 | let L := fun u => G.mat (G.lieExp u) |
| 81 | constructor |
| 82 | · refine h.coin.fits fun p x a => ?_ |
| 83 | let z := f p x a |
| 84 | have he : HasFDerivAt L (G.colorMat.toContinuousLinearMap) ((0:ℝ)•z) := by rw [zero_smul]; exact G.expDiff_zero |
| 85 | have ht : HasDerivAt (fun t : ℝ => t • z) z 0 := by simpa using! (hasDerivAt_id' (0 : ℝ)).smul_const z |
| 86 | unfold makesTerm; rw [term_one]; exact (he.comp_hasDerivAt 0 ht).deriv.symm |
| 87 | refine (h.bilinear h (sec L 0)).fits fun p x a => ?_ |
| 88 | have ht := term_ray (f:=L) (k:=2) (G.exp_jet.contDiffAt.of_le le_top) (f p x a); rw [second_line] at ht; exact ht.symm |
| 89 | |
| 90 | lemma term_mul_one {R : Type*} [NormedRing R] [NormedAlgebra ℝ R] {f g : ℝ → R} |
| 91 | (h : ContDiffAt ℝ ω f 0) (hp : ContDiffAt ℝ ω g 0) (hx : f 0=1) (hy : g 0=1) : |
| 92 | term 1 (fun t => f t*g t)=term 1 f+term 1 g ∧ term 2 (fun t => f t*g t)=term 2 f + term 1 f*term 1 g + term 2 g := by |
| 93 | rw [term_mul 1 h hp,term_mul_two h hp] |
| 94 | simp only [Finset.sum_range_succ,Finset.range_zero, Finset.sum_empty,zero_add,term_zero,tsub_zero,hx,hy, |
| 95 | one_mul, Nat.sub_self,term_one,mul_one]; constructor <;> abel |
| 96 | |
| 97 | section package |
| 98 | variable {R : Type*} [NormedRing R] [NormedAlgebra ℝ R] [CompleteSpace R] |
| 99 | |
| 100 | /-- Two terms of a matrix path whose zeroth term is 1. Useful in frame germs. -/ |
| 101 | structure RayReceipt (c : μ → Side) (η C D : ℝ) (f : GermRead G c R) : Prop where |
| 102 | smooth (p : μ) (x a) : ContDiffAt ℝ ω (f p x a) 0 |
| 103 | initial (p : μ) (x a) : f p x a 0=1 |
| 104 | first : LocalRep c 1 η C (makesTerm f 1) |
| 105 | second : LocalRep c 2 η D (makesTerm f 2) |
| 106 | |
| 107 | variable {f g : GermRead G c R} |
| 108 | omit [CompleteSpace R] in |
| 109 | lemma RayReceipt.raisePrice (h : RayReceipt c θ C D f) (hb : C≤B) (he : D≤H) : RayReceipt c θ B H f := |
| 110 | ⟨h.smooth,h.initial,h.first.raisePrice hb,h.second.raisePrice he⟩ |
| 111 | omit [CompleteSpace R] in |
| 112 | lemma RayReceipt.fits (h : RayReceipt c θ C D f) (he : ∀ p x a, ContDiffAt ℝ ω (g p x a) 0) |
| 113 | (hp : ∀ p x a, f p x a=ᶠ[𝓝 0] g p x a) : RayReceipt c θ C D g := |
| 114 | ⟨he,fun p x a => (hp p x a).symm.eq_of_nhds.trans (h.initial ..),h.first.fits (fun p x a => term_congr (hp p x a)), |
| 115 | h.second.fits (fun p x a => term_congr (hp p x a))⟩ |
| 116 | lemma RayReceipt.mul (h : RayReceipt c θ C D f) (g' : RayReceipt c θ B H g) : RayReceipt c θ (C+B) (D+C*B+H) |
| 117 | (fun p x a t => f p x a t*g p x a t) := by |
| 118 | have he p x a := term_mul_one (h.smooth p x a) (g'.smooth p x a) (h.initial p x a) (g'.initial p x a) |
| 119 | exact ⟨fun p x a => (h.smooth ..).mul (g'.smooth ..),fun p x a => by rw [h.initial,g'.initial,mul_one], |
| 120 | (h.first.plus g'.first).fits (fun p x a => (he p x a).1.symm), |
| 121 | ((h.second.plus (h.first.ring_mul g'.first)).plus g'.second).fits (fun p x a => (he p x a).2.symm)⟩ |
| 122 | lemma RayReceipt.back {U : GermRead G c G.Mat} (h : RayReceipt c θ C D U) : RayReceipt c θ C D |
| 123 | (fun p x a t => star (U p x a t)) := by |
| 124 | exact ⟨fun p x a => smoothed_star (h.smooth ..),fun p x a => by rw [h.initial,star_one], |
| 125 | h.first.mirror_price.fits (fun p x a => (term_star (h.smooth ..)).symm), h.second.mirror_price.fits (fun p x a => (term_star (h.smooth ..)).symm)⟩ |
| 126 | |
| 127 | lemma receiptExp {f : SiteRead G c G.Color} (h : LocalRep c 1 θ C f) : RayReceipt c θ (G.colorScale*C) |
| 128 | (‖sec (fun u => G.mat (G.lieExp u)) 0‖*C*C) (fun p x a t => G.mat (G.lieExp (t • f p x a))) := |
| 129 | ⟨fun p x a => G.exp_jet.contDiffAt.comp (f:=fun t : ℝ => t • f p x a) 0 (by fun_prop), |
| 130 | fun p x a => by rw [zero_smul,G.mat_lieExp_zero,G.mat_one], (expRead h).1,(expRead h).2⟩ |
| 131 | end package |
| 132 | |
| 133 | section pricing |
| 134 | variable {X : Type*} [NormedAddCommGroup X] [InnerProductSpace ℝ X] |
| 135 | |
| 136 | |
| 137 | |
| 138 | |
| 139 | |
| 140 | |
| 141 | |
| 142 | |
| 143 | end pricing |
| 144 | end YM.CubicMatch |