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.Open.SupportRestriction |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Graded.GlobalSpecialization |
| 3 | |
| 4 | /-! # Principal Restriction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Open.PrincipalRestriction.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! |
| 13 | # LineBundleCycles: complete principal-divisor restriction to an open |
| 14 | |
| 15 | On a nonempty restricted integral support the actual function-field map |
| 16 | preserves all local orders. When the open misses the support, every |
| 17 | coefficient vanishes. These comparisons include all ambient points. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 21 | |
| 22 | variable {X Y : Scheme} [AlgebraicGeometry.IsNoetherian X] [AlgebraicGeometry.IsNoetherian Y] |
| 23 | |
| 24 | theorem schemePrincipalPointDivisor_off_support (W : IrreducibleCloseds X) |
| 25 | (g : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField) (x : X) (hx : x ∉ (W : Set X)) : |
| 26 | Graded.GlobalSpecialization.BundleCycles.schemePrincipalPointDivisor W g x = 0 := by |
| 27 | have hr : x ∉ Set.range (CycleClass.Geometric.GenericPoint.reducedSupportι W) := by |
| 28 | rw [CycleClass.Geometric.GenericPoint.range_reducedSupportι] |
| 29 | exact hx |
| 30 | exact Finsupp.embDomain_of_notMem_range _ _ _ hr |
| 31 | |
| 32 | variable (i : X ⟶ Y) [IsOpenImmersion i] (W : IrreducibleCloseds Y) |
| 33 | |
| 34 | def openRestrictedRationalFunction [Nonempty (SupportRestriction.BundleCycles.openSupportPullback i W)] |
| 35 | (g : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField) : |
| 36 | (CycleClass.Geometric.GenericPoint.reducedSupportScheme (SupportRestriction.BundleCycles.openRestrictedSupport i W)).functionField := |
| 37 | RationalDivisorRestriction.BundleCycles.openFunctionFieldMap (SupportRestriction.BundleCycles.openRestrictedSupportMap i W) g |
| 38 | |
| 39 | omit [AlgebraicGeometry.IsNoetherian X] [AlgebraicGeometry.IsNoetherian Y] in |
| 40 | theorem openRestrictedRationalFunction_ne_zero [Nonempty (SupportRestriction.BundleCycles.openSupportPullback i W)] |
| 41 | (g : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField) (hg : g ≠ 0) : |
| 42 | openRestrictedRationalFunction i W g ≠ 0 := |
| 43 | (map_ne_zero_iff _ (RationalDivisorRestriction.BundleCycles.openFunctionFieldMap (SupportRestriction.BundleCycles.openRestrictedSupportMap i W)).hom.injective).mpr hg |
| 44 | |
| 45 | /-- Restriction to a nonempty support is its genuine complete principal divisor. -/ |
| 46 | theorem openRestriction_principalPointDivisor [Nonempty (SupportRestriction.BundleCycles.openSupportPullback i W)] |
| 47 | (g : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField) : |
| 48 | Finsupp.comapDomain i (Graded.GlobalSpecialization.BundleCycles.schemePrincipalPointDivisor W g) i.isOpenEmbedding.injective.injOn = |
| 49 | Graded.GlobalSpecialization.BundleCycles.schemePrincipalPointDivisor (SupportRestriction.BundleCycles.openRestrictedSupport i W) (openRestrictedRationalFunction i W g) := by |
| 50 | ext x |
| 51 | by_cases hx : x ∈ (SupportRestriction.BundleCycles.openRestrictedSupport i W : Set X) |
| 52 | · have hr : x ∈ Set.range (CycleClass.Geometric.GenericPoint.reducedSupportι (SupportRestriction.BundleCycles.openRestrictedSupport i W)) := by |
| 53 | rw [CycleClass.Geometric.GenericPoint.range_reducedSupportι] |
| 54 | exact hx |
| 55 | obtain ⟨y, rfl⟩ := hr |
| 56 | have hp : CycleClass.Geometric.GenericPoint.reducedSupportι W (SupportRestriction.BundleCycles.openRestrictedSupportMap i W y) = |
| 57 | i (CycleClass.Geometric.GenericPoint.reducedSupportι (SupportRestriction.BundleCycles.openRestrictedSupport i W) y) := |
| 58 | congrArg (fun j => j y) (SupportRestriction.BundleCycles.openRestrictedSupportMap_inclusion i W) |
| 59 | change Graded.GlobalSpecialization.BundleCycles.schemePrincipalPointDivisor W g (i (CycleClass.Geometric.GenericPoint.reducedSupportι (SupportRestriction.BundleCycles.openRestrictedSupport i W) y)) = |
| 60 | Graded.GlobalSpecialization.BundleCycles.schemePrincipalPointDivisor (SupportRestriction.BundleCycles.openRestrictedSupport i W) |
| 61 | (openRestrictedRationalFunction i W g) (CycleClass.Geometric.GenericPoint.reducedSupportι (SupportRestriction.BundleCycles.openRestrictedSupport i W) y) |
| 62 | rw [← hp, Graded.GlobalSpecialization.BundleCycles.schemePrincipalPointDivisor_at_support, Graded.GlobalSpecialization.BundleCycles.schemePrincipalPointDivisor_at_support] |
| 63 | exact congrArg (fun n : ℤ => (n : ℚ)) |
| 64 | (RationalDivisorRestriction.BundleCycles.ord_openImmersion (SupportRestriction.BundleCycles.openRestrictedSupportMap i W) g y).symm |
| 65 | · have hi : i x ∉ (W : Set Y) := fun h => hx |
| 66 | ((congrArg (fun s : Set X => x ∈ s) (SupportRestriction.BundleCycles.openRestrictedSupport_coe i W)).mpr h) |
| 67 | exact (schemePrincipalPointDivisor_off_support W g (i x) hi).trans |
| 68 | (schemePrincipalPointDivisor_off_support (SupportRestriction.BundleCycles.openRestrictedSupport i W) |
| 69 | (openRestrictedRationalFunction i W g) x hx).symm |
| 70 | |
| 71 | omit [AlgebraicGeometry.IsNoetherian X] in |
| 72 | /-- If the open misses the support, its entire principal divisor restricts to zero. -/ |
| 73 | theorem openRestriction_principalPointDivisor_empty [IsEmpty (SupportRestriction.BundleCycles.openSupportPullback i W)] |
| 74 | (g : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField) : |
| 75 | Finsupp.comapDomain i (Graded.GlobalSpecialization.BundleCycles.schemePrincipalPointDivisor W g) i.isOpenEmbedding.injective.injOn = 0 := by |
| 76 | ext x |
| 77 | apply schemePrincipalPointDivisor_off_support W g (i x) |
| 78 | intro hx |
| 79 | have hn := (SupportRestriction.BundleCycles.openSupportPullback_nonempty_iff i W).mpr ⟨x, hx⟩ |
| 80 | exact isEmptyElim (Classical.choice hn) |
| 81 | |
| 82 | end |
| 83 | |
| 84 | /-! |
| 85 | # LineBundleCycles: lifting open supports and rational functions to their closures |
| 86 | |
| 87 | A reduced integral closed support in an open subscheme is open in its |
| 88 | actual reduced closure in the ambient scheme. Its function field is |
| 89 | therefore canonically unchanged. This supplies concrete ambient |
| 90 | principal divisors lifting the relations on the open. |
| 91 | -/ |
| 92 | |
| 93 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 94 | |
| 95 | variable {X Y : Scheme} [AlgebraicGeometry.IsNoetherian X] |
| 96 | (i : X ⟶ Y) [IsOpenImmersion i] (W : IrreducibleCloseds X) |
| 97 | |
| 98 | def openClosureSupport : IrreducibleCloseds Y := CycleClass.Geometric.StratumClosure.integralImageClosure (CycleClass.Geometric.GenericPoint.reducedSupportι W ≫ i) |
| 99 | |
| 100 | omit [AlgebraicGeometry.IsNoetherian X] [IsOpenImmersion i] in |
| 101 | theorem openClosureSupport_coe : (openClosureSupport i W : Set Y) = closure (i '' (W : Set X)) := by |
| 102 | change closure (Set.range (i ∘ CycleClass.Geometric.GenericPoint.reducedSupportι W)) = _ |
| 103 | rw [Set.range_comp, CycleClass.Geometric.GenericPoint.range_reducedSupportι] |
| 104 | |
| 105 | omit [AlgebraicGeometry.IsNoetherian X] in |
| 106 | theorem openClosureSupport_preimage : i ⁻¹' (openClosureSupport i W : Set Y) = (W : Set X) := by |
| 107 | rw [openClosureSupport_coe, |
| 108 | i.isOpenEmbedding.isOpenMap.preimage_closure_eq_closure_preimage i.continuous, |
| 109 | Set.preimage_image_eq _ i.isOpenEmbedding.injective, W.isClosed.closure_eq] |
| 110 | |
| 111 | /-- The original support as the actual open subscheme of its reduced closure. -/ |
| 112 | def openSupportClosureMap : CycleClass.Geometric.GenericPoint.reducedSupportScheme W ⟶ CycleClass.Geometric.GenericPoint.reducedSupportScheme (openClosureSupport i W) := |
| 113 | CycleClass.Geometric.StratumClosure.toReducedImageClosure (CycleClass.Geometric.GenericPoint.reducedSupportι W ≫ i) |
| 114 | |
| 115 | instance openSupportClosureMap_isOpenImmersion : IsOpenImmersion (openSupportClosureMap i W) := |
| 116 | inferInstanceAs (IsOpenImmersion (CycleClass.Geometric.StratumClosure.toReducedImageClosure (CycleClass.Geometric.GenericPoint.reducedSupportι W ≫ i))) |
| 117 | |
| 118 | omit [IsOpenImmersion i] in |
| 119 | theorem openSupportClosureMap_inclusion : |
| 120 | openSupportClosureMap i W ≫ CycleClass.Geometric.GenericPoint.reducedSupportι (openClosureSupport i W) = CycleClass.Geometric.GenericPoint.reducedSupportι W ≫ i := |
| 121 | CycleClass.Geometric.StratumClosure.toReducedImageClosure_inclusion (CycleClass.Geometric.GenericPoint.reducedSupportι W ≫ i) |
| 122 | |
| 123 | theorem openClosureSupport_dimension (f : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) : |
| 124 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension (openClosureSupport i W) f = Foundations.Scheme.SupportDimension.supportTranscendenceDimension W (i ≫ f) := by |
| 125 | have h := CycleClass.Geometric.StratumClosure.schemeTranscendenceDimension_eq_imageClosure (CycleClass.Geometric.GenericPoint.reducedSupportι W ≫ i) f |
| 126 | exact h.symm.trans (congrArg (fun g => Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension g) (Category.assoc _ _ _)) |
| 127 | |
| 128 | /-- Extend the rational function through the actual generic-stalk isomorphism. -/ |
| 129 | def openClosureRationalFunction (g : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField) : |
| 130 | (CycleClass.Geometric.GenericPoint.reducedSupportScheme (openClosureSupport i W)).functionField := |
| 131 | (RationalDivisorRestriction.BundleCycles.openFunctionFieldIso (openSupportClosureMap i W)).inv g |
| 132 | |
| 133 | theorem openClosureRationalFunction_ne_zero (g : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField) (hg : g ≠ 0) : |
| 134 | openClosureRationalFunction i W g ≠ 0 := |
| 135 | (map_ne_zero_iff _ (RationalDivisorRestriction.BundleCycles.openFunctionFieldIso (openSupportClosureMap i W)).inv.hom.injective).mpr hg |
| 136 | |
| 137 | variable [AlgebraicGeometry.IsNoetherian Y] |
| 138 | |
| 139 | /-- The complete ambient principal divisor restricts to the original one. -/ |
| 140 | theorem openClosure_principalPointDivisor (g : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField) : |
| 141 | Finsupp.comapDomain i |
| 142 | (Graded.GlobalSpecialization.BundleCycles.schemePrincipalPointDivisor (openClosureSupport i W) (openClosureRationalFunction i W g)) |
| 143 | i.isOpenEmbedding.injective.injOn = Graded.GlobalSpecialization.BundleCycles.schemePrincipalPointDivisor W g := by |
| 144 | ext x |
| 145 | by_cases hx : x ∈ (W : Set X) |
| 146 | · have hr : x ∈ Set.range (CycleClass.Geometric.GenericPoint.reducedSupportι W) := by |
| 147 | rw [CycleClass.Geometric.GenericPoint.range_reducedSupportι] |
| 148 | exact hx |
| 149 | obtain ⟨y, rfl⟩ := hr |
| 150 | have hp : CycleClass.Geometric.GenericPoint.reducedSupportι (openClosureSupport i W) (openSupportClosureMap i W y) = |
| 151 | i (CycleClass.Geometric.GenericPoint.reducedSupportι W y) := congrArg (fun j => j y) (openSupportClosureMap_inclusion i W) |
| 152 | change Graded.GlobalSpecialization.BundleCycles.schemePrincipalPointDivisor (openClosureSupport i W) (openClosureRationalFunction i W g) |
| 153 | (i (CycleClass.Geometric.GenericPoint.reducedSupportι W y)) = Graded.GlobalSpecialization.BundleCycles.schemePrincipalPointDivisor W g (CycleClass.Geometric.GenericPoint.reducedSupportι W y) |
| 154 | rw [← hp, Graded.GlobalSpecialization.BundleCycles.schemePrincipalPointDivisor_at_support, Graded.GlobalSpecialization.BundleCycles.schemePrincipalPointDivisor_at_support] |
| 155 | have he : RationalDivisorRestriction.BundleCycles.openFunctionFieldMap (openSupportClosureMap i W) (openClosureRationalFunction i W g) = g := |
| 156 | Iso.inv_hom_id_apply (RationalDivisorRestriction.BundleCycles.openFunctionFieldIso (openSupportClosureMap i W)) g |
| 157 | exact congrArg (fun n : ℤ => (n : ℚ)) |
| 158 | ((RationalDivisorRestriction.BundleCycles.ord_openImmersion (openSupportClosureMap i W) (openClosureRationalFunction i W g) y).symm.trans |
| 159 | (congrArg (fun a => (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).ord a y) he)) |
| 160 | · have hi : i x ∉ (openClosureSupport i W : Set Y) := |
| 161 | fun h => hx ((congrArg (fun s : Set X => x ∈ s) (openClosureSupport_preimage i W)).mp h) |
| 162 | exact (schemePrincipalPointDivisor_off_support (openClosureSupport i W) |
| 163 | (openClosureRationalFunction i W g) (i x) hi).trans (schemePrincipalPointDivisor_off_support W g x hx).symm |
| 164 | |
| 165 | end |
| 166 | |
| 167 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Open.PrincipalRestriction.BundleCycles |