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.Picard.PoincareBundle.Homogeneous |
| 2 | |
| 3 | /-! # Dual Maps -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.DualMaps |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Morphisms induced on represented dual Picard functors for PoincareBundle |
| 11 | |
| 12 | The representatives below satisfy the usual homogeneous-Picard universal |
| 13 | property. No quotient or polarization descent assertion is assumed. |
| 14 | The induced morphisms are constructed from geometric pullback. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 18 | open scoped _root_.CategoryTheory.MonObj |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Homogeneous |
| 23 | |
| 24 | variable {S : Scheme.{u}} {A B C Adual Bdual Cdual : Over S} |
| 25 | [GrpObj A] [GrpObj B] [GrpObj C] |
| 26 | (DA : (Homogeneous.homogeneousSheaf A).obj.RepresentableBy Adual) |
| 27 | (DB : (Homogeneous.homogeneousSheaf B).obj.RepresentableBy Bdual) |
| 28 | (DC : (Homogeneous.homogeneousSheaf C).obj.RepresentableBy Cdual) |
| 29 | |
| 30 | /-- The contravariant morphism induced by pullback on homogeneous line classes. -/ |
| 31 | def representedDualMap (f : A ⟶ B) [IsMonHom f] : Bdual ⟶ Adual := |
| 32 | DA.homEquiv.symm ((Homogeneous.pullbackHomogeneousSheaf f).hom.app (op Bdual) |
| 33 | (DB.homEquiv (𝟙 Bdual))) |
| 34 | |
| 35 | /-- The constructed morphism acts on every test scheme by actual Picard pullback. -/ |
| 36 | theorem representedDualMap_action (f : A ⟶ B) [IsMonHom f] |
| 37 | {T : Over S} (x : T ⟶ Bdual) : |
| 38 | DA.homEquiv (x ≫ representedDualMap DA DB f) = |
| 39 | (Homogeneous.pullbackHomogeneousSheaf f).hom.app (op T) (DB.homEquiv x) := by |
| 40 | rw [DA.homEquiv_comp] |
| 41 | dsimp only [representedDualMap] |
| 42 | rw [Equiv.apply_symm_apply] |
| 43 | rw [← (Homogeneous.pullbackHomogeneousSheaf f).hom.naturality_apply x.op] |
| 44 | rw [← DB.homEquiv_comp x (𝟙 Bdual), Category.comp_id] |
| 45 | |
| 46 | /-- The Picard pullback property determines the represented dual morphism. -/ |
| 47 | theorem representedDualMap_unique (f : A ⟶ B) [IsMonHom f] (d : Bdual ⟶ Adual) |
| 48 | (hd : ∀ (T : Over S) (x : T ⟶ Bdual), |
| 49 | DA.homEquiv (x ≫ d) = |
| 50 | (Homogeneous.pullbackHomogeneousSheaf f).hom.app (op T) (DB.homEquiv x)) : |
| 51 | d = representedDualMap DA DB f := by |
| 52 | apply DA.homEquiv.injective |
| 53 | simpa only [Category.id_comp] using |
| 54 | (hd Bdual (𝟙 Bdual)).trans (representedDualMap_action DA DB f (𝟙 Bdual)).symm |
| 55 | |
| 56 | @[simp] |
| 57 | theorem representedDualMap_id : representedDualMap DA DA (𝟙 A) = 𝟙 Adual := by |
| 58 | apply DA.homEquiv.injective |
| 59 | dsimp only [representedDualMap] |
| 60 | rw [Equiv.apply_symm_apply, Homogeneous.pullbackHomogeneousSheaf_id] |
| 61 | rfl |
| 62 | |
| 63 | /-- Dual maps reverse composition because geometric Picard pullback does. -/ |
| 64 | theorem representedDualMap_comp (f : A ⟶ B) (g : B ⟶ C) [IsMonHom f] [IsMonHom g] : |
| 65 | representedDualMap DA DC (f ≫ g) = |
| 66 | representedDualMap DB DC g ≫ representedDualMap DA DB f := by |
| 67 | symm |
| 68 | apply representedDualMap_unique DA DC (f ≫ g) |
| 69 | intro T x |
| 70 | rw [← Category.assoc, representedDualMap_action, representedDualMap_action] |
| 71 | exact (congrArg (fun b => b.hom.app (op T) (DC.homEquiv x)) |
| 72 | (Homogeneous.pullbackHomogeneousSheaf_comp f g)).symm |
| 73 | |
| 74 | /-- A group-scheme isomorphism induces an isomorphism of the represented duals. -/ |
| 75 | def representedDualIso (e : A ≅ B) [IsMonHom e.hom] : Bdual ≅ Adual where |
| 76 | hom := representedDualMap DA DB e.hom |
| 77 | inv := representedDualMap DB DA e.inv |
| 78 | hom_inv_id := by |
| 79 | rw [← representedDualMap_comp DB DA DB e.inv e.hom] |
| 80 | simp only [e.inv_hom_id, representedDualMap_id] |
| 81 | inv_hom_id := by |
| 82 | rw [← representedDualMap_comp DA DB DA e.hom e.inv] |
| 83 | simp only [e.hom_inv_id, representedDualMap_id] |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.DualMaps |