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.AbelianModuli.ReferenceFamily.Abelian.BaseChangeFunctionSheaf |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Picard.ClassIsoDescent |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Picard.LocalEquality |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.FieldBaseChangeConstants |
| 5 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.PoincareNormalization |
| 6 | import Mathlib.AlgebraicGeometry.Sites.Fpqc |
| 7 | |
| 8 | /-! # Normalized Line Open Descent -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! Normalized lines on every test of a locally Noetherian abelian |
| 15 | family are determined by their relative Picard class. In particular, |
| 16 | actual normalized line isomorphisms descend from arbitrary open covers. -/ |
| 17 | |
| 18 | universe v |
| 19 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 20 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 21 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.PoincareNormalization |
| 22 | |
| 23 | variable {S : Scheme.{0}} [IsLocallyNoetherian S] {g : ℕ} (A : Schemes.AbelianScheme g S) |
| 24 | |
| 25 | theorem Schemes.AbelianScheme.iteratedBaseChangeSection_globalFunctions_bijective |
| 26 | {T Y : Scheme.{0}} {a : Y ⟶ A.scheme.left} {q : Y ⟶ T} {t : T ⟶ S} |
| 27 | (H : IsPullback a q A.scheme.hom t) |
| 28 | (y : T ⟶ Y) (hy : y ≫ q = 𝟙 _) (U : Over T) : |
| 29 | Function.Bijective ((Section.BaseChangeFunctor.familyBaseChangeSection q y hy).app U).left.appTop := by |
| 30 | have H' : IsPullback (pullback.snd U.hom q ≫ a) (pullback.fst U.hom q) |
| 31 | A.scheme.hom (U.hom ≫ t) := (IsPullback.of_hasPullback U.hom q).flip.paste_horiz H |
| 32 | let : IsIso (pullback.fst U.hom q).appTop := |
| 33 | ReferenceFamily.Abelian.BaseChangeFunctionSheaf.abelian_baseChange_globalFunctions_isIso A _ _ _ H' |
| 34 | let : IsIso ((Section.BaseChangeFunctor.familyBaseChangeSection q y hy).app U).left.appTop := |
| 35 | Proper.FieldBaseChangeConstants.section_globalFunctions_isIso (pullback.fst U.hom q) |
| 36 | ((Section.BaseChangeFunctor.familyBaseChangeSection q y hy).app U).left (Section.BaseChangeFunctor.familyBaseChangeSection_fst q y hy U) |
| 37 | exact ConcreteCategory.bijective_of_isIso _ |
| 38 | |
| 39 | theorem Schemes.AbelianScheme.bundleIso_of_relativePicard_eq (T : Over S) |
| 40 | (L M : Line.Bundles.LineBundle (T ⊗ A.scheme).left) |
| 41 | (zL : (L.pullback (Isogenies.NeighborCounting.PoincareNormalization.familyZero A T).left).sheaf ≅ Line.Bundles.structureModule T.left) |
| 42 | (zM : (M.pullback (Isogenies.NeighborCounting.PoincareNormalization.familyZero A T).left).sheaf ≅ Line.Bundles.structureModule T.left) |
| 43 | (h : (Picard.PicardSheaf.toRelativePicard A.scheme).app (.op T) (Line.Bundles.LineBundle.classOf L) = |
| 44 | (Picard.PicardSheaf.toRelativePicard A.scheme).app (.op T) (Line.Bundles.LineBundle.classOf M)) : |
| 45 | Nonempty (L.sheaf ≅ M.sheaf) := |
| 46 | Picard.ClassIsoDescent.bundleIso_of_relativePicard_eq A.scheme T L M (Isogenies.NeighborCounting.PoincareNormalization.familyZero A T).left |
| 47 | (Isogenies.NeighborCounting.PoincareNormalization.familyZero_projection A T) (zL ≪≫ zM.symm) |
| 48 | (A.iteratedBaseChangeSection_globalFunctions_bijective |
| 49 | (IsPullback.of_hasPullback T.hom A.scheme.hom).flip |
| 50 | (Isogenies.NeighborCounting.PoincareNormalization.familyZero A T).left (Isogenies.NeighborCounting.PoincareNormalization.familyZero_projection A T)) h |
| 51 | |
| 52 | /-- Each cover member carries the usual product with the fixed family. |
| 53 | Only the actual zero frames are needed to remove possible base twists. -/ |
| 54 | theorem Schemes.AbelianScheme.normalizedLineIso_of_openCover (T : Over S) |
| 55 | (L M : Line.Bundles.LineBundle (T ⊗ A.scheme).left) |
| 56 | (zL : (L.pullback (Isogenies.NeighborCounting.PoincareNormalization.familyZero A T).left).sheaf ≅ Line.Bundles.structureModule T.left) |
| 57 | (zM : (M.pullback (Isogenies.NeighborCounting.PoincareNormalization.familyZero A T).left).sheaf ≅ Line.Bundles.structureModule T.left) |
| 58 | (C : T.left.OpenCover.{v}) |
| 59 | (h : ∀ i, |
| 60 | let V : Over S := Over.mk (C.f i ≫ T.hom) |
| 61 | let j : V ⟶ T := Over.homMk (C.f i) rfl |
| 62 | Line.Bundles.LineBundle.pullbackClass (j ▷ A.scheme).left (Line.Bundles.LineBundle.classOf L) = |
| 63 | Line.Bundles.LineBundle.pullbackClass (j ▷ A.scheme).left (Line.Bundles.LineBundle.classOf M)) : |
| 64 | Nonempty (L.sheaf ≅ M.sheaf) := by |
| 65 | let V : C.I₀ → Over S := fun i => Over.mk (C.f i ≫ T.hom) |
| 66 | let j : ∀ i, V i ⟶ T := fun i => Over.homMk (C.f i) rfl |
| 67 | let R := Sieve.ofArrows V j |
| 68 | have hR : R ∈ (Scheme.fppfTopology.over S) T := by |
| 69 | rw [GrothendieckTopology.mem_over_iff, Sieve.overEquiv_ofArrows] |
| 70 | exact (Precoverage.toGrothendieck_mono Scheme.zariskiPrecoverage_le_fppfPrecoverage) |
| 71 | _ C.mem_grothendieckTopology |
| 72 | apply A.bundleIso_of_relativePicard_eq T L M zL zM |
| 73 | apply Picard.LocalEquality.relativePicard_eq_of_local_bundle_iso A.scheme T L M R hR |
| 74 | intro U f hf |
| 75 | obtain ⟨i, a, ha⟩ := (Sieve.mem_ofArrows_iff V j f).mp hf |
| 76 | have hi : (Picard.PicardSheaf.relativePicardPresheaf A.scheme).map (j i).op (Line.Bundles.LineBundle.classOf L) = |
| 77 | (Picard.PicardSheaf.relativePicardPresheaf A.scheme).map (j i).op (Line.Bundles.LineBundle.classOf M) := h i |
| 78 | have he : (Picard.PicardSheaf.relativePicardPresheaf A.scheme).map f.op (Line.Bundles.LineBundle.classOf L) = |
| 79 | (Picard.PicardSheaf.relativePicardPresheaf A.scheme).map f.op (Line.Bundles.LineBundle.classOf M) := by |
| 80 | rw [ha] |
| 81 | exact ((Picard.PicardSheaf.relativePicardPresheaf A.scheme).map_comp_apply (j i).op a.op _).trans |
| 82 | ((congrArg ((Picard.PicardSheaf.relativePicardPresheaf A.scheme).map a.op) hi).trans |
| 83 | ((Picard.PicardSheaf.relativePicardPresheaf A.scheme).map_comp_apply (j i).op a.op _).symm) |
| 84 | exact Quotient.exact (s := Line.Bundles.LineBundle.isoSetoid _) |
| 85 | (a := L.pullback ((Picard.PicardSheaf.familySchemeFunctor A.scheme).map f)) |
| 86 | (b := M.pullback ((Picard.PicardSheaf.familySchemeFunctor A.scheme).map f)) he |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian |