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.Stream |
| 2 | import YM.Space.Orthogonal |
| 3 | import YM.Contacts.Normal.Rescale |
| 4 | /-! # Normal positions transported through multiple open-slot injections |
| 5 | |
| 6 | Relativizes any ambient-patch formula to the arity in use. Coordinates may be isometrically |
| 7 | embedded into a joint stage with more slots, or changed by translation or a rotation of this |
| 8 | frame. Even when the dimensions allow for extra parameters, Jacobi coordinates computed in the |
| 9 | large stage on the *active* groups of slots are those of the smaller stage, not new normal choices. |
| 10 | Use about any (orthogonal) coincident placement of the normal roots & verify directly from matching |
| 11 | the locations of the slots in an aperture. Doesn't require relation between other slots. Could for |
| 12 | instance be comparing a transformed frame occupying a new set of exterior placements. |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | set_option maxHeartbeats 600000 |
| 16 | noncomputable section |
| 17 | namespace YM.Contacts.Transport |
| 18 | open Function Set Normal Submodule |
| 19 | open scoped Classical InnerProductSpace |
| 20 | variable {E F : Type}[NormedAddCommGroup E][InnerProductSpace ℝ E][FiniteDimensional ℝ E] |
| 21 | [NormedAddCommGroup F][InnerProductSpace ℝ F][FiniteDimensional ℝ F] |
| 22 | variable {k n : ℕ}{U:E→ₗᵢ[ℝ] F}{P : E→ₗᵢ[ℝ] Points k}{T : F→ₗᵢ[ℝ] Points n} |
| 23 | {f g : Normal.Group k}{t:Fin k↪ Fin n}{o:Points k}{o' : Points n}{c:F}{s : Ortho}{w : E4} |
| 24 | structure Ribbon (t : Fin k↪Fin n)(P:E→ₗᵢ[ℝ] Points k)(T:F→ₗᵢ[ℝ] Points n)(U:E→ₗᵢ[ℝ] F)(c:F) |
| 25 | (o:Points k)(o':Points n) (s:Ortho) (w:E4)(g : Normal.Group k): Prop where |
| 26 | full : plane g ≤ LinearMap.range P.toLinearMap |
| 27 | full' : plane (current t g) ≤ LinearMap.range T.toLinearMap |
| 28 | aligned : Collapsed g o |
| 29 | aligned' : Collapsed (current t g) o' |
| 30 | lie i : i∈g→∀ x, (T (U x+c)+o') (t i)=Ortho.motion s ((P x+o) i)+w |
| 31 | namespace Ribbon |
| 32 | variable (R : Ribbon t P T U c o o' s w g) |
| 33 | include R |
| 34 | local notation "K!" => normalOn P g |
| 35 | local notation "V" => current t g |
| 36 | local notation "K'" => normalOn T (current t g) |
| 37 | omit [FiniteDimensional ℝ E] [FiniteDimensional ℝ F] in |
| 38 | lemma smaller (h : f⊆ g) : Ribbon t P T U c o o' s w f:= by |
| 39 | have ht: current t f⊆ V:= Finset.map_subset_map.mpr h; exact ⟨(plane_le h).trans R.full,(plane_le ht).trans R.full',R.aligned.subgroups h,R.aligned'.subgroups ht,fun i hi=> R.lie _ (h hi)⟩ |
| 40 | omit [FiniteDimensional ℝ E] [FiniteDimensional ℝ F] in |
| 41 | lemma vector_move (i:Fin k) (hi:i∈g) (x:E) : T (U x) (t i)= Ortho.motion s ((P x) i):= by |
| 42 | have hx:= R.lie _ hi x; have hz:=R.lie _ hi 0; simp only [map_add,map_zero,zero_add,PiLp.add_apply] at hx hz; linear_combination (norm := abel) hx-hz |
| 43 | omit [FiniteDimensional ℝ E] [FiniteDimensional ℝ F] in |
| 44 | lemma slides_between (x:E)(_h : g.Nonempty) : centroid V (T (U x))=Ortho.motion s (centroid g (P x)):= by rw [centroid_formula,centroid_formula,carries,Finset.card_map, Finset.sum_map,map_smul,map_sum]; apply congr_arg; exact Finset.sum_congr rfl fun i hi=> R.vector_move _ hi x |
| 45 | omit [FiniteDimensional ℝ E] [FiniteDimensional ℝ F] in |
| 46 | lemma centroid_move (x:E) (hg:g.Nonempty) : centroid (current t g) (T (U x+c)+o')= Ortho.motion s (centroid g (P x+o))+w:= by |
| 47 | rw [centroid_formula,centroid_formula,carries, Finset.sum_map, Finset.card_map, Finset.sum_congr rfl (g:=fun i=> Ortho.motion s ((P x+o) i)+w) (fun i hi=> R.lie _ hi x), Finset.sum_add_distrib,map_smul,map_sum,Finset.sum_const,←Nat.cast_smul_eq_nsmul ℝ,smul_add, inv_smul_smul₀]; exact_mod_cast hg.card_pos.ne' |
| 48 | omit [FiniteDimensional ℝ E] in |
| 49 | lemma c_tangent (_h : g.Nonempty) : (K').starProjection c=0:=by |
| 50 | apply (local_collapse R.full' c).1; apply (collapsed_iff ..).2; rintro i hi j hj; obtain ⟨i,hi',rfl⟩:= Finset.mem_map.mp hi; obtain ⟨j,hj',rfl⟩:= Finset.mem_map.mp hj |
| 51 | have hh(i:Fin k)(hi:i∈g): T c (t i)=(Ortho.motion s (centroid g o)+w) - centroid V o':=by |
| 52 | have hv:= R.lie i hi 0; simp only [map_zero,zero_add,PiLp.add_apply,R.aligned i hi, R.aligned' _ (Finset.mem_map_of_mem _ hi)] at hv; rw [← hv,add_sub_cancel_right] |
| 53 | rw [hh i hi',hh j hj'] |
| 54 | -- norm equality by transporting full relative normals in E & F. |
| 55 | lemma relative (x:E)(hg:g.Nonempty) {i:Fin k}(hi:i∈g) : T ((K').starProjection (U x)) (t i)= Ortho.motion s (P ((K!).starProjection x) i):=by |
| 56 | rw [localProjection R.full', radial_star,localProjection R.full,radial_star]; unfold radial; simp only [points_apply, if_pos hi, if_pos (show t i∈ V from Finset.mem_map_of_mem t hi), R.slides_between x hg, R.vector_move i hi x,map_sub] |
| 57 | lemma radiant (x:E)(h:g.Nonempty): ‖(K').starProjection (U x)‖ = ‖(K!).starProjection x‖:= by |
| 58 | let y:=(K!).starProjection x; let Y:= (K').starProjection (U x); suffices hv: ⟪Y,Y⟫_ℝ=⟪y,y⟫_ℝ by |
| 59 | simp_rw [real_inner_self_eq_norm_sq] at hv; nlinarith only [hv,norm_nonneg Y,norm_nonneg y] |
| 60 | rw [← T.inner_map_map,← P.inner_map_map,PiLp.inner_apply,PiLp.inner_apply]; |
| 61 | have hp:∑ i∈g,⟪P y i,P y i⟫_ℝ= ∑ i,⟪P y i,P y i⟫_ℝ:= by apply Finset.sum_subset (Finset.subset_univ _); intro i _ hi; rw [(plane_iff.mp (show P y∈plane g from (normalOn P g).starProjection_apply_mem x)).2 i hi,inner_zero_left] |
| 62 | have ht: ∑ i∈ V,⟪T Y i,T Y i⟫_ℝ=∑ i,⟪T Y i,T Y i⟫_ℝ:= by apply Finset.sum_subset (Finset.subset_univ _); intro i _ hi; rw [(plane_iff.mp (show T Y∈plane V from (K').starProjection_apply_mem (U x))).2 i hi,inner_zero_left] |
| 63 | rw [← ht,← hp, carries, Finset.sum_map]; exact Finset.sum_congr rfl fun i hi=> by change ⟪_,_⟫_ℝ=_; simp_rw [Y,y,R.relative x h hi]; exact LinearIsometryEquiv.inner_map_map .. |
| 64 | lemma embraces (hg : g.Nonempty) {x:E}(hx:x∈ K!) : U x∈ K' := ((K').mem_iff_norm_starProjection (U x)).mpr (by rw [radiant R x hg,Submodule.starProjection_eq_self_iff.mpr hx,U.norm_map]) |
| 65 | lemma flow_normal (x:E)(hg:g.Nonempty): (K').starProjection (U x) = U ((K!).starProjection x) := by |
| 66 | let y:= x-(K!).starProjection x; let Y:= (K!).starProjection x; have htt : (K!).starProjection y=0 := (K!).starProjection_apply_eq_zero_iff.mpr (sub_starProjection_mem_orthogonal x); have he:=R.radiant y hg; rw [htt,norm_zero] at he |
| 67 | rw [show U x= U y+ U Y from by rw [← map_add,sub_add_cancel x Y], map_add,norm_eq_zero.mp he,zero_add,Submodule.starProjection_eq_self_iff.mpr (R.embraces hg ((K!).starProjection_apply_mem _))] |
| 68 | lemma shaded (x:E)(hg:g.Nonempty): (K').starProjection (U x+c)=U ((K!).starProjection x):= by rw [map_add,R.flow_normal x hg,R.c_tangent hg,add_zero] |
| 69 | lemma retreat (x:E)(u:ℝ)(hg:g.Nonempty) : U (slide K! u x)+c= slide K' u (U x+c):= by rw [slide_formula,slide_formula,R.shaded x hg,map_add,map_sub,map_smul]; abel |
| 70 | end Ribbon |
| 71 | end YM.Contacts.Transport |