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.CycleClass.Thom.NormalizationAffine.SectionSum |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.OpenSupported |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.SupportedCoefficientComparison |
| 4 | |
| 5 | /-! # Section Supported -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.SectionSupported.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The local cycle-section formula as the actual relative class of the finite supported normalization divisor. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | open scoped _root_.Manifold ContDiff |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.AmbientMap.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.AmbientTopology.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.PrincipalBoundary.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Open.PrimeSupport.Constructions |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.NormalizationDivisor.GraphOpen.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.NormalizationAffine.DivisorRegularImage.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.NormalizationAffine.DivisorGraphImage.Constructions |
| 18 | open OAI.AlgebraicGeometry.CycleClass.Thom.NormalizationAffine.GraphDimension.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.SchemeDivisor.GraphImage.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.IntrinsicGraphAmbientOpen.Constructions.Intrinsic OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SchemeGraph.Constructions |
| 19 | open OAI.AlgebraicGeometry.CycleClass.Thom.NormalizationDivisor.AffineCoordinates.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.NormalizationDivisor.AffineGraphClosed.Constructions |
| 20 | open OAI.AlgebraicGeometry.CycleClass.Thom.NormalizationDivisor.Open.Constructions.Etale OAI.AlgebraicGeometry.CycleClass.Thom.NormalizationDivisor.Analytic.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.EtaleLocalGraph.Constructions |
| 21 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.ClosedImmersion.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.SchemeDivisor.GysinAmbient.Constructions |
| 22 | open OAI.AlgebraicGeometry.CycleClass.Thom.Open.ImageComplement.Constructions.ThomAmbientTransport OAI.AlgebraicGeometry.CycleClass.Thom.AmbientInverse.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.SchemeDivisor.OpenImmersion.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.SchemeDivisor.Gysin.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Degree.Constructions.ThomClass |
| 23 | |
| 24 | set_option backward.isDefEq.respectTransparency false |
| 25 | set_option backward.isDefEq.respectTransparency.types false |
| 26 | |
| 27 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (W : IrreducibleCloseds V.carrier) |
| 28 | |
| 29 | local instance : Smooth (AmbientMap.Constructions.smoothNormalizationOver V W).hom := AmbientMap.Constructions.smoothNormalization_smooth V W |
| 30 | local instance : IsIntegral V.toOver.left := inferInstanceAs (IsIntegral V.carrier) |
| 31 | local instance : Smooth V.toOver.hom := inferInstanceAs (Smooth V.structureMap) |
| 32 | |
| 33 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsIntegral X.left] [Smooth X.hom] [IsAffine X.left] |
| 34 | [IsIntegral Y.left] [Smooth Y.hom] [IsAffine Y.left] |
| 35 | [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] |
| 36 | (a : X ⟶ AmbientMap.Constructions.smoothNormalizationOver V W) [IsOpenImmersion a.left] [QuasiCompact a.left] |
| 37 | (g : X ⟶ Y) (j : Y ⟶ V.toOver) [IsOpenImmersion j.left] |
| 38 | (hs : a ≫ PrincipalBoundary.Constructions.fullAmbientMap V W = g ≫ j) |
| 39 | (d : ℕ) (f : MvPolynomial (Fin d) ℂ →ₐ[ℂ] Γ(X.left, ⊤)) (hf : Function.Surjective f) |
| 40 | [IsClosedImmersion (Affine.SchemeGraph.Constructions.globalGraphSchemeMap g f).left] |
| 41 | [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (SchemeDivisor.GraphImage.Constructions.graphTarget Y d))] |
| 42 | (U : Opens V.analyticSpace) |
| 43 | (hUJ : (U : Set V.analyticSpace) ⊆ Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map j)) |
| 44 | (hcover : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (PrincipalBoundary.Constructions.fullAmbientMap V W) ⁻¹' (U : Set V.analyticSpace) ⊆ |
| 45 | Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map a)) |
| 46 | |
| 47 | local instance : MetrizableSpace U := U.isOpenEmbedding'.isEmbedding.metrizableSpace |
| 48 | local instance (priority := low) : ChartedSpace (V.analyticModel × (Fin d → ℂ)) (U × (Fin d → ℂ)) := |
| 49 | prodChartedSpace V.analyticModel U (Fin d → ℂ) (Fin d → ℂ) |
| 50 | local instance (priority := low) : ChartedSpace |
| 51 | ((Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension V.toOver.hom) → ℂ) × (Fin d → ℂ)) (U × (Fin d → ℂ)) := |
| 52 | prodChartedSpace (Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension V.toOver.hom) → ℂ) U (Fin d → ℂ) (Fin d → ℂ) |
| 53 | local instance : IsManifold 𝓘(ℂ, V.analyticModel × (Fin d → ℂ)) ω (U × (Fin d → ℂ)) := |
| 54 | Product.Immersion.Constructions.productModel_isManifold |
| 55 | local instance : IsManifold |
| 56 | 𝓘(ℂ, (Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension V.toOver.hom) → ℂ) × (Fin d → ℂ)) ω |
| 57 | (U × (Fin d → ℂ)) := Product.Immersion.Constructions.productModel_isManifold |
| 58 | |
| 59 | open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.ParentGraphImage.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.PolynomialNormalizationGraph.Constructions.Class OAI.AlgebraicGeometry.CycleClass.Thom.Open.AmbientImage.Constructions |
| 60 | open OAI.AlgebraicGeometry.CycleClass.Thom.NormalizationAffine.DivisorComplement.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.SchemeDivisor.IntersectionPullback.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.ImageIntersectionTo.Constructions.PulledBackSupport |
| 61 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.FiniteDivisorDetection.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.SectionEvaluation.Constructions |
| 62 | |
| 63 | open OAI.AlgebraicGeometry.CycleClass.Thom.NormalizationAffine.IntersectionSupport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.NormalizationAffine.GraphClasses.Constructions |
| 64 | open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.ParentCoordinates.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.NormalizationAffine.DivisorGysin.Constructions |
| 65 | open OAI.AlgebraicGeometry.CycleClass.Thom.ImageIntersectionCup.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.ImageIntersectionTo.Constructions.Restriction |
| 66 | |
| 67 | open OAI.AlgebraicGeometry.CycleClass.Thom.NormalizationAffine.IntersectionProjectionSum.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.NormalizationAffine.DivisorCommonProjection.Constructions |
| 68 | open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GraphSectionCup.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.BaseImage.Constructions.Class OAI.AlgebraicGeometry.CycleClass.Thom.NormalizationAffine.SectionSupport.Constructions |
| 69 | open OAI.AlgebraicGeometry.CycleClass.Thom.GlobalSectionUnitEvaluation.Constructions.SchemeEquation OAI.AlgebraicGeometry.CycleClass.Thom.Affine.GraphSectionEquation.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.GlobalSectionUnitRepresentative.Constructions |
| 70 | open OAI.AlgebraicGeometry.CycleClass.Thom.IntrinsicGraphSection.Constructions.IntrinsicClass OAI.AlgebraicGeometry.CycleClass.Thom.IntrinsicGraphBaseProjection.Constructions.Intrinsic OAI.AlgebraicGeometry.CycleClass.Thom.NormalizationDivisor.Image.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Cycle.RegularOpenImmersion.Constructions |
| 71 | |
| 72 | local instance : Nonempty (⊤ : X.left.Opens) := ⟨⟨genericPoint X.left, Opens.mem_top _⟩⟩ |
| 73 | |
| 74 | variable (s : Γ(Y.left, ⊤)) (hsn : X.left.germToFunctionField ⊤ (g.left.appTop s) ≠ 0) |
| 75 | |
| 76 | local notation "R" => OAI.AlgebraicGeometry.CycleClass.Thom.GlobalSectionUnitRepresentative.Constructions.sectionUnitRepresentative X.left (g.left.appTop s) hsn |
| 77 | local notation "O" => X.left.basicOpen (g.left.appTop s) |
| 78 | |
| 79 | local notation "P" => OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.ParentGraphImage.Constructions.supportCycle V W |
| 80 | local notation "S" => Set.range (OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.BaseImage.Constructions.Class.baseImage P U) ∩ Set.range (OAI.AlgebraicGeometry.CycleClass.Thom.NormalizationAffine.SectionSupport.Constructions.baseSectionImage j U hUJ s) |
| 81 | local notation "vG" => OAI.AlgebraicGeometry.CycleClass.Thom.Affine.GraphSectionEquation.Constructions.graphSectionZeroImage Y d s |
| 82 | local notation "hD" => OAI.AlgebraicGeometry.CycleClass.Thom.Affine.GraphSectionEquation.Constructions.graphSection_unitDomain d s g f hsn |
| 83 | |
| 84 | variable (hU : ∀ z : Scheme.FiniteDivisorDetection.Constructions.ComplementDivisorPoint X (X.left.basicOpen (g.left.appTop s)), |
| 85 | (U : Set V.analyticSpace) ⊆ NormalizationDivisor.GraphOpen.Constructions.goodAmbient V W (Open.PrimeSupport.Constructions.ambientPrime a ⟨z.val, z.property.1⟩)) |
| 86 | (K : Set (Fin d → ℂ)) (hK : IsCompact K) |
| 87 | (hb : ∀ y, ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (PrincipalBoundary.Constructions.fullAmbientMap V W) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map a y) ∈ U → |
| 88 | Affine.SchemeGraphAnalytic.Constructions.globalGraphCoordinates f y ∈ K) |
| 89 | |
| 90 | local notation "hT" => OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GraphSectionCup.Constructions.graphSection_bound_baseImage P U a j hUJ s f K hb |
| 91 | |
| 92 | open OAI.AlgebraicGeometry.CycleClass.Thom.NormalizationAffine.SectionSum.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.OpenSupported.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Open.SupportedLift.Constructions.Map |
| 93 | |
| 94 | def sectionSupportedCycle : Open.SupportedLift.Constructions.Map.SupportedCycle V U S (Geometric.DimensionCycles.dimensionCodimension V W + 1) := |
| 95 | OpenSupported.Constructions.supportedOpenPrincipalCycle V W a g j hs d f U hUJ hcover vG R hD S K hT hU |
| 96 | |
| 97 | omit [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] in |
| 98 | theorem forget_sectionSupportedCycle : |
| 99 | Open.SupportedLift.Constructions.Map.forgetCycle V U S (Geometric.DimensionCycles.dimensionCodimension V W + 1) |
| 100 | (sectionSupportedCycle V W a g j hs d f U hUJ hcover s hsn hU K hb) = |
| 101 | OpenPrincipal.Constructions.openPrincipalCycle V W a R := |
| 102 | OpenSupported.Constructions.forget_supportedOpenPrincipalCycle V W a g j hs d f U hUJ hcover vG R hD S K hT hU |
| 103 | |
| 104 | omit [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] in |
| 105 | theorem sectionSupportedGenerator_class (z : Scheme.FiniteDivisorDetection.Constructions.ComplementDivisorPoint X O) : |
| 106 | Open.SupportedLift.Constructions.Map.relativeGenerator V U S (Geometric.DimensionCycles.dimensionCodimension V W + 1) |
| 107 | (OpenSupported.Constructions.divisorSupportedSupport V W a g j hs d f U hUJ hcover vG R hD S K hT z (hU z)) = |
| 108 | NormalizationAffine.SectionSum.Constructions.sectionDivisorImageClass V W a g j hs d f U hUJ hcover s hsn hU K hb z := |
| 109 | OpenSupported.Constructions.divisorSupportedSupport_class V W a g j hs d f U hUJ hcover vG R hD S K hT z (hU z) |
| 110 | |
| 111 | omit [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] in |
| 112 | theorem sectionSupportedCycle_class : |
| 113 | letI : Nonempty O := GlobalSectionUnitRepresentative.Constructions.basicOpen_nonempty X.left (g.left.appTop s) hsn |
| 114 | letI : Fintype (Scheme.FiniteDivisorDetection.Constructions.ComplementDivisorPoint X O) := Fintype.ofFinite _ |
| 115 | Open.SupportedLift.Constructions.Map.relativeClassMap V U S (Geometric.DimensionCycles.dimensionCodimension V W + 1) |
| 116 | (sectionSupportedCycle V W a g j hs d f U hUJ hcover s hsn hU K hb) = |
| 117 | ∑ z : Scheme.FiniteDivisorDetection.Constructions.ComplementDivisorPoint X O, |
| 118 | ((X.left.ord (X.left.germToFunctionField ⊤ (g.left.appTop s)) z.val : ℚ) * |
| 119 | ((PrincipalBoundary.Constructions.fullAmbientMap V W).left.residueDegree (Open.PrimeSupport.Constructions.ambientPrime a ⟨z.val, z.property.1⟩).val : ℚ)) • |
| 120 | NormalizationAffine.SectionSum.Constructions.sectionDivisorImageClass V W a g j hs d f U hUJ hcover s hsn hU K hb z := by |
| 121 | classical |
| 122 | let : Nonempty O := GlobalSectionUnitRepresentative.Constructions.basicOpen_nonempty X.left (g.left.appTop s) hsn |
| 123 | let : Fintype (Scheme.FiniteDivisorDetection.Constructions.ComplementDivisorPoint X O) := Fintype.ofFinite _ |
| 124 | simp only [sectionSupportedCycle, OpenSupported.Constructions.supportedOpenPrincipalCycle, map_sum, map_smul] |
| 125 | apply Finset.sum_congr rfl |
| 126 | intro z _ |
| 127 | rw [Open.SupportedLift.Constructions.Map.relativeClassMap_single, |
| 128 | sectionSupportedGenerator_class, smul_smul] |
| 129 | |
| 130 | include hf hK in |
| 131 | theorem cycle_sectionCup_eq_supportedCycleClass : |
| 132 | ImageIntersectionCup.Constructions.imageIntersectionCup (BaseImage.Constructions.Class.baseImage P U) (NormalizationAffine.SectionSupport.Constructions.baseSectionImage j U hUJ s) (GraphSectionCup.Constructions.baseImage_openComplement P U) |
| 133 | (ImageIntersectionTo.Constructions.PulledBackSupport.pulledBackImage_openComplement (IntrinsicGraphBaseProjection.Constructions.Intrinsic.baseOpenLift j U hUJ) (GlobalSectionUnitEvaluation.Constructions.SchemeEquation.sectionZeroImage Y s) (GlobalSectionUnitEvaluation.Constructions.SchemeEquation.sectionZeroImage_openComplement Y s)) |
| 134 | (Geometric.DimensionCycles.dimensionCodimension V W) 1 (BaseImage.Constructions.Class.baseImageCycleClass P U) (IntrinsicGraphSection.Constructions.IntrinsicClass.baseSectionClass j U hUJ s) = |
| 135 | Open.SupportedLift.Constructions.Map.relativeClassMap V U S (Geometric.DimensionCycles.dimensionCodimension V W + 1) |
| 136 | (sectionSupportedCycle V W a g j hs d f U hUJ hcover s hsn hU K hb) := by |
| 137 | exact (NormalizationAffine.SectionSum.Constructions.cycle_sectionCup_eq_order_imageCycle_sum V W a g j hs d f hf U hUJ hcover s hsn hU K hK hb).trans |
| 138 | (sectionSupportedCycle_class V W a g j hs d f U hUJ hcover s hsn hU K hb).symm |
| 139 | |
| 140 | open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.SupportedCoefficientComparison.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.Principal.Constructions |
| 141 | open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.OpenFunctionField.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Open.SupportedLift.Constructions |
| 142 | |
| 143 | include hf hK hs hcover hU hb in |
| 144 | theorem cycle_sectionCup_eq_normalizedPrincipalClass |
| 145 | (hsource : ∀ C : Geometric.DimensionCycles.DimensionCycleSupport V (Geometric.DimensionCycles.dimensionCodimension V W + 1), |
| 146 | (∃ x : U, x.val ∈ Set.range C.analyticInclusion) → |
| 147 | ∀ y : (AmbientMap.Constructions.smoothNormalizationOver V W).left, |
| 148 | (PrincipalBoundary.Constructions.fullAmbientMap V W).left y = IntersectionGeometry.supportPoint C.val → y ∈ Set.range a.left) : |
| 149 | ImageIntersectionCup.Constructions.imageIntersectionCup (BaseImage.Constructions.Class.baseImage P U) (NormalizationAffine.SectionSupport.Constructions.baseSectionImage j U hUJ s) (GraphSectionCup.Constructions.baseImage_openComplement P U) |
| 150 | (ImageIntersectionTo.Constructions.PulledBackSupport.pulledBackImage_openComplement (IntrinsicGraphBaseProjection.Constructions.Intrinsic.baseOpenLift j U hUJ) (GlobalSectionUnitEvaluation.Constructions.SchemeEquation.sectionZeroImage Y s) (GlobalSectionUnitEvaluation.Constructions.SchemeEquation.sectionZeroImage_openComplement Y s)) |
| 151 | (Geometric.DimensionCycles.dimensionCodimension V W) 1 (BaseImage.Constructions.Class.baseImageCycleClass P U) (IntrinsicGraphSection.Constructions.IntrinsicClass.baseSectionClass j U hUJ s) = |
| 152 | Open.SupportedLift.Constructions.Map.relativeClassMap V U S (Geometric.DimensionCycles.dimensionCodimension V W + 1) |
| 153 | (Open.SupportedLift.Constructions.restrictCycle V U S (Geometric.DimensionCycles.dimensionCodimension V W + 1) |
| 154 | (Principal.Constructions.normalizedPrincipalCycle V W |
| 155 | (OpenFunctionField.Constructions.originalFunction V W a (X.left.germToFunctionField ⊤ (g.left.appTop s))) |
| 156 | (OpenFunctionField.Constructions.originalFunction_ne_zero V W a _ hsn))) := by |
| 157 | exact (cycle_sectionCup_eq_supportedCycleClass V W a g j hs d f hf U hUJ hcover s hsn hU K hK hb).trans |
| 158 | (SupportedCoefficientComparison.Constructions.supportedClass_eq_normalized V W a R hsn U S |
| 159 | (sectionSupportedCycle V W a g j hs d f U hUJ hcover s hsn hU K hb) |
| 160 | (forget_sectionSupportedCycle V W a g j hs d f U hUJ hcover s hsn hU K hb) hsource) |
| 161 | |
| 162 | end |
| 163 | |
| 164 | end OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.SectionSupported.Constructions |