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.GroupSchemes.Verschiebung |
| 2 | |
| 3 | /-! # Dual Maps -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.GroupSchemes.DualMaps.FiniteEtale |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # FiniteEtale: dual maps and naturality of Verschiebung |
| 11 | |
| 12 | Precomposition by a coalgebra homomorphism is a homomorphism of convolution |
| 13 | algebras. This gives naturality of the constructed Verschiebung without |
| 14 | assuming a Dieudonné correspondence. |
| 15 | -/ |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.GroupSchemes.Verschiebung.FiniteEtale WithConv |
| 18 | |
| 19 | universe u v w |
| 20 | |
| 21 | variable (k : Type u) [Field k] |
| 22 | variable {A : Type v} [AddCommGroup A] [Module k A] [Coalgebra k A] |
| 23 | [Coalgebra.IsCocomm k A] |
| 24 | variable {B : Type w} [AddCommGroup B] [Module k B] [Coalgebra k B] |
| 25 | [Coalgebra.IsCocomm k B] |
| 26 | |
| 27 | local instance : CommRing (AbelianScheme.CartierDuality.DualAlgebra.Construction.DualCoordinate k A) := LinearMap.convCommRing |
| 28 | local instance : Algebra k (AbelianScheme.CartierDuality.DualAlgebra.Construction.DualCoordinate k A) := LinearMap.convAlgebra |
| 29 | local instance : CommRing (AbelianScheme.CartierDuality.DualAlgebra.Construction.DualCoordinate k B) := LinearMap.convCommRing |
| 30 | local instance : Algebra k (AbelianScheme.CartierDuality.DualAlgebra.Construction.DualCoordinate k B) := LinearMap.convAlgebra |
| 31 | |
| 32 | /-- Transpose, with the convolution type synonyms retained. -/ |
| 33 | def transposeLinear (f : A →ₗc[k] B) : AbelianScheme.CartierDuality.DualAlgebra.Construction.DualCoordinate k B →ₗ[k] AbelianScheme.CartierDuality.DualAlgebra.Construction.DualCoordinate k A := |
| 34 | (AbelianScheme.CartierDuality.DualAlgebra.Construction.dualCoordinateLinearEquiv k A).symm.toLinearMap ∘ₗ f.toLinearMap.dualMap ∘ₗ |
| 35 | (AbelianScheme.CartierDuality.DualAlgebra.Construction.dualCoordinateLinearEquiv k B).toLinearMap |
| 36 | |
| 37 | omit [Coalgebra.IsCocomm k A] [Coalgebra.IsCocomm k B] in |
| 38 | @[simp] |
| 39 | theorem transposeLinear_apply (f : A →ₗc[k] B) (φ : AbelianScheme.CartierDuality.DualAlgebra.Construction.DualCoordinate k B) (x : A) : |
| 40 | transposeLinear k f φ x = φ (f x) := rfl |
| 41 | |
| 42 | /-- A coalgebra map transposes to a genuine algebra map. -/ |
| 43 | def transposeAlgHom (f : A →ₗc[k] B) : AbelianScheme.CartierDuality.DualAlgebra.Construction.DualCoordinate k B →ₐ[k] AbelianScheme.CartierDuality.DualAlgebra.Construction.DualCoordinate k A := |
| 44 | AlgHom.ofLinearMap (transposeLinear k f) |
| 45 | (by |
| 46 | ext x |
| 47 | change Coalgebra.counit (f x) = Coalgebra.counit (R := k) x |
| 48 | exact CoalgHomClass.counit_comp_apply f x) |
| 49 | (by |
| 50 | intro φ ψ |
| 51 | ext x |
| 52 | exact congrArg (fun g : A →ₗ[k] k => g x) |
| 53 | (LinearMap.convMul_comp_coalgHom_distrib φ ψ f)) |
| 54 | |
| 55 | omit [Coalgebra.IsCocomm k A] [Coalgebra.IsCocomm k B] in |
| 56 | @[simp] |
| 57 | theorem transposeAlgHom_apply (f : A →ₗc[k] B) (φ : AbelianScheme.CartierDuality.DualAlgebra.Construction.DualCoordinate k B) (x : A) : |
| 58 | transposeAlgHom k f φ x = φ (f x) := rfl |
| 59 | |
| 60 | variable (p : ℕ) [Fact p.Prime] [CharP k p] [PerfectRing k p] |
| 61 | [Module.Finite k A] [Module.Finite k B] |
| 62 | |
| 63 | /-- The constructed Verschiebung commutes with every coalgebra homomorphism. -/ |
| 64 | theorem verschiebung_natural (f : A →ₗc[k] B) (x : A) : |
| 65 | f (Verschiebung.FiniteEtale.verschiebungFun p k A x) = Verschiebung.FiniteEtale.verschiebungFun p k B (f x) := by |
| 66 | apply (AbelianScheme.CartierDuality.DualAlgebra.Construction.dualCoordinateBidualLinearEquiv k B).injective |
| 67 | ext φ |
| 68 | simp only [AbelianScheme.CartierDuality.DualAlgebra.Construction.dualCoordinateBidualLinearEquiv_apply] |
| 69 | calc |
| 70 | φ (f (Verschiebung.FiniteEtale.verschiebungFun p k A x)) = |
| 71 | transposeAlgHom k f φ (Verschiebung.FiniteEtale.verschiebungFun p k A x) := rfl |
| 72 | _ = (frobeniusEquiv k p).symm ((transposeAlgHom k f φ ^ p) x) := |
| 73 | Verschiebung.FiniteEtale.eval_verschiebung p k A _ x |
| 74 | _ = (frobeniusEquiv k p).symm (transposeAlgHom k f (φ ^ p) x) := by rw [map_pow] |
| 75 | _ = (frobeniusEquiv k p).symm ((φ ^ p) (f x)) := rfl |
| 76 | _ = φ (Verschiebung.FiniteEtale.verschiebungFun p k B (f x)) := (Verschiebung.FiniteEtale.eval_verschiebung p k B φ (f x)).symm |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.GroupSchemes.DualMaps.FiniteEtale |