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.Fields.Star |
| 2 | import YM.Shift.Cut |
| 3 | import YM.Shift.Ridge |
| 4 | |
| 5 | |
| 6 | /-! |
| 7 | # Half -> actual absolute cone; testing Lorentz transport |
| 8 | |
| 9 | 'Half' here dual of ascending time-axis shifts. Encodes all cumulative suffix |
| 10 | in all n relative times; cone derived from JOINT identities without reducing |
| 11 | test arity. Mixed (absolute) common translation-free arguments use partial |
| 12 | closed heights. -/ |
| 13 | set_option autoImplicit false |
| 14 | noncomputable section |
| 15 | namespace YM.Boundary |
| 16 | open Filter Set Distribution Probe MeasureTheory Mink Mink.Poincare |
| 17 | open scoped Topology InnerProductSpace BigOperators Matrix.Norms.Frobenius |
| 18 | variable {n : ℕ} |
| 19 | |
| 20 | def half (n : ℕ) := ⋂ (y : sunrise n), {p : Points n|0 ≤ inner ℝ (dawn y.val) p} |
| 21 | lemma submissive (n) : IsClosed (half n) := isClosed_iInter fun _ => isClosed_le continuous_const (by fun_prop) |
| 22 | |
| 23 | def coneM (n : ℕ) := ⋂ K : Lorentz, (togetherL (Lorentz.dual K) n) ⁻¹' half n |
| 24 | lemma closedM (n) : IsClosed (coneM n) := isClosed_iInter fun _ => (submissive _).preimage (togetherL ..).continuous |
| 25 | @[simp] lemma pit (n : ℕ) : (0 : Points n) ∈ coneM n := by simp [coneM,half] |
| 26 | lemma basis_half {p : Points n} (h : p∈half n) (y : Heights n) (hp : y∈sunrise n) : |
| 27 | 0 ≤ ∑ i,y i * YM.time (p i) := by |
| 28 | have he : 0≤ inner ℝ (dawn y) p := mem_iInter.mp h ⟨_,hp⟩ |
| 29 | rw [PiLp.inner_apply] at he; simpa [dawn,pairing, place, add_comm] using he |
| 30 | |
| 31 | lemma present {p : Points n} (h : p∈coneM n) (K : Lorentz) : togetherL (Lorentz.dual K) n p∈half n := |
| 32 | mem_iInter.mp h K |
| 33 | |
| 34 | /-- all incl total (j=0), including empty j. -/ |
| 35 | def suffixP (p : Points n) (j : ℕ) := ∑ k : Fin n, if j ≤ k.val then p k else 0 |
| 36 | @[simp] lemma after_n {p : Points n} : suffixP p n=0 := by simp [suffixP,fun i : Fin n => not_le.mpr i.isLt] |
| 37 | lemma selectedP (b : Lorentz) (p : Points n) (j) : suffixP (togetherL b _ p) j=b.act (suffixP p j) := by |
| 38 | unfold suffixP; rw [map_sum]; exact Finset.sum_congr rfl fun i _ => by split <;> simp_all |
| 39 | lemma see_half {p : Points n} (h : p∈half n) (j : ℕ) : 0≤YM.time (suffixP p j) := by |
| 40 | let v (i : Fin n) := if j ≤ i.val then (1:ℝ) else 0 |
| 41 | have hv : v∈sunrise n := by |
| 42 | intro i k hik; change v i ≤ v k; simp only [v]; split_ifs with a b b |
| 43 | · rfl |
| 44 | · exact False.elim (b <| a.trans hik) |
| 45 | · norm_num |
| 46 | rfl |
| 47 | have he := basis_half h v hv |
| 48 | change 0≤clockL (suffixP _ _) |
| 49 | unfold suffixP; rw [map_sum] |
| 50 | refine he.trans_eq (Finset.sum_congr rfl fun i _ => by unfold v; split_ifs <;> simp) |
| 51 | |
| 52 | lemma sees {p : Points n} (h : p∈coneM n) (j) : suffixP p j∈cone := (Lorentz.from_half _).2 |
| 53 | fun K => by rw [← selectedP]; exact see_half (present h K) j |
| 54 | lemma conc_zero {p : Points n} (h : p∈half n) : YM.time (suffixP p 0)=0 := by |
| 55 | refine le_antisymm ?_ (see_half h 0) |
| 56 | have he := basis_half h (fun _ => (-1)) (show (fun _ : Fin n => (-1:ℝ))∈sunrise n from monotone_const) |
| 57 | simp only [neg_mul,one_mul, Finset.sum_neg_distrib,Right.nonneg_neg_iff] at he |
| 58 | change clockL _≤0; unfold suffixP; simpa [map_sum] using he |
| 59 | lemma low {p : Points n} (h : p∈coneM n) : YM.time (suffixP p 0)=0 := by |
| 60 | have he : Lorentz.dual 1=1 := Lorentz.ext _ _ fun x => by |
| 61 | change General.walk Lorentz.reverseL (General.walk Lorentz.reverseL x)=x;simp |
| 62 | have hv := present h 1; rw [he] at hv |
| 63 | simpa [selectedP] using conc_zero hv |
| 64 | lemma total {p : Points n} (h : p∈coneM n) : suffixP p 0=0 := by |
| 65 | apply Mink.ext_by |
| 66 | · apply norm_eq_zero.mp _ |>.trans (map_zero Mink.restL).symm |
| 67 | refine le_antisymm ?_ (norm_nonneg _); exact le_trans (sees h 0) (low h).le |
| 68 | rw [low h,Mink.clock_zero] |
| 69 | |
| 70 | def shores (n : ℕ) := ⋂ (i : Fin n) (j : Fin n) (_ : i.val+1=j.val), {y : Points n| y j-y i∈cone} |
| 71 | def fields (n : ℕ) := ⋂ (i : Fin n) (j : Fin n) (_ : i.val+1=j.val), {y : Points n| y j-y i∈inside} |
| 72 | lemma smooth_fields (n) : IsOpen (fields n) := isOpen_iInter_of_finite fun _ => isOpen_iInter_of_finite fun _ => isOpen_iInter_of_finite fun _ => open_inside.preimage (by fun_prop) |
| 73 | |
| 74 | lemma etched {y : Heights n} (h : y∈east n) : dawn y∈fields n := by |
| 75 | simp only [fields,mem_iInter]; intro i j H |
| 76 | change ‖spatial _‖<YM.time _; rw [sub_eq_add_neg,rest_add,clock_add,rest_neg,clock_neg]; simp only [dawn,place,points,WithLp.ofLp_toLp,spatial_position, |
| 77 | time_position,Pi.zero_apply, neg_zero,add_zero,norm_zero]; have ht := h (show i<j by omega); linarith |
| 78 | |
| 79 | section |
| 80 | variable {G : Gauge} {L : Register G} {S : Table L} |
| 81 | |
| 82 | /-- needed in all scopes (bar commutativity later). -/ |
| 83 | structure Urs (W : Surface S) (K : Spins S) : Prop where |
| 84 | translation (n : ℕ) (v : Fin n → S.Union) (x : Joint n) (a : E4) : W.W n v (Joint.gpush n (Poincare.translation a) x)=W.W n v x |
| 85 | rotation (n : ℕ) (v : Fin n → S.Union) (x : Joint n) (r : Lorentz) : W.W n (fun i => K.rail r (v i)) (along (togetherL r _).symm x) = W.W n v x |
| 86 | |
| 87 | lemma parr (r : Lorentz) (p x : Points n) : inner ℝ (togetherL r _ p) (togetherL (Lorentz.dual r) _ x)=inner ℝ p x := by |
| 88 | simp_rw [PiLp.inner_apply]; apply Finset.sum_congr rfl; intro i _; exact Lorentz.dual_sent _ _ _ |
| 89 | lemma acrossV (r : Lorentz) (n) : MeasurePreserving (togetherL r n) volume volume := by |
| 90 | have he := together (motion r) n |
| 91 | rw [show ⇑(togetherL r n)= (motion r).zusammen n from funext fun x => PiLp.ext fun i => by simp [zusammen]] |
| 92 | exact he |
| 93 | |
| 94 | lemma turns (r : Lorentz) (x : Joint n) : hat (along (togetherL (Lorentz.dual r) _).symm x)= |
| 95 | along (togetherL r _).symm (hat x) := by |
| 96 | ext1 y |
| 97 | rw [along_at,hat_eq,hat_eq] |
| 98 | have hp := acrossV (Lorentz.dual r) n |
| 99 | let A := togetherL (Lorentz.dual r) n |
| 100 | rw [← hp.integral_comp (A.toHomeomorph.toMeasurableEquiv.measurableEmbedding)] |
| 101 | simp_rw [Probe.along_at, ContinuousLinearEquiv.symm_apply_apply] |
| 102 | congr! 2 |
| 103 | unfold plane; congr! 3; |
| 104 | rename_i u; rw [← real_inner_comm (togetherL (Lorentz.dual r) n u), ← real_inner_comm u, ← parr r (-(togetherL r n).symm y)]; simp |
| 105 | |
| 106 | lemma tents (W : Surface S) (K : Spins S) (h : Urs W K) (hv : ∀ (v : Fin n → S.Union), dsupport (Distn.fourier (W.W n v)) ⊆ half n) (p : Fin n → S.Union) : |
| 107 | dsupport (Distn.fourier (W.W n p)) ⊆ coneM n := by |
| 108 | rw [coneM]; apply subset_iInter; intro i |
| 109 | let A := togetherL (Lorentz.dual i) n |
| 110 | apply (Distn.due (Distn.fourier (W.W n p)) (A⁻¹' half n) ((submissive n).preimage A.continuous)).2 |
| 111 | intro t ht |
| 112 | let z := along A.symm t |
| 113 | let q := fun j => K.rail i (p j) |
| 114 | have hZ : tsupport z ⊆ (half n)ᶜ := by |
| 115 | have he : tsupport z ⊆ A.symm ⁻¹' tsupport t := by |
| 116 | refine closure_minimal ?_ ((isClosed_tsupport t).preimage A.symm.continuous) |
| 117 | intro x hx; exact subset_tsupport _ hx |
| 118 | intro x hx hI; apply ht (he hx) |
| 119 | rw [Set.mem_preimage]; rwa [ContinuousLinearEquiv.apply_symm_apply] |
| 120 | have hp := (Distn.due (Distn.fourier (W.W n q)) (half n) (submissive n)).mp (hv q) z hZ |
| 121 | change W.W n _ (hat _)=_; rw [← h.rotation n p _ i, ← turns]; exact hp |
| 122 | end |
| 123 | end YM.Boundary |