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.Lie.OrderBases |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.KillingRestriction |
| 3 | import OAI.NumberTheory.ArithmeticGroups.Lattices.SemilinearTrace |
| 4 | |
| 5 | /-! # Killing Form -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.Minkowski.KillingForm.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The real Minkowski Lie bracket has a nondegenerate intrinsic |
| 12 | Killing form, obtained from the rational Killing form in integral bases. -/ |
| 13 | |
| 14 | open scoped Classical _root_.NumberField _root_.Matrix.Norms.Elementwise |
| 15 | open _root_.NumberField _root_.NumberField.mixedEmbedding _root_.Module |
| 16 | |
| 17 | attribute [local instance] LieRing.ofAssociativeRing KillingRestriction.Construction.infinitesimalRationalLieAlgebra |
| 18 | |
| 19 | def lieMixedKillingForm |
| 20 | {k : Type} [Field k] [NumberField k] {n : ℕ} |
| 21 | (G : Algebraic.MatrixAlgebraicGroup k n) (hG : G.IsGeometricallyConnected) : |
| 22 | LinearMap.BilinForm ℝ (Lie.MixedLattice.Construction.lieMixedSpan G) := |
| 23 | ((LinearMap.mul ℝ (Module.End ℝ (Lie.MixedLattice.Construction.lieMixedSpan G))).compl₁₂ |
| 24 | (AdjointOperator.Construction.lieMixedAdjointLinear G hG) (AdjointOperator.Construction.lieMixedAdjointLinear G hG)).compr₂ (LinearMap.trace ℝ (Lie.MixedLattice.Construction.lieMixedSpan G)) |
| 25 | |
| 26 | def lieMixedRationalSemilinear |
| 27 | {k : Type} [Field k] [NumberField k] {n : ℕ} (G : Algebraic.MatrixAlgebraicGroup k n) : |
| 28 | Infinitesimal.Action.Construction.infinitesimalStabilizer G →ₛₗ[algebraMap ℚ ℝ] Lie.MixedLattice.Construction.lieMixedSpan G where |
| 29 | toFun := Archimedean.Lie.Construction.lieMixedSpanRationalMap G |
| 30 | map_add' := (Archimedean.Lie.Construction.lieMixedSpanRationalMap G).map_add |
| 31 | map_smul' r A := by |
| 32 | rw [(Archimedean.Lie.Construction.lieMixedSpanRationalMap G).map_smul] |
| 33 | exact (IsScalarTower.algebraMap_smul ℝ r (Archimedean.Lie.Construction.lieMixedSpanRationalMap G A)).symm |
| 34 | |
| 35 | theorem lieMixedKillingForm_rational |
| 36 | {k ι : Type} [Field k] [NumberField k] [Fintype ι] [DecidableEq ι] {n : ℕ} |
| 37 | (G : Algebraic.MatrixAlgebraicGroup k n) (hG : G.IsGeometricallyConnected) |
| 38 | (b : Basis ι ℤ (Integral.Lie.Construction.integralLieOrder G)) (A B : Infinitesimal.Action.Construction.infinitesimalStabilizer G) : |
| 39 | lieMixedKillingForm G hG (Archimedean.Lie.Construction.lieMixedSpanRationalMap G A) (Archimedean.Lie.Construction.lieMixedSpanRationalMap G B) = |
| 40 | algebraMap ℚ ℝ (killingForm ℚ (Infinitesimal.Action.Construction.infinitesimalStabilizer G) A B) := by |
| 41 | symm |
| 42 | apply SemilinearTrace.Construction.semilinear_intertwining_trace (algebraMap ℚ ℝ) (Lie.OrderBases.Construction.lieOrderRationalBasis G b) (Lie.OrderBases.Construction.lieOrderRealBasis G b) |
| 43 | (lieMixedRationalSemilinear G) (fun i => (Lie.OrderBases.Construction.lieOrderRealBasis_apply G b i).symm) |
| 44 | ((LieAlgebra.ad ℚ (Infinitesimal.Action.Construction.infinitesimalStabilizer G) A).comp (LieAlgebra.ad ℚ (Infinitesimal.Action.Construction.infinitesimalStabilizer G) B)) |
| 45 | (AdjointOperator.Construction.lieMixedAdjoint G hG (Archimedean.Lie.Construction.lieMixedSpanRationalMap G A) * AdjointOperator.Construction.lieMixedAdjoint G hG (Archimedean.Lie.Construction.lieMixedSpanRationalMap G B)) |
| 46 | intro X |
| 47 | change Archimedean.Lie.Construction.lieMixedSpanRationalMap G (LieAlgebra.ad k (Infinitesimal.Action.Construction.infinitesimalStabilizer G) A |
| 48 | (LieAlgebra.ad k (Infinitesimal.Action.Construction.infinitesimalStabilizer G) B X)) = |
| 49 | AdjointOperator.Construction.lieMixedAdjoint G hG (Archimedean.Lie.Construction.lieMixedSpanRationalMap G A) |
| 50 | (AdjointOperator.Construction.lieMixedAdjoint G hG (Archimedean.Lie.Construction.lieMixedSpanRationalMap G B) (Archimedean.Lie.Construction.lieMixedSpanRationalMap G X)) |
| 51 | rw [AdjointOperator.Construction.lieMixedAdjoint_rational, AdjointOperator.Construction.lieMixedAdjoint_rational] |
| 52 | |
| 53 | theorem lieMixedKillingForm_nondegenerate |
| 54 | {k : Type} [Field k] [NumberField k] {n : ℕ} |
| 55 | (G : Algebraic.MatrixAlgebraicGroup k n) (hG : G.IsGeometricallyConnected) (hsemi : G.IsSemisimple) : |
| 56 | (lieMixedKillingForm G hG).Nondegenerate := by |
| 57 | let : Module.Free ℤ (Integral.Lie.Construction.integralLieOrder G) := Lie.MixedLattice.Construction.integralLieOrder_free G |
| 58 | let : Module.Finite ℤ (Integral.Lie.Construction.integralLieOrder G) := Integral.Lie.Construction.integralLieOrder_finite G |
| 59 | let b := Module.finBasis ℤ (Integral.Lie.Construction.integralLieOrder G) |
| 60 | let bQ := Lie.OrderBases.Construction.lieOrderRationalBasis G b |
| 61 | let bR := Lie.OrderBases.Construction.lieOrderRealBasis G b |
| 62 | let : LieAlgebra.IsKilling ℚ (Infinitesimal.Action.Construction.infinitesimalStabilizer G) := KillingRestriction.Construction.infinitesimal_rational_isKilling G hG hsemi |
| 63 | have he : LinearMap.BilinForm.toMatrix bR (lieMixedKillingForm G hG) = |
| 64 | (LinearMap.BilinForm.toMatrix bQ (killingForm ℚ (Infinitesimal.Action.Construction.infinitesimalStabilizer G))).map (algebraMap ℚ ℝ) := by |
| 65 | ext i j : 1 |
| 66 | rw [LinearMap.BilinForm.toMatrix_apply, Matrix.map_apply, LinearMap.BilinForm.toMatrix_apply] |
| 67 | change lieMixedKillingForm G hG (Lie.OrderBases.Construction.lieOrderRealBasis G b i) (Lie.OrderBases.Construction.lieOrderRealBasis G b j) = _ |
| 68 | rw [Lie.OrderBases.Construction.lieOrderRealBasis_apply, Lie.OrderBases.Construction.lieOrderRealBasis_apply] |
| 69 | exact lieMixedKillingForm_rational G hG b _ _ |
| 70 | rw [LinearMap.BilinForm.nondegenerate_iff_det_ne_zero bR, he] |
| 71 | change ((algebraMap ℚ ℝ).mapMatrix |
| 72 | (LinearMap.BilinForm.toMatrix bQ (killingForm ℚ (Infinitesimal.Action.Construction.infinitesimalStabilizer G)))).det ≠ 0 |
| 73 | rw [← RingHom.map_det] |
| 74 | exact (map_ne_zero (algebraMap ℚ ℝ)).mpr |
| 75 | ((LinearMap.BilinForm.nondegenerate_iff_det_ne_zero bQ).mp |
| 76 | (LieAlgebra.IsKilling.killingForm_nondegenerate ℚ (Infinitesimal.Action.Construction.infinitesimalStabilizer G))) |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.NumberTheory.ArithmeticGroups.Lattices.Minkowski.KillingForm.Construction |