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.Pert.Rigid.Spin |
| 2 | /-! |
| 3 | Test all one-point functions and two-point functions along a single coordinate separation to fix remaining four-horizon basis variation. No contact equations imposed. |
| 4 | -/ |
| 5 | set_option autoImplicit false |
| 6 | set_option maxHeartbeats 850000 |
| 7 | set_option linter.unusedSectionVars false |
| 8 | noncomputable section |
| 9 | namespace YM.Pert.Rigid |
| 10 | open Function Filter Maxwell Position UVNext.FreeStress Labels Work.A01 Next.UVStress |
| 11 | open scoped Topology BigOperators |
| 12 | variable {G : Gauge} (F : Frames G) |
| 13 | local notation "S" => E F 4 |
| 14 | /-- common order of primary and companion fields at separation along axis zero. -/ |
| 15 | def batch (v w : S) : Fin 2→S := Fin.cons v (fun _ : Fin 1 => w) |
| 16 | def joint (v w : S) : ℂ:= visible F 4 (camera 0) (batch F v w) |
| 17 | def second (v : S) : S→ₗ[ℂ] ℂ := (visible F 4 (camera 0)).toLinearMap (batch F v 0) 1 |
| 18 | @[simp] theorem batch_zero (v w : S) : batch F v w 0=v := rfl |
| 19 | @[simp] theorem batch_end (v w : S) : batch F v w 1=w := rfl |
| 20 | lemma second_eq (v w : S) : second F v w = joint F v w := by |
| 21 | unfold second joint; simpa only [MultilinearMap.toLinearMap_apply] using (congrArg (visible F 4 (camera 0)) (show Function.update (batch F v 0) 1 w = batch F v w from funext fun i=> by fin_cases i <;> simp only [Function.update_self,batch_end,batch_zero] <;> first | rfl | exact Function.update_noteq (by decide) _ _)) |
| 22 | lemma negative_eq (c : Face) (v : S) : joint F v (star F (some c))= negative F 0 c.val.1 c.val.2 v := by |
| 23 | rw [negative,listens] |
| 24 | change (freeTable F).useAt (freeTable F) (camera 0) (fun j => (⟨4,(batch F v _ j)⟩ : (freeTable F).Tag)) = _ |
| 25 | congr 1 |
| 26 | funext i |
| 27 | fin_cases i <;> exact rfl |
| 28 | |
| 29 | def gaugeWeight (c : Face) : ℂ := ((G.lieDim:ℂ) * (coat 0 c.val.1 : ℂ) * (coat 0 c.val.2 : ℂ)) |
| 30 | lemma big_weight (h : G.Simple) (c : Face) : gaugeWeight (G:=G) c ≠ 0 := by |
| 31 | have hl : 0<G.lieDim := by |
| 32 | rw [Gauge.lieDim,← G.colorIso.finrank_eq] |
| 33 | haveI := h.nontrivial_color |
| 34 | exact Module.finrank_pos |
| 35 | have h1 : ∀ p : Plane, (coat 0 p : ℂ)≠0 := fun p=>by exact_mod_cast coat_ne 0 p |
| 36 | unfold gaugeWeight; exact mul_ne_zero (mul_ne_zero (by exact_mod_cast hl.ne') (h1 _)) (h1 _) |
| 37 | def rate (c : Face) := (modulator c *(gaugeWeight (G:=G) c)⁻¹)⁻¹ |
| 38 | lemma modulator_ne (c) : modulator c ≠ 0 := by unfold modulator; split <;> norm_num |
| 39 | lemma rate_ne (h : G.Simple) (c : Face) : rate (G:=G) c ≠ 0 := by unfold rate; exact inv_ne_zero (mul_ne_zero (modulator_ne _) (inv_ne_zero (big_weight h _))) |
| 40 | lemma mask_scale (c : Face) : gaugeWeight (G:=G) c = (↑G.lieDim:ℂ) * (4*(normal:ℝ))^2 * flavor 0 (tape c) := by |
| 41 | have hw (p : Plane) : coat 0 p = (badge 0 p.val)*(4*normal) := by simp only [badge,pop, coat]; split_ifs <;> simp at * <;> grind |
| 42 | have he : (↑(badge 0 (tape c).1 * badge 0 (tape c).2) : ℂ) = flavor 0 (tape c) := by unfold badge flavor paint; cases pop (tape c).1 0 <;> cases pop (tape c).2 0 <;> norm_num |
| 43 | rw [gaugeWeight,hw,hw,Complex.ofReal_mul,Complex.ofReal_mul,←he, Complex.ofReal_mul]; dsimp only [tape]; push_cast; ring |
| 44 | lemma common_mod {c e : Face} (h : camp c=camp e) : modulator c=modulator e := by |
| 45 | unfold modulator; have hc : (tape c).1=(tape c).2 ↔ c.val.1=c.val.2 := by simp [tape,←Subtype.ext_iff] |
| 46 | have he : (tape e).1=(tape e).2 ↔ e.val.1=e.val.2 := by simp [tape,←Subtype.ext_iff] |
| 47 | unfold camp at h; split_ifs with h1 h2 <;> first | rfl | exfalso; simp_all |
| 48 | lemma common_rate {c e : Face} (h : paint (tape c)=paint (tape e)) : rate (G:=G) c=rate (G:=G) e := by |
| 49 | rw [rate,common_mod (((havePath c e h).2)),mask_scale, show flavor 0 (tape c)=flavor 0 (tape e) from by rw [flavor,h,flavor], ←mask_scale,←rate] |
| 50 | lemma price_tag (h : G.Simple) (v : S) (c : Face) : joint F v (star F (some c)) = rate (G:=G) c * portLine F (some c) v := by |
| 51 | have he : portLine F (some c) v = (modulator c *(gaugeWeight (G:=G) c)⁻¹) * (joint F v (star F (some c))) := by rw [negative_eq, portLine, reader]; dsimp only [gaugeWeight,LinearMap.smul_apply,smul_eq_mul]; simp only [mul_assoc] |
| 52 | rw [he, rate,←mul_assoc, inv_mul_cancel₀ (mul_ne_zero (modulator_ne _) (inv_ne_zero (big_weight h _))), one_mul] |
| 53 | |
| 54 | lemma portValue (h : G.Simple) (v : S) (e : Option Face) : portLine F e v = (stand F h).equivFun v e := by |
| 55 | classical |
| 56 | conv_lhs=>rw [←(stand F h).sum_equivFun v] |
| 57 | simp_rw [map_sum,basis_eq,map_smul,separates F h] |
| 58 | simp |
| 59 | lemma backwards (h : G.Simple) (v : S) (hv0 : portLine F none v=0) (c : Face) :joint F (star F (some c)) v = rate (G:=G) c * portLine F (some c) v := by |
| 60 | classical |
| 61 | rw [portValue F h] at hv0 ⊢ |
| 62 | rw [←second_eq] |
| 63 | conv_lhs => rw [←(stand F h).sum_equivFun v] |
| 64 | rw [map_sum];simp_rw [map_smul,basis_eq,second_eq] |
| 65 | rw [Finset.sum_eq_single_of_mem (some c) (Finset.mem_univ _) (fun b _ hbc=>?_)] |
| 66 | · rw [price_tag F h, separates F h,if_pos rfl,smul_eq_mul,mul_one,mul_comm] |
| 67 | cases b with |
| 68 | | none=> rw [hv0,zero_smul] |
| 69 | | some k=> rw [price_tag F h, separates F h, if_neg hbc,mul_zero, smul_zero] |
| 70 | |
| 71 | def stationery (B : Buffer F 4) := |
| 72 | ∀ r (p : Fin r→S) x, x∈ YM.conf r → ∑ j:Fin r, visible F 4 x (Function.update p j (B.val (p j)))=0 |
| 73 | lemma alone (B : Buffer F 4) (h : stationery F B) (v : S) : portLine F none (B.val v) = 0 := by |
| 74 | change expectation (freeTable F) 4 (B.val v)=0 |
| 75 | let p : Fin 1→S := fun _=>v |
| 76 | have h' := h 1 p 0 conf1 |
| 77 | rw [Fin.sum_univ_succ, Fin.sum_univ_zero,add_zero] at h' |
| 78 | rw [expectation,front_eval] |
| 79 | change (freeTable F).useAt (freeTable F) _ _=0 |
| 80 | change (freeTable F).useAt (freeTable F) 0 (fun j=> (⟨4,Function.update p 0 _ j⟩:(freeTable F).Tag))=0 at h' |
| 81 | rw [←h']; congr 1; funext i; rw [@Subsingleton.elim (Fin 1) _ i 0]; rfl |
| 82 | lemma cancel (B : Buffer F 4) (h : stationery F B) (v w : S) : joint F (B.val v) w + joint F v (B.val w) = 0 := by |
| 83 | classical |
| 84 | have he := h 2 (batch F v w) _ (shutter 0) |
| 85 | rw [Fin.sum_univ_two] at he |
| 86 | unfold joint |
| 87 | rw [←he] |
| 88 | congr 2 <;> try rfl |
| 89 | all_goals ext1 i;fin_cases i <;> simp |
| 90 | lemma coeff_barren (hg : G.Simple) (B : Buffer F 4) (h : stationery F B) (c d : Option Face) : coeff F B c d=0 := by |
| 91 | cases c with |
| 92 | | none=> exact alone F B h _ |
| 93 | | some c=> |
| 94 | cases d with |
| 95 | | none=> change portLine F _ (B.val (embed F 4 (Labels.unit G 4)))=0; rw [pin_unit F 4,B.property.1,map_zero] |
| 96 | | some d=> |
| 97 | rcases eq_or_ne (paint (tape c)) (paint (tape d)) with hx|hx |
| 98 | · have hr := common_rate (G:=G) hx |
| 99 | have he := reflect_path F hg hx B |
| 100 | have hcan := cancel F B h (star F (some c)) (star F (some d)) |
| 101 | rw [price_tag F hg,backwards F hg _ (alone F B h _),←hr] at hcan |
| 102 | change rate (G:=G) c * coeff F B _ _ + rate (G:=G) c * coeff F B _ _ =0 at hcan |
| 103 | rw [he,←two_mul,←mul_assoc] at hcan |
| 104 | exact (mul_eq_zero.mp hcan).resolve_left (mul_ne_zero (by norm_num) (rate_ne hg c)) |
| 105 | exact unpaint F hg hx B |
| 106 | |
| 107 | lemma frozen_four (hg : G.Simple) : Frozen F 4 := by |
| 108 | intro B (h : stationery F B) |
| 109 | have hz (c) : B.val (star F c)=0 := by rw [←(stand F hg).sum_equivFun (B.val _), Finset.sum_eq_zero]; intro i _; rw [←portValue F hg,basis_eq, ←coeff, coeff_barren F hg B h, zero_smul] |
| 110 | ext1; ext1 v |
| 111 | change B.val v=0 |
| 112 | rw [←(stand F hg).sum_equivFun v,map_sum] |
| 113 | simp only [dispatch_cmul,basis_eq,hz, smul_zero,Finset.sum_const_zero] |
| 114 | lemma first_frozen (hg : G.Simple) {d : ℕ} (hw : d<4) : Frozen F d := fun b _=> Subtype.ext (ContinuousLinearMap.ext fun p=> by |
| 115 | change b.val p=0 |
| 116 | obtain ⟨z,rfl⟩ := below F hg hw p |
| 117 | rw [dispatch_cmul,b.property.1,smul_zero]) |
| 118 | end YM.Pert.Rigid |