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.Quotients.FiniteDescent.MonoidalLine |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.InvertibleProjectionTensor |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.ProperModification |
| 4 | |
| 5 | /-! # Picard -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.Picard.Construction.PicardDescent |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Line-bundle classes descend faithfully when the pushforward of the |
| 12 | structure sheaf is the structure sheaf. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | attribute [local instance] SheafCohomology.Projective.Monoidal.Scheme.Modules.monoidalCategory SheafCohomology.Projective.Monoidal.Scheme.Modules.symmetricCategory |
| 19 | |
| 20 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) |
| 21 | variable (hO : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y ≅ (Scheme.Modules.pushforward f).obj (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X)) |
| 22 | |
| 23 | def trivial (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y) (hL : (L.pullback f).sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) : |
| 24 | L.sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y := by |
| 25 | let := SheafCohomology.Projective.PullbackTensorGeneral.Scheme.Modules.pullbackMonoidal f |
| 26 | let hG := (Scheme.Modules.pushforward f).mapIso (MonoidalLine.Construction.MonoidalLineBundles.unitIso X) ≪≫ |
| 27 | hO.symm ≪≫ (MonoidalLine.Construction.MonoidalLineBundles.unitIso Y).symm |
| 28 | exact InvertibleProjectionTensor.Construction.InvertibleProjection.descend_trivial (Scheme.Modules.pullback f) |
| 29 | (Scheme.Modules.pushforward f) (Scheme.Modules.pullbackPushforwardAdjunction f) |
| 30 | L.sheaf (DualLine.Construction.DualLineBundle.dual L).sheaf |
| 31 | (MonoidalLine.Construction.MonoidalLineBundles.evaluation L) (MonoidalLine.Construction.MonoidalLineBundles.evaluation_swap L) hG |
| 32 | (hL ≪≫ (MonoidalLine.Construction.MonoidalLineBundles.unitIso X).symm) ≪≫ MonoidalLine.Construction.MonoidalLineBundles.unitIso Y |
| 33 | |
| 34 | include hO |
| 35 | |
| 36 | theorem class_eq_one (q : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.IsoClass Y) |
| 37 | (hq : PicardPullbackId.Construction.PicardPullback.map f q = 1) : q = 1 := by |
| 38 | induction q using Quotient.inductionOn with |
| 39 | | h L => |
| 40 | have he : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf (L.pullback f) = AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivial X) := hq |
| 41 | obtain ⟨e⟩ := Quotient.exact he |
| 42 | exact Quotient.sound ⟨trivial f hO L e⟩ |
| 43 | |
| 44 | theorem injective : Function.Injective (PicardPullbackId.Construction.PicardPullback.map f) := by |
| 45 | intro q r hqr |
| 46 | apply div_eq_one.mp |
| 47 | apply class_eq_one f hO |
| 48 | rw [map_div, hqr, div_self'] |
| 49 | |
| 50 | theorem iso_of_pullback_iso (L M : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y) |
| 51 | (e : (L.pullback f).sheaf ≅ (M.pullback f).sheaf) : Nonempty (L.sheaf ≅ M.sheaf) := by |
| 52 | have he : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf (L.pullback f) = AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf (M.pullback f) := |
| 53 | Quotient.sound ⟨e⟩ |
| 54 | have hLM : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf L = AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf M := injective f hO he |
| 55 | exact Quotient.exact hLM |
| 56 | |
| 57 | omit hO in |
| 58 | theorem modification_injective [IsIntegral X] [IsIntegral Y] [IsProper f] |
| 59 | (hY : ∀ y : Y, IsIntegrallyClosed (Y.presheaf.stalk y)) |
| 60 | (U : Y.Opens) [Nonempty U] [IsIso (f ∣_ U)] : |
| 61 | Function.Injective (PicardPullbackId.Construction.PicardPullback.map f) := |
| 62 | injective f (ProperModification.Construction.ProperModificationFunctions.iso hY f U) |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.Picard.Construction.PicardDescent |