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.HilbertConstruction.Normalized.BundleIsoDescent |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.IsoIdentityBaseChange |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.BaseChangedSectionConstants |
| 4 | |
| 5 | /-! # Bundle Iso Open Descent -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.BundleIsoOpenDescent |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Local isomorphisms of two line bundles on a fixed projective family |
| 12 | glue when their fibers along a section have a specified global comparison. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | universe u |
| 16 | |
| 17 | theorem projective_bundleIso_of_openCover |
| 18 | {S : Scheme.{u}} [IsLocallyNoetherian S] |
| 19 | {X : Over S} [IsProper X.hom] [Smooth X.hom] [GeometricallyConnected X.hom] |
| 20 | (P : ProjectivePresentations.ProjectivePresentation X) (s : S ⟶ X.left) (hs : s ≫ X.hom = 𝟙 S) |
| 21 | (L M : Line.Bundles.LineBundle X.left) |
| 22 | (b : (L.pullback s).sheaf ≅ (M.pullback s).sheaf) |
| 23 | (C : S.OpenCover.{u}) |
| 24 | (hlocal : ∀ i, Nonempty |
| 25 | ((L.pullback (pullback.fst X.hom (C.f i))).sheaf ≅ |
| 26 | (M.pullback (pullback.fst X.hom (C.f i))).sheaf)) : |
| 27 | Nonempty (L.sheaf ≅ M.sheaf) := by |
| 28 | let F := Relative.BundleIsoSheaf.relativeBundleIsoPresheaf X.hom L M |
| 29 | let V : C.I₀ → Over S := fun i => Over.mk (C.f i) |
| 30 | let j : ∀ i, V i ⟶ Over.mk (𝟙 S) := |
| 31 | fun i => Over.homMk (C.f i) (Category.comp_id _) |
| 32 | let R := Sieve.ofArrows V j |
| 33 | have hR : R ∈ (Scheme.zariskiTopology.over S) (Over.mk (𝟙 S)) := by |
| 34 | rw [GrothendieckTopology.mem_over_iff, Sieve.overEquiv_ofArrows] |
| 35 | exact C.mem_grothendieckTopology |
| 36 | have hi (i : C.I₀) : Nonempty (F.obj (.op (V i))) := by |
| 37 | change Nonempty ((L.pullback (pullback.snd (C.f i) X.hom)).sheaf ≅ |
| 38 | (M.pullback (pullback.snd (C.f i) X.hom)).sheaf) |
| 39 | have hc : Line.Bundles.LineBundle.pullbackClass (pullback.fst X.hom (C.f i)) (Line.Bundles.LineBundle.classOf L) = |
| 40 | Line.Bundles.LineBundle.pullbackClass (pullback.fst X.hom (C.f i)) (Line.Bundles.LineBundle.classOf M) := |
| 41 | Quotient.sound (hlocal i) |
| 42 | have h := congrArg (Line.Bundles.LineBundle.pullbackClass (pullbackSymmetry X.hom (C.f i)).inv) hc |
| 43 | have he : Line.Bundles.LineBundle.classOf (L.pullback (pullback.snd (C.f i) X.hom)) = |
| 44 | Line.Bundles.LineBundle.classOf (M.pullback (pullback.snd (C.f i) X.hom)) := by |
| 45 | change Line.Bundles.LineBundle.pullbackClass (pullback.snd (C.f i) X.hom) (Line.Bundles.LineBundle.classOf L) = |
| 46 | Line.Bundles.LineBundle.pullbackClass (pullback.snd (C.f i) X.hom) (Line.Bundles.LineBundle.classOf M) |
| 47 | simpa only [← Line.Bundles.LineBundle.pullbackClass_comp, pullbackSymmetry_inv_comp_fst] using h |
| 48 | exact Quotient.exact he |
| 49 | have hΓ (T : Over S) : |
| 50 | Function.Bijective ((Section.BaseChangeFunctor.familyBaseChangeSection X.hom s hs).app T).left.appTop := by |
| 51 | have : IsIso (pullback.fst T.hom X.hom).appTop := |
| 52 | UniversalGlobalFunctions.projectivePresentation_baseChange_globalFunctions_isIso P s hs |
| 53 | (IsPullback.of_hasPullback T.hom X.hom).flip |
| 54 | have : IsIso ((Section.BaseChangeFunctor.familyBaseChangeSection X.hom s hs).app T).left.appTop := |
| 55 | Proper.FieldBaseChangeConstants.section_globalFunctions_isIso (pullback.fst T.hom X.hom) |
| 56 | ((Section.BaseChangeFunctor.familyBaseChangeSection X.hom s hs).app T).left |
| 57 | (Section.BaseChangeFunctor.familyBaseChangeSection_fst X.hom s hs T) |
| 58 | exact ConcreteCategory.bijective_of_isIso _ |
| 59 | apply (IsoIdentityBaseChange.relativeBundleIso_identity_nonempty_iff X.hom L M).mp |
| 60 | apply Normalized.BundleIsoDescent.relativeBundleIso_nonempty_of_cover X.hom s hs L M b Scheme.zariskiTopology |
| 61 | hΓ (Over.mk (𝟙 S)) R hR |
| 62 | intro T f hf |
| 63 | obtain ⟨i, a, _⟩ := (Sieve.mem_ofArrows_iff V j f).mp hf |
| 64 | exact (hi i).map (F.map a.op) |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.BundleIsoOpenDescent |