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.Crystalline.Cohomology.PD.LocalizationUniversal |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.LocalizationReductionKernel |
| 3 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.PD.Thickening |
| 4 | |
| 5 | /-! # Localized PD -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.LocalizedPD.LocalizedPDThickening |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Principal-open localization of actual PD thickenings |
| 13 | |
| 14 | The ambient ring and residue ring are localized at a coefficient and its |
| 15 | residue. The actual reduction remains surjective with the localized kernel. |
| 16 | The constructed localized divided powers preserve Witt-base compatibility |
| 17 | and nilpotence of p, giving another actual crystalline thickening. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | variable (p : ℕ) [Fact p.Prime] (k A : Type u) [Field k] [CharP k p] |
| 25 | [CommRing A] [Algebra k A] (T : PD.Thickening.AffinePDThickening p k A) (s : T.ring) |
| 26 | |
| 27 | local notation "W" => WittVector p k |
| 28 | local notation "R" => T.ring |
| 29 | local notation "RS" => Localization.Away s |
| 30 | local notation "AS" => Localization.Away (T.reduction s) |
| 31 | local notation "I" => RingHom.ker T.reduction |
| 32 | local notation "J" => Ideal.map (algebraMap R RS) I |
| 33 | local notation "r" => OAI.AlgebraicGeometry.Crystalline.Cohomology.LocalizationReductionKernel.LocalizationReduction.map R A T.reduction s |
| 34 | local notation "γ" => OAI.AlgebraicGeometry.Crystalline.Cohomology.PD.Localization.PDLocalization.dividedPowers R RS (Submonoid.powers s) I T.dividedPowers |
| 35 | |
| 36 | def dividedPowers : DividedPowers (RingHom.ker r) := |
| 37 | DividedPowers.ofRingEquiv (e := RingEquiv.refl RS) |
| 38 | (by |
| 39 | change (J).map (RingHom.id RS) = _ |
| 40 | rw [Ideal.map_id, LocalizationReductionKernel.LocalizationReduction.kernel]) γ |
| 41 | |
| 42 | theorem identity_isDPMorphism : |
| 43 | DividedPowers.IsDPMorphism γ (LocalizedPDThickening.dividedPowers p k A T s) (RingHom.id RS) where |
| 44 | ideal_comp := by rw [Ideal.map_id, LocalizationReductionKernel.LocalizationReduction.kernel] |
| 45 | dpow_comp _ _ := rfl |
| 46 | |
| 47 | theorem identity_inverse_isDPMorphism : |
| 48 | DividedPowers.IsDPMorphism (LocalizedPDThickening.dividedPowers p k A T s) γ (RingHom.id RS) where |
| 49 | ideal_comp := by rw [Ideal.map_id, LocalizationReductionKernel.LocalizationReduction.kernel] |
| 50 | dpow_comp _ _ := rfl |
| 51 | |
| 52 | theorem coefficients_isDPMorphism : |
| 53 | DividedPowers.IsDPMorphism T.dividedPowers (LocalizedPDThickening.dividedPowers p k A T s) (algebraMap R RS) := |
| 54 | (identity_isDPMorphism p k A T s).comp _ |
| 55 | (PD.Localization.PDLocalization.base_isDPMorphism R RS (Submonoid.powers s) I T.dividedPowers) |
| 56 | |
| 57 | def thickening : PD.Thickening.AffinePDThickening p k AS where |
| 58 | ring := CommRingCat.of RS |
| 59 | reduction := r |
| 60 | reduction_surjective := LocalizationReductionKernel.LocalizationReduction.surjective R A T.reduction s T.reduction_surjective |
| 61 | reduction_base := by |
| 62 | ext w |
| 63 | change r (algebraMap W RS w) = algebraMap k AS (WittVector.constantCoeff w) |
| 64 | rw [IsScalarTower.algebraMap_apply W R RS, LocalizationReductionKernel.LocalizationReduction.map_algebraMap] |
| 65 | have hb := DFunLike.congr_fun T.reduction_base w |
| 66 | change T.reduction (algebraMap W R w) = algebraMap k A (WittVector.constantCoeff w) at hb |
| 67 | rw [hb, IsScalarTower.algebraMap_apply k A AS] |
| 68 | p_nilpotent := by |
| 69 | have hp := T.p_nilpotent.map (algebraMap R RS) |
| 70 | simpa only [map_natCast] using hp |
| 71 | dividedPowers := LocalizedPDThickening.dividedPowers p k A T s |
| 72 | baseDP := by |
| 73 | have hd := (coefficients_isDPMorphism p k A T s).comp _ T.baseDP |
| 74 | rw [← IsScalarTower.algebraMap_eq W R RS] at hd |
| 75 | exact hd |
| 76 | |
| 77 | def ambientMap : R →ₐ[W] RS := IsScalarTower.toAlgHom W R RS |
| 78 | |
| 79 | def reducedMap : A →ₐ[k] AS := IsScalarTower.toAlgHom k A AS |
| 80 | |
| 81 | theorem reduction_comm (x : R) : |
| 82 | (thickening p k A T s).reduction (ambientMap p k A T s x) = |
| 83 | reducedMap p k A T s (T.reduction x) := |
| 84 | LocalizationReductionKernel.LocalizationReduction.map_algebraMap R A T.reduction s x |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.LocalizedPD.LocalizedPDThickening |