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.LevelReductionFunctor |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Isomorphism |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.RingQuotientFactor |
| 4 | |
| 5 | /-! # Reduction Characterization -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ReductionCharacterization |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The canonical level reduction agrees with any original crystalline quotient having the same prime-power kernel. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.LevelReduction |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {p : ℕ} {B : Type u} [CommRing B] {δ : DividedPowers (Ideal.span {(p : B)})} |
| 20 | {X : Scheme.{u}} {f : X ⟶ Spec (CommRingCat.of B)} (n : ℕ) |
| 21 | {U V : BigCrystallineSite.Object p B (Ideal.span {(p : B)}) δ f} (α : U ⟶ V) |
| 22 | (hU : (p : U.ring) ^ (n + 1) = 0) |
| 23 | (hα : Function.Surjective α.ringMap) |
| 24 | (hk : RingHom.ker α.ringMap.toRingHom = (Ideal.span {(p : V.ring)}) ^ (n + 1)) |
| 25 | (hq : Function.Injective (BigCrystallineSite.Object.quotientMap U V α.ringMap)) |
| 26 | |
| 27 | include hα hk in |
| 28 | theorem factor_bijective : Function.Bijective (LevelReduction.factor n α hU).ringMap := |
| 29 | RingQuotientFactor.bijective (LevelReduction.hom n V).ringMap.toRingHom α.ringMap.toRingHom |
| 30 | (LevelReduction.factor n α hU).ringMap.toRingHom (LevelReduction.hom_surjective n V) hα |
| 31 | (congrArg (fun a : U ⟶ V => a.ringMap.toRingHom) (LevelReduction.factor_comp n α hU)) |
| 32 | ((LevelReduction.hom_kernel n V).trans hk.symm) |
| 33 | |
| 34 | include hq in |
| 35 | theorem factor_quotient_injective : Function.Injective (BigCrystallineSite.Object.quotientMap U (LevelReduction.object n V) (LevelReduction.factor n α hU).ringMap) := by |
| 36 | have hs : Function.Surjective (BigCrystallineSite.Object.quotientMap (LevelReduction.object n V) V (LevelReduction.hom n V).ringMap) := |
| 37 | Ideal.quotientMap_surjective (LevelReduction.hom_surjective n V) |
| 38 | have he : (BigCrystallineSite.Object.quotientMap U (LevelReduction.object n V) (LevelReduction.factor n α hU).ringMap).comp |
| 39 | (BigCrystallineSite.Object.quotientMap (LevelReduction.object n V) V (LevelReduction.hom n V).ringMap) = BigCrystallineSite.Object.quotientMap U V α.ringMap := by |
| 40 | rw [← BigCrystallineSite.Object.quotientMap_comp] |
| 41 | exact congrArg (fun a : U ⟶ V => BigCrystallineSite.Object.quotientMap U V a.ringMap) (LevelReduction.factor_comp n α hU) |
| 42 | intro x y hxy |
| 43 | obtain ⟨a, rfl⟩ := hs x |
| 44 | obtain ⟨b, rfl⟩ := hs y |
| 45 | have hab : BigCrystallineSite.Object.quotientMap U V α.ringMap a = BigCrystallineSite.Object.quotientMap U V α.ringMap b := |
| 46 | (RingHom.congr_fun he a).symm.trans (hxy.trans (RingHom.congr_fun he b)) |
| 47 | exact congrArg (BigCrystallineSite.Object.quotientMap (LevelReduction.object n V) V (LevelReduction.hom n V).ringMap) (hq hab) |
| 48 | |
| 49 | include hα hk hq in |
| 50 | theorem factor_isIso : IsIso (LevelReduction.factor n α hU) := |
| 51 | Isomorphism.isIso_of_ring_bijective_quotient_injective (LevelReduction.factor n α hU) |
| 52 | (factor_bijective n α hU hα hk) (factor_quotient_injective n α hU hq) |
| 53 | |
| 54 | def iso : U ≅ LevelReduction.object n V := |
| 55 | Isomorphism.iso (LevelReduction.factor n α hU) |
| 56 | (factor_bijective n α hU hα hk) (factor_quotient_injective n α hU hq) |
| 57 | |
| 58 | theorem iso_hom : (iso n α hU hα hk hq).hom ≫ LevelReduction.hom n V = α := LevelReduction.factor_comp n α hU |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ReductionCharacterization |