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.Homomorphisms.FreeTensorPullbackIso |
| 2 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.PresheafTensorPullbackNatural |
| 3 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.PresheafGenerators |
| 4 | |
| 5 | /-! # Presheaf Tensor Pullback Iso -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Picard.Homomorphisms.PresheafTensorPullbackIso |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Arbitrary pullback preserves tensor products of module presheaves. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 14 | open _root_.CategoryTheory.MonoidalCategory |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | namespace Construction |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) |
| 23 | |
| 24 | local instance presheafTensorPullbackIsoLocal1 : MonoidalCategory X.PresheafOfModules := PresheafOfModulesOfCommRing.monoidalCategory |
| 25 | local instance presheafTensorPullbackIsoLocal2 : MonoidalCategory Y.PresheafOfModules := PresheafOfModulesOfCommRing.monoidalCategory |
| 26 | |
| 27 | local instance presheafTensorPullbackIsoLocal3 : (PresheafTensorPullback.Construction.modulePresheafPullback f).IsLeftAdjoint := |
| 28 | (PresheafTensorPullback.Construction.modulePresheafAdjunction f).isLeftAdjoint |
| 29 | |
| 30 | local instance presheafTensorPullbackIsoLocal4 (Z : Scheme.{u}) (M : Z.PresheafOfModules) : |
| 31 | PreservesColimitsOfSize.{u, u} (tensorRight M) := |
| 32 | inferInstanceAs (PreservesColimitsOfSize.{u, u} |
| 33 | (tensorRight (C := PresheafOfModules (Z.presheaf ⋙ forget₂ CommRingCat RingCat)) M)) |
| 34 | |
| 35 | local instance presheafTensorPullbackIsoLocal5 (Z : Scheme.{u}) (M : Z.PresheafOfModules) : |
| 36 | PreservesColimitsOfSize.{u, u} (tensorLeft M) := |
| 37 | inferInstanceAs (PreservesColimitsOfSize.{u, u} |
| 38 | (tensorLeft (C := PresheafOfModules (Z.presheaf ⋙ forget₂ CommRingCat RingCat)) M)) |
| 39 | |
| 40 | instance presheafTensorPullbackComparison_isIso (M N : Y.PresheafOfModules) : |
| 41 | IsIso (PresheafTensorPullback.Construction.presheafTensorPullbackComparison f M N) := by |
| 42 | apply PresheafGenerators.Construction.modulePresheafNatTrans_isIso_of_freeOpen (PresheafTensorPullbackNatural.Construction.presheafTensorPullbackRightComparison f N) |
| 43 | intro U |
| 44 | apply PresheafGenerators.Construction.modulePresheafNatTrans_isIso_of_freeOpen |
| 45 | (PresheafTensorPullbackNatural.Construction.presheafTensorPullbackLeftComparison f (FreePresheafTensor.Construction.freeOpenModulePresheaf Y U)) |
| 46 | intro V |
| 47 | exact FreeTensorPullbackIso.Construction.freeTensorPullbackComparison_isIso f U V |
| 48 | |
| 49 | def presheafTensorPullbackIso (M N : Y.PresheafOfModules) : |
| 50 | (PresheafTensorPullback.Construction.modulePresheafPullback f).obj (M ⊗ N) ≅ |
| 51 | (PresheafTensorPullback.Construction.modulePresheafPullback f).obj M ⊗ (PresheafTensorPullback.Construction.modulePresheafPullback f).obj N := |
| 52 | asIso (PresheafTensorPullback.Construction.presheafTensorPullbackComparison f M N) |
| 53 | |
| 54 | end Construction |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.Picard.Homomorphisms.PresheafTensorPullbackIso |