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.ArithmeticGeometry.OrdinaryLocus.Openness.PicardEq |
| 2 | |
| 3 | /-! # Picard Pullback -/ |
| 4 | |
| 5 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.PicardPullback.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Contravariant functoriality and descent for Picard groups. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | def picardPullback {X Y : Scheme.{u}} (f : X ⟶ Y) : PicardEq.Construction.Picard Y →+ PicardEq.Construction.Picard X where |
| 16 | toFun := Quotient.map |
| 17 | (fun L ↦ ⟨(Scheme.Modules.pullback f).obj L.sheaf, LineBundle.Construction.isLineBundle_pullback f L.sheaf L.isLineBundle⟩) |
| 18 | (fun _ _ ⟨e⟩ ↦ ⟨(Scheme.Modules.pullback f).mapIso e⟩) |
| 19 | map_zero' := Quotient.sound ⟨LineBundle.Construction.pullbackStructureSheafIso f⟩ |
| 20 | map_add' a b := Quotient.inductionOn₂ a b fun L M ↦ |
| 21 | Quotient.sound ⟨LineBundleTensorPullback.Construction.pullbackLineBundleTensorIso f L.isLineBundle M.isLineBundle⟩ |
| 22 | |
| 23 | theorem picardPullback_class {X Y : Scheme.{u}} (f : X ⟶ Y) |
| 24 | {M : Y.Modules} (hM : LineBundle.Construction.IsLineBundle M) : |
| 25 | picardPullback f (PicardEq.Construction.lineBundleClass M hM) = |
| 26 | PicardEq.Construction.lineBundleClass ((Scheme.Modules.pullback f).obj M) (LineBundle.Construction.isLineBundle_pullback f M hM) := rfl |
| 27 | |
| 28 | theorem picardPullback_id (X : Scheme.{u}) : picardPullback (𝟙 X) = AddMonoidHom.id (PicardEq.Construction.Picard X) := by |
| 29 | apply AddMonoidHom.ext |
| 30 | intro a |
| 31 | exact Quotient.inductionOn a fun L ↦ Quotient.sound ⟨(Scheme.Modules.pullbackId X).app L.sheaf⟩ |
| 32 | |
| 33 | theorem picardPullback_comp {X Y Z : Scheme.{u}} (f : X ⟶ Y) (g : Y ⟶ Z) : |
| 34 | picardPullback (f ≫ g) = (picardPullback f).comp (picardPullback g) := by |
| 35 | apply AddMonoidHom.ext |
| 36 | intro a |
| 37 | exact Quotient.inductionOn a fun L ↦ |
| 38 | Quotient.sound ⟨((Scheme.Modules.pullbackComp f g).app L.sheaf).symm⟩ |
| 39 | |
| 40 | theorem picardPullback_injective_of_app {X Y : Scheme.{u}} (f : X ⟶ Y) |
| 41 | (hf : ∀ U : Y.Opens, IsIso (f.app U)) : Function.Injective (picardPullback f) := by |
| 42 | intro a b |
| 43 | refine Quotient.inductionOn₂ a b ?_ |
| 44 | intro L M h |
| 45 | have he : Nonempty ((Scheme.Modules.pullback f).obj L.sheaf ≅ (Scheme.Modules.pullback f).obj M.sheaf) := |
| 46 | Quotient.exact h |
| 47 | obtain ⟨e⟩ := he |
| 48 | exact Quotient.sound ⟨LineBundleDescent.Construction.descendLineBundleIso f hf L.isLineBundle M.isLineBundle e⟩ |
| 49 | |
| 50 | theorem picardPullback_properProduct_injective |
| 51 | {k : Type u} [Field k] [IsAlgClosed k] |
| 52 | (Y X : Over (Spec (.of k))) [IsProper X.hom] [IsIntegral X.left] : |
| 53 | Function.Injective (picardPullback (CartesianMonoidalCategory.fst Y X).left) := |
| 54 | picardPullback_injective_of_app (CartesianMonoidalCategory.fst Y X).left |
| 55 | (UniversalGlobalSections.Construction.isIso_properBaseChange_app Y X) |
| 56 | |
| 57 | def picardPullbackIso {X Y : Scheme.{u}} (e : X ≅ Y) : PicardEq.Construction.Picard Y ≃+ PicardEq.Construction.Picard X where |
| 58 | toFun := picardPullback e.hom |
| 59 | invFun := picardPullback e.inv |
| 60 | map_add' := (picardPullback e.hom).map_add |
| 61 | left_inv a := by |
| 62 | have h := congrArg (fun f : PicardEq.Construction.Picard Y →+ PicardEq.Construction.Picard Y ↦ f a) (picardPullback_comp e.inv e.hom) |
| 63 | rw [e.inv_hom_id, picardPullback_id] at h |
| 64 | exact h.symm |
| 65 | right_inv a := by |
| 66 | have h := congrArg (fun f : PicardEq.Construction.Picard X →+ PicardEq.Construction.Picard X ↦ f a) (picardPullback_comp e.hom e.inv) |
| 67 | rw [e.hom_inv_id, picardPullback_id] at h |
| 68 | exact h.symm |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.PicardPullback.Construction |