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.SupportSquare |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.ThomOpenPullback |
| 3 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.IntrinsicOpenDifferential |
| 4 | |
| 5 | /-! # Regular Ambient -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Open.RegularAmbient.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! An actual open immersion induces an open holomorphic embedding of |
| 14 | the regular ambient neighborhoods, with bijective complex differential. -/ |
| 15 | |
| 16 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace OAI.AlgebraicGeometry.ComplexPoints.Analytic.IntrinsicOpenDifferential |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Open.InclusionDifferential.Constructions.Manifold |
| 18 | open scoped _root_.Manifold ContDiff |
| 19 | |
| 20 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsIntegral X.left] [Smooth X.hom] |
| 21 | [IsIntegral Y.left] [Smooth Y.hom] (i : X ⟶ Y) [IsOpenImmersion i.left] |
| 22 | (B : IrreducibleCloseds Y.left) [Nonempty (SupportRestriction.BundleCycles.openSupportPullback i.left B)] |
| 23 | |
| 24 | local notation "A" => OAI.AlgebraicGeometry.Divisors.LineBundles.Open.SupportRestriction.BundleCycles.openRestrictedSupport i.left B |
| 25 | local notation "GX" => OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions.regularAmbientOpen X A |
| 26 | local notation "GY" => OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions.regularAmbientOpen Y B |
| 27 | local notation "EX" => Fin (OAI.AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) → ℂ |
| 28 | local notation "EY" => Fin (OAI.AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension Y.hom) → ℂ |
| 29 | |
| 30 | omit [AlgebraicGeometry.IsIntegral X.left] [AlgebraicGeometry.IsIntegral Y.left] in |
| 31 | theorem openRegularAmbient_mapsTo : Set.MapsTo (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i) |
| 32 | (GX : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) (GY : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)) := by |
| 33 | intro x hx |
| 34 | exact (Set.ext_iff.mp (SupportSquare.BundleCycles.openSupport_regularAmbientOpen i B) x).mp hx |
| 35 | |
| 36 | def openRegularAmbientMap : GX → GY := (openRegularAmbient_mapsTo i B).restrict |
| 37 | |
| 38 | omit [AlgebraicGeometry.IsIntegral X.left] [AlgebraicGeometry.IsIntegral Y.left] in |
| 39 | theorem openRegularAmbientMap_val (x : GX) : |
| 40 | (openRegularAmbientMap i B x).val = ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i x.val := rfl |
| 41 | |
| 42 | omit [AlgebraicGeometry.IsIntegral X.left] [AlgebraicGeometry.IsIntegral Y.left] in |
| 43 | theorem openRegularAmbientMap_open : Topology.IsOpenEmbedding (openRegularAmbientMap i B) := |
| 44 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isOpenEmbedding_map_of_isOpenImmersion i).restrict |
| 45 | (openRegularAmbient_mapsTo i B) (GX).isOpen |
| 46 | |
| 47 | theorem openRegularAmbientMap_analytic (r : ℕ∞ω) : |
| 48 | ContMDiff 𝓘(ℂ, EX) 𝓘(ℂ, EY) r (openRegularAmbientMap i B) := by |
| 49 | apply (ComplexPoints.Analytic.RegularLocusComplement.contMDiff_intoOpen_iff GY (openRegularAmbientMap i B) r).mp |
| 50 | exact (ComplexPoints.Analytic.IntrinsicSmoothSchemeMaps.contMDiff_nativeScheme_map i r).comp |
| 51 | (contMDiff_subtype_val («U» := GX) (n := r)) |
| 52 | |
| 53 | theorem openRegularAmbientMap_differential (x : GX) : |
| 54 | Function.Bijective (mfderiv 𝓘(ℂ, EX) 𝓘(ℂ, EY) (openRegularAmbientMap i B) x) := by |
| 55 | have hv := (show ContMDiff 𝓘(ℂ, EX) 𝓘(ℂ, EX) 1 |
| 56 | (Subtype.val : GX → ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) from contMDiff_subtype_val).mdifferentiableAt |
| 57 | (x := x) one_ne_zero |
| 58 | have hd := ComplexPoints.Analytic.RegularLocusComplement.mfderiv_intoOpen_eq (𝕜 := ℂ) («E» := EX) («F» := EY) GY (openRegularAmbientMap i B) x |
| 59 | change mfderiv 𝓘(ℂ, EX) 𝓘(ℂ, EY) (openRegularAmbientMap i B) x = |
| 60 | mfderiv 𝓘(ℂ, EX) 𝓘(ℂ, EY) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i ∘ (Subtype.val : GX → ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) x at hd |
| 61 | rw [mfderiv_comp x (((ComplexPoints.Analytic.IntrinsicSmoothSchemeMaps.contMDiff_nativeScheme_map i 1) x.val).mdifferentiableAt one_ne_zero) hv, |
| 62 | CycleClass.Thom.Open.InclusionDifferential.Constructions.Manifold.mfderiv_subtypeVal] at hd |
| 63 | exact (congrArg (fun L : EX →L[ℂ] EY => Function.Bijective L) hd).mpr |
| 64 | (ComplexPoints.Analytic.IntrinsicOpenDifferential.mfderiv_nativeScheme_openImmersion_bijective i x.val) |
| 65 | |
| 66 | def openRegularAmbientTopMap : TopCat.of GX ⟶ TopCat.of GY := |
| 67 | PullbackImmersion.BundleCycles.openPullbackAmbientMap (openRegularAmbientMap i B) (openRegularAmbientMap_open i B) |
| 68 | |
| 69 | omit [AlgebraicGeometry.IsIntegral X.left] [AlgebraicGeometry.IsIntegral Y.left] in |
| 70 | theorem openRegularAmbientTopMap_toAmbient : |
| 71 | openRegularAmbientTopMap i B ≫ |
| 72 | CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)) (GY : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)) = |
| 73 | CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) (GX : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) ≫ |
| 74 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map i := by |
| 75 | ext x |
| 76 | rfl |
| 77 | |
| 78 | omit [AlgebraicGeometry.IsIntegral X.left] [AlgebraicGeometry.IsIntegral Y.left] in |
| 79 | theorem openRegularAmbientMap_supportRange : |
| 80 | Set.range (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion X A) = |
| 81 | openRegularAmbientMap i B ⁻¹' Set.range (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion Y B) := by |
| 82 | rw [CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion_range, CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion_range, |
| 83 | SupportSquare.BundleCycles.openSupportInclusion_pointRange] |
| 84 | rfl |
| 85 | |
| 86 | omit [AlgebraicGeometry.IsIntegral X.left] [AlgebraicGeometry.IsIntegral Y.left] in |
| 87 | theorem openRegularAmbientTopMap_mapsTo : Set.MapsTo (openRegularAmbientTopMap i B) |
| 88 | (Set.range (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion X A))ᶜ (Set.range (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion Y B))ᶜ := |
| 89 | ThomOpenPullback.BundleCycles.openPullbackThom_mapsTo (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion Y B) (openRegularAmbientMap i B) |
| 90 | (openRegularAmbientMap_open i B) (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion X A) |
| 91 | (openRegularAmbientMap_supportRange i B) |
| 92 | |
| 93 | end |
| 94 | |
| 95 | /-! The actual regular-support Thom class restricts to the canonical |
| 96 | regular-support class of the reduced open inverse image. -/ |
| 97 | |
| 98 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 99 | open OAI.AlgebraicGeometry.ComplexPoints.Analytic.IntrinsicOpenDifferential |
| 100 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions |
| 101 | open scoped _root_.Manifold ContDiff |
| 102 | |
| 103 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsIntegral X.left] [Smooth X.hom] |
| 104 | [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] |
| 105 | [IsIntegral Y.left] [Smooth Y.hom] |
| 106 | [AlgebraicGeometry.IsNoetherian Y.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)] |
| 107 | (i : X ⟶ Y) [IsOpenImmersion i.left] |
| 108 | (B : IrreducibleCloseds Y.left) [Nonempty (SupportRestriction.BundleCycles.openSupportPullback i.left B)] |
| 109 | (p : ℕ) (hp : Foundations.Scheme.SupportDimension.supportTranscendenceDimension B Y.hom + p = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension Y.hom) |
| 110 | |
| 111 | local notation "A" => OAI.AlgebraicGeometry.Divisors.LineBundles.Open.SupportRestriction.BundleCycles.openRestrictedSupport i.left B |
| 112 | local notation "GX" => OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions.regularAmbientOpen X A |
| 113 | local notation "GY" => OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions.regularAmbientOpen Y B |
| 114 | local notation "EX" => Fin (OAI.AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) → ℂ |
| 115 | local notation "EY" => Fin (OAI.AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension Y.hom) → ℂ |
| 116 | local notation "ha" => OAI.AlgebraicGeometry.Divisors.LineBundles.Open.SupportOver.BundleCycles.openRestrictedSupportOver_codimension i B p hp |
| 117 | |
| 118 | local instance : MetrizableSpace GX := MetrizableSpace.subtype _ |
| 119 | local instance : MetrizableSpace GY := MetrizableSpace.subtype _ |
| 120 | |
| 121 | include i hp in |
| 122 | omit [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] [AlgebraicGeometry.IsNoetherian Y.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)] [Nonempty ↥(SupportRestriction.BundleCycles.openSupportPullback (Over.Hom.left i) B)] in |
| 123 | theorem openRegularSupport_mixedCodimension : |
| 124 | CycleClass.Geometric.ComplexNormalAtlas.Cycles.complexImmersionCodimension (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularModel Y B) EX = p := by |
| 125 | have h := Scheme.SupportedCycleClass.BundleCycles.schemeRegularSupportCodimension Y B p hp |
| 126 | change Module.finrank ℂ EX - Module.finrank ℂ (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularModel Y B) = p |
| 127 | change Module.finrank ℂ EY - Module.finrank ℂ (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularModel Y B) = p at h |
| 128 | simpa only [Module.finrank_fin_fun, SupportSquare.BundleCycles.openImmersionOver_modelDimension i] using h |
| 129 | |
| 130 | omit [AlgebraicGeometry.IsNoetherian X.left] [AlgebraicGeometry.IsNoetherian Y.left] in |
| 131 | theorem schemeRegularSupportThomClass_openPullback : |
| 132 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (openRegularAmbientTopMap i B) |
| 133 | (openRegularAmbientTopMap_mapsTo i B) (2 * p) |
| 134 | (Scheme.SupportedCycleClass.BundleCycles.schemeRegularSupportThomClass Y B p hp) = Scheme.SupportedCycleClass.BundleCycles.schemeRegularSupportThomClass X A p ha := by |
| 135 | exact ThomOpenPullback.BundleCycles.complexThomClassInDegree_openPullback |
| 136 | (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion Y B) (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion_contMDiff Y B ω) |
| 137 | (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion_mfderiv_injective Y B) (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion_closed Y B) |
| 138 | (openRegularAmbientMap i B) (openRegularAmbientMap_open i B) |
| 139 | (openRegularAmbientMap_analytic i B ω) (openRegularAmbientMap_differential i B) |
| 140 | (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion X A) (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion_contMDiff X A ω) |
| 141 | (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion_mfderiv_injective X A) (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion_closed X A) |
| 142 | (openRegularAmbientMap_supportRange i B) |
| 143 | (SupportSquare.BundleCycles.openRestrictedRegularModelCoordinates i B) (SupportSquare.BundleCycles.openRestrictedRegularModelCoordinates_norm i B) |
| 144 | p (Scheme.SupportedCycleClass.BundleCycles.schemeRegularSupportCodimension Y B p hp) (openRegularSupport_mixedCodimension i B p hp) |
| 145 | (Scheme.SupportedCycleClass.BundleCycles.schemeRegularSupportCodimension X A p ha) |
| 146 | |
| 147 | end |
| 148 | |
| 149 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Open.RegularAmbient.BundleCycles |