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.GeometricFiltration |
| 2 | import OAI.NumberTheory.PadicHodge.WeakAdmissibility.ValuationStructure |
| 3 | |
| 4 | /-! # Interface -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.WeakAdmissibility.Interface |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Actual interfaces for the WeakAdmissibility statement. A finite extension is realized as a |
| 12 | subfield of the fixed algebraic closure of Q_p. The realization theorem below |
| 13 | shows that this convention includes every abstract finite extension. |
| 14 | |
| 15 | Crystallinity is solely the dimension equality for actual Galois invariants. |
| 16 | No comparison isomorphism, invertibility, filtration bound, or admissibility |
| 17 | property is included in the definition. |
| 18 | -/ |
| 19 | |
| 20 | open OAI.NumberTheory.PadicHodge.WeakAdmissibility.Logarithm.PeriodRings OAI.NumberTheory.PadicHodge.WeakAdmissibility.MaximalUnramified OAI.NumberTheory.PadicHodge.WeakAdmissibility.ValuationStructure OAI.NumberTheory.PadicHodge.WeakAdmissibility.ComparisonB |
| 21 | open OAI.NumberTheory.PadicHodge.WeakAdmissibility.DcrisD OAI.NumberTheory.PadicHodge.WeakAdmissibility.GeometricFiltration OAI.NumberTheory.PadicHodge.WeakAdmissibility.FilteredRepresentations.Construction |
| 22 | open scoped TensorProduct |
| 23 | |
| 24 | def extendToAlgebra {R S D M : Type*} [Field R] [Semiring S] [Algebra R S] |
| 25 | [AddCommMonoid D] [Module R D] [AddCommMonoid M] [Module R M] [Module S M] |
| 26 | [IsScalarTower R S M] (f : D →ₗ[R] M) : S ⊗[R] D →ₗ[S] M := |
| 27 | TensorProduct.AlgebraTensorModule.lift |
| 28 | { toFun := fun a => |
| 29 | { toFun := fun d => a • f d |
| 30 | map_add' := fun x y => by rw [map_add, smul_add] |
| 31 | map_smul' := fun c d => by |
| 32 | change a • f (c • d) = c • (a • f d) |
| 33 | rw [map_smul, smul_comm] } |
| 34 | map_add' := fun a b => LinearMap.ext fun d => add_smul a b (f d) |
| 35 | map_smul' := fun a b => LinearMap.ext fun d => mul_smul a b (f d) } |
| 36 | |
| 37 | variable (p : ℕ) [Fact p.Prime] |
| 38 | |
| 39 | theorem finiteExtension_realization (L : Type*) [Field L] [Algebra ℚ_[p] L] |
| 40 | [Module.Finite ℚ_[p] L] : |
| 41 | ∃ K : IntermediateField ℚ_[p] (PadicAlgCl p), Nonempty (L ≃ₐ[ℚ_[p]] K) := by |
| 42 | let f : L →ₐ[ℚ_[p]] PadicAlgCl p := IsAlgClosed.lift |
| 43 | exact ⟨f.fieldRange, ⟨f.equivFieldRange⟩⟩ |
| 44 | |
| 45 | variable (K : IntermediateField ℚ_[p] (PadicAlgCl p)) |
| 46 | |
| 47 | /-- A finite continuous Q_p-representation of the genuine fixing subgroup G_K. -/ |
| 48 | structure FinitePadicGaloisRep where |
| 49 | dimension : ℕ |
| 50 | rho : Representation ℚ_[p] K.fixingSubgroup (Fin dimension → ℚ_[p]) |
| 51 | continuous_action : Continuous |
| 52 | (fun x : K.fixingSubgroup × (Fin dimension → ℚ_[p]) => rho x.1 x.2) |
| 53 | |
| 54 | variable [Module.Finite ℚ_[p] K] |
| 55 | |
| 56 | namespace FinitePadicGaloisRep |
| 57 | variable (ρ : FinitePadicGaloisRep p K) |
| 58 | |
| 59 | /-- The existing Galois-invariant tensor space, with its constructed K0 action. -/ |
| 60 | abbrev crystallineInvariants := DcrisD.Dcris p K ρ.rho |
| 61 | |
| 62 | /-- Cardinal dimension avoids the convention that finrank is zero in infinite dimension. -/ |
| 63 | def IsCrystalline : Prop := |
| 64 | Module.rank (MaximalUnramified.K0 p K) (crystallineInvariants p K ρ) = (ρ.dimension : Cardinal) |
| 65 | |
| 66 | theorem crystalline_finite (hρ : ρ.IsCrystalline p K) : |
| 67 | Module.Finite (MaximalUnramified.K0 p K) (crystallineInvariants p K ρ) := |
| 68 | Module.finite_of_rank_eq_nat hρ |
| 69 | |
| 70 | theorem crystalline_finrank (hρ : ρ.IsCrystalline p K) : |
| 71 | Module.finrank (MaximalUnramified.K0 p K) (crystallineInvariants p K ρ) = ρ.dimension := |
| 72 | Module.finrank_eq_of_rank_eq hρ |
| 73 | |
| 74 | end FinitePadicGaloisRep |
| 75 | |
| 76 | variable {V : Type*} [AddCommGroup V] [Module ℚ_[p] V] |
| 77 | |
| 78 | /-- The actual crystalline comparison b tensor d maps to b times d. -/ |
| 79 | def crystallineComparison (ρ : Representation ℚ_[p] K.fixingSubgroup V) : |
| 80 | Logarithm.PeriodRings.BCris p ⊗[MaximalUnramified.K0 p K] DcrisD.Dcris p K ρ →ₗ[Logarithm.PeriodRings.BCris p] (Logarithm.PeriodRings.BCris p ⊗[ℚ_[p]] V) := |
| 81 | extendToAlgebra (R := MaximalUnramified.K0 p K) (S := Logarithm.PeriodRings.BCris p) (ComparisonB.dCrisK0Subtype p K ρ) |
| 82 | |
| 83 | theorem crystallineComparison_tmul (ρ : Representation ℚ_[p] K.fixingSubgroup V) |
| 84 | (b : Logarithm.PeriodRings.BCris p) (x : DcrisD.Dcris p K ρ) : |
| 85 | crystallineComparison p K ρ (b ⊗ₜ[MaximalUnramified.K0 p K] x) = b • (x : Logarithm.PeriodRings.BCris p ⊗[ℚ_[p]] V) := rfl |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.NumberTheory.PadicHodge.WeakAdmissibility.Interface |