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.AbelianScheme.IsogenyQuotient.ArbitraryAffineLineDescent |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Ordinary.GlobalLineDescent |
| 3 | |
| 4 | /-! # Arbitrary Global Line Descent -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.ArbitraryGlobalLineDescent.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Ordinary geometric line-bundle descent is effective along affine |
| 11 | faithfully flat morphisms over arbitrary schemes. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Geometric.KernelLinearization OAI.AlgebraicGeometry.Picard.PoincareBundle.Geometric.CechInvariant OAI.AlgebraicGeometry.Picard.PoincareBundle.Ordinary.SquareGluing |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) |
| 20 | (D : Picard.PoincareBundle.Geometric.KernelLinearization.modulePullbacks.DescentData (fun (_ : PUnit.{1}) => f)) |
| 21 | (hD : Picard.PoincareBundle.Line.Bundles.IsLine (D.obj PUnit.unit)) |
| 22 | |
| 23 | include hD in |
| 24 | theorem arbitrary_affineSchemeInvariant_isLine [IsAffine X] [IsAffine Y] [Flat f] [Surjective f] : |
| 25 | Picard.PoincareBundle.Line.Bundles.IsLine (Picard.PoincareBundle.Geometric.CechInvariant.ordinaryInvariantSheaf f D) := by |
| 26 | let w := (Scheme.isoSpec_inv_naturality f).symm |
| 27 | let D' := Picard.PoincareBundle.Ordinary.SquareGluing.pulledDatum f (Spec.map f.appTop) X.isoSpec.inv Y.isoSpec.inv w D |
| 28 | have hD' : Picard.PoincareBundle.Line.Bundles.IsLine (D'.obj PUnit.unit) := hD.pullback X.isoSpec.inv |
| 29 | have hpre : f ⁻¹ᵁ Y.isoSpec.inv.opensRange ≤ X.isoSpec.inv.opensRange := by |
| 30 | simp [Scheme.Hom.opensRange_of_isIso] |
| 31 | have hff : f.appTop.hom.FaithfullyFlat := |
| 32 | (Flat.flat_and_surjective_iff_faithfullyFlat_of_isAffine f).mp ⟨inferInstance, inferInstance⟩ |
| 33 | have hl := ArbitraryAffineLineDescent.Construction.arbitrary_ordinaryAffineInvariant_isLine f.appTop D' hD' hff |
| 34 | apply Picard.PoincareBundle.IsoDescent.isLine_of_pullback Y.isoSpec.symm |
| 35 | exact hl.of_iso ((Picard.PoincareBundle.Ordinary.KernelPairRestriction.invariantIso f (Spec.map f.appTop) |
| 36 | X.isoSpec.inv Y.isoSpec.inv w hpre D).symm ≪≫ |
| 37 | (Scheme.Modules.restrictFunctorIsoPullback Y.isoSpec.inv).app _) |
| 38 | |
| 39 | include hD in |
| 40 | theorem arbitrary_ordinaryInvariant_isLine [IsAffineHom f] [Flat f] [Surjective f] : |
| 41 | Picard.PoincareBundle.Line.Bundles.IsLine (Picard.PoincareBundle.Geometric.CechInvariant.ordinaryInvariantSheaf f D) := by |
| 42 | apply Picard.PoincareBundle.Line.Locality.isLine_of_locally_isLine |
| 43 | intro y |
| 44 | obtain ⟨U, hU, hy, _⟩ := exists_isAffineOpen_mem_and_subset |
| 45 | (show y ∈ (⊤ : Y.Opens) from trivial) |
| 46 | have : IsAffine U := hU |
| 47 | have : IsAffine (f ⁻¹ᵁ U : X.Opens) := hU.preimage f |
| 48 | have : Surjective (f ∣_ U) := |
| 49 | MorphismProperty.IsStableUnderBaseChange.of_isPullback |
| 50 | (isPullback_morphismRestrict f U).flip (inferInstanceAs (Surjective f)) |
| 51 | have hD' : Picard.PoincareBundle.Line.Bundles.IsLine ((Picard.PoincareBundle.Ordinary.GlobalLineDescent.openDatum f D U).obj PUnit.unit) := |
| 52 | hD.pullback (f ⁻¹ᵁ U).ι |
| 53 | have hl := arbitrary_affineSchemeInvariant_isLine (f ∣_ U) (Picard.PoincareBundle.Ordinary.GlobalLineDescent.openDatum f D U) hD' |
| 54 | exact ⟨U, hy, hl.of_iso ((Picard.PoincareBundle.Ordinary.GlobalLineDescent.invariantOpenIso f D U).symm ≪≫ |
| 55 | (Scheme.Modules.restrictFunctorIsoPullback U.ι).app _)⟩ |
| 56 | |
| 57 | def arbitraryDescendedLine [IsAffineHom f] [Flat f] [Surjective f] : Picard.PoincareBundle.Line.Bundles.LineBundle Y := |
| 58 | ⟨Picard.PoincareBundle.Geometric.CechInvariant.ordinaryInvariantSheaf f D, arbitrary_ordinaryInvariant_isLine f D hD⟩ |
| 59 | |
| 60 | def arbitraryDescendedLinePullbackIso [IsAffineHom f] [Flat f] [Surjective f] : |
| 61 | (Scheme.Modules.pullback f).obj (arbitraryDescendedLine f D hD).sheaf ≅ D.obj PUnit.unit := by |
| 62 | have ha : IsIso (Picard.PoincareBundle.Geometric.CechInvariant.ordinaryComparison f D) := Picard.PoincareBundle.Ordinary.GlobalLineDescent.comparison_isIso f D hD |
| 63 | exact @asIso _ _ _ _ (Picard.PoincareBundle.Geometric.CechInvariant.ordinaryComparison f D) ha |
| 64 | |
| 65 | theorem arbitraryDescendedLinePullbackIso_compatible [IsAffineHom f] [Flat f] [Surjective f] : |
| 66 | (Scheme.Modules.pullback (pullback.fst f f)).map (arbitraryDescendedLinePullbackIso f D hD).hom ≫ |
| 67 | (Picard.PoincareBundle.Geometric.CechInvariant.relationGluing f D).hom = |
| 68 | (Picard.PoincareBundle.Cech.MateNormalization.standardGluing f (pullback.fst f f) (pullback.snd f f) |
| 69 | pullback.condition).hom.app (arbitraryDescendedLine f D hD).sheaf ≫ |
| 70 | (Scheme.Modules.pullback (pullback.snd f f)).map (arbitraryDescendedLinePullbackIso f D hD).hom := |
| 71 | Picard.PoincareBundle.Cech.MateNormalization.comparison_standard_compatible f (pullback.fst f f) (pullback.snd f f) |
| 72 | pullback.condition (D.obj PUnit.unit) (Picard.PoincareBundle.Geometric.CechInvariant.relationGluing f D) |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.ArbitraryGlobalLineDescent.Construction |