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.Ordinary.AffineSchemeEffectivity |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Line.Locality |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.Affine |
| 4 | |
| 5 | /-! # Global Line Descent -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Ordinary.GlobalLineDescent |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Effective global line-bundle descent from ordinary geometric Čech data |
| 13 | |
| 14 | The descended sheaf is the globally defined equalizer on the actual scheme kernel pair. |
| 15 | The input consists of an ordinary geometric descent datum and a line bundle on the cover; |
| 16 | no comonad coaction or effectivity hypothesis is supplied. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Geometric.KernelLinearization OAI.AlgebraicGeometry.Picard.PoincareBundle.Geometric.CechInvariant OAI.AlgebraicGeometry.Picard.PoincareBundle.Ordinary.SquareGluing |
| 24 | |
| 25 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) |
| 26 | (D : Geometric.KernelLinearization.modulePullbacks.DescentData (fun (_ : PUnit.{1}) => f)) |
| 27 | |
| 28 | /-- The actual ordinary descent datum on the inverse image of a base open. -/ |
| 29 | def openDatum (U : Y.Opens) : Geometric.KernelLinearization.modulePullbacks.DescentData (fun (_ : PUnit.{1}) => f ∣_ U) := |
| 30 | SquareGluing.pulledDatum f (f ∣_ U) (f ⁻¹ᵁ U).ι U.ι (morphismRestrict_ι f U).symm D |
| 31 | |
| 32 | /-- The globally defined ordinary invariant restricts to the invariant on every base open. -/ |
| 33 | def invariantOpenIso (U : Y.Opens) : |
| 34 | (Scheme.Modules.restrictFunctor U.ι).obj (Geometric.CechInvariant.ordinaryInvariantSheaf f D) ≅ |
| 35 | Geometric.CechInvariant.ordinaryInvariantSheaf (f ∣_ U) (openDatum f D U) := |
| 36 | KernelPairRestriction.invariantIso f (f ∣_ U) (f ⁻¹ᵁ U).ι U.ι |
| 37 | (morphismRestrict_ι f U).symm (by simp only [Scheme.Opens.opensRange_ι]; exact le_rfl) D |
| 38 | |
| 39 | /-- The actual ordinary invariant comparison is detected on the corresponding restricted datum. -/ |
| 40 | theorem comparison_open_isIso_iff (U : Y.Opens) : |
| 41 | IsIso ((Scheme.Modules.restrictFunctor (f ⁻¹ᵁ U).ι).map (Geometric.CechInvariant.ordinaryComparison f D)) ↔ |
| 42 | IsIso (Geometric.CechInvariant.ordinaryComparison (f ∣_ U) (openDatum f D U)) := |
| 43 | KernelPairRestriction.comparison_restrict_isIso_iff f (f ∣_ U) (f ⁻¹ᵁ U).ι U.ι |
| 44 | (morphismRestrict_ι f U).symm (by simp only [Scheme.Opens.opensRange_ι]; exact le_rfl) D |
| 45 | |
| 46 | variable (hD : Line.Bundles.IsLine (D.obj PUnit.unit)) |
| 47 | |
| 48 | include hD in |
| 49 | /-- Faithfully flat affine morphisms effectively descend the original ordinary geometric line datum. -/ |
| 50 | theorem comparison_isIso [IsAffineHom f] [Flat f] [Surjective f] : IsIso (Geometric.CechInvariant.ordinaryComparison f D) := by |
| 51 | apply ModuleLocality.isIso_of_locally_isIso |
| 52 | intro x |
| 53 | obtain ⟨U, hU, hx, _⟩ := exists_isAffineOpen_mem_and_subset |
| 54 | (show f x ∈ (⊤ : Y.Opens) from trivial) |
| 55 | have : IsAffine U := hU |
| 56 | have : IsAffine (f ⁻¹ᵁ U : X.Opens) := hU.preimage f |
| 57 | have : Surjective (f ∣_ U) := |
| 58 | MorphismProperty.IsStableUnderBaseChange.of_isPullback |
| 59 | (isPullback_morphismRestrict f U).flip (inferInstanceAs (Surjective f)) |
| 60 | have hD' : Line.Bundles.IsLine ((openDatum f D U).obj PUnit.unit) := hD.pullback (f ⁻¹ᵁ U).ι |
| 61 | have hc := AffineSchemeEffectivity.comparison_isIso (f ∣_ U) (openDatum f D U) hD' |
| 62 | exact ⟨f ⁻¹ᵁ U, hx, (comparison_open_isIso_iff f D U).mpr hc⟩ |
| 63 | |
| 64 | include hD in |
| 65 | /-- The actual global ordinary invariant is a line bundle over a locally noetherian base. -/ |
| 66 | theorem invariant_isLine [IsAffineHom f] [IsLocallyNoetherian Y] [Flat f] [Surjective f] : |
| 67 | Line.Bundles.IsLine (Geometric.CechInvariant.ordinaryInvariantSheaf f D) := by |
| 68 | apply Line.Locality.isLine_of_locally_isLine |
| 69 | intro y |
| 70 | obtain ⟨U, hU, hy, _⟩ := exists_isAffineOpen_mem_and_subset |
| 71 | (show y ∈ (⊤ : Y.Opens) from trivial) |
| 72 | have : IsAffine U := hU |
| 73 | have : IsAffine (f ⁻¹ᵁ U : X.Opens) := hU.preimage f |
| 74 | have : Surjective (f ∣_ U) := |
| 75 | MorphismProperty.IsStableUnderBaseChange.of_isPullback |
| 76 | (isPullback_morphismRestrict f U).flip (inferInstanceAs (Surjective f)) |
| 77 | have hD' : Line.Bundles.IsLine ((openDatum f D U).obj PUnit.unit) := hD.pullback (f ⁻¹ᵁ U).ι |
| 78 | have hl := AffineSchemeEffectivity.invariant_isLine (f ∣_ U) (openDatum f D U) hD' |
| 79 | exact ⟨U, hy, hl.of_iso ((invariantOpenIso f D U).symm ≪≫ |
| 80 | (Scheme.Modules.restrictFunctorIsoPullback U.ι).app _)⟩ |
| 81 | |
| 82 | /-- The descended line bundle is the actual globally defined ordinary invariant sheaf. -/ |
| 83 | def descendedLine [IsAffineHom f] [IsLocallyNoetherian Y] [Flat f] [Surjective f] : |
| 84 | Line.Bundles.LineBundle Y := |
| 85 | ⟨Geometric.CechInvariant.ordinaryInvariantSheaf f D, invariant_isLine f D hD⟩ |
| 86 | |
| 87 | /-- The actual canonical invariant comparison recovers the original line bundle on the cover. -/ |
| 88 | def descendedLinePullbackIso [IsAffineHom f] [IsLocallyNoetherian Y] [Flat f] [Surjective f] : |
| 89 | (Scheme.Modules.pullback f).obj (descendedLine f D hD).sheaf ≅ D.obj PUnit.unit := by |
| 90 | have ha : IsIso (Geometric.CechInvariant.ordinaryComparison f D) := comparison_isIso f D hD |
| 91 | exact @asIso _ _ _ _ (Geometric.CechInvariant.ordinaryComparison f D) ha |
| 92 | |
| 93 | /-- Recovery respects the original geometric gluing on the scheme-theoretic kernel pair. -/ |
| 94 | theorem descendedLinePullbackIso_compatible [IsAffineHom f] [IsLocallyNoetherian Y] [Flat f] [Surjective f] : |
| 95 | (Scheme.Modules.pullback (pullback.fst f f)).map (descendedLinePullbackIso f D hD).hom ≫ |
| 96 | (Geometric.CechInvariant.relationGluing f D).hom = |
| 97 | (Cech.MateNormalization.standardGluing f (pullback.fst f f) (pullback.snd f f) |
| 98 | pullback.condition).hom.app (descendedLine f D hD).sheaf ≫ |
| 99 | (Scheme.Modules.pullback (pullback.snd f f)).map (descendedLinePullbackIso f D hD).hom := |
| 100 | Cech.MateNormalization.comparison_standard_compatible f (pullback.fst f f) (pullback.snd f f) |
| 101 | pullback.condition (D.obj PUnit.unit) (Geometric.CechInvariant.relationGluing f D) |
| 102 | |
| 103 | end |
| 104 | |
| 105 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Ordinary.GlobalLineDescent |