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.Cycles.Functoriality.CompactCompatibility |
| 2 | import OAI.AlgebraicGeometry.Cycles.Functoriality.Support |
| 3 | |
| 4 | /-! # Dimension Preserving -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Cycles.Functoriality.DimensionPreserving.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 13 | open scoped _root_.Manifold ContDiff |
| 14 | |
| 15 | /-- The actual Poincare cap of a dimension-preserving irreducible cycle |
| 16 | pushes forward with its generic residue degree as multiplicity. -/ |
| 17 | theorem poincareClass_push_degree_of_dimension_eq |
| 18 | {X Y : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} |
| 19 | (f : X.toOver ⟶ Y.toOver) (hf : IsProper f.left) (p q : ℕ) |
| 20 | (hdeg : p + Y.complexDimension = q + X.complexDimension) |
| 21 | (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport X p) |
| 22 | (hdim : Foundations.Scheme.SupportDimension.supportTranscendenceDimension (UnitCap.imageSupport f Z) Y.structureMap = |
| 23 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension Z.1 X.structureMap) |
| 24 | (n : ℕ) (hp : (p + p) + n = 2 * X.complexDimension) |
| 25 | (hq : (q + q) + n = 2 * Y.complexDimension) : |
| 26 | AlgebraicTopology.Cohomology.Singular.EvaluationNaturality.singularHomologyPushforward (R := ℚ) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map f) n |
| 27 | ((X.poincareDuality (p + p) n hp).hom Z.geometricCycleClass) = |
| 28 | (f.left.residueDegree Z.genericPoint : ℚ) • |
| 29 | (Y.poincareDuality (q + q) n hq).hom |
| 30 | (ImageOpen.Construction.imageCycleSupport f p q hdeg Z hdim).geometricCycleClass := by |
| 31 | let T := ImageOpen.Construction.imageCycleSupport f p q hdeg Z hdim |
| 32 | let i := ImageOpen.Construction.supportImageOverMap f hf p q hdeg Z hdim |
| 33 | let : IsIntegral Z.toOver.left := inferInstanceAs (IsIntegral Z.scheme) |
| 34 | let : IsIntegral T.toOver.left := inferInstanceAs (IsIntegral T.scheme) |
| 35 | have hη : i.left (genericPoint Z.toOver.left) = genericPoint T.toOver.left := |
| 36 | SupportMap.Construction.supportImageMap_genericPoint f hf Z |
| 37 | have hi : i ≫ T.toAmbient = Z.toAmbient ≫ f := |
| 38 | Support.Construction.supportImageOverMap_inclusion f hf p q hdeg Z hdim |
| 39 | obtain ⟨U, hU, hfin, het, hsT, hsZ⟩ := |
| 40 | ImageOpen.Construction.supportImageOverMap_exists_good_open f hf p q hdeg Z hdim |
| 41 | let : Nonempty U := ⟨⟨genericPoint T.scheme, hU⟩⟩ |
| 42 | let A := i.left ⁻¹ᵁ U |
| 43 | let : Nonempty A := ⟨⟨genericPoint Z.scheme, by |
| 44 | change i.left (genericPoint Z.scheme) ∈ U |
| 45 | exact hη.symm ▸ hU⟩⟩ |
| 46 | let S₀ := AnalyticRestriction.Construction.openSchemeOver Z.toOver A |
| 47 | let T₀ := AnalyticRestriction.Construction.openSchemeOver T.toOver U |
| 48 | let : Smooth (A.ι ≫ Z.structureMap) := hsZ |
| 49 | let : Smooth (U.ι ≫ T.structureMap) := hsT |
| 50 | let : Smooth S₀.hom := hsZ |
| 51 | let : Smooth T₀.hom := hsT |
| 52 | have hAZ : A ≤ Z.structureMap.smoothLocus := RestrictionDegree.Construction.open_subset_smoothLocus Z.structureMap A |
| 53 | have hUT : U ≤ T.structureMap.smoothLocus := RestrictionDegree.Construction.open_subset_smoothLocus T.structureMap U |
| 54 | let jZ := ImageOpen.Construction.smoothSupportOpenToRegular Z A hAZ |
| 55 | let jT := ImageOpen.Construction.smoothSupportOpenToRegular T U hUT |
| 56 | let h := AnalyticRestriction.Construction.restrictedSchemeMap i U |
| 57 | let : IsFinite h.left := hfin |
| 58 | let : Etale h.left := het |
| 59 | let : IsIntegral Z.regularOver.left := inferInstanceAs (IsIntegral Z.regularScheme) |
| 60 | let : IsIntegral T.regularOver.left := inferInstanceAs (IsIntegral T.regularScheme) |
| 61 | let : Smooth Z.regularOver.hom := inferInstanceAs (Smooth Z.regularToBase) |
| 62 | let : Smooth T.regularOver.hom := inferInstanceAs (Smooth T.regularToBase) |
| 63 | have hip : IsProperMap (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i) := |
| 64 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.continuous_map i).isProperMap |
| 65 | have hproper := AnalyticRestriction.Construction.restrictedSchemeMap_isProperMap i hip U |
| 66 | let d := Betti.AffineDimension.Realization.functionFieldDifferentialDimension S₀.hom |
| 67 | let e := Betti.AffineDimension.Realization.functionFieldDifferentialDimension T₀.hom |
| 68 | have hdZ : d = Z.regularComplexDimension := ImageOpen.Construction.supportOpen_complexDimension Z A |
| 69 | have heT : e = T.regularComplexDimension := ImageOpen.Construction.supportOpen_complexDimension T U |
| 70 | have hZn : 2 * Z.regularComplexDimension = n := by |
| 71 | have hd := Z.regularGeometricTrace_degree |
| 72 | omega |
| 73 | have hTn : 2 * T.regularComplexDimension = n := by |
| 74 | have hd := T.regularGeometricTrace_degree |
| 75 | omega |
| 76 | have hdn : 2 * d = n := (congrArg (fun k : ℕ => 2 * k) hdZ).trans hZn |
| 77 | have hen : 2 * e = n := (congrArg (fun k : ℕ => 2 * k) heT).trans hTn |
| 78 | have hcard : ∀ y : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints T₀, |
| 79 | Nat.card (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map h ⁻¹' {y}) = f.left.residueDegree Z.genericPoint := by |
| 80 | intro y |
| 81 | exact (RestrictionDegree.Construction.restrictedSchemeMap_fiber_card i hη U y).trans (ResidueDegree.Construction.supportImageMap_residueDegree f hf Z) |
| 82 | let B := ImageOpen.Construction.supportOpenBoundary T U |
| 83 | apply CompactProjection.Construction.ordinaryHomology_eq_of_compactProjections_outside_closed Y B q n hq |
| 84 | (ImageOpen.Construction.supportOpenBoundary_codimension T U hU) _ _ |
| 85 | intro L hL |
| 86 | have hiLeft : i.left ≫ T.inclusion = Z.inclusion ≫ SupportMap.Construction.algebraicMap f := |
| 87 | SupportMap.Construction.supportImageMap_inclusion f hf Z |
| 88 | have hLZ := (BoundaryContainment.Construction.boundaryComplement_preimage_subset_regularAmbient Z T f i.left hiLeft U hAZ).trans' |
| 89 | (Set.preimage_mono hL) |
| 90 | have hLT := hL.trans (BoundaryContainment.Construction.boundaryComplement_subset_regularAmbient T U hUT) |
| 91 | have hRangeZ := Support.Construction.sourceRegularPreimage_subset_smoothSupportOpen_range Z T f i hi U hAZ |
| 92 | (L : Set Y.analyticSpace) hL |
| 93 | have hRangeT := Support.Construction.regularPreimage_subset_smoothSupportOpen_range T U hUT |
| 94 | (L : Set Y.analyticSpace) hL |
| 95 | have hcompat := CompactCompatibility.Construction.poincareCycleClass_compact_covering_compatibility Z T f d e |
| 96 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map jZ) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map jT) |
| 97 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isOpenEmbedding_map_of_isOpenImmersion jZ) |
| 98 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isOpenEmbedding_map_of_isOpenImmersion jT) |
| 99 | (ImageOpen.Construction.isLocalDiffeomorph_nativeScheme_openImmersion jZ) |
| 100 | (ImageOpen.Construction.isLocalDiffeomorph_nativeScheme_openImmersion jT) |
| 101 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map h) hproper |
| 102 | (IntrinsicEtale.Construction.isLocalDiffeomorph_nativeScheme_affineEtale h) |
| 103 | (Support.Construction.restricted_support_cover_square Z T f i hi U hUT hAZ) |
| 104 | (f.left.residueDegree Z.genericPoint) hcard n hdn hen hZn hTn hp hq L hLZ hLT hRangeZ hRangeT |
| 105 | exact hcompat.trans ((HomologicalComplex.homologyMap |
| 106 | (CycleClass.Geometric.RelativeScalarChains.Cycles.relativeScalarChainProjection ℚ (TopCat.of Y.analyticSpace) (L : Set Y.analyticSpace)ᶜ) n).hom.map_smul |
| 107 | (f.left.residueDegree Z.genericPoint : ℚ) |
| 108 | ((Y.poincareDuality (q + q) n hq).hom T.geometricCycleClass)).symm |
| 109 | |
| 110 | end |
| 111 | |
| 112 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 113 | |
| 114 | /-- Proper pushforward commutes with geometric classes on each |
| 115 | dimension-preserving irreducible generator. -/ |
| 116 | theorem compatibility_generator_of_dimension_eq |
| 117 | {X Y : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} |
| 118 | (f : X.toOver ⟶ Y.toOver) (hf : IsProper f.left) (p q : ℕ) |
| 119 | (hdeg : p + Y.complexDimension = q + X.complexDimension) |
| 120 | (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport X p) |
| 121 | (hdim : Foundations.Scheme.SupportDimension.supportTranscendenceDimension (UnitCap.imageSupport f Z) Y.structureMap = |
| 122 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension Z.1 X.structureMap) : |
| 123 | Y.geometricCycleClassMap q (UnitCap.cyclePushforwardGenerator f p q hdeg Z) = |
| 124 | UnitCap.cohomologyPushforward f hf p q hdeg Z.geometricCycleClass := by |
| 125 | have hp : p ≤ X.complexDimension := by |
| 126 | rw [X.complexDimension_eq_transcendenceDimension] |
| 127 | exact Z.codimension_le_ambient |
| 128 | rw [Reduction.Construction.image_class_of_dimension_eq f p q hdeg Z hdim] |
| 129 | apply (Reduction.Construction.eq_pushforward_iff_poincare f hf p q hdeg hp _ Z.geometricCycleClass).mpr |
| 130 | exact (Y.poincareDuality (q + q) (2 * (X.complexDimension - p)) |
| 131 | (UnitCap.targetComplementDegree p q hdeg hp)).hom.hom.map_smul |
| 132 | (f.left.residueDegree Z.genericPoint : ℚ) |
| 133 | (ImageOpen.Construction.imageCycleSupport f p q hdeg Z hdim).geometricCycleClass |>.trans |
| 134 | (poincareClass_push_degree_of_dimension_eq f hf p q hdeg Z hdim |
| 135 | (2 * (X.complexDimension - p)) (UnitCap.sourceComplementDegree X p hp) |
| 136 | (UnitCap.targetComplementDegree p q hdeg hp)).symm |
| 137 | |
| 138 | /-- Proper pushforward of rational algebraic cycles commutes with the |
| 139 | geometric cycle class, with the stated dimension degree shift. -/ |
| 140 | theorem cycleClass_proper_pushforward |
| 141 | {X Y : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} |
| 142 | (f : X.toOver ⟶ Y.toOver) (hf : IsProper f.left) |
| 143 | (p q : ℕ) |
| 144 | (hdeg : p + Y.complexDimension = q + X.complexDimension) |
| 145 | (z : CycleClass.Geometric.DimensionCycles.RationalDimensionCycle X p) : |
| 146 | Y.geometricCycleClassMap q (UnitCap.cyclePushforward f hf p q hdeg z) = |
| 147 | UnitCap.cohomologyPushforward f hf p q hdeg (X.geometricCycleClassMap p z) := by |
| 148 | apply (Reduction.Construction.compatibility_iff_generators f hf p q hdeg).mpr _ z |
| 149 | intro Z |
| 150 | by_cases hdim : Foundations.Scheme.SupportDimension.supportTranscendenceDimension (UnitCap.imageSupport f Z) Y.structureMap = |
| 151 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension Z.1 X.structureMap |
| 152 | · exact compatibility_generator_of_dimension_eq f hf p q hdeg Z hdim |
| 153 | · exact DimensionDrop.Construction.compatibility_generator_of_dimension_drop f hf p q hdeg Z hdim |
| 154 | |
| 155 | end |
| 156 | |
| 157 | end OAI.AlgebraicGeometry.Cycles.Functoriality.DimensionPreserving.Construction |