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.Scheme.GraphRegularProjection |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.EtaleGraphOpenImmersion |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.RestrictedGraphFiber |
| 4 | import OAI.AlgebraicGeometry.CycleClass.Thom.ProperImage.IntrinsicFiberDegree |
| 5 | import OAI.AlgebraicGeometry.CycleClass.Thom.Integral.SchemeProper |
| 6 | |
| 7 | /-! # Etale Graph Projection -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.EtaleGraphProjection.BundleCycles |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Actual finite étale scheme graphs on regular ambient opens project to the original supported cycle class with their genuine generic residue degree. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | open scoped _root_.Manifold ContDiff |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.GraphOpenImmersion.Constructions |
| 19 | open OAI.AlgebraicGeometry.CycleClass.Thom.EtaleGraphOpenImmersion.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.RestrictedGraphFiber.Constructions |
| 20 | open OAI.AlgebraicGeometry.CycleClass.Thom.Degree.Constructions.ThomClass OAI.AlgebraicGeometry.CycleClass.Thom.Supported.ProjectionDegree.Constructions |
| 21 | open OAI.AlgebraicGeometry.CycleClass.Thom.ProperImage.IntrinsicFiberDegree.Constructions.Construction |
| 22 | |
| 23 | variable (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) [IsIntegral X.left] [Smooth X.hom] |
| 24 | [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] |
| 25 | (Z : IrreducibleCloseds X.left) (p : ℕ) |
| 26 | (hpZ : Foundations.Scheme.SupportDimension.supportTranscendenceDimension Z X.hom + p = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.hom) |
| 27 | (U : Opens (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) (hU : (U : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) ⊆ CycleClass.Thom.Scheme.RegularSupport.Constructions.regularAmbientOpen X Z) |
| 28 | {L M : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsIntegral L.left] [Smooth L.hom] [IsIntegral M.left] [Smooth M.hom] |
| 29 | (g : L ⟶ M) [IsFinite g.left] [Etale g.left] (j : M ⟶ X) [IsImmersion j.left] |
| 30 | |
| 31 | local instance e13SchemeEtaleGraphProjection_local1 : MetrizableSpace U := U.isOpenEmbedding'.isEmbedding.metrizableSpace |
| 32 | |
| 33 | local notation "ML" => Fin (OAI.AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension L.hom) → ℂ |
| 34 | |
| 35 | variable {d : ℕ} |
| 36 | |
| 37 | local instance (priority := low) e13SchemeEtaleGraphProjection_local2 : ChartedSpace |
| 38 | ((Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) → ℂ) × (Fin d → ℂ)) (U × (Fin d → ℂ)) := |
| 39 | prodChartedSpace (Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) → ℂ) U (Fin d → ℂ) (Fin d → ℂ) |
| 40 | local instance e13SchemeEtaleGraphProjection_local3 : IsManifold |
| 41 | 𝓘(ℂ, (Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) → ℂ) × (Fin d → ℂ)) ω (U × (Fin d → ℂ)) := |
| 42 | CycleClass.Thom.Product.Immersion.Constructions.productModel_isManifold |
| 43 | |
| 44 | theorem schemeEtaleGraph_project_cycleClass |
| 45 | (hη : g.left (genericPoint L.left) = genericPoint M.left) |
| 46 | (hr : ((Subtype.val : U → (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) ⁻¹' Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map j)) = |
| 47 | Set.range (SchemeCycle.RegularOpen.BundleCycles.schemeCycleRegularOpenImmersion X Z U hU)) |
| 48 | (e : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints L → (Fin d → ℂ)) |
| 49 | (he : ContMDiff 𝓘(ℂ, ML) 𝓘(ℂ, Fin d → ℂ) ω e) |
| 50 | (hc : Topology.IsClosedEmbedding (CycleClass.Thom.EtaleGraphOpenImmersion.Constructions.openGraph g j U e)) |
| 51 | (hp : CycleClass.Geometric.ComplexNormalAtlas.Cycles.complexImmersionCodimension ML ((Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) → ℂ) × (Fin d → ℂ)) = p + d) |
| 52 | (K : Set (Fin d → ℂ)) (hK : IsCompact K) |
| 53 | (hT : Set.range (CycleClass.Thom.EtaleGraphOpenImmersion.Constructions.openGraph g j U e) ⊆ Set.range (SchemeCycle.RegularOpen.BundleCycles.schemeCycleRegularOpenImmersion X Z U hU) ×ˢ K) : |
| 54 | CycleClass.Thom.Supported.ProjectionDegree.Constructions.projectAt d (TopCat.of U) (Set.range (SchemeCycle.RegularOpen.BundleCycles.schemeCycleRegularOpenImmersion X Z U hU)) K hK |
| 55 | (Set.range (CycleClass.Thom.EtaleGraphOpenImmersion.Constructions.openGraph g j U e)) hT (2 * p) (2 * (p + d)) (Nat.mul_add 2 p d).symm |
| 56 | (CycleClass.Thom.Degree.Constructions.ThomClass.complexThomClassInDegree (CycleClass.Thom.EtaleGraphOpenImmersion.Constructions.openGraph g j U e) (CycleClass.Thom.EtaleGraphOpenImmersion.Constructions.openGraph_analytic g j U e he) |
| 57 | (CycleClass.Thom.EtaleGraphOpenImmersion.Constructions.openGraph_differential_injective g j U e he) hc (p + d) hp) = |
| 58 | (g.left.residueDegree (genericPoint L.left) : ℚ) • |
| 59 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) |
| 60 | (CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) (U : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X))) |
| 61 | (SchemeCycle.RegularOpen.BundleCycles.schemeCycleRegularOpenImmersion_mapsTo X Z U hU) (2 * p) (SupportedCycleClass.BundleCycles.schemeSupportedCycleClass X Z p hpZ) := by |
| 62 | classical |
| 63 | have htarget (x : CycleClass.Thom.GraphOpenImmersion.Constructions.graphSourceOpen (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion X Z) (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion_contMDiff X Z ω) |
| 64 | (SupportNeighborhoodDetection.BundleCycles.schemeSupportRegularNeighborhood X Z U)) : |
| 65 | ∃ y : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints M, ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map j y = (SchemeCycle.RegularOpen.BundleCycles.schemeCycleRegularOpenImmersion X Z U hU x).val := by |
| 66 | have h : SchemeCycle.RegularOpen.BundleCycles.schemeCycleRegularOpenImmersion X Z U hU x ∈ Set.range (SchemeCycle.RegularOpen.BundleCycles.schemeCycleRegularOpenImmersion X Z U hU) := Set.mem_range_self _ |
| 67 | rw [← hr] at h |
| 68 | exact h |
| 69 | choose target htarget using htarget |
| 70 | let ef (x : CycleClass.Thom.GraphOpenImmersion.Constructions.graphSourceOpen (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion X Z) (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion_contMDiff X Z ω) |
| 71 | (SupportNeighborhoodDetection.BundleCycles.schemeSupportRegularNeighborhood X Z U)) := CycleClass.Thom.RestrictedGraphFiber.Constructions.graphFiberEquiv (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map g) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map j) |
| 72 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isEmbedding_map_of_isImmersion j).injective e (U : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) |
| 73 | (SchemeCycle.RegularOpen.BundleCycles.schemeCycleRegularOpenImmersion X Z U hU x) (target x) (htarget x) |
| 74 | have hfin (x : CycleClass.Thom.GraphOpenImmersion.Constructions.graphSourceOpen (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion X Z) (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion_contMDiff X Z ω) |
| 75 | (SupportNeighborhoodDetection.BundleCycles.schemeSupportRegularNeighborhood X Z U)) : |
| 76 | Finite {y : CycleClass.Thom.GraphOpenImmersion.Constructions.graphSourceOpen (CycleClass.Thom.EtaleGraphOpenImmersion.Constructions.etaleBase g j) (CycleClass.Thom.EtaleGraphOpenImmersion.Constructions.etaleBase_analytic g j) U | |
| 77 | (CycleClass.Thom.EtaleGraphOpenImmersion.Constructions.openGraph g j U e y).1 = SchemeCycle.RegularOpen.BundleCycles.schemeCycleRegularOpenImmersion X Z U hU x} := by |
| 78 | have hf := CycleClass.Thom.ProperImage.Covering.Constructions.Construction.finite_fiber_of_proper_localHomeomorph (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map g) |
| 79 | (CycleClass.Thom.Integral.SchemeProper.Constructions.isProperMap_integral g) |
| 80 | (CycleClass.Thom.ProperImage.IntrinsicEtale.Constructions.Construction.isLocalDiffeomorph_nativeScheme_affineEtale g).isLocalHomeomorph (target x) |
| 81 | let : Fintype {y : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints L | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map g y = target x} := hf.fintype |
| 82 | exact Finite.of_equiv _ (ef x).symm |
| 83 | exact GraphRegularProjection.BundleCycles.schemeGraphThom_project_cycleClass X Z p hpZ U hU (CycleClass.Thom.EtaleGraphOpenImmersion.Constructions.openGraph g j U e) (CycleClass.Thom.EtaleGraphOpenImmersion.Constructions.openGraph_analytic g j U e he) |
| 84 | (CycleClass.Thom.EtaleGraphOpenImmersion.Constructions.openGraph_differential_injective g j U e he) hc hp K hK hT |
| 85 | (CycleClass.Thom.EtaleGraphOpenImmersion.Constructions.openGraph_projected_differential_injective g j U e) hfin (g.left.residueDegree (genericPoint L.left)) |
| 86 | (fun x => (Nat.card_congr (ef x)).trans (CycleClass.Thom.ProperImage.IntrinsicFiberDegree.Constructions.Construction.native_fiber_card_eq_residueDegree g hη (target x))) |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.EtaleGraphProjection.BundleCycles |