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.LineModuleDescent |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.GlobalLineDescent |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles |
| 4 | |
| 5 | /-! # Effective Line Descent -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.EffectiveLineDescent.Construction.LineDescent |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # CartierDuality: effective geometric line descent over arbitrary bases |
| 13 | |
| 14 | Actual invariant module sheaves descend through every affine faithfully |
| 15 | flat morphism. The recovered comparison retains the original coaction. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) |
| 23 | |
| 24 | /-- On arbitrary affine schemes, invariants of a faithfully flat line |
| 25 | coaction are locally free of rank one. -/ |
| 26 | theorem affine_invariantSheaf_isLine [IsAffine X] [IsAffine Y] [Flat f] [Surjective f] |
| 27 | (D : Picard.PoincareBundle.BeckDescent.SheafDatum f) (hD : Picard.PoincareBundle.Line.Bundles.IsLine D.A) : |
| 28 | Picard.PoincareBundle.Line.Bundles.IsLine (Picard.PoincareBundle.BeckDescent.invariantSheaf f D) := by |
| 29 | let w := Scheme.isoSpec_inv_naturality f |
| 30 | let D' := (Picard.PoincareBundle.IsoDescent.transportDatum f (Spec.map f.appTop) |
| 31 | X.isoSpec.symm Y.isoSpec.symm w).obj D |
| 32 | have hD' : Picard.PoincareBundle.Line.Bundles.IsLine D'.A := hD.pullback X.isoSpec.inv |
| 33 | have hf : f.appTop.hom.FaithfullyFlat := |
| 34 | (Flat.flat_and_surjective_iff_faithfullyFlat_of_isAffine f).mp ⟨inferInstance, inferInstance⟩ |
| 35 | have hline := LineModuleDescent.Construction.LineDescent.invariantSheaf_isLine f.appTop D' hf hD' |
| 36 | apply Picard.PoincareBundle.IsoDescent.isLine_of_pullback Y.isoSpec.symm |
| 37 | exact hline.of_iso (Picard.PoincareBundle.IsoDescent.invariantSheafIso f (Spec.map f.appTop) |
| 38 | X.isoSpec.symm Y.isoSpec.symm w D).symm |
| 39 | |
| 40 | /-- Invariants form an actual line bundle over an arbitrary target |
| 41 | scheme, as verified on an affine open cover. -/ |
| 42 | theorem geometric_invariantSheaf_isLine [IsAffineHom f] [Flat f] [Surjective f] |
| 43 | (D : Picard.PoincareBundle.BeckDescent.SheafDatum f) (hD : Picard.PoincareBundle.Line.Bundles.IsLine D.A) : |
| 44 | Picard.PoincareBundle.Line.Bundles.IsLine (Picard.PoincareBundle.BeckDescent.invariantSheaf f D) := by |
| 45 | apply Picard.PoincareBundle.Line.Locality.isLine_of_locally_isLine |
| 46 | intro y |
| 47 | obtain ⟨U, hU, hy, _⟩ := exists_isAffineOpen_mem_and_subset |
| 48 | (show y ∈ (⊤ : Y.Opens) from trivial) |
| 49 | have : IsAffine U := hU |
| 50 | have : IsAffine (f ⁻¹ᵁ U : X.Opens) := hU.preimage f |
| 51 | have : Surjective (f ∣_ U) := |
| 52 | MorphismProperty.IsStableUnderBaseChange.of_isPullback |
| 53 | (isPullback_morphismRestrict f U).flip (inferInstanceAs (Surjective f)) |
| 54 | let D' := (Picard.PoincareBundle.Open.Descent.restrictDatum f U).obj D |
| 55 | have hD' : Picard.PoincareBundle.Line.Bundles.IsLine D'.A := Picard.PoincareBundle.Open.Descent.restrictDatum_isLine f U D hD |
| 56 | have hline := affine_invariantSheaf_isLine (f ∣_ U) D' hD' |
| 57 | refine ⟨U, hy, ?_⟩ |
| 58 | exact hline.of_iso ((Picard.PoincareBundle.Open.Descent.invariantSheafRestrictIso f U D).symm ≪≫ |
| 59 | (Scheme.Modules.restrictFunctorIsoPullback U.ι).app _) |
| 60 | |
| 61 | /-- The descended object is a line bundle in the same native interface |
| 62 | used by the Poincare and relative Picard constructions. -/ |
| 63 | def descendedLineBundle [IsAffineHom f] [Flat f] [Surjective f] |
| 64 | (D : Picard.PoincareBundle.BeckDescent.SheafDatum f) (hD : Picard.PoincareBundle.Line.Bundles.IsLine D.A) : |
| 65 | AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y where |
| 66 | sheaf := Picard.PoincareBundle.BeckDescent.invariantSheaf f D |
| 67 | locallyTrivial := geometric_invariantSheaf_isLine f D hD |
| 68 | |
| 69 | /-- Pullback of the constructed line bundle recovers the original |
| 70 | module sheaf by the canonical invariant comparison. -/ |
| 71 | def descendedLineBundlePullbackIso [IsAffineHom f] [Flat f] [Surjective f] |
| 72 | (D : Picard.PoincareBundle.BeckDescent.SheafDatum f) (hD : Picard.PoincareBundle.Line.Bundles.IsLine D.A) : |
| 73 | (Scheme.Modules.pullback f).obj (descendedLineBundle f D hD).sheaf ≅ D.A := by |
| 74 | let a := (Picard.PoincareBundle.BeckDescent.invariantComparison f D).f |
| 75 | have ha : IsIso a := Picard.PoincareBundle.GlobalLineDescent.invariantComparison_isIso f D hD |
| 76 | exact @asIso _ _ _ _ a ha |
| 77 | |
| 78 | /-- The recovery map preserves the original coaction, not just the |
| 79 | isomorphism type of the underlying module. -/ |
| 80 | theorem descendedLineBundlePullbackIso_preservesCoaction [IsAffineHom f] [Flat f] [Surjective f] |
| 81 | (D : Picard.PoincareBundle.BeckDescent.SheafDatum f) (hD : Picard.PoincareBundle.Line.Bundles.IsLine D.A) : |
| 82 | ((CategoryTheory.Comonad.comparison (Scheme.Modules.pullbackPushforwardAdjunction f)).obj |
| 83 | (descendedLineBundle f D hD).sheaf).a ≫ |
| 84 | (Scheme.Modules.pullbackPushforwardAdjunction f).toComonad.map |
| 85 | (descendedLineBundlePullbackIso f D hD).hom = |
| 86 | (descendedLineBundlePullbackIso f D hD).hom ≫ D.a := |
| 87 | (Picard.PoincareBundle.BeckDescent.invariantComparison f D).h |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.EffectiveLineDescent.Construction.LineDescent |