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.Open.SquareBaseChange |
| 2 | |
| 3 | /-! # Square Sections -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Open.SquareSections |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # The canonical open-square base-change map on actual sections |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Functor _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {X Y X' Y' : Scheme.{u}} (f : X ⟶ Y) (f' : X' ⟶ Y') |
| 18 | (iX : X' ⟶ X) (iY : Y' ⟶ Y) [IsOpenImmersion iX] [IsOpenImmersion iY] |
| 19 | (h : iX ≫ f = f' ≫ iY) |
| 20 | |
| 21 | include h in |
| 22 | omit [IsOpenImmersion iX] in |
| 23 | /-- The open square identifies the inverse images of an open subset of the restricted base. -/ |
| 24 | theorem preimage_image (W : Y'.Opens) : |
| 25 | iX ⁻¹ᵁ (f ⁻¹ᵁ (iY ''ᵁ W)) = f' ⁻¹ᵁ W := by |
| 26 | rw [← Scheme.Hom.comp_preimage, h, Scheme.Hom.comp_preimage, iY.preimage_image_eq] |
| 27 | |
| 28 | include h in |
| 29 | /-- The section map is defined on the actual image open in the original covering scheme. -/ |
| 30 | theorem image_preimage_le (W : Y'.Opens) : |
| 31 | iX ''ᵁ (f' ⁻¹ᵁ W) ≤ f ⁻¹ᵁ (iY ''ᵁ W) := by |
| 32 | rw [← preimage_image f f' iX iY h W] |
| 33 | exact iX.image_preimage_le _ |
| 34 | |
| 35 | /-- Direct image of an open restriction acts on the corresponding original open morphism. -/ |
| 36 | theorem pushforward_restrict_map (M : X.Modules) {V W : Y'.Opens} (a : op V ⟶ op W) : |
| 37 | ((Scheme.Modules.pushforward f').obj ((Scheme.Modules.restrictFunctor iX).obj M)).presheaf.map a = |
| 38 | M.presheaf.map (iX.opensFunctor.op.map ((TopologicalSpace.Opens.map f'.base).op.map a)) := rfl |
| 39 | |
| 40 | /-- The open counit on a restricted direct image is an original sheaf restriction map. -/ |
| 41 | theorem counit_section (M : X.Modules) (W : Y'.Opens) : |
| 42 | ((Scheme.Modules.restrictAdjunction iY).counit.app |
| 43 | ((Scheme.Modules.pushforward f').obj ((Scheme.Modules.restrictFunctor iX).obj M))).app W = |
| 44 | M.presheaf.map (iX.opensFunctor.map ((TopologicalSpace.Opens.map f'.base).map |
| 45 | (eqToHom (iY.preimage_image_eq W).symm))).op := rfl |
| 46 | |
| 47 | /-- The canonical mate on sections is precisely the original sheaf restriction map. -/ |
| 48 | theorem baseChangeMap_app_app (M : X.Modules) (W : Y'.Opens) : |
| 49 | ((SquareBaseChange.baseChangeMap f f' iX iY h).app M).app W = |
| 50 | M.presheaf.map (homOfLE (SquareSections.image_preimage_le f f' iX iY h W)).op := by |
| 51 | rw [SquareBaseChange.baseChangeMap_app] |
| 52 | simp only [Scheme.Modules.Hom.comp_app, counit_section] |
| 53 | simp [SquareBaseChange.directImageSquare, Adjunction.restrict_map_app, |
| 54 | Scheme.Modules.restrict_map] |
| 55 | erw [Category.id_comp, Category.comp_id] |
| 56 | erw [← M.presheaf.map_comp, ← M.presheaf.map_comp] |
| 57 | exact congrArg M.presheaf.map (Subsingleton.elim _ _) |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Open.SquareSections |