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.AbelianModuli.ReferenceFamily.CanonicalDualBaseChange |
| 2 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.DualPullback |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.PoincareIso |
| 4 | |
| 5 | /-! # Canonical Dual Detection -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.CanonicalDualDetection |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Canonical Picard duality detects the inverse dual of a polarized |
| 12 | isomorphism. This uses the checked Picard constructions directly. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 15 | open _root_.CategoryTheory.MonoidalCategory |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | variable {S : Scheme.{0}} {g h : ℕ} {A : HilbertConstruction.Abelian.Schemes.AbelianScheme g S} {B : HilbertConstruction.Abelian.Schemes.AbelianScheme h S} |
| 19 | (f : A.scheme ⟶ B.scheme) [IsMonHom f] |
| 20 | |
| 21 | theorem canonicalDual_congr (DA : HilbertConstruction.Dual.Data.DualAbelianData A) (DB : HilbertConstruction.Dual.Data.DualAbelianData B) |
| 22 | (a : A.scheme ⟶ B.scheme) [IsMonHom a] (hfa : f = a) : |
| 23 | AbelianScheme.FrobeniusKernel.PicardPullback.Construction.IntrinsicPicardPullback.dualMap f DA DB = AbelianScheme.FrobeniusKernel.PicardPullback.Construction.IntrinsicPicardPullback.dualMap a DA DB := by |
| 24 | cases hfa |
| 25 | rfl |
| 26 | |
| 27 | theorem canonicalHomogeneousPullback_eq_e57 : |
| 28 | AbelianScheme.FrobeniusKernel.PicardPullback.Construction.IntrinsicPicardPullback.pullbackHomogeneousSheaf f = Picard.Homomorphisms.HomogeneousPullback.Construction.homogeneousPicardPullback A B f := by |
| 29 | apply congrArg (fun z => (presheafToSheaf (Scheme.fppfTopology.over S) (Type 1)).map z) |
| 30 | apply NatTrans.ext |
| 31 | funext T |
| 32 | apply ConcreteCategory.ext_apply |
| 33 | intro q |
| 34 | apply Subtype.ext |
| 35 | change HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (𝟙 T.unop ⊗ₘ f).left q.val = |
| 36 | HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (T.unop ◁ f).left q.val |
| 37 | have hm : (𝟙 T.unop ⊗ₘ f) = T.unop ◁ f := by |
| 38 | simp only [MonoidalCategory.tensorHom_def, id_whiskerRight, Category.id_comp] |
| 39 | exact congrArg (fun z : T.unop ⊗ A.scheme ⟶ T.unop ⊗ B.scheme => |
| 40 | HilbertConstruction.Line.Bundles.LineBundle.pullbackClass z.left q.val) hm |
| 41 | |
| 42 | theorem canonicalDual_eq_e57 (DA : HilbertConstruction.Dual.Data.DualAbelianData A) (DB : HilbertConstruction.Dual.Data.DualAbelianData B) : |
| 43 | AbelianScheme.FrobeniusKernel.PicardPullback.Construction.IntrinsicPicardPullback.dualMap f DA DB = Picard.Homomorphisms.DualPullback.Construction.dualPicardPullback DA DB f := by |
| 44 | unfold AbelianScheme.FrobeniusKernel.PicardPullback.Construction.IntrinsicPicardPullback.dualMap Picard.Homomorphisms.DualPullback.Construction.dualPicardPullback |
| 45 | rw [canonicalHomogeneousPullback_eq_e57] |
| 46 | |
| 47 | theorem canonicalDual_eq_of_poincare (DA : HilbertConstruction.Dual.Data.DualAbelianData A) (DB : HilbertConstruction.Dual.Data.DualAbelianData B) |
| 48 | (d : DB.abelian.scheme ⟶ DA.abelian.scheme) |
| 49 | (hd : HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (d ⊗ₘ 𝟙 A.scheme).left (HilbertConstruction.Line.Bundles.LineBundle.classOf DA.poincare) = |
| 50 | HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (𝟙 DB.abelian.scheme ⊗ₘ f).left (HilbertConstruction.Line.Bundles.LineBundle.classOf DB.poincare)) : |
| 51 | d = AbelianScheme.FrobeniusKernel.PicardPullback.Construction.IntrinsicPicardPullback.dualMap f DA DB := by |
| 52 | rw [canonicalDual_eq_e57] |
| 53 | apply Picard.Homomorphisms.PoincareDetection.Construction.poincareClass_injective DA DB.abelian.scheme |
| 54 | have h₁ : Picard.Homomorphisms.PoincareDetection.Construction.poincareClass DA d = |
| 55 | (HilbertConstruction.Picard.PicardSheaf.toRelativePicard A.scheme).app (op DB.abelian.scheme) |
| 56 | (HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (DB.abelian.scheme ◁ f).left (HilbertConstruction.Line.Bundles.LineBundle.classOf DB.poincare)) := by |
| 57 | have hleft : d ⊗ₘ 𝟙 A.scheme = d ▷ A.scheme := by |
| 58 | simp only [MonoidalCategory.tensorHom_def, whiskerLeft_id, Category.comp_id] |
| 59 | have hright : 𝟙 DB.abelian.scheme ⊗ₘ f = DB.abelian.scheme ◁ f := by |
| 60 | simp only [MonoidalCategory.tensorHom_def, id_whiskerRight, Category.id_comp] |
| 61 | rw [hleft, hright] at hd |
| 62 | exact congrArg ((HilbertConstruction.Picard.PicardSheaf.toRelativePicard A.scheme).app (op DB.abelian.scheme)) hd |
| 63 | have h₂ := Picard.Homomorphisms.DualPullback.Construction.dualPicardPullback_poincare DA DB f (𝟙 DB.abelian.scheme) |
| 64 | rw [Category.id_comp, Picard.Homomorphisms.PoincareDetection.Construction.poincareClass_id] at h₂ |
| 65 | have h₃ := Picard.Homomorphisms.SheafMaps.Construction.relativePicardPullback_toRelativePicard_apply f DB.abelian.scheme |
| 66 | (HilbertConstruction.Line.Bundles.LineBundle.classOf DB.poincare) |
| 67 | exact h₁.trans (h₂.trans h₃).symm |
| 68 | |
| 69 | theorem inverseDual_eq_canonical (DA : HilbertConstruction.Dual.Data.DualAbelianData A) (DB : HilbertConstruction.Dual.Data.DualAbelianData B) |
| 70 | (d : DA.abelian.scheme ≅ DB.abelian.scheme) |
| 71 | (hp : HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (d.hom ⊗ₘ f).left (HilbertConstruction.Line.Bundles.LineBundle.classOf DB.poincare) = |
| 72 | HilbertConstruction.Line.Bundles.LineBundle.classOf DA.poincare) : d.inv = AbelianScheme.FrobeniusKernel.PicardPullback.Construction.IntrinsicPicardPullback.dualMap f DA DB := by |
| 73 | apply canonicalDual_eq_of_poincare f DA DB d.inv |
| 74 | have hh := congrArg (HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (d.inv ⊗ₘ 𝟙 A.scheme).left) hp |
| 75 | rw [← HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_comp, ← Over.comp_left, tensorHom_comp_tensorHom, |
| 76 | Iso.inv_hom_id, Category.id_comp] at hh |
| 77 | exact hh.symm |
| 78 | |
| 79 | theorem dualFamilyIso_inv_canonical {k : Type} [Field k] [IsAlgClosed k] |
| 80 | {A B : HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of k))} (DA : HilbertConstruction.Dual.Data.DualAbelianData A) (DB : HilbertConstruction.Dual.Data.DualAbelianData B) |
| 81 | (e : A.scheme ≅ B.scheme) [IsMonHom e.hom] : |
| 82 | (Dual.UnderlyingIso.dualFamilyIso DA DB e).inv = AbelianScheme.FrobeniusKernel.PicardPullback.Construction.IntrinsicPicardPullback.dualMap e.hom DA DB := |
| 83 | inverseDual_eq_canonical e.hom DA DB (Dual.UnderlyingIso.dualFamilyIso DA DB e) (Dual.PoincareIso.dualFamilyIso_poincare DA DB e) |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.CanonicalDualDetection |