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.SquareSections |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.RestrictionArrows |
| 3 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Geometric.CechInvariant |
| 4 | |
| 5 | /-! # Cech Coherence -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Open.CechCoherence |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Coherence of the actual open base-change maps for a geometric Čech relation |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Functor _root_.AlgebraicGeometry Opposite |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | /-- Direct image acts on every original presheaf arrow, including equality transports. -/ |
| 20 | theorem pushforward_presheaf_map {X Y : Scheme.{u}} (f : X ⟶ Y) (M : X.Modules) |
| 21 | {U V : Y.Opensᵒᵖ} (t : U ⟶ V) : |
| 22 | ((Scheme.Modules.pushforward f).obj M).presheaf.map t = |
| 23 | M.presheaf.map ((TopologicalSpace.Opens.map f.base).op.map t) := rfl |
| 24 | |
| 25 | /-- Open restriction acts on every original presheaf arrow, including equality transports. -/ |
| 26 | theorem restrict_presheaf_map {X Y : Scheme.{u}} (i : X ⟶ Y) [IsOpenImmersion i] (M : Y.Modules) |
| 27 | {U V : X.Opensᵒᵖ} (t : U ⟶ V) : |
| 28 | ((Scheme.Modules.restrictFunctor i).obj M).presheaf.map t = |
| 29 | M.presheaf.map (i.opensFunctor.op.map t) := rfl |
| 30 | |
| 31 | variable {X Y Z X' Y' Z' : Scheme.{u}} |
| 32 | (f : X ⟶ Y) (p q : Z ⟶ X) (h : p ≫ f = q ≫ f) |
| 33 | (f' : X' ⟶ Y') (p' q' : Z' ⟶ X') (h' : p' ≫ f' = q' ≫ f') |
| 34 | (iY : Y' ⟶ Y) (iX : X' ⟶ X) (iZ : Z' ⟶ Z) |
| 35 | [IsOpenImmersion iY] [IsOpenImmersion iX] [IsOpenImmersion iZ] |
| 36 | (hf : iX ≫ f = f' ≫ iY) (hp : iZ ≫ p = p' ≫ iX) (hq : iZ ≫ q = q' ≫ iX) |
| 37 | |
| 38 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Open.SquareBaseChange OAI.AlgebraicGeometry.Picard.PoincareBundle.Geometric.CechInvariant OAI.AlgebraicGeometry.Picard.PoincareBundle.Open.SquareSections |
| 39 | |
| 40 | /-- The three actual geometric open-square mates satisfy the required direct-image coherence. -/ |
| 41 | theorem right_coherent : Cech.RestrictionArrows.RightCoherent |
| 42 | (Scheme.Modules.pullbackPushforwardAdjunction f) (Scheme.Modules.pullbackPushforwardAdjunction f') |
| 43 | (Scheme.Modules.pullbackPushforwardAdjunction p) (Scheme.Modules.pullbackPushforwardAdjunction p') |
| 44 | (Scheme.Modules.pullbackPushforwardAdjunction q) (Scheme.Modules.pullbackPushforwardAdjunction q') |
| 45 | (SquareBaseChange.leftSquare f f' iX iY hf) (SquareBaseChange.leftSquare p p' iZ iX hp) (SquareBaseChange.leftSquare q q' iZ iX hq) |
| 46 | (Geometric.CechInvariant.directImageIso f p q h) (Geometric.CechInvariant.directImageIso f' p' q' h') := by |
| 47 | intro M |
| 48 | simp only [SquareBaseChange.rightMate_leftSquare] |
| 49 | apply Scheme.Modules.hom_ext |
| 50 | intro W |
| 51 | simp [Adjunction.restrict_map_app, SquareSections.baseChangeMap_app_app, Geometric.CechInvariant.directImageIso, |
| 52 | pushforward_presheaf_map, restrict_presheaf_map] |
| 53 | erw [Category.id_comp, Category.id_comp, Category.comp_id] |
| 54 | erw [← M.presheaf.map_comp, ← M.presheaf.map_comp, |
| 55 | ← M.presheaf.map_comp, ← M.presheaf.map_comp] |
| 56 | exact congrArg M.presheaf.map (Subsingleton.elim _ _) |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Open.CechCoherence |