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.Isogenies.NeighborCounting.PicardMaps |
| 2 | |
| 3 | /-! # Dual Comparison -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.DualComparison |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | The actual dual morphism constructed by representing pullback of homogeneous |
| 11 | Picard classes. Isomorphisms, composition, and the origin are proved from |
| 12 | this construction. No map of dual schemes or compatibility is assumed. |
| 13 | -/ |
| 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.Isogenies.NeighborCounting.PicardMaps |
| 22 | |
| 23 | variable {S : Scheme.{u}} {a b c : ℕ} |
| 24 | variable {A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme a S} {B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme b S} {C : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme c S} |
| 25 | variable (DA : AbelianModuli.HilbertConstruction.Dual.Data.DualAbelianData A) (DB : AbelianModuli.HilbertConstruction.Dual.Data.DualAbelianData B) (DC : AbelianModuli.HilbertConstruction.Dual.Data.DualAbelianData C) |
| 26 | |
| 27 | def dualMap (f : A.scheme ⟶ B.scheme) [IsMonHom f] : |
| 28 | DB.abelian.scheme ⟶ DA.abelian.scheme := |
| 29 | DA.representable.homEquiv.symm |
| 30 | ((PicardMaps.homogeneousPicardSheafPull f).hom.app (op DB.abelian.scheme) |
| 31 | (DB.representable.homEquiv (𝟙 DB.abelian.scheme))) |
| 32 | |
| 33 | theorem dualMap_action (f : A.scheme ⟶ B.scheme) [IsMonHom f] |
| 34 | {T : Over S} (x : T ⟶ DB.abelian.scheme) : |
| 35 | DA.representable.homEquiv (x ≫ dualMap DA DB f) = |
| 36 | (PicardMaps.homogeneousPicardSheafPull f).hom.app (op T) (DB.representable.homEquiv x) := by |
| 37 | rw [DA.representable.homEquiv_comp] |
| 38 | dsimp only [dualMap] |
| 39 | rw [Equiv.apply_symm_apply] |
| 40 | rw [← (PicardMaps.homogeneousPicardSheafPull f).hom.naturality_apply x.op] |
| 41 | rw [← DB.representable.homEquiv_comp x (𝟙 DB.abelian.scheme), Category.comp_id] |
| 42 | |
| 43 | theorem dualMap_unique (f : A.scheme ⟶ B.scheme) [IsMonHom f] |
| 44 | (d : DB.abelian.scheme ⟶ DA.abelian.scheme) |
| 45 | (hd : ∀ (T : Over S) (x : T ⟶ DB.abelian.scheme), |
| 46 | DA.representable.homEquiv (x ≫ d) = |
| 47 | (PicardMaps.homogeneousPicardSheafPull f).hom.app (op T) (DB.representable.homEquiv x)) : |
| 48 | d = dualMap DA DB f := by |
| 49 | apply DA.representable.homEquiv.injective |
| 50 | simpa only [Category.id_comp] using |
| 51 | (hd DB.abelian.scheme (𝟙 _)).trans (dualMap_action DA DB f (𝟙 _)).symm |
| 52 | |
| 53 | theorem dualMap_id : dualMap DA DA (𝟙 A.scheme) = 𝟙 DA.abelian.scheme := by |
| 54 | apply DA.representable.homEquiv.injective |
| 55 | dsimp only [dualMap] |
| 56 | rw [Equiv.apply_symm_apply, PicardMaps.homogeneousPicardSheafPull_id] |
| 57 | rfl |
| 58 | |
| 59 | theorem dualMap_comp (f : A.scheme ⟶ B.scheme) (g : B.scheme ⟶ C.scheme) |
| 60 | [IsMonHom f] [IsMonHom g] : |
| 61 | dualMap DA DC (f ≫ g) = dualMap DB DC g ≫ dualMap DA DB f := by |
| 62 | symm |
| 63 | apply dualMap_unique DA DC (f ≫ g) |
| 64 | intro T x |
| 65 | rw [← Category.assoc, dualMap_action, dualMap_action] |
| 66 | exact (congrArg (fun z => z.hom.app (op T) (DC.representable.homEquiv x)) |
| 67 | (PicardMaps.homogeneousPicardSheafPull_comp f g)) |
| 68 | |
| 69 | def dualIso (e : A.scheme ≅ B.scheme) [IsMonHom e.hom] : |
| 70 | DB.abelian.scheme ≅ DA.abelian.scheme where |
| 71 | hom := dualMap DA DB e.hom |
| 72 | inv := dualMap DB DA e.inv |
| 73 | hom_inv_id := by |
| 74 | rw [← dualMap_comp] |
| 75 | simp only [e.inv_hom_id, dualMap_id] |
| 76 | inv_hom_id := by |
| 77 | rw [← dualMap_comp] |
| 78 | simp only [e.hom_inv_id, dualMap_id] |
| 79 | |
| 80 | theorem dualMap_origin (f : A.scheme ⟶ B.scheme) [IsMonHom f] |
| 81 | (T : Over S) : (1 : T ⟶ DB.abelian.scheme) ≫ dualMap DA DB f = 1 := by |
| 82 | apply DA.representable.homEquiv.injective |
| 83 | rw [dualMap_action, DB.origin, DA.origin, PicardMaps.homogeneousPicardSheafPull_trivial] |
| 84 | |
| 85 | /-- The universal class evaluated at a morphism is the actual pullback |
| 86 | of the Poincare line bundle, followed by homogeneous sheafification. -/ |
| 87 | theorem representable_poincare {T : Over S} (d : T ⟶ DA.abelian.scheme) : |
| 88 | DA.representable.homEquiv d = |
| 89 | (toSheafify (Scheme.fppfTopology.over S) A.homogeneousPicardPresheaf).app (op T) |
| 90 | (A.homogeneousPicardPresheaf.map d.op |
| 91 | ⟨AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf DA.poincare, DA.poincareHomogeneous⟩) := by |
| 92 | have h := DA.representable.homEquiv_comp d (𝟙 DA.abelian.scheme) |
| 93 | rw [Category.comp_id, DA.universalClass] at h |
| 94 | exact h.trans (((toSheafify (Scheme.fppfTopology.over S) |
| 95 | A.homogeneousPicardPresheaf).naturality_apply d.op |
| 96 | ⟨AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf DA.poincare, DA.poincareHomogeneous⟩).symm) |
| 97 | |
| 98 | /-- A dual morphism specified by the native Poincare equation agrees with |
| 99 | the dual morphism constructed from Picard pullback. -/ |
| 100 | theorem dualMap_eq_of_poincare (f : A.scheme ⟶ B.scheme) [IsMonHom f] |
| 101 | (d : DB.abelian.scheme ⟶ DA.abelian.scheme) |
| 102 | (hp : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (DB.abelian.scheme ◁ f).left |
| 103 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf DB.poincare) = |
| 104 | AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (d ▷ A.scheme).left (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf DA.poincare)) : |
| 105 | d = dualMap DA DB f := by |
| 106 | let qA : A.homogeneousPicardPresheaf.obj (op DA.abelian.scheme) := |
| 107 | ⟨AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf DA.poincare, DA.poincareHomogeneous⟩ |
| 108 | let qB : B.homogeneousPicardPresheaf.obj (op DB.abelian.scheme) := |
| 109 | ⟨AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf DB.poincare, DB.poincareHomogeneous⟩ |
| 110 | have hq : A.homogeneousPicardPresheaf.map d.op qA = |
| 111 | (PicardMaps.homogeneousPicardPull f).app (op DB.abelian.scheme) qB := Subtype.ext hp.symm |
| 112 | apply DA.representable.homEquiv.injective |
| 113 | exact (representable_poincare DA d).trans |
| 114 | ((congrArg ((toSheafify (Scheme.fppfTopology.over S) |
| 115 | A.homogeneousPicardPresheaf).app (op DB.abelian.scheme)) hq).trans |
| 116 | ((ConcreteCategory.congr_hom |
| 117 | (NatTrans.congr_app (PicardMaps.homogeneousPicardPull_toSheaf f) (op DB.abelian.scheme)) qB).trans |
| 118 | ((congrArg ((PicardMaps.homogeneousPicardSheafPull f).hom.app (op DB.abelian.scheme)) |
| 119 | DB.universalClass.symm).trans |
| 120 | (DA.representable.homEquiv.apply_symm_apply _).symm))) |
| 121 | |
| 122 | end |
| 123 | |
| 124 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.DualComparison |