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.Divisors.LineBundles.Closed.SupportImage |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.RationalDivisorRestriction |
| 3 | |
| 4 | /-! # Support Restriction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Open.SupportRestriction.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # LineBundleCycles: restriction of an actual integral closed support to an open |
| 12 | |
| 13 | The scheme-theoretic pullback is an open subscheme of the original |
| 14 | integral support and a closed subscheme of the ambient open. When |
| 15 | nonempty it is integral and isomorphic to the reduced support of the |
| 16 | actual inverse-image closed subset. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 20 | |
| 21 | variable {X Y : Scheme} (i : X ⟶ Y) [IsOpenImmersion i] (W : IrreducibleCloseds Y) |
| 22 | |
| 23 | def openSupportPullback : Scheme := pullback i (CycleClass.Geometric.GenericPoint.reducedSupportι W) |
| 24 | |
| 25 | def openSupportInclusion : openSupportPullback i W ⟶ X := pullback.fst _ _ |
| 26 | |
| 27 | def openSupportToOriginal : openSupportPullback i W ⟶ CycleClass.Geometric.GenericPoint.reducedSupportScheme W := pullback.snd _ _ |
| 28 | |
| 29 | instance openSupportInclusion_isClosedImmersion : IsClosedImmersion (openSupportInclusion i W) := |
| 30 | inferInstanceAs (IsClosedImmersion (pullback.fst i (CycleClass.Geometric.GenericPoint.reducedSupportι W))) |
| 31 | |
| 32 | instance openSupportToOriginal_isOpenImmersion : IsOpenImmersion (openSupportToOriginal i W) := |
| 33 | inferInstanceAs (IsOpenImmersion (pullback.snd i (CycleClass.Geometric.GenericPoint.reducedSupportι W))) |
| 34 | |
| 35 | omit [IsOpenImmersion i] in |
| 36 | theorem openSupportInclusion_range : Set.range (openSupportInclusion i W) = i ⁻¹' (W : Set Y) := by |
| 37 | have h := Scheme.image_preimage_eq_of_isPullback (IsPullback.of_hasPullback i (CycleClass.Geometric.GenericPoint.reducedSupportι W)).flip Set.univ |
| 38 | simp only [Set.preimage_univ, Set.image_univ, CycleClass.Geometric.GenericPoint.range_reducedSupportι] at h |
| 39 | exact h |
| 40 | |
| 41 | omit [IsOpenImmersion i] in |
| 42 | theorem openSupportPullback_nonempty_iff : Nonempty (openSupportPullback i W) ↔ (i ⁻¹' (W : Set Y)).Nonempty := by |
| 43 | rw [← openSupportInclusion_range] |
| 44 | exact Set.range_nonempty_iff_nonempty.symm |
| 45 | |
| 46 | variable [Nonempty (openSupportPullback i W)] |
| 47 | |
| 48 | instance openSupportPullback_isIntegral : IsIntegral (openSupportPullback i W) := |
| 49 | isIntegral_of_isOpenImmersion (openSupportToOriginal i W) |
| 50 | |
| 51 | def openRestrictedSupport : IrreducibleCloseds X := CycleClass.Geometric.StratumClosure.integralImageClosure (openSupportInclusion i W) |
| 52 | |
| 53 | theorem openRestrictedSupport_coe : (openRestrictedSupport i W : Set X) = i ⁻¹' (W : Set Y) := |
| 54 | (openSupportInclusion i W).isClosedEmbedding.isClosed_range.closure_eq.trans (openSupportInclusion_range i W) |
| 55 | |
| 56 | def openSupportIso : openSupportPullback i W ≅ CycleClass.Geometric.GenericPoint.reducedSupportScheme (openRestrictedSupport i W) := by |
| 57 | have he : IsIso (CycleClass.Geometric.StratumClosure.toReducedImageClosure (openSupportInclusion i W)) := by |
| 58 | change IsIso ((openSupportInclusion i W).toImage ≫ (CycleClass.Geometric.StratumClosure.reducedImageClosureIso (openSupportInclusion i W)).hom) |
| 59 | infer_instance |
| 60 | exact @asIso _ _ _ _ (CycleClass.Geometric.StratumClosure.toReducedImageClosure (openSupportInclusion i W)) he |
| 61 | |
| 62 | theorem openSupportIso_inclusion : |
| 63 | (openSupportIso i W).hom ≫ CycleClass.Geometric.GenericPoint.reducedSupportι (openRestrictedSupport i W) = openSupportInclusion i W := |
| 64 | CycleClass.Geometric.StratumClosure.toReducedImageClosure_inclusion (openSupportInclusion i W) |
| 65 | |
| 66 | def openRestrictedSupportMap : CycleClass.Geometric.GenericPoint.reducedSupportScheme (openRestrictedSupport i W) ⟶ CycleClass.Geometric.GenericPoint.reducedSupportScheme W := |
| 67 | (openSupportIso i W).inv ≫ openSupportToOriginal i W |
| 68 | |
| 69 | instance openRestrictedSupportMap_isOpenImmersion : IsOpenImmersion (openRestrictedSupportMap i W) := by |
| 70 | change IsOpenImmersion ((openSupportIso i W).inv ≫ openSupportToOriginal i W) |
| 71 | infer_instance |
| 72 | |
| 73 | theorem openRestrictedSupportMap_inclusion : |
| 74 | openRestrictedSupportMap i W ≫ CycleClass.Geometric.GenericPoint.reducedSupportι W = CycleClass.Geometric.GenericPoint.reducedSupportι (openRestrictedSupport i W) ≫ i := by |
| 75 | have hp : openSupportInclusion i W ≫ i = openSupportToOriginal i W ≫ CycleClass.Geometric.GenericPoint.reducedSupportι W := pullback.condition |
| 76 | have he : (openSupportIso i W).inv ≫ openSupportInclusion i W = CycleClass.Geometric.GenericPoint.reducedSupportι (openRestrictedSupport i W) := |
| 77 | (congrArg (fun g => (openSupportIso i W).inv ≫ g) (openSupportIso_inclusion i W).symm).trans |
| 78 | (Iso.inv_hom_id_assoc _ _) |
| 79 | change ((openSupportIso i W).inv ≫ openSupportToOriginal i W) ≫ CycleClass.Geometric.GenericPoint.reducedSupportι W = _ |
| 80 | exact (Category.assoc _ _ _).trans ((congrArg (fun g => (openSupportIso i W).inv ≫ g) hp.symm).trans |
| 81 | ((Category.assoc _ _ _).symm.trans (congrArg (fun g => g ≫ i) he))) |
| 82 | |
| 83 | theorem openRestrictedSupport_dimension (f : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) : |
| 84 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension (openRestrictedSupport i W) (i ≫ f) = Foundations.Scheme.SupportDimension.supportTranscendenceDimension W f := by |
| 85 | have h := Foundations.Scheme.OpenFunctionField.schemeTranscendenceDimension_openImmersion (openRestrictedSupportMap i W) (CycleClass.Geometric.SupportFiniteType.supportStructureMap W f) |
| 86 | have he : openRestrictedSupportMap i W ≫ CycleClass.Geometric.SupportFiniteType.supportStructureMap W f = |
| 87 | CycleClass.Geometric.SupportFiniteType.supportStructureMap (openRestrictedSupport i W) (i ≫ f) := by |
| 88 | change openRestrictedSupportMap i W ≫ (CycleClass.Geometric.GenericPoint.reducedSupportι W ≫ f) = |
| 89 | CycleClass.Geometric.GenericPoint.reducedSupportι (openRestrictedSupport i W) ≫ (i ≫ f) |
| 90 | rw [← Category.assoc, openRestrictedSupportMap_inclusion, Category.assoc] |
| 91 | exact (congrArg (fun g => Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension g) he.symm).trans h |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Open.SupportRestriction.BundleCycles |