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.PadicHodge.PeriodInvariants.Mem |
| 2 | import OAI.NumberTheory.PadicHodge.PeriodInvariants.Embedding |
| 3 | import OAI.NumberTheory.PadicHodge.PeriodInvariants.EtaleGalois |
| 4 | |
| 5 | /-! # Dcris Mem -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.PeriodInvariants.DcrisMem |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Actual D_cris over the constructed unramified field K_0 |
| 13 | |
| 14 | The coefficient action is the proved embedding W(k)[1/p] into B_cris. The |
| 15 | diagonal Galois action defines D_cris, and actual period Frobenius restricts |
| 16 | semilinearly to it. No dimension, admissibility, or comparison assertion is |
| 17 | assumed in these constructions. |
| 18 | -/ |
| 19 | |
| 20 | open scoped TensorProduct |
| 21 | |
| 22 | open OAI.NumberTheory.PadicHodge.PeriodInvariants.PeriodRing OAI.NumberTheory.PadicHodge.PeriodInvariants.Mem.Construction OAI.NumberTheory.PadicHodge.PeriodInvariants.CrystallineScalars OAI.NumberTheory.PadicHodge.PeriodInvariants.ResidueCoefficients |
| 23 | Embedding.Period |
| 24 | |
| 25 | variable (p : ℕ) [Fact p.Prime] |
| 26 | variable (K : Type*) [Field K] [Algebra ℚ_[p] K] [FiniteDimensional ℚ_[p] K] |
| 27 | |
| 28 | local instance periodQpSMul : SMul ℚ_[p] (PeriodRing.Bcris p) := (PeriodRing.bcris_padicAlgebra p).toSMul |
| 29 | |
| 30 | local instance periodQpModule : Module ℚ_[p] (PeriodRing.Bcris p) := |
| 31 | (inferInstance : Algebra ℚ_[p] (PeriodRing.Bcris p)).toModule |
| 32 | |
| 33 | local instance periodQpMulAction : MulAction ℚ_[p] (PeriodRing.Bcris p) := (periodQpModule p).toMulAction |
| 34 | |
| 35 | local instance periodK0Module : Module (ResidueCoefficients.K0 p K) (PeriodRing.Bcris p) := |
| 36 | (inferInstance : Algebra (ResidueCoefficients.K0 p K) (PeriodRing.Bcris p)).toModule |
| 37 | |
| 38 | theorem frobenius_action (σ : CrystallineScalars.LocalGalois K) (b : PeriodRing.Bcris p) : |
| 39 | CrystallineScalars.bcrisFrobeniusAlg p (Embedding.Period.localPeriodActionOverK0 p K σ b) = |
| 40 | Embedding.Period.localPeriodActionOverK0 p K σ (CrystallineScalars.bcrisFrobeniusAlg p b) := by |
| 41 | change CrystallineScalars.bcrisFrobeniusAlg p (CrystallineScalars.localPeriodAction p K σ b) = |
| 42 | CrystallineScalars.localPeriodAction p K σ (CrystallineScalars.bcrisFrobeniusAlg p b) |
| 43 | exact (CrystallineScalars.localPeriodAction_frobenius p K σ b).symm |
| 44 | |
| 45 | section Representation |
| 46 | |
| 47 | variable {V : Type*} [AddCommGroup V] [Module ℚ_[p] V] |
| 48 | |
| 49 | local instance tensorK0Module : Module (ResidueCoefficients.K0 p K) (PeriodRing.Bcris p ⊗[ℚ_[p]] V) := TensorProduct.leftModule |
| 50 | |
| 51 | variable (ρ : Representation ℚ_[p] (CrystallineScalars.LocalGalois K) V) |
| 52 | |
| 53 | def tensorRepresentation : Representation (ResidueCoefficients.K0 p K) (CrystallineScalars.LocalGalois K) (PeriodRing.Bcris p ⊗[ℚ_[p]] V) := |
| 54 | Mem.Construction.periodRepresentation (R := ℚ_[p]) (K0 := ResidueCoefficients.K0 p K) (B := PeriodRing.Bcris p) (Embedding.Period.localPeriodActionOverK0 p K) ρ |
| 55 | |
| 56 | def Dcris : Submodule (ResidueCoefficients.K0 p K) (PeriodRing.Bcris p ⊗[ℚ_[p]] V) := |
| 57 | Mem.Construction.periodInvariants (R := ℚ_[p]) (K0 := ResidueCoefficients.K0 p K) (B := PeriodRing.Bcris p) (Embedding.Period.localPeriodActionOverK0 p K) ρ |
| 58 | |
| 59 | local instance dcrisModule : Module (ResidueCoefficients.K0 p K) (Dcris p K ρ) := Submodule.module (Dcris p K ρ) |
| 60 | |
| 61 | theorem mem_Dcris (x : PeriodRing.Bcris p ⊗[ℚ_[p]] V) : |
| 62 | x ∈ Dcris p K ρ ↔ ∀ σ, tensorRepresentation p K ρ σ x = x := Iff.rfl |
| 63 | |
| 64 | def tensorFrobenius : |
| 65 | PeriodRing.Bcris p ⊗[ℚ_[p]] V →ₛₗ[(ResidueCoefficients.coefficientFrobenius p K).toRingHom] PeriodRing.Bcris p ⊗[ℚ_[p]] V := |
| 66 | Mem.Construction.periodOperator (R := ℚ_[p]) (K0 := ResidueCoefficients.K0 p K) (B := PeriodRing.Bcris p) |
| 67 | (ResidueCoefficients.coefficientFrobenius p K).toRingHom (CrystallineScalars.bcrisFrobeniusAlg p) (Embedding.Period.bcrisFrobenius_k0_smul p K) |
| 68 | |
| 69 | theorem tensorFrobenius_commutes (σ : CrystallineScalars.LocalGalois K) (x : PeriodRing.Bcris p ⊗[ℚ_[p]] V) : |
| 70 | tensorFrobenius p K (tensorRepresentation p K ρ σ x) = |
| 71 | tensorRepresentation p K ρ σ (tensorFrobenius p K x) := by |
| 72 | induction x using TensorProduct.inductionOn with |
| 73 | | tmul b v => |
| 74 | change CrystallineScalars.bcrisFrobeniusAlg p (Embedding.Period.localPeriodActionOverK0 p K σ b) ⊗ₜ[ℚ_[p]] ρ σ v = |
| 75 | Embedding.Period.localPeriodActionOverK0 p K σ (CrystallineScalars.bcrisFrobeniusAlg p b) ⊗ₜ[ℚ_[p]] ρ σ v |
| 76 | exact congrArg (fun c => c ⊗ₜ[ℚ_[p]] ρ σ v) (frobenius_action p K σ b) |
| 77 | | add x y hx hy => simp only [map_add, hx, hy] |
| 78 | |
| 79 | def dcrisFrobenius : Dcris p K ρ →ₛₗ[(ResidueCoefficients.coefficientFrobenius p K).toRingHom] Dcris p K ρ := |
| 80 | (tensorFrobenius p K).restrict (fun x hx σ => by |
| 81 | change tensorRepresentation p K ρ σ (tensorFrobenius p K x) = tensorFrobenius p K x |
| 82 | exact (tensorFrobenius_commutes p K ρ σ x).symm.trans |
| 83 | (congrArg (tensorFrobenius p K) (hx σ))) |
| 84 | |
| 85 | /-- The canonical scalar-extension map associated with actual crystalline invariants. -/ |
| 86 | def scalarExtension : PeriodRing.Bcris p ⊗[ResidueCoefficients.K0 p K] Dcris p K ρ →ₗ[PeriodRing.Bcris p] PeriodRing.Bcris p ⊗[ℚ_[p]] V := |
| 87 | TensorProduct.AlgebraTensorModule.lift |
| 88 | { toFun := fun b => |
| 89 | { toFun := fun x => b • (x : PeriodRing.Bcris p ⊗[ℚ_[p]] V) |
| 90 | map_add' := fun x y => smul_add b (x : PeriodRing.Bcris p ⊗[ℚ_[p]] V) y |
| 91 | map_smul' := fun c x => smul_comm b c (x : PeriodRing.Bcris p ⊗[ℚ_[p]] V) } |
| 92 | map_add' := by |
| 93 | intro b c |
| 94 | apply LinearMap.ext |
| 95 | intro x |
| 96 | exact add_smul b c (x : PeriodRing.Bcris p ⊗[ℚ_[p]] V) |
| 97 | map_smul' := by |
| 98 | intro b c |
| 99 | apply LinearMap.ext |
| 100 | intro x |
| 101 | exact mul_smul b c (x : PeriodRing.Bcris p ⊗[ℚ_[p]] V) } |
| 102 | |
| 103 | theorem scalarExtension_tmul (b : PeriodRing.Bcris p) (x : Dcris p K ρ) : |
| 104 | scalarExtension p K ρ (b ⊗ₜ[ResidueCoefficients.K0 p K] x) = b • (x : PeriodRing.Bcris p ⊗[ℚ_[p]] V) := rfl |
| 105 | |
| 106 | end Representation |
| 107 | |
| 108 | open OAI.NumberTheory.PadicHodge.PeriodInvariants.IntegralGeometry OAI.NumberTheory.PadicHodge.PeriodInvariants.EtaleGalois |
| 109 | |
| 110 | abbrev geometricDcris (M : IntegralGeometry.IntegralModel p K) (n : ℕ) := Dcris p K (EtaleGalois.etaleRepresentation p K M n) |
| 111 | |
| 112 | local instance geometricDcrisModule (M : IntegralGeometry.IntegralModel p K) (n : ℕ) : |
| 113 | Module (ResidueCoefficients.K0 p K) (geometricDcris p K M n) := Submodule.module (geometricDcris p K M n) |
| 114 | |
| 115 | def geometricDcrisFrobenius (M : IntegralGeometry.IntegralModel p K) (n : ℕ) : |
| 116 | geometricDcris p K M n →ₛₗ[(ResidueCoefficients.coefficientFrobenius p K).toRingHom] geometricDcris p K M n := |
| 117 | dcrisFrobenius p K (EtaleGalois.etaleRepresentation p K M n) |
| 118 | |
| 119 | def geometricScalarExtension (M : IntegralGeometry.IntegralModel p K) (n : ℕ) : |
| 120 | PeriodRing.Bcris p ⊗[ResidueCoefficients.K0 p K] geometricDcris p K M n →ₗ[PeriodRing.Bcris p] |
| 121 | PeriodRing.Bcris p ⊗[ℚ_[p]] EtaleGalois.geometricEtaleCohomology p K M n := |
| 122 | scalarExtension p K (EtaleGalois.etaleRepresentation p K M n) |
| 123 | |
| 124 | end |
| 125 | |
| 126 | end OAI.NumberTheory.PadicHodge.PeriodInvariants.DcrisMem |