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.LevelReduction |
| 2 | |
| 3 | /-! # Level Reduction Functor -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.LevelReductionFunctor |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Canonical prime-power reduction is a functor on the original crystalline objects. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory |
| 12 | |
| 13 | open _root_.AlgebraicGeometry OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.LevelReduction |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {p : ℕ} {B : Type u} [CommRing B] {δ : DividedPowers (Ideal.span {(p : B)})} |
| 18 | {X : Scheme.{u}} {f : X ⟶ Spec (CommRingCat.of B)} (n : ℕ) |
| 19 | |
| 20 | instance hom_mono (U : BigCrystallineSite.Object p B (Ideal.span {(p : B)}) δ f) : Mono (LevelReduction.hom n U) where |
| 21 | right_cancellation {Z} a b h := by |
| 22 | apply BigCrystallineSite.Object.Hom.ext |
| 23 | apply DFunLike.ext |
| 24 | intro y |
| 25 | obtain ⟨x, rfl⟩ := LevelReduction.hom_surjective n U y |
| 26 | exact congrArg (fun a : Z ⟶ U => a.ringMap x) h |
| 27 | |
| 28 | def map {U V : BigCrystallineSite.Object p B (Ideal.span {(p : B)}) δ f} (α : U ⟶ V) : LevelReduction.object n U ⟶ LevelReduction.object n V := |
| 29 | LevelReduction.factor n (LevelReduction.hom n U ≫ α) (LevelReduction.prime_power_zero n U) |
| 30 | |
| 31 | theorem map_comp_hom {U V : BigCrystallineSite.Object p B (Ideal.span {(p : B)}) δ f} (α : U ⟶ V) : |
| 32 | LevelReductionFunctor.map n α ≫ LevelReduction.hom n V = LevelReduction.hom n U ≫ α := |
| 33 | LevelReduction.factor_comp n (LevelReduction.hom n U ≫ α) (LevelReduction.prime_power_zero n U) |
| 34 | |
| 35 | theorem map_id (U : BigCrystallineSite.Object p B (Ideal.span {(p : B)}) δ f) : LevelReductionFunctor.map n (𝟙 U) = 𝟙 (LevelReduction.object n U) := by |
| 36 | apply (cancel_mono (LevelReduction.hom n U)).mp |
| 37 | rw [map_comp_hom, Category.comp_id, Category.id_comp] |
| 38 | |
| 39 | theorem map_comp {U V W : BigCrystallineSite.Object p B (Ideal.span {(p : B)}) δ f} (α : U ⟶ V) (β : V ⟶ W) : |
| 40 | LevelReductionFunctor.map n (α ≫ β) = LevelReductionFunctor.map n α ≫ LevelReductionFunctor.map n β := by |
| 41 | apply (cancel_mono (LevelReduction.hom n W)).mp |
| 42 | have h : (LevelReductionFunctor.map n α ≫ LevelReductionFunctor.map n β) ≫ LevelReduction.hom n W = LevelReduction.hom n U ≫ (α ≫ β) := |
| 43 | (Category.assoc _ _ _).trans |
| 44 | ((congrArg (fun a => LevelReductionFunctor.map n α ≫ a) (map_comp_hom n β)).trans |
| 45 | ((Category.assoc _ _ _).symm.trans |
| 46 | ((congrArg (fun a => a ≫ β) (map_comp_hom n α)).trans (Category.assoc _ _ _)))) |
| 47 | exact (map_comp_hom n (α ≫ β)).trans h.symm |
| 48 | |
| 49 | def functor : BigCrystallineSite.Object p B (Ideal.span {(p : B)}) δ f ⥤ |
| 50 | BoundedCrystalline.Site.Objects (p := p) (J := Ideal.span {(p : B)}) (δ := δ) f n where |
| 51 | obj U := LevelReduction.boundedObject n U |
| 52 | map α := ObjectProperty.homMk (LevelReductionFunctor.map n α) |
| 53 | map_id U := by |
| 54 | apply (BoundedCrystalline.Site.inclusion f n).map_injective |
| 55 | exact LevelReductionFunctor.map_id n U |
| 56 | map_comp α β := by |
| 57 | apply (BoundedCrystalline.Site.inclusion f n).map_injective |
| 58 | exact LevelReductionFunctor.map_comp n α β |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.LevelReductionFunctor |