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.DeRhamEmbedding |
| 2 | |
| 3 | /-! # Finite De Rham P -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.WeakAdmissibility.FiniteDeRhamP |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Integral lattices in the finite quotients of the actual de Rham ring. -/ |
| 10 | |
| 11 | open OAI.NumberTheory.PadicHodge.WeakAdmissibility.Logarithm.PeriodRings OAI.NumberTheory.PadicHodge.WeakAdmissibility.ThetaKernel OAI.NumberTheory.PadicHodge.WeakAdmissibility.ThetaQuotients OAI.NumberTheory.PadicHodge.WeakAdmissibility.DeRham OAI.NumberTheory.PadicHodge.WeakAdmissibility.DeRhamEmbedding |
| 12 | variable (p : ℕ) [Fact p.Prime] |
| 13 | |
| 14 | abbrev FiniteDeRham (m : ℕ) := Logarithm.PeriodRings.BInf p ⧸ (DeRham.deRhamIdeal p) ^ m |
| 15 | |
| 16 | def integralToFinite (m : ℕ) : ThetaQuotients.ThetaPowerQuotient p m →+* FiniteDeRham p m := |
| 17 | Ideal.quotientMap _ (algebraMap (Logarithm.PeriodRings.AInf p) (Logarithm.PeriodRings.BInf p)) (by |
| 18 | rw [← Ideal.map_le_iff_le_comap, ← DeRhamEmbedding.deRhamIdeal_power_eq_map]) |
| 19 | |
| 20 | theorem integralToFinite_mk (m : ℕ) (a : Logarithm.PeriodRings.AInf p) : |
| 21 | integralToFinite p m (Ideal.Quotient.mk _ a) = |
| 22 | Ideal.Quotient.mk _ (algebraMap (Logarithm.PeriodRings.AInf p) (Logarithm.PeriodRings.BInf p) a) := rfl |
| 23 | |
| 24 | theorem integralToFinite_injective (m : ℕ) : Function.Injective (integralToFinite p m) := by |
| 25 | apply (injective_iff_map_eq_zero _).mpr |
| 26 | intro z hz |
| 27 | obtain ⟨a, rfl⟩ := Ideal.Quotient.mk_surjective z |
| 28 | have hmem := Ideal.Quotient.eq_zero_iff_mem.mp hz |
| 29 | change algebraMap (Logarithm.PeriodRings.AInf p) (Logarithm.PeriodRings.BInf p) a ∈ (DeRham.deRhamIdeal p) ^ m at hmem |
| 30 | rw [DeRhamEmbedding.deRhamIdeal_power_eq_map] at hmem |
| 31 | obtain ⟨t, ht, hta⟩ := |
| 32 | (IsLocalization.algebraMap_mem_map_algebraMap_iff (Submonoid.powers (p : Logarithm.PeriodRings.AInf p)) |
| 33 | (Logarithm.PeriodRings.BInf p) (Ideal.span {ThetaKernel.thetaGenerator p ^ m}) a).mp hmem |
| 34 | obtain ⟨n, rfl⟩ := ht |
| 35 | exact Ideal.Quotient.eq_zero_iff_mem.mpr (ThetaQuotients.thetaPower_p_saturated p m n a hta) |
| 36 | |
| 37 | def uncompletedToFinite (m : ℕ) : Logarithm.PeriodRings.ACrisUncompleted p →+* FiniteDeRham p m := |
| 38 | (Ideal.Quotient.mk _).comp (DeRhamEnvelope.uncompletedToBInf p) |
| 39 | |
| 40 | theorem uncompletedToFinite_algebraMap (m : ℕ) (a : Logarithm.PeriodRings.AInf p) : |
| 41 | uncompletedToFinite p m (algebraMap (Logarithm.PeriodRings.AInf p) (Logarithm.PeriodRings.ACrisUncompleted p) a) = |
| 42 | integralToFinite p m (Ideal.Quotient.mk _ a) := by |
| 43 | simp only [uncompletedToFinite, RingHom.comp_apply, |
| 44 | DeRhamEnvelope.uncompletedToBInf_algebraMap, integralToFinite_mk] |
| 45 | |
| 46 | def padicToFinite (m : ℕ) : ℚ_[p] →+* FiniteDeRham p m := |
| 47 | (Ideal.Quotient.mk _).comp (PeriodInvariants.Nontriviality.padicToBinf p) |
| 48 | |
| 49 | theorem factorial_isUnit (m n : ℕ) : IsUnit (n.factorial : FiniteDeRham p m) := by |
| 50 | have h : IsUnit (n.factorial : ℚ_[p]) := |
| 51 | isUnit_iff_ne_zero.mpr (by exact_mod_cast Nat.factorial_ne_zero n) |
| 52 | simpa only [map_natCast] using h.map (padicToFinite p m) |
| 53 | |
| 54 | theorem p_isUnit (m : ℕ) : IsUnit (p : FiniteDeRham p m) := by |
| 55 | have h : IsUnit (p : ℚ_[p]) := |
| 56 | isUnit_iff_ne_zero.mpr (by exact_mod_cast (Fact.out : p.Prime).ne_zero) |
| 57 | simpa only [map_natCast] using h.map (padicToFinite p m) |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.NumberTheory.PadicHodge.WeakAdmissibility.FiniteDeRhamP |