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.AdjointCechInvariant |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Geometric.KernelLinearization |
| 3 | import Mathlib.AlgebraicGeometry.Pullbacks |
| 4 | import Mathlib.Algebra.Category.ModuleCat.Sheaf.Limits |
| 5 | |
| 6 | /-! # Cech Invariant -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Geometric.CechInvariant |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # The global invariant sheaf constructed directly from geometric Čech gluing |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | section |
| 21 | |
| 22 | variable {X Y Z : Scheme.{u}} (f : X ⟶ Y) (p q : Z ⟶ X) (h : p ≫ f = q ≫ f) |
| 23 | |
| 24 | /-- The canonical direct-image comparison of two equal composites of scheme morphisms. -/ |
| 25 | def directImageIso : Scheme.Modules.pushforward p ⋙ Scheme.Modules.pushforward f ≅ |
| 26 | Scheme.Modules.pushforward q ⋙ Scheme.Modules.pushforward f := |
| 27 | Scheme.Modules.pushforwardComp p f ≪≫ Scheme.Modules.pushforwardCongr h ≪≫ |
| 28 | (Scheme.Modules.pushforwardComp q f).symm |
| 29 | |
| 30 | /-- The canonical adjunction comparison of the two iterated geometric pullbacks. -/ |
| 31 | def pullbackIso : Scheme.Modules.pullback f ⋙ Scheme.Modules.pullback p ≅ |
| 32 | Scheme.Modules.pullback f ⋙ Scheme.Modules.pullback q := |
| 33 | AdjointCechInvariant.pullbackGluing (Scheme.Modules.pullbackPushforwardAdjunction f) |
| 34 | (Scheme.Modules.pullbackPushforwardAdjunction p) (Scheme.Modules.pullbackPushforwardAdjunction q) |
| 35 | (directImageIso f p q h) |
| 36 | |
| 37 | variable (M : X.Modules) |
| 38 | (σ : (Scheme.Modules.pullback p).obj M ≅ (Scheme.Modules.pullback q).obj M) |
| 39 | |
| 40 | /-- The invariant object is a globally defined sheaf, formed using an actual equalizer. -/ |
| 41 | def invariantSheaf : Y.Modules := |
| 42 | AdjointCechInvariant.invariants (Scheme.Modules.pullbackPushforwardAdjunction p) |
| 43 | (Scheme.Modules.pullbackPushforwardAdjunction q) (directImageIso f p q h) σ.hom |
| 44 | |
| 45 | /-- The pullback comparison from this invariant sheaf to the original geometric sheaf. -/ |
| 46 | def comparison : (Scheme.Modules.pullback f).obj (invariantSheaf f p q h M σ) ⟶ M := |
| 47 | AdjointCechInvariant.comparison (Scheme.Modules.pullbackPushforwardAdjunction f) |
| 48 | (Scheme.Modules.pullbackPushforwardAdjunction p) (Scheme.Modules.pullbackPushforwardAdjunction q) |
| 49 | (directImageIso f p q h) σ.hom |
| 50 | |
| 51 | /-- The comparison respects the actual supplied gluing isomorphism. -/ |
| 52 | theorem comparison_compatible : |
| 53 | (Scheme.Modules.pullback p).map (comparison f p q h M σ) ≫ σ.hom = |
| 54 | (pullbackIso f p q h).hom.app (invariantSheaf f p q h M σ) ≫ |
| 55 | (Scheme.Modules.pullback q).map (comparison f p q h M σ) := |
| 56 | AdjointCechInvariant.comparison_compatible (Scheme.Modules.pullbackPushforwardAdjunction f) |
| 57 | (Scheme.Modules.pullbackPushforwardAdjunction p) (Scheme.Modules.pullbackPushforwardAdjunction q) |
| 58 | (directImageIso f p q h) σ.hom |
| 59 | |
| 60 | end |
| 61 | |
| 62 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Geometric.KernelLinearization |
| 63 | |
| 64 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) |
| 65 | (D : KernelLinearization.modulePullbacks.DescentData (fun (_ : PUnit.{1}) => f)) |
| 66 | |
| 67 | /-- The ordinary descent gluing on the actual scheme-theoretic fiber product. -/ |
| 68 | def relationGluing : |
| 69 | (Scheme.Modules.pullback (pullback.fst f f)).obj (D.obj PUnit.unit) ≅ |
| 70 | (Scheme.Modules.pullback (pullback.snd f f)).obj (D.obj PUnit.unit) := |
| 71 | D.iso (pullback.snd f f ≫ f) (i₁ := PUnit.unit) (i₂ := PUnit.unit) |
| 72 | (pullback.fst f f) (pullback.snd f f) pullback.condition rfl |
| 73 | |
| 74 | /-- A global invariant sheaf for the ordinary geometric descent datum. -/ |
| 75 | def ordinaryInvariantSheaf : Y.Modules := |
| 76 | invariantSheaf f (pullback.fst f f) (pullback.snd f f) pullback.condition |
| 77 | (D.obj PUnit.unit) (relationGluing f D) |
| 78 | |
| 79 | /-- Its canonical geometric comparison to the original object on the cover. -/ |
| 80 | def ordinaryComparison : (Scheme.Modules.pullback f).obj (ordinaryInvariantSheaf f D) ⟶ |
| 81 | D.obj PUnit.unit := |
| 82 | comparison f (pullback.fst f f) (pullback.snd f f) pullback.condition |
| 83 | (D.obj PUnit.unit) (relationGluing f D) |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Geometric.CechInvariant |