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.Quotients.FiniteDescent.GenericLift |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.NormalSectionsIn |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.RelativeStructure |
| 4 | import Mathlib.Topology.Sheaves.SheafCondition.Sites |
| 5 | |
| 6 | /-! # Birational Structure -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.BirationalStructure.Construction.BirationalStructureSheaf |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Descent of the structure sheaf along a proper morphism with a dense |
| 13 | lift of the generic point of a normal integral scheme. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {X Y : Scheme.{u}} [IsReduced X] [IsIntegral Y] |
| 20 | variable (hY : ∀ y : Y, IsIntegrallyClosed (Y.presheaf.stalk y)) |
| 21 | variable (f : X ⟶ Y) [IsProper f] |
| 22 | variable (g : Spec Y.functionField ⟶ X) [IsDominant g] |
| 23 | variable (hg : g ≫ f = Y.fromSpecStalk (genericPoint Y)) |
| 24 | |
| 25 | include hY hg |
| 26 | |
| 27 | theorem isIso_app_affine (U : Y.Opens) (hU : IsAffineOpen U) [Nonempty U] : |
| 28 | IsIso (f.app U) := by |
| 29 | have := NormalSectionsIn.Construction.NormalSections.affine hY U hU |
| 30 | have := functionField_isFractionRing_of_isAffineOpen Y U hU |
| 31 | have : IsIso U.toSpecΓ := hU.isoSpec.isIso_hom |
| 32 | have : IsIso U.toSpecΓ.appTop := by |
| 33 | rw [Scheme.Opens.toSpecΓ_appTop] |
| 34 | infer_instance |
| 35 | have := GenericLift.Construction.GenericLiftRestriction.isDominant_lift f g hg U |
| 36 | have hi := ProperBirational.Construction.ProperBirationalFunctions.isIso_appTop (f ∣_ U ≫ U.toSpecΓ) |
| 37 | (GenericLift.Construction.GenericLiftRestriction.lift f g hg U) |
| 38 | (GenericLift.Construction.GenericLiftRestriction.lift_comp_affine f g hg U) |
| 39 | rw [Scheme.Hom.comp_appTop] at hi |
| 40 | have hir : IsIso (f ∣_ U).appTop := |
| 41 | (isIso_comp_left_iff U.toSpecΓ.appTop (f ∣_ U).appTop).mp hi |
| 42 | let t := X.presheaf.map (eqToHom (image_morphismRestrict_preimage f U ⊤)).op |
| 43 | have ht : IsIso t := X.presheaf.map_isIso _ |
| 44 | have hc : IsIso (f.app (U.ι ''ᵁ ⊤) ≫ t) := by |
| 45 | rw [← morphismRestrict_appTop] |
| 46 | exact hir |
| 47 | have hc' : IsIso (f.app (U.ι ''ᵁ ⊤)) := |
| 48 | (isIso_comp_right_iff (f.app (U.ι ''ᵁ ⊤)) t).mp hc |
| 49 | exact (congrArg (fun W : Y.Opens => IsIso (f.app W)) U.ι_image_top).mp hc' |
| 50 | |
| 51 | theorem isIso_ringSheaf : IsIso f.toRingCatSheafHom := by |
| 52 | let B := {U : Y.Opens // IsAffineOpen U ∧ Nonempty U} |
| 53 | have hB : Opens.IsBasis (Set.range (fun U : B => U.1)) := by |
| 54 | apply Opens.isBasis_iff_nbhd.mpr |
| 55 | intro U y hy |
| 56 | obtain ⟨_, ⟨V, hV, rfl⟩, hyV, hVU⟩ := |
| 57 | Y.isBasis_affineOpens.exists_subset_of_mem_open hy U.isOpen |
| 58 | exact ⟨V, ⟨⟨V, hV, ⟨⟨y, hyV⟩⟩⟩, rfl⟩, hyV, hVU⟩ |
| 59 | apply TopCat.Sheaf.isIso_iff_isIso_basis hB |
| 60 | intro U |
| 61 | have : Nonempty U.1 := U.2.2 |
| 62 | have hi := isIso_app_affine hY f g hg U.1 U.2.1 |
| 63 | apply (ConcreteCategory.isIso_iff_bijective _).mpr |
| 64 | exact (ConcreteCategory.isIso_iff_bijective (f.app U.1)).mp hi |
| 65 | |
| 66 | theorem isIso_app (U : Y.Opens) : IsIso (f.app U) := by |
| 67 | have hs : IsIso f.toRingCatSheafHom := isIso_ringSheaf hY f g hg |
| 68 | let e := @asIso _ _ _ _ f.toRingCatSheafHom hs |
| 69 | let e' := (sheafToPresheaf _ _).mapIso e |
| 70 | have hi : IsIso (f.toRingCatSheafHom.hom.app (.op U)) := (e'.app (.op U)).isIso_hom |
| 71 | apply (ConcreteCategory.isIso_iff_bijective _).mpr |
| 72 | exact (ConcreteCategory.isIso_iff_bijective (f.toRingCatSheafHom.hom.app (.op U))).mp hi |
| 73 | |
| 74 | theorem isIso_unit : IsIso (SheafOfModules.unitToPushforwardObjUnit f.toRingCatSheafHom) := by |
| 75 | apply Scheme.Modules.Hom.isIso_iff_isIso_app.mpr |
| 76 | intro U |
| 77 | apply (ConcreteCategory.isIso_iff_bijective _).mpr |
| 78 | exact (ConcreteCategory.isIso_iff_bijective (f.app U)).mp (isIso_app hY f g hg U) |
| 79 | |
| 80 | def iso : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y ≅ (Scheme.Modules.pushforward f).obj (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) := |
| 81 | @asIso _ _ _ _ (SheafOfModules.unitToPushforwardObjUnit f.toRingCatSheafHom) |
| 82 | (isIso_unit hY f g hg) |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.BirationalStructure.Construction.BirationalStructureSheaf |