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.WeakAdmissibility.ValuationStructure |
| 2 | import OAI.NumberTheory.PadicHodge.WeakAdmissibility.CrystallineEmbedding |
| 3 | |
| 4 | /-! # Comparison B -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.WeakAdmissibility.ComparisonB |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The comparison uses the actual inclusion of the maximal unramified field. -/ |
| 11 | |
| 12 | open OAI.NumberTheory.PadicHodge.WeakAdmissibility.Logarithm.PeriodRings OAI.NumberTheory.PadicHodge.WeakAdmissibility.MaximalUnramified OAI.NumberTheory.PadicHodge.WeakAdmissibility.ValuationStructure OAI.NumberTheory.PadicHodge.WeakAdmissibility.DeRhamField.Scalars |
| 13 | open OAI.NumberTheory.PadicHodge.WeakAdmissibility.ComparisonBd OAI.NumberTheory.PadicHodge.WeakAdmissibility.ComparisonScalars OAI.NumberTheory.PadicHodge.WeakAdmissibility.AlgebraicCoefficientFields |
| 14 | open OAI.NumberTheory.PadicHodge.WeakAdmissibility.CoefficientComparison OAI.NumberTheory.PadicHodge.WeakAdmissibility.FiniteFieldResidue OAI.NumberTheory.PadicHodge.WeakAdmissibility.DeRhamField.Constants |
| 15 | open OAI.NumberTheory.PadicHodge.WeakAdmissibility.DcrisD OAI.NumberTheory.PadicHodge.WeakAdmissibility.DcrisCoefficients OAI.NumberTheory.PadicHodge.WeakAdmissibility.InvariantComparison |
| 16 | open scoped TensorProduct |
| 17 | |
| 18 | theorem tensorMap_smul {R S B C W : Type*} [CommRing R] [CommRing S] |
| 19 | [AddCommGroup B] [Module R B] [Module S B] [SMulCommClass R S B] |
| 20 | [AddCommGroup C] [Module R C] [Module S C] [SMulCommClass R S C] |
| 21 | [AddCommGroup W] [Module R W] (f : B →ₗ[R] C) |
| 22 | (hf : ∀ (a : S) (b : B), f (a • b) = a • f b) (a : S) (x : B ⊗[R] W) : |
| 23 | TensorProduct.map f (LinearMap.id : W →ₗ[R] W) (a • x) = |
| 24 | a • TensorProduct.map f (LinearMap.id : W →ₗ[R] W) x := by |
| 25 | induction x using TensorProduct.inductionOn with |
| 26 | | tmul b v => simp only [TensorProduct.smul_tmul', TensorProduct.map_tmul, hf] |
| 27 | | add x y hx hy => simp only [smul_add, map_add, hx, hy] |
| 28 | |
| 29 | variable (p : ℕ) [Fact p.Prime] |
| 30 | variable (K : IntermediateField ℚ_[p] (PadicAlgCl p)) [Module.Finite ℚ_[p] K] |
| 31 | |
| 32 | def k0ToK : MaximalUnramified.K0 p K →ₐ[ℚ_[p]] K := IntermediateField.inclusion (MaximalUnramified.K0_isGreatest p K).1.1 |
| 33 | |
| 34 | instance k0FieldAlgebra : Algebra (MaximalUnramified.K0 p K) K := (k0ToK p K).toRingHom.toAlgebra |
| 35 | |
| 36 | instance k0FieldModule : Module (MaximalUnramified.K0 p K) K := Algebra.toModule |
| 37 | |
| 38 | instance k0FieldTower : IsScalarTower ℚ_[p] (MaximalUnramified.K0 p K) K := |
| 39 | IsScalarTower.of_algebraMap_eq (fun a => ((k0ToK p K).commutes a).symm) |
| 40 | |
| 41 | theorem k0ToBCris_comparison (a : MaximalUnramified.K0 p K) : |
| 42 | ComparisonBd.bCrisToBdR p (ValuationStructure.k0ToBCris p K a) = DeRhamField.Scalars.fieldToDeRham p (MaximalUnramified.K0 p K) a := by |
| 43 | change ComparisonBd.bCrisToBdR p (UnramifiedCoefficients.coefficientFieldToBCris p |
| 44 | (FiniteFieldResidue.residueEmbedding p K) ((ValuationStructure.k0ModelEquiv p K).symm a)) = |
| 45 | ComparisonBd.bdRPlusToBdR p (DeRhamField.Constants.algebraicToBdRPlus p (a : PadicAlgCl p)) |
| 46 | rw [CoefficientComparison.coefficientFieldToBCris_comparison, ← AlgebraicCoefficientFields.coefficientFieldToAlgebraic_completion] |
| 47 | apply congrArg (fun z : PadicAlgCl p => ComparisonBd.bdRPlusToBdR p (DeRhamField.Constants.algebraicToBdRPlus p z)) |
| 48 | exact congrArg Subtype.val ((ValuationStructure.k0ModelEquiv p K).apply_symm_apply a) |
| 49 | |
| 50 | theorem k0ToK_deRham (a : MaximalUnramified.K0 p K) : |
| 51 | DeRhamField.Scalars.fieldToDeRham p K (k0ToK p K a) = DeRhamField.Scalars.fieldToDeRham p (MaximalUnramified.K0 p K) a := rfl |
| 52 | |
| 53 | instance k0DeRhamFieldTower : IsScalarTower (MaximalUnramified.K0 p K) K (Logarithm.PeriodRings.BdR p) := |
| 54 | IsScalarTower.of_algebraMap_eq (fun a => (k0ToK_deRham p K a).symm) |
| 55 | |
| 56 | instance k0PeriodDistrib : DistribMulAction (MaximalUnramified.K0 p K) (Logarithm.PeriodRings.BCris p) := |
| 57 | (ValuationStructure.k0PeriodModule p K).toDistribMulAction |
| 58 | |
| 59 | instance k0PeriodAction : MulAction (MaximalUnramified.K0 p K) (Logarithm.PeriodRings.BCris p) := (k0PeriodDistrib p K).toMulAction |
| 60 | |
| 61 | instance k0PeriodTower : IsScalarTower ℚ_[p] (MaximalUnramified.K0 p K) (Logarithm.PeriodRings.BCris p) := |
| 62 | IsScalarTower.of_algebraMap_eq (fun a => ((ValuationStructure.k0ToBCris p K).commutes a).symm) |
| 63 | |
| 64 | instance k0PeriodComm : SMulCommClass ℚ_[p] (MaximalUnramified.K0 p K) (Logarithm.PeriodRings.BCris p) where |
| 65 | smul_comm a b x := by |
| 66 | change Galois.PeriodStructure.padicToBCris p a * (ValuationStructure.k0ToBCris p K b * x) = |
| 67 | ValuationStructure.k0ToBCris p K b * (Galois.PeriodStructure.padicToBCris p a * x) |
| 68 | ring |
| 69 | |
| 70 | def bCrisToBdRK0Alg : Logarithm.PeriodRings.BCris p →ₐ[MaximalUnramified.K0 p K] Logarithm.PeriodRings.BdR p := |
| 71 | { ComparisonBd.bCrisToBdR p with commutes' := k0ToBCris_comparison p K } |
| 72 | |
| 73 | variable {V : Type*} [AddCommGroup V] [Module ℚ_[p] V] |
| 74 | |
| 75 | instance tensorK0SMul : SMul (MaximalUnramified.K0 p K) (Logarithm.PeriodRings.BCris p ⊗[ℚ_[p]] V) := TensorProduct.leftHasSMul |
| 76 | |
| 77 | instance tensorK0Module : Module (MaximalUnramified.K0 p K) (Logarithm.PeriodRings.BCris p ⊗[ℚ_[p]] V) := TensorProduct.leftModule |
| 78 | |
| 79 | def dCrisK0Subtype (ρ : Representation ℚ_[p] K.fixingSubgroup V) : |
| 80 | DcrisD.Dcris p K ρ →ₗ[MaximalUnramified.K0 p K] (Logarithm.PeriodRings.BCris p ⊗[ℚ_[p]] V) where |
| 81 | toFun := Subtype.val |
| 82 | map_add' _ _ := rfl |
| 83 | map_smul' _ _ := rfl |
| 84 | |
| 85 | theorem tensorComparison_k0_smul (a : MaximalUnramified.K0 p K) (x : Logarithm.PeriodRings.BCris p ⊗[ℚ_[p]] V) : |
| 86 | InvariantComparison.tensorComparison p (a • x) = a • InvariantComparison.tensorComparison p x := |
| 87 | tensorMap_smul (ComparisonScalars.bCrisToBdRAlg p).toLinearMap |
| 88 | (fun a b => (bCrisToBdRK0Alg p K).toLinearMap.map_smul a b) a x |
| 89 | |
| 90 | def dCrisToDeRhamTensor (ρ : Representation ℚ_[p] K.fixingSubgroup V) : |
| 91 | DcrisD.Dcris p K ρ →ₗ[MaximalUnramified.K0 p K] (Logarithm.PeriodRings.BdR p ⊗[ℚ_[p]] V) where |
| 92 | toFun x := InvariantComparison.tensorComparison p x.val |
| 93 | map_add' x y := (InvariantComparison.tensorComparison p).map_add x.val y.val |
| 94 | map_smul' a x := tensorComparison_k0_smul p K a x.val |
| 95 | |
| 96 | theorem dCrisToDeRhamTensor_injective (ρ : Representation ℚ_[p] K.fixingSubgroup V) : |
| 97 | Function.Injective (dCrisToDeRhamTensor p K ρ) := |
| 98 | (CrystallineEmbedding.tensorComparison_injective p).comp Subtype.val_injective |
| 99 | |
| 100 | end |
| 101 | |
| 102 | end OAI.NumberTheory.PadicHodge.WeakAdmissibility.ComparisonB |