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.IntegralComparison.Crystalline.Equalizer |
| 2 | |
| 3 | /-! # Crystalline Equalizer -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Small.CrystallineEqualizer |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # IntegralComparison: equalizers in the small crystalline category |
| 11 | |
| 12 | Parallel small-site morphisms agree on the closed subschemes, since these |
| 13 | are open subschemes of X. The constructed divided-power relation quotient |
| 14 | therefore gives their actual equalizer and the inclusion preserves it. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Site |
| 22 | |
| 23 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 24 | variable {X : Scheme.{u}} {f : X ⟶ Spec (CommRingCat.of B)} |
| 25 | variable {U V : Crystalline.Site.AffineThickening p B J δ f} (α β : U ⟶ V) |
| 26 | |
| 27 | lemma quotient_maps_equal : Crystalline.Site.AffineThickening.quotientMap U V α.ringMap = |
| 28 | Crystalline.Site.AffineThickening.quotientMap U V β.ringMap := by |
| 29 | have h := (cancel_mono V.openMap).mp (α.overX.trans β.overX.symm) |
| 30 | exact congrArg CommRingCat.Hom.hom (Spec.map_injective h) |
| 31 | |
| 32 | abbrev object : Crystalline.Site.AffineThickening p B J δ f := |
| 33 | Crystalline.RelationQuotient.smallObject U |
| 34 | (Crystalline.Equalizer.relations (BigCrystallineSite.fromSmall.map α) (BigCrystallineSite.fromSmall.map β)) |
| 35 | (Crystalline.Equalizer.relations_subset (BigCrystallineSite.fromSmall.map α) (BigCrystallineSite.fromSmall.map β) |
| 36 | (quotient_maps_equal α β)) |
| 37 | |
| 38 | def hom : object α β ⟶ U where |
| 39 | ringMap := (Crystalline.Equalizer.hom (BigCrystallineSite.fromSmall.map α) (BigCrystallineSite.fromSmall.map β) |
| 40 | (quotient_maps_equal α β)).ringMap |
| 41 | overBase := rfl |
| 42 | overX := rfl |
| 43 | |
| 44 | lemma condition : CrystallineEqualizer.hom α β ≫ α = CrystallineEqualizer.hom α β ≫ β := by |
| 45 | apply BigCrystallineSite.fromSmall.map_injective |
| 46 | exact Crystalline.Equalizer.condition (BigCrystallineSite.fromSmall.map α) (BigCrystallineSite.fromSmall.map β) |
| 47 | (quotient_maps_equal α β) |
| 48 | |
| 49 | def fork : Fork α β := Fork.ofι (CrystallineEqualizer.hom α β) (condition α β) |
| 50 | |
| 51 | def isEqualizer : IsLimit (fork α β) := |
| 52 | isLimitOfIsLimitForkMap BigCrystallineSite.fromSmall (condition α β) |
| 53 | (Crystalline.Equalizer.isEqualizer (BigCrystallineSite.fromSmall.map α) (BigCrystallineSite.fromSmall.map β) |
| 54 | (quotient_maps_equal α β)) |
| 55 | |
| 56 | instance hasEqualizer : HasEqualizer α β := HasLimit.mk ⟨fork α β, isEqualizer α β⟩ |
| 57 | |
| 58 | instance hasEqualizers : HasEqualizers (Crystalline.Site.AffineThickening p B J δ f) := |
| 59 | hasEqualizers_of_hasLimit_parallelPair _ |
| 60 | |
| 61 | instance inclusion_preserves_equalizer : PreservesLimit (parallelPair α β) BigCrystallineSite.fromSmall := |
| 62 | preservesLimit_of_preserves_limit_cone (isEqualizer α β) |
| 63 | ((isLimitMapConeForkEquiv BigCrystallineSite.fromSmall (condition α β)).symm |
| 64 | (Crystalline.Equalizer.isEqualizer (BigCrystallineSite.fromSmall.map α) (BigCrystallineSite.fromSmall.map β) |
| 65 | (quotient_maps_equal α β))) |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Small.CrystallineEqualizer |