Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.NumberTheory.ArithmeticGroups.Lattices.KillingScalarDescent |
| 2 | |
| 3 | /-! # Jordan Scaling -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.JordanScaling.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! In a Killing Lie algebra, an element with nilpotent adjoint action |
| 12 | admits a rational infinitesimal scaling element. This is the first |
| 13 | step toward excluding rational nilpotents using anisotropy. -/ |
| 14 | |
| 15 | open scoped Classical |
| 16 | open LieAlgebra |
| 17 | |
| 18 | attribute [local instance] LieRing.ofAssociativeRing |
| 19 | |
| 20 | theorem killing_orthogonal_range_ad |
| 21 | {k L : Type*} [Field k] [LieRing L] [LieAlgebra k L] |
| 22 | [Module.Finite k L] [LieAlgebra.IsKilling k L] (e : L) : |
| 23 | (killingForm k L).orthogonal (ad k L e).range = (ad k L e).ker := by |
| 24 | ext x |
| 25 | constructor |
| 26 | · intro hx |
| 27 | have hz : killingForm k L ⁅e, x⁆ = 0 := by |
| 28 | apply LinearMap.ext |
| 29 | intro y |
| 30 | have h := hx (⁅e, y⁆) ⟨y, rfl⟩ |
| 31 | rw [LieModule.traceForm_apply_lie_apply'] at h |
| 32 | change killingForm k L ⁅e, x⁆ y = 0 |
| 33 | rw [LieModule.traceForm_comm] |
| 34 | exact neg_eq_zero.mp h |
| 35 | have hker : ⁅e, x⁆ ∈ LinearMap.ker (killingForm k L) := hz |
| 36 | change ⁅e, x⁆ = 0 |
| 37 | simpa only [LieAlgebra.IsKilling.ker_killingForm_eq_bot, Submodule.mem_bot] using hker |
| 38 | · intro hx |
| 39 | rintro y ⟨z, rfl⟩ |
| 40 | change killingForm k L ⁅e, z⁆ x = 0 |
| 41 | rw [LieModule.traceForm_apply_lie_apply'] |
| 42 | change -killingForm k L z ((ad k L e) x) = 0 |
| 43 | rw [hx, map_zero, neg_zero] |
| 44 | |
| 45 | theorem nilpotent_mem_orthogonal_ad_kernel |
| 46 | {k L : Type*} [Field k] [LieRing L] [LieAlgebra k L] [Module.Finite k L] |
| 47 | (e : L) (he : _root_.IsNilpotent (ad k L e : Module.End k L)) : |
| 48 | e ∈ (killingForm k L).orthogonal (ad k L e).ker := by |
| 49 | intro z hz |
| 50 | have hbracket : ⁅e, z⁆ = 0 := hz |
| 51 | have hcomm : Commute (ad k L e : Module.End k L) (ad k L z) := by |
| 52 | have h := (ad k L).map_lie e z |
| 53 | rw [hbracket, map_zero] at h |
| 54 | exact (sub_eq_zero.mp h.symm : _) |
| 55 | rw [LieModule.traceForm_comm] |
| 56 | change LinearMap.trace k L (ad k L e * ad k L z) = 0 |
| 57 | exact (LinearMap.isNilpotent_trace_of_isNilpotent (hcomm.isNilpotent_mul_right he)).eq_zero |
| 58 | |
| 59 | theorem exists_lie_eq_self_of_nilpotent_ad |
| 60 | {k L : Type*} [Field k] [LieRing L] [LieAlgebra k L] |
| 61 | [Module.Finite k L] [LieAlgebra.IsKilling k L] |
| 62 | (e : L) (he : _root_.IsNilpotent (ad k L e : Module.End k L)) : |
| 63 | ∃ h : L, ⁅h, e⁆ = e := by |
| 64 | have hm := nilpotent_mem_orthogonal_ad_kernel e he |
| 65 | rw [← killing_orthogonal_range_ad e, |
| 66 | LinearMap.BilinForm.orthogonal_orthogonal (LieAlgebra.IsKilling.killingForm_nondegenerate k L) |
| 67 | (LieModule.traceForm_isSymm k L L).isRefl] at hm |
| 68 | obtain ⟨h, hh⟩ := hm |
| 69 | refine ⟨-h, ?_⟩ |
| 70 | rw [neg_lie, lie_skew] |
| 71 | exact hh |
| 72 | |
| 73 | theorem infinitesimal_nilpotent_has_scaling_matrix |
| 74 | {k : Type} [Field k] [CharZero k] {n : ℕ} |
| 75 | (G : Algebraic.MatrixAlgebraicGroup k n) |
| 76 | (hconn : G.IsGeometricallyConnected) (hsemi : G.IsSemisimple) |
| 77 | {A : Matrix (Fin n) (Fin n) k} (hA : A ∈ Infinitesimal.Action.Construction.infinitesimalStabilizer G) |
| 78 | (hnil : _root_.IsNilpotent A) : |
| 79 | ∃ H ∈ Infinitesimal.Action.Construction.infinitesimalStabilizer G, H * A - A * H = A := by |
| 80 | let : LieAlgebra.IsKilling k (Infinitesimal.Action.Construction.infinitesimalStabilizer G) := KillingScalarDescent.Construction.infinitesimal_isKilling G hconn hsemi |
| 81 | let e : Infinitesimal.Action.Construction.infinitesimalStabilizer G := ⟨A, hA⟩ |
| 82 | have he : _root_.IsNilpotent (ad k (Infinitesimal.Action.Construction.infinitesimalStabilizer G) e) := |
| 83 | LieAlgebra.isNilpotent_ad_of_isNilpotent hnil |
| 84 | obtain ⟨H, hH⟩ := exists_lie_eq_self_of_nilpotent_ad e he |
| 85 | refine ⟨H.val, H.property, ?_⟩ |
| 86 | exact congrArg (fun x : Infinitesimal.Action.Construction.infinitesimalStabilizer G => x.val) hH |
| 87 | |
| 88 | end |
| 89 | |
| 90 | /-! The semisimple summand of a Jordan decomposition retains every |
| 91 | eigenvector and hence every infinitesimal scaling relation. -/ |
| 92 | |
| 93 | open scoped Classical |
| 94 | open _root_.Module LieAlgebra |
| 95 | |
| 96 | theorem semisimple_summand_on_eigenvector |
| 97 | {k V : Type*} [Field k] [AddCommGroup V] [Module k V] |
| 98 | (N S : Module.End k V) (hNS : Commute N S) (hN : _root_.IsNilpotent N) |
| 99 | (hS : S.IsSemisimple) (x : V) (a : k) (hx : (N + S) x = a • x) : |
| 100 | S x = a • x ∧ N x = 0 := by |
| 101 | have hmem : x ∈ (N + S).genEigenspace a 1 := Module.End.mem_eigenspace_iff.mpr hx |
| 102 | have hsx : S x = a • x := |
| 103 | Module.End.apply_eq_of_mem_of_comm_of_isFinitelySemisimple_of_isNil hmem |
| 104 | (hNS.add_left (Commute.refl S)) hS.isFinitelySemisimple (by simpa only [add_sub_cancel_right] using hN) |
| 105 | refine ⟨hsx, ?_⟩ |
| 106 | change N x + S x = a • x at hx |
| 107 | rw [hsx] at hx |
| 108 | exact add_eq_right.mp hx |
| 109 | |
| 110 | attribute [local instance] LieRing.ofAssociativeRing |
| 111 | |
| 112 | theorem semisimple_summand_retains_bracket_scaling |
| 113 | {k V : Type*} [Field k] [PerfectField k] [AddCommGroup V] [Module k V] [Module.Finite k V] |
| 114 | (N S A : Module.End k V) (hNS : Commute N S) (hN : _root_.IsNilpotent N) |
| 115 | (hS : S.IsSemisimple) (a : k) (hscale : ⁅N + S, A⁆ = a • A) : |
| 116 | ⁅S, A⁆ = a • A ∧ ⁅N, A⁆ = 0 := by |
| 117 | apply semisimple_summand_on_eigenvector (ad k _ N) (ad k _ S) |
| 118 | (LieAlgebra.commute_ad_of_commute hNS) (LieAlgebra.ad_nilpotent_of_nilpotent hN) |
| 119 | (LieAlgebra.ad_isSemisimple_of_isSemisimple hS) A a |
| 120 | rw [← map_add] |
| 121 | exact hscale |
| 122 | |
| 123 | end |
| 124 | |
| 125 | end OAI.NumberTheory.ArithmeticGroups.Lattices.JordanScaling.Construction |