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.Finite.SectionSupportedCycle |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.SupportedGeneratorComparison |
| 3 | |
| 4 | /-! # Section Supported Class -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Finite.SectionSupportedClass.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The local section cup is exactly the canonical supported class of the actual finite order and residue-degree weighted image cycle. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 13 | open scoped _root_.Manifold ContDiff |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.CycleClass.Thom.GlobalSectionUnitEvaluation.Constructions.SchemeEquation OAI.AlgebraicGeometry.CycleClass.Thom.Affine.GraphSectionEquation.Constructions |
| 16 | open OAI.AlgebraicGeometry.CycleClass.Thom.GlobalSectionUnitRepresentative.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.IntrinsicGraphSection.Constructions.IntrinsicClass |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.IntrinsicGraphBaseProjection.Constructions.Intrinsic |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.ProperSupport.Constructions |
| 20 | open OAI.AlgebraicGeometry.CycleClass.Thom.Supported.ProjectionDegree.Constructions |
| 21 | |
| 22 | open OAI.AlgebraicGeometry.CycleClass.Thom.ImageIntersectionCup.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.ImageIntersectionTo.Constructions.Restriction |
| 23 | |
| 24 | open OAI.AlgebraicGeometry.CycleClass.Thom.Open.AmbientImage.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.SchemeDivisor.IntersectionPullback.Constructions |
| 25 | open OAI.AlgebraicGeometry.CycleClass.Thom.ImageIntersectionTo.Constructions.PulledBackSupport OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.FiniteDivisorDetection.Constructions |
| 26 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.SectionEvaluation.Constructions |
| 27 | |
| 28 | open OAI.AlgebraicGeometry.CycleClass.Thom.Open.PrimeSupport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.SchemeDivisor.Purity.Constructions |
| 29 | open OAI.AlgebraicGeometry.CycleClass.Thom.SchemeDivisor.GraphImage.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.IntrinsicGraphAmbientOpen.Constructions.Intrinsic |
| 30 | open OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SchemeGraph.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.EtaleLocalGraph.Constructions |
| 31 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.ClosedImmersion.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.SchemeDivisor.GysinAmbient.Constructions |
| 32 | open OAI.AlgebraicGeometry.CycleClass.Thom.Open.ImageComplement.Constructions.ThomAmbientTransport OAI.AlgebraicGeometry.CycleClass.Thom.AmbientInverse.Constructions |
| 33 | open OAI.AlgebraicGeometry.CycleClass.Thom.SchemeDivisor.OpenImmersion.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.SchemeDivisor.Gysin.Constructions |
| 34 | open OAI.AlgebraicGeometry.CycleClass.Thom.Degree.Constructions.ThomClass |
| 35 | |
| 36 | variable {S N : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsIntegral S.left] [Smooth S.hom] |
| 37 | [IsIntegral N.left] [Smooth N.hom] [AlgebraicGeometry.IsNoetherian N.left] |
| 38 | [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)] (k : S ⟶ N) [IsFinite k.left] |
| 39 | (p : ℕ) (hp : Betti.AffineDimension.Realization.functionFieldDifferentialDimension S.hom + p = |
| 40 | Betti.AffineDimension.Realization.functionFieldDifferentialDimension N.hom) |
| 41 | |
| 42 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsIntegral X.left] [Smooth X.hom] [IsAffine X.left] |
| 43 | [IsIntegral Y.left] [Smooth Y.hom] [IsAffine Y.left] |
| 44 | [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] |
| 45 | (a : X ⟶ S) [IsOpenImmersion a.left] [QuasiCompact a.left] |
| 46 | (g : X ⟶ Y) (j : Y ⟶ N) [IsOpenImmersion j.left] |
| 47 | (hs : a ≫ k = g ≫ j) |
| 48 | (d : ℕ) (f : MvPolynomial (Fin d) ℂ →ₐ[ℂ] Γ(X.left, ⊤)) (hf : Function.Surjective f) |
| 49 | [IsClosedImmersion (CycleClass.Thom.Affine.SchemeGraph.Constructions.globalGraphSchemeMap g f).left] |
| 50 | [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (CycleClass.Thom.SchemeDivisor.GraphImage.Constructions.graphTarget Y d))] |
| 51 | (U : Opens (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)) |
| 52 | (hUJ : (U : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)) ⊆ Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map j)) |
| 53 | (hcover : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (k) ⁻¹' (U : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)) ⊆ |
| 54 | Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map a)) |
| 55 | |
| 56 | local instance finiteSectionSupportedClassMetrizable : MetrizableSpace U := U.isOpenEmbedding'.isEmbedding.metrizableSpace |
| 57 | local instance (priority := low) finiteSectionSupportedClassCharted : ChartedSpace |
| 58 | ((Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension N.hom) → ℂ) × (Fin d → ℂ)) (U × (Fin d → ℂ)) := |
| 59 | prodChartedSpace (Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension N.hom) → ℂ) U (Fin d → ℂ) (Fin d → ℂ) |
| 60 | local instance finiteSectionSupportedClassManifold : IsManifold |
| 61 | 𝓘(ℂ, (Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension N.hom) → ℂ) × (Fin d → ℂ)) ω (U × (Fin d → ℂ)) := |
| 62 | CycleClass.Thom.Product.Immersion.Constructions.productModel_isManifold |
| 63 | |
| 64 | local instance finiteSectionSupportedClassTopNonempty : Nonempty (⊤ : X.left.Opens) := ⟨⟨genericPoint X.left, Opens.mem_top _⟩⟩ |
| 65 | |
| 66 | variable (s : Γ(Y.left, ⊤)) (hsn : X.left.germToFunctionField ⊤ (g.left.appTop s) ≠ 0) |
| 67 | |
| 68 | local notation "R" => OAI.AlgebraicGeometry.CycleClass.Thom.GlobalSectionUnitRepresentative.Constructions.sectionUnitRepresentative X.left (g.left.appTop s) hsn |
| 69 | local notation "O" => X.left.basicOpen (g.left.appTop s) |
| 70 | |
| 71 | local notation "T" => Set.range (OAI.AlgebraicGeometry.Divisors.LineBundles.Finite.BaseImageClass.BundleCycles.finiteBaseImage k U) ∩ Set.range (OAI.AlgebraicGeometry.Divisors.LineBundles.Finite.SectionSupport.BundleCycles.finiteBaseSectionImage j U hUJ s) |
| 72 | local notation "vG" => OAI.AlgebraicGeometry.CycleClass.Thom.Affine.GraphSectionEquation.Constructions.graphSectionZeroImage Y d s |
| 73 | local notation "hD" => OAI.AlgebraicGeometry.CycleClass.Thom.Affine.GraphSectionEquation.Constructions.graphSection_unitDomain d s g f hsn |
| 74 | |
| 75 | variable (hU : ∀ z : CycleClass.Thom.Scheme.FiniteDivisorDetection.Constructions.ComplementDivisorPoint X (X.left.basicOpen (g.left.appTop s)), |
| 76 | (U : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)) ⊆ FiniteSupport.Cover.BundleCycles.finiteSupportRetainedOpen k (CycleClass.Thom.SchemeDivisor.Purity.Constructions.primeSupport S (CycleClass.Thom.Open.PrimeSupport.Constructions.ambientPrime a ⟨z.val, z.property.1⟩))) |
| 77 | (K : Set (Fin d → ℂ)) (hK : IsCompact K) |
| 78 | (hb : ∀ y, ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map k (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map a y) ∈ U → |
| 79 | CycleClass.Thom.Affine.SchemeGraphAnalytic.Constructions.globalGraphCoordinates f y ∈ K) |
| 80 | |
| 81 | variable (n : ℕ) (hn : n + (p + 1) = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension N.hom) |
| 82 | |
| 83 | omit [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] in |
| 84 | theorem finiteSectionSupportedImagePoint_generator (z : CycleClass.Thom.Scheme.FiniteDivisorDetection.Constructions.ComplementDivisorPoint X O) : |
| 85 | Scheme.OpenSupportedCycle.BundleCycles.schemeOpenRelativeGenerator N U T n (p + 1) hn |
| 86 | (SectionSupportedCycle.BundleCycles.finiteSectionSupportedImagePoint k p hp a g j hs d f U hUJ hcover s hsn hU K hb n hn z) = |
| 87 | FiniteAffine.SectionCycleSum.BundleCycles.finiteSectionDivisorImageClass k p hp a g j hs d f U hUJ hcover s hsn hU K hb z := by |
| 88 | let C := CycleClass.Thom.Scheme.ProperSupport.Constructions.imageSupport k (CycleClass.Thom.SchemeDivisor.Purity.Constructions.primeSupport S (CycleClass.Thom.Open.PrimeSupport.Constructions.ambientPrime a ⟨z.val, z.property.1⟩)) |
| 89 | have hpC := FiniteAffine.GraphDimension.BundleCycles.finitePrimeImage_dimension k p hp (CycleClass.Thom.Open.PrimeSupport.Constructions.ambientPrime a ⟨z.val, z.property.1⟩) |
| 90 | let hr := (hU z).trans (FiniteSupport.Cover.BundleCycles.finiteSupportRetainedOpen_target_regular k (CycleClass.Thom.SchemeDivisor.Purity.Constructions.primeSupport S (CycleClass.Thom.Open.PrimeSupport.Constructions.ambientPrime a ⟨z.val, z.property.1⟩))) |
| 91 | let hm : Set.MapsTo (𝟙 (TopCat.of U)) Tᶜ (Set.range (SchemeCycle.RegularOpen.BundleCycles.schemeCycleRegularOpenImmersion N C U hr))ᶜ := |
| 92 | fun _ hx hy => hx (FiniteAffine.SectionCycleSum.BundleCycles.finiteSectionDivisorSupport_le k p hp a g j hs d f U hUJ hcover s hsn hU K hb z hy) |
| 93 | let hj := CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)) (U : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)) |
| 94 | have hc := ConcreteCategory.congr_hom |
| 95 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_comp (ModuleCat.of ℚ ℚ) (𝟙 (TopCat.of U)) hj |
| 96 | hm (SchemeCycle.RegularOpen.BundleCycles.schemeCycleRegularOpenImmersion_mapsTo N C U hr) (2 * (p + 1))) |
| 97 | (Scheme.SupportedCycleClass.BundleCycles.schemeSupportedCycleClass N C (p + 1) hpC) |
| 98 | simp only [Category.id_comp] at hc |
| 99 | have hg := Scheme.SupportedGeneratorComparison.BundleCycles.schemeOpenRelativeGenerator_of_support_eq N U T n (p + 1) hn |
| 100 | (SectionSupportedCycle.BundleCycles.finiteSectionSupportedImagePoint k p hp a g j hs d f U hUJ hcover s hsn hU K hb n hn z) C hpC |
| 101 | (PrimeImagePoint.BundleCycles.finitePrimeImagePoint_support k p hp a ⟨z.val, z.property.1⟩ n hn) |
| 102 | ((SchemeCycle.RegularOpen.BundleCycles.schemeCycleRegularOpenImmersion_mapsTo N C U hr).comp hm) |
| 103 | exact hg.trans hc.symm |
| 104 | |
| 105 | omit [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] in |
| 106 | theorem finiteSectionSupportedCycle_class : |
| 107 | letI : Nonempty O := CycleClass.Thom.GlobalSectionUnitRepresentative.Constructions.basicOpen_nonempty X.left (g.left.appTop s) hsn |
| 108 | letI : Fintype (CycleClass.Thom.Scheme.FiniteDivisorDetection.Constructions.ComplementDivisorPoint X O) := Fintype.ofFinite _ |
| 109 | Scheme.OpenSupportedCycle.BundleCycles.schemeOpenRelativeClassMap N U T n (p + 1) hn |
| 110 | (SectionSupportedCycle.BundleCycles.finiteSectionSupportedCycle k p hp a g j hs d f U hUJ hcover s hsn hU K hb n hn) = |
| 111 | ∑ z : CycleClass.Thom.Scheme.FiniteDivisorDetection.Constructions.ComplementDivisorPoint X O, |
| 112 | ((X.left.ord (X.left.germToFunctionField ⊤ (g.left.appTop s)) z.val : ℚ) * |
| 113 | (k.left.residueDegree (CycleClass.Thom.Open.PrimeSupport.Constructions.ambientPrime a ⟨z.val, z.property.1⟩).val : ℚ)) • |
| 114 | FiniteAffine.SectionCycleSum.BundleCycles.finiteSectionDivisorImageClass k p hp a g j hs d f U hUJ hcover s hsn hU K hb z := by |
| 115 | classical |
| 116 | let : Nonempty O := CycleClass.Thom.GlobalSectionUnitRepresentative.Constructions.basicOpen_nonempty X.left (g.left.appTop s) hsn |
| 117 | let : Fintype (CycleClass.Thom.Scheme.FiniteDivisorDetection.Constructions.ComplementDivisorPoint X O) := Fintype.ofFinite _ |
| 118 | simp only [SectionSupportedCycle.BundleCycles.finiteSectionSupportedCycle, map_sum] |
| 119 | apply Finset.sum_congr rfl |
| 120 | intro z _ |
| 121 | have h := Scheme.OpenSupportedCycle.BundleCycles.schemeOpenRelativeClassMap_single N U T n (p + 1) hn |
| 122 | (SectionSupportedCycle.BundleCycles.finiteSectionSupportedImagePoint k p hp a g j hs d f U hUJ hcover s hsn hU K hb n hn z) |
| 123 | ((X.left.ord (X.left.germToFunctionField ⊤ (g.left.appTop s)) z.val : ℚ) * |
| 124 | (k.left.residueDegree (CycleClass.Thom.Open.PrimeSupport.Constructions.ambientPrime a ⟨z.val, z.property.1⟩).val : ℚ)) |
| 125 | exact h.trans (congrArg (fun b => |
| 126 | ((X.left.ord (X.left.germToFunctionField ⊤ (g.left.appTop s)) z.val : ℚ) * |
| 127 | (k.left.residueDegree (CycleClass.Thom.Open.PrimeSupport.Constructions.ambientPrime a ⟨z.val, z.property.1⟩).val : ℚ)) • b) |
| 128 | (finiteSectionSupportedImagePoint_generator k p hp a g j hs d f U hUJ hcover s hsn hU K hb n hn z)) |
| 129 | |
| 130 | include hf hK in |
| 131 | theorem finiteCycle_sectionCup_eq_supportedCycle : |
| 132 | CycleClass.Thom.ImageIntersectionCup.Constructions.imageIntersectionCup (BaseImageClass.BundleCycles.finiteBaseImage k U) (SectionSupport.BundleCycles.finiteBaseSectionImage j U hUJ s) (BaseImageClass.BundleCycles.finiteBaseImage_openComplement k U) |
| 133 | (CycleClass.Thom.ImageIntersectionTo.Constructions.PulledBackSupport.pulledBackImage_openComplement (CycleClass.Thom.IntrinsicGraphBaseProjection.Constructions.Intrinsic.baseOpenLift j U hUJ) (CycleClass.Thom.GlobalSectionUnitEvaluation.Constructions.SchemeEquation.sectionZeroImage Y s) (CycleClass.Thom.GlobalSectionUnitEvaluation.Constructions.SchemeEquation.sectionZeroImage_openComplement Y s)) |
| 134 | p 1 ((k.left.residueDegree (genericPoint S.left) : ℚ) • BaseImageClass.BundleCycles.finiteBaseImageCycleClass k p hp U) |
| 135 | (CycleClass.Thom.IntrinsicGraphSection.Constructions.IntrinsicClass.baseSectionClass j U hUJ s) = |
| 136 | Scheme.OpenSupportedCycle.BundleCycles.schemeOpenRelativeClassMap N U T n (p + 1) hn |
| 137 | (SectionSupportedCycle.BundleCycles.finiteSectionSupportedCycle k p hp a g j hs d f U hUJ hcover s hsn hU K hb n hn) := by |
| 138 | exact (FiniteAffine.SectionCycleSum.BundleCycles.finiteCycle_sectionCup_eq_order_imageCycle_sum k p hp a g j hs d f hf U hUJ hcover s hsn hU K hK hb).trans |
| 139 | (finiteSectionSupportedCycle_class k p hp a g j hs d f U hUJ hcover s hsn hU K hb n hn).symm |
| 140 | |
| 141 | end |
| 142 | |
| 143 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Finite.SectionSupportedClass.BundleCycles |