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.ProperIntegral |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.Flat |
| 4 | import Mathlib.FieldTheory.IsAlgClosed.Basic |
| 5 | |
| 6 | /-! # Product Functions Is -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.ProductFunctionsIs.Construction.ProductFunctions |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Universal constancy of functions on a proper integral scheme over an |
| 13 | algebraically closed field, including nonreduced base changes. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | open OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable {K : Type u} [Field K] [IsAlgClosed K] |
| 21 | variable {X Y : Scheme.{u}} (f : X ⟶ Spec (.of K)) (g : Y ⟶ Spec (.of K)) |
| 22 | variable [IsIntegral X] [IsProper f] |
| 23 | |
| 24 | theorem isIso_appTop : IsIso f.appTop := by |
| 25 | have h : IsIso (ProperIntegral.Construction.ProperIntegralFunctions.scalarMap f) := |
| 26 | (ConcreteCategory.isIso_iff_bijective _).mpr |
| 27 | (IsAlgClosed.ringHom_bijective_of_isIntegral |
| 28 | (ProperIntegral.Construction.ProperIntegralFunctions.scalarMap f).hom (ProperIntegral.Construction.ProperIntegralFunctions.isIntegral f)) |
| 29 | have : IsIso ((Scheme.ΓSpecIso (.of K)).inv ≫ f.appTop) := h |
| 30 | exact IsIso.of_isIso_comp_left (Scheme.ΓSpecIso (.of K)).inv f.appTop |
| 31 | |
| 32 | theorem isIso_app_affine (U : Y.Opens) (hU : IsAffineOpen U) : |
| 33 | IsIso ((pullback.snd f g).app U) := by |
| 34 | have : CompactSpace X := QuasiCompact.compactSpace_of_compactSpace f |
| 35 | have : IsLocallyNoetherian X := LocallyOfFiniteType.isLocallyNoetherian f |
| 36 | have : IsNoetherian X := ⟨⟩ |
| 37 | let H := IsPullback.of_hasPullback f g |
| 38 | have hUX : (⊤ : X.Opens) ≤ f ⁻¹ᵁ ⊤ := le_rfl |
| 39 | have hUY : U ≤ g ⁻¹ᵁ ⊤ := le_top |
| 40 | have hUV : pullback.snd f g ⁻¹ᵁ U = |
| 41 | pullback.fst f g ⁻¹ᵁ ⊤ ⊓ pullback.snd f g ⁻¹ᵁ U := by simp |
| 42 | have hq := isIso_pushoutSection_of_isQuasiSeparated_of_flat_right H hUY hUX hUV |
| 43 | (isAffineOpen_top (Spec (.of K))) hU isCompact_univ isQuasiSeparated_univ |
| 44 | have hp := (isIso_pushoutSection_iff H hUY hUX hUV).mp hq |
| 45 | have : IsIso (f.appLE ⊤ ⊤ hUX) := by |
| 46 | change IsIso (f.appLE ⊤ (f ⁻¹ᵁ ⊤) le_rfl) |
| 47 | rw [Scheme.Hom.appLE_eq_app] |
| 48 | exact isIso_appTop f |
| 49 | have h := hp.isIso_inr_of_isIso |
| 50 | change IsIso ((pullback.snd f g).appLE U (pullback.snd f g ⁻¹ᵁ U) le_rfl) at h |
| 51 | rw [Scheme.Hom.appLE_eq_app] at h |
| 52 | exact h |
| 53 | |
| 54 | theorem isIso_unit : |
| 55 | IsIso (SheafOfModules.unitToPushforwardObjUnit (pullback.snd f g).toRingCatSheafHom) := by |
| 56 | let q : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y ⟶ |
| 57 | (Scheme.Modules.pushforward (pullback.snd f g)).obj (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule (pullback f g)) := |
| 58 | SheafOfModules.unitToPushforwardObjUnit (pullback.snd f g).toRingCatSheafHom |
| 59 | have : IsIso ((SheafOfModules.toSheaf Y.ringCatSheaf).map q) := by |
| 60 | apply TopCat.Sheaf.isIso_iff_isIso_basis (B := fun U : Y.affineOpens => U.1) |
| 61 | (by simpa only [Subtype.range_val] using Y.isBasis_affineOpens) |
| 62 | intro U |
| 63 | rw [ConcreteCategory.isIso_iff_bijective] |
| 64 | have := isIso_app_affine f g U.1 U.2 |
| 65 | exact (ConcreteCategory.isIso_iff_bijective ((pullback.snd f g).app U.1)).mp this |
| 66 | have : IsIso ((Scheme.Modules.toPresheaf Y).map q) := |
| 67 | inferInstanceAs (IsIso ((sheafToPresheaf _ _).map |
| 68 | ((SheafOfModules.toSheaf Y.ringCatSheaf).map q))) |
| 69 | exact isIso_of_reflects_iso q (Scheme.Modules.toPresheaf Y) |
| 70 | |
| 71 | def iso : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y ≅ |
| 72 | (Scheme.Modules.pushforward (pullback.snd f g)).obj (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule (pullback f g)) := |
| 73 | @asIso _ _ _ _ _ (isIso_unit f g) |
| 74 | |
| 75 | theorem isIso_app (U : Y.Opens) : IsIso ((pullback.snd f g).app U) := by |
| 76 | have h := (ConcreteCategory.isIso_iff_bijective ((iso f g).hom.app U)).mp inferInstance |
| 77 | exact (ConcreteCategory.isIso_iff_bijective ((pullback.snd f g).app U)).mpr h |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.ProductFunctionsIs.Construction.ProductFunctions |