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.AlgebraicGeometry.AbelianScheme.TateComparison.FiniteKernelDivision |
| 2 | import Mathlib.RingTheory.Flat.TorsionFree |
| 3 | |
| 4 | /-! # Isogeny -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Isogeny.Tate |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Rational Tate maps of surjective finite-kernel homomorphisms are |
| 11 | isomorphisms. Integral Tate vectors embed into the rational Tate space. -/ |
| 12 | |
| 13 | open scoped TensorProduct |
| 14 | |
| 15 | universe u |
| 16 | variable (q : ℕ) [Fact q.Prime] {H H' H'' : Type u} |
| 17 | [AddCommGroup H] [AddCommGroup H'] [AddCommGroup H''] |
| 18 | |
| 19 | abbrev RationalModule (H : Type u) [AddCommGroup H] := ℚ_[q] ⊗[ℤ_[q]] Add.Tate.Module (H := H) q |
| 20 | |
| 21 | def rationalMap (f : H →+ H') : RationalModule q H →ₗ[ℚ_[q]] RationalModule q H' := |
| 22 | (Add.Tate.map q f).baseChange ℚ_[q] |
| 23 | |
| 24 | theorem rationalMap_id : rationalMap q (AddMonoidHom.id H) = LinearMap.id := by |
| 25 | rw [rationalMap, Functor.Tate.map_id, LinearMap.baseChange_id] |
| 26 | |
| 27 | theorem rationalMap_comp (f : H →+ H') (g : H' →+ H'') : |
| 28 | rationalMap q (g.comp f) = (rationalMap q g).comp (rationalMap q f) := by |
| 29 | rw [rationalMap, Functor.Tate.map_comp, LinearMap.baseChange_comp] |
| 30 | rfl |
| 31 | |
| 32 | theorem rationalMap_nsmul (n : ℕ) (f : H →+ H') : |
| 33 | rationalMap q (n • f) = n • rationalMap q f := by |
| 34 | change (LinearMap.baseChangeHom ℤ_[q] ℚ_[q] _ _) (Add.Tate.map q (n • f)) = _ |
| 35 | rw [Functor.Tate.map_nsmul, _root_.map_nsmul] |
| 36 | rfl |
| 37 | |
| 38 | theorem integralEmbedding_injective : |
| 39 | Function.Injective (TensorProduct.mk ℤ_[q] ℚ_[q] (Add.Tate.Module (H := H) q) 1) := |
| 40 | _root_.Module.Flat.tensorProduct_mk_injective ℤ_[q] (Add.Tate.Module (H := H) q) ℚ_[q] |
| 41 | |
| 42 | def rationalEquivOfFiniteKernel (f : H →+ H') (hf : Function.Surjective f) [Finite f.ker] : |
| 43 | RationalModule q H ≃ₗ[ℚ_[q]] RationalModule q H' := by |
| 44 | let g := FiniteKernelDivision.FiniteKernel.inverseMultiple f hf |
| 45 | let m := Nat.card f.ker |
| 46 | have hm : (m : ℚ_[q]) ≠ 0 := Nat.cast_ne_zero.mpr (FiniteKernelDivision.FiniteKernel.card_ne_zero f) |
| 47 | have hgf : (rationalMap q g).comp (rationalMap q f) = m • LinearMap.id := by |
| 48 | rw [← rationalMap_comp, FiniteKernelDivision.FiniteKernel.inverseMultiple_comp, rationalMap_nsmul, rationalMap_id] |
| 49 | have hfg : (rationalMap q f).comp (rationalMap q g) = m • LinearMap.id := by |
| 50 | rw [← rationalMap_comp, FiniteKernelDivision.FiniteKernel.comp_inverseMultiple, rationalMap_nsmul, rationalMap_id] |
| 51 | refine LinearEquiv.ofLinearMap (rationalMap q f) ((m : ℚ_[q])⁻¹ • rationalMap q g) ?_ ?_ |
| 52 | · rw [LinearMap.comp_smul, hfg, ← Nat.cast_smul_eq_nsmul ℚ_[q], smul_smul, |
| 53 | inv_mul_cancel₀ hm, one_smul] |
| 54 | · rw [LinearMap.smul_comp, hgf, ← Nat.cast_smul_eq_nsmul ℚ_[q], smul_smul, |
| 55 | inv_mul_cancel₀ hm, one_smul] |
| 56 | |
| 57 | theorem rationalEquivOfFiniteKernel_toLinearMap (f : H →+ H') |
| 58 | (hf : Function.Surjective f) [Finite f.ker] : |
| 59 | (rationalEquivOfFiniteKernel q f hf).toLinearMap = rationalMap q f := rfl |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Isogeny.Tate |