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.CartierDuality.DescentOverlapCharts |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.IntrinsicDescentRecovery |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.EffectiveLineDescent |
| 4 | |
| 5 | /-! # Ordinary Global Line Descent -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.OrdinaryGlobalLineDescent.Construction.LineDescent |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # CartierDuality: effective ordinary line descent on arbitrary schemes |
| 13 | |
| 14 | The input consists of the actual ordinary gluing on the cover. The |
| 15 | invariant line and the compatible recovery isomorphism are constructed |
| 16 | over any affine faithfully flat cover, without a noetherian hypothesis. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 20 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Geometric.KernelLinearization |
| 21 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Geometric.CechInvariant |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | /-- Ordinary invariant lines over spectra need no noetherian assumption. -/ |
| 26 | theorem ordinarySpecInvariant_isLine {R S : CommRingCat.{u}} (g : R ⟶ S) |
| 27 | (hg : g.hom.FaithfullyFlat) |
| 28 | (D : Picard.PoincareBundle.Geometric.KernelLinearization.modulePullbacks.DescentData (fun (_ : PUnit.{1}) => Spec.map g)) |
| 29 | (hD : Picard.PoincareBundle.Line.Bundles.IsLine (D.obj PUnit.unit)) : |
| 30 | Picard.PoincareBundle.Line.Bundles.IsLine (Picard.PoincareBundle.Geometric.CechInvariant.ordinaryInvariantSheaf (Spec.map g) D) := |
| 31 | (AffineIntrinsicLineDescent.Construction.LineDescent.affineCech_invariant_isLine g (Picard.PoincareBundle.Ordinary.AffineDescent.ringMapGeometricDatum g D hD) hg).of_iso |
| 32 | (Picard.PoincareBundle.Ordinary.AffineEffectivity.invariantIso g D hD) |
| 33 | |
| 34 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) |
| 35 | |
| 36 | /-- The ordinary invariant is a line on arbitrary affine schemes. -/ |
| 37 | theorem ordinaryAffineInvariant_isLine [IsAffine X] [IsAffine Y] [Flat f] [Surjective f] |
| 38 | (D : Picard.PoincareBundle.Geometric.KernelLinearization.modulePullbacks.DescentData (fun (_ : PUnit.{1}) => f)) |
| 39 | (hD : Picard.PoincareBundle.Line.Bundles.IsLine (D.obj PUnit.unit)) : |
| 40 | Picard.PoincareBundle.Line.Bundles.IsLine (Picard.PoincareBundle.Geometric.CechInvariant.ordinaryInvariantSheaf f D) := by |
| 41 | let w := (Scheme.isoSpec_inv_naturality f).symm |
| 42 | have sq : IsPullback X.isoSpec.inv (Spec.map f.appTop) f Y.isoSpec.inv := |
| 43 | IsPullback.of_horiz_isIso ⟨w⟩ |
| 44 | let D' := DescentOverlapCharts.Construction.LineDescent.openChartDatum f (Spec.map f.appTop) Y.isoSpec.inv X.isoSpec.inv w D |
| 45 | have hD' : Picard.PoincareBundle.Line.Bundles.IsLine (D'.obj PUnit.unit) := hD.pullback X.isoSpec.inv |
| 46 | have hf : f.appTop.hom.FaithfullyFlat := |
| 47 | (Flat.flat_and_surjective_iff_faithfullyFlat_of_isAffine f).mp ⟨inferInstance, inferInstance⟩ |
| 48 | have hl := ordinarySpecInvariant_isLine f.appTop hf D' hD' |
| 49 | apply Picard.PoincareBundle.IsoDescent.isLine_of_pullback Y.isoSpec.symm |
| 50 | exact hl.of_iso ((DescentOverlapCharts.Construction.LineDescent.ordinaryInvariantOpenIso f (Spec.map f.appTop) Y.isoSpec.inv X.isoSpec.inv w sq D).symm ≪≫ |
| 51 | (Scheme.Modules.restrictFunctorIsoPullback Y.isoSpec.inv).app _) |
| 52 | |
| 53 | /-- Recovery of ordinary invariants is invertible on arbitrary affine schemes. -/ |
| 54 | theorem ordinaryAffineComparison_isIso [IsAffine X] [IsAffine Y] [Flat f] [Surjective f] |
| 55 | (D : Picard.PoincareBundle.Geometric.KernelLinearization.modulePullbacks.DescentData (fun (_ : PUnit.{1}) => f)) |
| 56 | (hD : Picard.PoincareBundle.Line.Bundles.IsLine (D.obj PUnit.unit)) : IsIso (Picard.PoincareBundle.Geometric.CechInvariant.ordinaryComparison f D) := by |
| 57 | let w := (Scheme.isoSpec_inv_naturality f).symm |
| 58 | have sq : IsPullback X.isoSpec.inv (Spec.map f.appTop) f Y.isoSpec.inv := |
| 59 | IsPullback.of_horiz_isIso ⟨w⟩ |
| 60 | let D' := DescentOverlapCharts.Construction.LineDescent.openChartDatum f (Spec.map f.appTop) Y.isoSpec.inv X.isoSpec.inv w D |
| 61 | have hD' : Picard.PoincareBundle.Line.Bundles.IsLine (D'.obj PUnit.unit) := hD.pullback X.isoSpec.inv |
| 62 | have hf : f.appTop.hom.FaithfullyFlat := |
| 63 | (Flat.flat_and_surjective_iff_faithfullyFlat_of_isAffine f).mp ⟨inferInstance, inferInstance⟩ |
| 64 | have hr : IsIso ((Scheme.Modules.restrictFunctor X.isoSpec.inv).map (Picard.PoincareBundle.Geometric.CechInvariant.ordinaryComparison f D)) := |
| 65 | (DescentOverlapCharts.Construction.LineDescent.ordinaryComparison_open_isIso_iff f (Spec.map f.appTop) Y.isoSpec.inv X.isoSpec.inv w sq D).mpr |
| 66 | (Picard.PoincareBundle.Ordinary.AffineEffectivity.comparison_isIso f.appTop D' hD' hf) |
| 67 | have hp : IsIso ((Scheme.Modules.pullback X.isoSpec.inv).map (Picard.PoincareBundle.Geometric.CechInvariant.ordinaryComparison f D)) := |
| 68 | (NatIso.isIso_map_iff (Scheme.Modules.restrictFunctorIsoPullback X.isoSpec.inv) |
| 69 | (Picard.PoincareBundle.Geometric.CechInvariant.ordinaryComparison f D)).mp hr |
| 70 | have : (Scheme.Modules.pullback X.isoSpec.inv).IsEquivalence := |
| 71 | Picard.PoincareBundle.IsoDescent.pullback_isEquivalence X.isoSpec.symm |
| 72 | exact isIso_of_reflects_iso (Picard.PoincareBundle.Geometric.CechInvariant.ordinaryComparison f D) (Scheme.Modules.pullback X.isoSpec.inv) |
| 73 | |
| 74 | variable [IsAffineHom f] [Flat f] [Surjective f] |
| 75 | (D : Picard.PoincareBundle.Geometric.KernelLinearization.modulePullbacks.DescentData (fun (_ : PUnit.{1}) => f)) |
| 76 | (hD : Picard.PoincareBundle.Line.Bundles.IsLine (D.obj PUnit.unit)) |
| 77 | |
| 78 | include hD in |
| 79 | /-- Ordinary invariants form a genuine line over any target scheme. -/ |
| 80 | theorem ordinaryGlobalInvariant_isLine : Picard.PoincareBundle.Line.Bundles.IsLine (Picard.PoincareBundle.Geometric.CechInvariant.ordinaryInvariantSheaf f D) := by |
| 81 | apply Picard.PoincareBundle.Line.Locality.isLine_of_locally_isLine |
| 82 | intro y |
| 83 | obtain ⟨U, hU, hy, _⟩ := exists_isAffineOpen_mem_and_subset |
| 84 | (show y ∈ (⊤ : Y.Opens) from trivial) |
| 85 | have : IsAffine U := hU |
| 86 | have : IsAffine (f ⁻¹ᵁ U : X.Opens) := hU.preimage f |
| 87 | have : Surjective (f ∣_ U) := MorphismProperty.IsStableUnderBaseChange.of_isPullback |
| 88 | (isPullback_morphismRestrict f U).flip (inferInstanceAs (Surjective f)) |
| 89 | let w := (morphismRestrict_ι f U).symm |
| 90 | let D' := DescentOverlapCharts.Construction.LineDescent.openChartDatum f (f ∣_ U) U.ι (f ⁻¹ᵁ U).ι w D |
| 91 | have hD' : Picard.PoincareBundle.Line.Bundles.IsLine (D'.obj PUnit.unit) := hD.pullback (f ⁻¹ᵁ U).ι |
| 92 | have hl := ordinaryAffineInvariant_isLine (f ∣_ U) D' hD' |
| 93 | refine ⟨U, hy, ?_⟩ |
| 94 | exact hl.of_iso ((DescentOverlapCharts.Construction.LineDescent.ordinaryInvariantOpenIso f (f ∣_ U) U.ι (f ⁻¹ᵁ U).ι w |
| 95 | (isPullback_morphismRestrict f U).flip D).symm ≪≫ |
| 96 | (Scheme.Modules.restrictFunctorIsoPullback U.ι).app _) |
| 97 | |
| 98 | include hD in |
| 99 | /-- The constructed global invariant recovers the original line by its canonical map. -/ |
| 100 | theorem ordinaryGlobalComparison_isIso : IsIso (Picard.PoincareBundle.Geometric.CechInvariant.ordinaryComparison f D) := by |
| 101 | apply Picard.PoincareBundle.ModuleLocality.isIso_of_locally_isIso |
| 102 | intro x |
| 103 | obtain ⟨U, hU, hx, _⟩ := exists_isAffineOpen_mem_and_subset |
| 104 | (show f x ∈ (⊤ : Y.Opens) from trivial) |
| 105 | have : IsAffine U := hU |
| 106 | have : IsAffine (f ⁻¹ᵁ U : X.Opens) := hU.preimage f |
| 107 | have : Surjective (f ∣_ U) := MorphismProperty.IsStableUnderBaseChange.of_isPullback |
| 108 | (isPullback_morphismRestrict f U).flip (inferInstanceAs (Surjective f)) |
| 109 | let w := (morphismRestrict_ι f U).symm |
| 110 | let D' := DescentOverlapCharts.Construction.LineDescent.openChartDatum f (f ∣_ U) U.ι (f ⁻¹ᵁ U).ι w D |
| 111 | have hD' : Picard.PoincareBundle.Line.Bundles.IsLine (D'.obj PUnit.unit) := hD.pullback (f ⁻¹ᵁ U).ι |
| 112 | refine ⟨f ⁻¹ᵁ U, hx, ?_⟩ |
| 113 | exact (DescentOverlapCharts.Construction.LineDescent.ordinaryComparison_open_isIso_iff f (f ∣_ U) U.ι (f ⁻¹ᵁ U).ι w |
| 114 | (isPullback_morphismRestrict f U).flip D).mpr (ordinaryAffineComparison_isIso (f ∣_ U) D' hD') |
| 115 | |
| 116 | variable (N : Picard.Homomorphisms.IntrinsicModuleDescent.Construction.NativeModuleDescent f) (hN : Picard.PoincareBundle.Line.Bundles.IsLine N.module) |
| 117 | |
| 118 | /-- A genuine line bundle constructed from arbitrary ordinary native line gluing. -/ |
| 119 | def nativeDescendedLine : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y where |
| 120 | sheaf := IntrinsicInvariantDescent.Construction.LineDescent.nativeInvariant f N |
| 121 | locallyTrivial := ordinaryGlobalInvariant_isLine f (AffineIntrinsicLineDescent.Construction.LineDescent.nativeToDescentData N) hN |
| 122 | |
| 123 | /-- The canonical recovery isomorphism on the original covering scheme. -/ |
| 124 | def nativeDescendedLinePullbackIso : |
| 125 | (Scheme.Modules.pullback f).obj (nativeDescendedLine f N hN).sheaf ≅ N.module := |
| 126 | @asIso _ _ _ _ (IntrinsicInvariantDescent.Construction.LineDescent.nativeInvariantComparison f N) |
| 127 | (ordinaryGlobalComparison_isIso f (AffineIntrinsicLineDescent.Construction.LineDescent.nativeToDescentData N) hN) |
| 128 | |
| 129 | /-- The canonical recovery retains every native gluing equation. -/ |
| 130 | theorem nativeDescendedLinePullbackIso_compatible {T : Scheme.{u}} (q : T ⟶ Y) |
| 131 | (x y : T ⟶ X) (hx : x ≫ f = q) (hy : y ≫ f = q) : |
| 132 | DescentRelationMorphisms.Construction.LineDescent.CompatibleAt (Picard.Homomorphisms.CanonicalDescentFrames.Construction.canonicalModuleDescent f (nativeDescendedLine f N hN).sheaf) N |
| 133 | (nativeDescendedLinePullbackIso f N hN).hom q x y hx hy := |
| 134 | IntrinsicInvariantDescent.Construction.LineDescent.nativeInvariantComparison_compatible f N q x y hx hy |
| 135 | |
| 136 | /-- The actual global line recovers all the original ordinary descent data. -/ |
| 137 | def nativeDescendedLineRecoveryIso : |
| 138 | (Picard.PoincareBundle.Geometric.KernelLinearization.modulePullbacks.toDescentData (fun (_ : PUnit.{1}) => f)).obj (nativeDescendedLine f N hN).sheaf ≅ |
| 139 | AffineIntrinsicLineDescent.Construction.LineDescent.nativeToDescentData N := |
| 140 | IntrinsicDescentRecovery.Construction.LineDescent.nativeRecoveryIso f (AffineIntrinsicLineDescent.Construction.LineDescent.nativeToDescentData N) _ (nativeDescendedLinePullbackIso f N hN) |
| 141 | (IntrinsicInvariantDescent.Construction.LineDescent.nativeInvariantComparison_compatible f N) |
| 142 | |
| 143 | end |
| 144 | |
| 145 | end OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.OrdinaryGlobalLineDescent.Construction.LineDescent |