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.ProjectorNext.PROJECTOR_CALIBRATION.Unpack |
| 2 | |
| 3 | /-! |
| 4 | # Price the actual initial crossed cylinders before submitting to Campaign makers |
| 5 | |
| 6 | Scale costs on ordered link derivatives on *good stencils* as in ff. |
| 7 | Not an imputed bound on already masked insertions / α names. Fixed k,P and |
| 8 | label order, connectors, chosen S, all before periods etc; may need add to |
| 9 | pre-L/p_N receipts in a configuration with supported sizes growing at repeated |
| 10 | stages (not addressing such scheduling here). |
| 11 | -/ |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.ProjectorNext.Calibration.Outlay |
| 15 | open Wilson Lattice RG Labels Work Work.G07 Tensor |
| 16 | open scoped Topology Matrix.Norms.Frobenius BigOperators InnerProductSpace |
| 17 | variable {G : Gauge} {s : Finset Cover} {k p d a : ℕ} |
| 18 | |
| 19 | local notation "leg" j ":" q => Rate k p s j q |
| 20 | section Costs |
| 21 | variable {E K : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup K] [NormedSpace ℝ K] |
| 22 | {f : CoverConfig G → E} {n : ℕ} |
| 23 | |
| 24 | lemma relax (h : Rate k p s n a f) : Rate k p s n 0 f := by |
| 25 | obtain ⟨c,hc,h⟩ := h |
| 26 | refine ⟨c,hc,fun b hb N o => ?_⟩ |
| 27 | have he := h b hb N o |
| 28 | rw [pow_zero] |
| 29 | refine ⟨he.1,he.2,fun l hl hi U hU => ?_⟩ |
| 30 | rw [one_pow,mul_one] |
| 31 | exact (he.3 l hl hi U hU).trans (mul_le_of_le_one_right he.2 |
| 32 | (pow_le_one₀ (pow_nonneg b.threshold_pos.le a) (pow_le_one₀ b.threshold_pos.le b.threshold_le))) |
| 33 | |
| 34 | lemma spare : Rate k p s n a (fun _ : CoverConfig G => (0:E)) := by |
| 35 | refine ⟨0,le_rfl,fun b hb N o => ?_⟩ |
| 36 | simpa using (LeftBound.const (r:=b.threshold^a) (pow_nonneg b.threshold_pos.le _) (0:E) : |
| 37 | LeftBound k (b.dirBound o) (Healthy b.threshold (s.image fun x => wrap N x+o)) (b.threshold^a) ‖(0:E)‖ _ (n:=N) (G:=G)) |
| 38 | |
| 39 | lemma rateSum {I : Type*} (w : Finset I) (Z : I → CoverConfig G → E) (h : ∀ i∈w, Rate k p s n a (Z i)) : |
| 40 | Rate k p s n a (fun U => ∑ i∈w,Z i U) := by |
| 41 | classical |
| 42 | induction w using Finset.induction_on with |
| 43 | | empty => simp; exact spare |
| 44 | | insert i w hi ih => simp only [Finset.sum_insert hi]; exact (h i (by simp)).add (ih fun j hj => h j (by simp_all)) |
| 45 | |
| 46 | lemma ratePi {I : Type*} [Fintype I] [FiniteDimensional ℝ E] (X : I → CoverConfig G → E) (h : ∀ i, Rate k p s n a (X i)) : |
| 47 | Rate k p s n a (fun U i => X i U) := by |
| 48 | classical |
| 49 | let L (i : I) : E →ₗ[ℝ] I → E := LinearMap.single ℝ (fun _ => E) i |
| 50 | rw [show (fun U i => X i U) = fun U => ∑ i,L i (X i U) from funext fun U => funext fun j => by |
| 51 | simp [Finset.sum_apply,L,Finset.sum_pi_single]] |
| 52 | exact rateSum _ _ fun i _ => (h i).postcomp (L i).toContinuousLinearMap |
| 53 | |
| 54 | lemma credit {l : ℕ} [FiniteDimensional ℝ E] (B : Tensor.T E ℂ l) (f : Fin l → CoverConfig G → E) |
| 55 | (n : Fin l → ℕ) (h : ∀ i, Rate k p s (n i) a (f i)) : Rate k p s (∑ i,n i) a (fun U => B fun i => f i U) := by |
| 56 | induction l with |
| 57 | | zero => |
| 58 | have he : (∑ i : Fin 0,n i)=0 := Finset.sum_of_isEmpty _ |
| 59 | rw [he,show (fun U => B fun i => f i U)=fun U : CoverConfig G => Tensor.diagonal B 0 from funext fun U => congr_arg B (Subsingleton.elim ..)] |
| 60 | exact Rate.const _ |
| 61 | | succ l ih => |
| 62 | let b := Module.finBasis ℝ E |
| 63 | let r (i) (U : CoverConfig G) : ℂ := (b.coord i (f 0 U) : ℝ) |
| 64 | let X (i) U := (B.curryLeft (b i)) fun j => f j.succ U |
| 65 | have hv (U) : B (fun i => f i U) = ∑ i, r i U * X i U := by |
| 66 | rw [show (fun i => f i U)=Fin.cons (f 0 U) (fun j => f j.succ U) from (Fin.cons_self_tail _).symm] |
| 67 | change B.curryLeft (f 0 U) _ = _; rw [← b.sum_repr (f 0 U),map_sum,sum_apply] |
| 68 | simp only [map_smul,smul_apply,Complex.real_smul]; rfl |
| 69 | simp_rw [Fin.sum_univ_succ n, funext hv] |
| 70 | refine rateSum _ _ fun i _ => ((h 0).postcomp (Complex.ofRealCLM.comp (b.coord i).toContinuousLinearMap)).mul ?_ |
| 71 | exact ih (B.curryLeft (b i)) (fun j => f j.succ) (fun j => n j.succ) (fun j => h _) |
| 72 | end Costs |
| 73 | |
| 74 | /- Relative (geometry only) holds for each particular finite support that |
| 75 | opens ALL curvature & energy probes' stencils. Export actual fixed S. -/ |
| 76 | variable {H : Source.Hol G} (M : Machine H d) (F : Labels.Frame G d) |
| 77 | |
| 78 | def faces (i : M.Outlet) (v : PlaqAxes) : Fin 3 → RG.Slot := |
| 79 | let x:= (M.address i).1 |
| 80 | ![⟨route 0 x 1,v⟩,⟨route 0 (x-step v.val.2) 1,v⟩,⟨route 0 (x-step v.val.1) 1,v⟩] |
| 81 | |
| 82 | /-- Larger stencil used even for other u terms in certified cylinder, |
| 83 | including paths belonging only to the selected Machine. -/ |
| 84 | def garden := M.curtain ∪ (Finset.univ.biUnion (fun i => (M.loops i).stencil) ∪ |
| 85 | (Finset.univ.biUnion fun (v : PlaqAxes) => Finset.univ.biUnion fun i : M.Outlet => |
| 86 | Finset.univ.biUnion fun j => (faces M i v j).stencil)) |
| 87 | |
| 88 | lemma housed : M.Release (garden M) := |
| 89 | let h : M.curtain ⊆ garden M := Finset.subset_union_left |
| 90 | ⟨h M.served.anchor,fun _ => h (M.served.start _),fun _ => h (M.served.finish _),M.served.takes.enlarge h, |
| 91 | fun _ _ => (M.served.routes ..).enlarge h,fun _ => (M.served.force _).enlarge h⟩ |
| 92 | |
| 93 | lemma estimates (k p : ℕ) : Rate k p (garden M) 1 0 M.estimate := |
| 94 | Rate.postcomp (ratePi (E:=G.Color) (G:=G) (fun i => (M.loops i).eval) fun i => paid_slot _ |
| 95 | (fun _ hx => Finset.mem_union_right _ (Finset.mem_union_left _ (Finset.mem_biUnion.mpr ⟨i,Finset.mem_univ _,hx⟩)))) M.recover.toContinuousLinearMap |
| 96 | |
| 97 | lemma rate_channel (k p : ℕ) (i : M.Outlet) (c : G.Color) : Rate k p (garden M) 0 0 (fun U => M.channel i U c) := by |
| 98 | have ht : Rate k p (garden M) 0 1 (fun U : CoverConfig G => G.mat (travel U _ (base (M.address i)))) := rate_path (0:Cover) _ |
| 99 | have hc := Rate.const (k:=k) (P:=p) (S:=garden M) (a:=1) (G:=G) (G.colorMat c) |
| 100 | exact relax (((ht.mul hc).mul (ht.postcomp (starL' ℝ).toContinuousLinearMap)).postcomp ((M.tap i).toContinuousLinearMap.comp G.projectColor.toContinuousLinearMap)) |
| 101 | |
| 102 | lemma rate_valve (m : F.Index) (k p : ℕ) (i : M.Outlet) (c : G.Color) : |
| 103 | Rate k p (garden M) ((F.grades m).2-1) 0 (M.valve F m i c) := by |
| 104 | let l := (F.grades m).2 |
| 105 | unfold Machine.valve; simp_rw [Cross.mixSum] |
| 106 | refine rateSum _ _ fun j _ => ?_ |
| 107 | let f (v : Fin l) (U) := Cross.cell M.U (M.estimate U) j (M.channel i U c) v |
| 108 | let n (v : Fin l) : ℕ := if v=j then 0 else 1 |
| 109 | rw [show (F.grades m).2 - 1=∑ v,n v by |
| 110 | rw [← Finset.sum_erase_add _ _ (Finset.mem_univ j)] |
| 111 | rw [Finset.sum_congr rfl (g:=fun _ => 1) (fun k hk => if_neg (Finset.ne_of_mem_erase hk))]; simp [n,l]] |
| 112 | refine credit (Machine.shade F m) f n ?_ |
| 113 | intro v; unfold f Cross.cell; by_cases hv : v=j |
| 114 | · subst v; simp [n]; exact rate_channel M k p i c |
| 115 | simp_rw [Function.update_of_ne hv,n,if_neg hv] |
| 116 | unfold Cross.field; split |
| 117 | · exact estimates M k p |
| 118 | exact (estimates M k p).postcomp (LinearMap.toContinuousLinearMap M.U) |
| 119 | end YM.ProjectorNext.Calibration.Outlay |