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.AbelianScheme.FrobeniusKernel.PicardPullback |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Dual.BaseChange |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Isogeny.BaseChange |
| 4 | |
| 5 | /-! # Picard Map Base Change -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.PicardMapBaseChange.Construction.IntrinsicPicardPullback |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Canonical Picard pullback commutes with base change. The |
| 12 | comparison is induced by the original family product maps and the |
| 13 | native homogeneous Picard representation. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 16 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 17 | open scoped _root_.CategoryTheory.MonObj |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Functor (familyMap) |
| 22 | |
| 23 | variable {S S' : Scheme.{u}} {X Y : Over S} (p : X ⟶ Y) (f : S' ⟶ S) |
| 24 | |
| 25 | theorem familyMap_eq_whisker (T : Over S) : Picard.PoincareBundle.Functor.familyMap p T = (T ◁ p).left := by |
| 26 | simp only [Picard.PoincareBundle.Functor.familyMap, tensorHom_def, id_whiskerRight, Category.id_comp] |
| 27 | |
| 28 | theorem familyBaseChangeIso_map_hom (T : Over S') : |
| 29 | Picard.PoincareBundle.Functor.familyMap ((Over.pullback f).map p) T ≫ (AbelianModuli.HilbertConstruction.Picard.BaseChange.familyBaseChangeIso Y f T).hom = |
| 30 | (AbelianModuli.HilbertConstruction.Picard.BaseChange.familyBaseChangeIso X f T).hom ≫ Picard.PoincareBundle.Functor.familyMap p ((Over.map f).obj T) := by |
| 31 | simp only [familyMap_eq_whisker] |
| 32 | apply CategoryTheory.Limits.pullback.hom_ext |
| 33 | · have hL : (T ◁ (Over.pullback f).map p).left ≫ |
| 34 | CategoryTheory.Limits.pullback.fst T.hom (CategoryTheory.Limits.pullback.snd Y.hom f) = |
| 35 | CategoryTheory.Limits.pullback.fst T.hom (CategoryTheory.Limits.pullback.snd X.hom f) := |
| 36 | Over.whiskerLeft_left_fst _ |
| 37 | have hR : (((Over.map f).obj T) ◁ p).left ≫ |
| 38 | CategoryTheory.Limits.pullback.fst (T.hom ≫ f) Y.hom = |
| 39 | CategoryTheory.Limits.pullback.fst (T.hom ≫ f) X.hom := Over.whiskerLeft_left_fst _ |
| 40 | simp only [Category.assoc, AbelianModuli.HilbertConstruction.Picard.BaseChange.familyBaseChangeIso_hom_fst, hL, hR] |
| 41 | · have hL : (T ◁ (Over.pullback f).map p).left ≫ |
| 42 | CategoryTheory.Limits.pullback.snd T.hom (CategoryTheory.Limits.pullback.snd Y.hom f) = |
| 43 | CategoryTheory.Limits.pullback.snd T.hom (CategoryTheory.Limits.pullback.snd X.hom f) ≫ |
| 44 | ((Over.pullback f).map p).left := Over.whiskerLeft_left_snd _ |
| 45 | have hR : (((Over.map f).obj T) ◁ p).left ≫ |
| 46 | CategoryTheory.Limits.pullback.snd (T.hom ≫ f) Y.hom = |
| 47 | CategoryTheory.Limits.pullback.snd (T.hom ≫ f) X.hom ≫ p.left := Over.whiskerLeft_left_snd _ |
| 48 | have hp : ((Over.pullback f).map p).left ≫ CategoryTheory.Limits.pullback.fst Y.hom f = |
| 49 | CategoryTheory.Limits.pullback.fst X.hom f ≫ p.left := |
| 50 | CategoryTheory.Limits.pullback.lift_fst _ _ _ |
| 51 | simp only [Category.assoc, AbelianModuli.HilbertConstruction.Picard.BaseChange.familyBaseChangeIso_hom_snd, hR] |
| 52 | rw [← Category.assoc, hL, Category.assoc, hp] |
| 53 | exact (Category.assoc _ _ _).symm.trans |
| 54 | ((congrArg (fun z => z ≫ p.left) (AbelianModuli.HilbertConstruction.Picard.BaseChange.familyBaseChangeIso_hom_snd X f T).symm).trans |
| 55 | (Category.assoc _ _ _)) |
| 56 | |
| 57 | theorem familyBaseChangeIso_map_inv (T : Over S') : |
| 58 | (AbelianModuli.HilbertConstruction.Picard.BaseChange.familyBaseChangeIso X f T).inv ≫ Picard.PoincareBundle.Functor.familyMap ((Over.pullback f).map p) T = |
| 59 | Picard.PoincareBundle.Functor.familyMap p ((Over.map f).obj T) ≫ (AbelianModuli.HilbertConstruction.Picard.BaseChange.familyBaseChangeIso Y f T).inv := by |
| 60 | apply (cancel_epi (AbelianModuli.HilbertConstruction.Picard.BaseChange.familyBaseChangeIso X f T).hom).mp |
| 61 | simp only [← Category.assoc, Iso.hom_inv_id, Category.id_comp] |
| 62 | rw [← familyBaseChangeIso_map_hom p f T] |
| 63 | simp only [Category.assoc, Iso.hom_inv_id, Category.comp_id] |
| 64 | |
| 65 | variable {g h : ℕ} {A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S} {B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme h S} |
| 66 | variable (p : A.scheme ⟶ B.scheme) [IsMonHom p] |
| 67 | |
| 68 | def nativeBaseChangeMap : (A.pullback f).scheme ⟶ (B.pullback f).scheme := |
| 69 | (Over.pullback f).map p |
| 70 | |
| 71 | instance nativeBaseChangeMap_isMonHom : IsMonHom (nativeBaseChangeMap f p) := by |
| 72 | let : GrpObj ((Over.pullback f).obj A.scheme) := Functor.grpObjObj |
| 73 | let : GrpObj ((Over.pullback f).obj B.scheme) := Functor.grpObjObj |
| 74 | exact Functor.map.instIsMonHom (F := Over.pullback f) (f := p) A.scheme B.scheme |
| 75 | |
| 76 | theorem pullbackHomogeneousPresheaf_baseChange : |
| 77 | PicardPullback.Construction.IntrinsicPicardPullback.pullbackHomogeneousPresheaf (nativeBaseChangeMap f p) ≫ |
| 78 | (A.homogeneousPicardPresheafBaseChangeIso f).hom = |
| 79 | (B.homogeneousPicardPresheafBaseChangeIso f).hom ≫ |
| 80 | Functor.whiskerLeft (Over.map f).op (PicardPullback.Construction.IntrinsicPicardPullback.pullbackHomogeneousPresheaf p) := by |
| 81 | apply NatTrans.ext |
| 82 | funext T |
| 83 | apply ConcreteCategory.ext_apply |
| 84 | intro z |
| 85 | apply Subtype.ext |
| 86 | change AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (AbelianModuli.HilbertConstruction.Picard.BaseChange.familyBaseChangeIso A.scheme f T.unop).inv |
| 87 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (Picard.PoincareBundle.Functor.familyMap ((Over.pullback f).map p) T.unop) z.val) = |
| 88 | AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (Picard.PoincareBundle.Functor.familyMap p ((Over.map f).obj T.unop)) |
| 89 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (AbelianModuli.HilbertConstruction.Picard.BaseChange.familyBaseChangeIso B.scheme f T.unop).inv z.val) |
| 90 | exact (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_comp (AbelianModuli.HilbertConstruction.Picard.BaseChange.familyBaseChangeIso A.scheme f T.unop).inv |
| 91 | (Picard.PoincareBundle.Functor.familyMap ((Over.pullback f).map p) T.unop) z.val).symm.trans |
| 92 | ((congrArg (fun r => AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass r z.val) |
| 93 | (familyBaseChangeIso_map_inv p f T.unop)).trans |
| 94 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_comp (Picard.PoincareBundle.Functor.familyMap p ((Over.map f).obj T.unop)) |
| 95 | (AbelianModuli.HilbertConstruction.Picard.BaseChange.familyBaseChangeIso B.scheme f T.unop).inv z.val)) |
| 96 | |
| 97 | theorem map_square_comp_naturality {C D E : Type*} |
| 98 | [Category C] [Category D] [Category E] |
| 99 | (F : C ⥤ D) (G : E ⥤ C) (H : E ⥤ D) (comparison : G ⋙ F ⟶ H) |
| 100 | {X Y : C} {X' Y' : E} (a : X ⟶ Y) (b : X' ⟶ Y') |
| 101 | (i : X ⟶ G.obj X') (j : Y ⟶ G.obj Y') (h : a ≫ j = i ≫ G.map b) : |
| 102 | F.map a ≫ (F.map j ≫ comparison.app Y') = (F.map i ≫ comparison.app X') ≫ H.map b := by |
| 103 | rw [← Category.assoc, ← Functor.map_comp, h, Functor.map_comp, Category.assoc] |
| 104 | exact (congrArg (fun r => F.map i ≫ r) (comparison.naturality b)).trans |
| 105 | (Category.assoc _ _ _).symm |
| 106 | |
| 107 | theorem pullbackHomogeneousSheaf_baseChange : |
| 108 | PicardPullback.Construction.IntrinsicPicardPullback.pullbackHomogeneousSheaf (nativeBaseChangeMap f p) ≫ |
| 109 | (A.homogeneousPicardSheafBaseChangeIso f).hom = |
| 110 | (B.homogeneousPicardSheafBaseChangeIso f).hom ≫ |
| 111 | (Scheme.fppfTopology.overMapPullback (Type (u + 1)) f).map (PicardPullback.Construction.IntrinsicPicardPullback.pullbackHomogeneousSheaf p) := by |
| 112 | exact map_square_comp_naturality |
| 113 | (presheafToSheaf (Scheme.fppfTopology.over S') (Type (u + 1))) _ _ |
| 114 | (((Over.map f).pushforwardContinuousSheafificationCompatibility (Type (u + 1)) |
| 115 | (Scheme.fppfTopology.over S') (Scheme.fppfTopology.over S)).hom) |
| 116 | (PicardPullback.Construction.IntrinsicPicardPullback.pullbackHomogeneousPresheaf (nativeBaseChangeMap f p)) (PicardPullback.Construction.IntrinsicPicardPullback.pullbackHomogeneousPresheaf p) |
| 117 | (B.homogeneousPicardPresheafBaseChangeIso f).hom |
| 118 | (A.homogeneousPicardPresheafBaseChangeIso f).hom |
| 119 | (pullbackHomogeneousPresheaf_baseChange f p) |
| 120 | |
| 121 | end |
| 122 | |
| 123 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.PicardMapBaseChange.Construction.IntrinsicPicardPullback |