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.ParentOpenFibers |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Finite.ParentThomCoordinates |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.GraphGenericProjection |
| 4 | import OAI.AlgebraicGeometry.CycleClass.Thom.Integral.IntrinsicFiniteSurjective |
| 5 | |
| 6 | /-! # Parent Graph Projection -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Finite.ParentGraphProjection.BundleCycles |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A genuine finite parent polynomial graph projects to the canonical supported image class, with its actual generic residue degree, across the singular boundary. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | open scoped _root_.Manifold ContDiff |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.ProperSupport.Constructions |
| 18 | open OAI.AlgebraicGeometry.CycleClass.Thom.GraphOpenImmersion.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.GraphBaseRestriction.Constructions |
| 19 | open OAI.AlgebraicGeometry.CycleClass.Thom.RestrictedGraphSmallerFibers.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SchemeGraphAnalytic.Constructions |
| 20 | open OAI.AlgebraicGeometry.CycleClass.Thom.Supported.ProjectionDegree.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Degree.Constructions.ThomClass |
| 21 | open OAI.AlgebraicGeometry.CycleClass.Thom.Integral.IntrinsicFiniteSurjective.Constructions.Intrinsic |
| 22 | |
| 23 | variable {S N : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsIntegral S.left] [Smooth S.hom] |
| 24 | [IsIntegral N.left] [Smooth N.hom] [AlgebraicGeometry.IsNoetherian N.left] |
| 25 | [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)] (k : S ⟶ N) [IsFinite k.left] |
| 26 | (p : ℕ) (hp : Betti.AffineDimension.Realization.functionFieldDifferentialDimension S.hom + p = |
| 27 | Betti.AffineDimension.Realization.functionFieldDifferentialDimension N.hom) |
| 28 | |
| 29 | include hp in |
| 30 | omit [AlgebraicGeometry.IsNoetherian N.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)] in |
| 31 | theorem finiteWholeImage_codimension : |
| 32 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension (CycleClass.Thom.Scheme.ProperSupport.Constructions.imageSupport k (WholeSupport.BundleCycles.wholeSchemeSupport S)) N.hom + p = |
| 33 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension N.hom := by |
| 34 | rw [WholeSupport.BundleCycles.finiteWholeImage_dimension k, Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension_eq_functionFieldDifferentialDimension] |
| 35 | exact hp |
| 36 | |
| 37 | omit [Smooth S.hom] [AlgebraicGeometry.IsIntegral N.left] [AlgebraicGeometry.IsNoetherian N.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)] in |
| 38 | theorem finiteWholeMap_residueDegree_pos : 0 < k.left.residueDegree (genericPoint S.left) := by |
| 39 | have h := CycleClass.Thom.Integral.IntrinsicFiniteSurjective.Constructions.Intrinsic.genericResidueDegree_pos (FiniteSupport.Cover.BundleCycles.finiteSupportCoverMap k (WholeSupport.BundleCycles.wholeSchemeSupport S)) |
| 40 | (FiniteSupport.Cover.BundleCycles.finiteSupportCoverMap_genericPoint k (WholeSupport.BundleCycles.wholeSchemeSupport S)) |
| 41 | simpa only [FiniteSupport.Cover.BundleCycles.finiteSupportCoverMap_residueDegree, WholeSupport.BundleCycles.wholeSchemeSupport, OrderIso.apply_symm_apply] using h |
| 42 | |
| 43 | variable {X : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsIntegral X.left] [Smooth X.hom] [IsAffine X.left] |
| 44 | (a : X ⟶ S) [IsOpenImmersion a.left] (U : Opens (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)) |
| 45 | (hcover : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map k ⁻¹' (U : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)) ⊆ Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map a)) |
| 46 | {d : ℕ} (f : MvPolynomial (Fin d) ℂ →ₐ[ℂ] Γ(X.left, ⊤)) |
| 47 | |
| 48 | local notation "MX" => Fin (OAI.AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) → ℂ |
| 49 | |
| 50 | local instance finiteParentGraphProjectionMetrizable (A : Opens (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)) : MetrizableSpace A := |
| 51 | A.isOpenEmbedding'.isEmbedding.metrizableSpace |
| 52 | local instance (priority := low) finiteParentGraphProjectionCharted (A : Opens (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)) : |
| 53 | ChartedSpace ((Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension N.hom) → ℂ) × (Fin d → ℂ)) (A × (Fin d → ℂ)) := |
| 54 | prodChartedSpace (Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension N.hom) → ℂ) A (Fin d → ℂ) (Fin d → ℂ) |
| 55 | local instance finiteParentGraphProjectionManifold (A : Opens (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)) : IsManifold |
| 56 | 𝓘(ℂ, (Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension N.hom) → ℂ) × (Fin d → ℂ)) ω (A × (Fin d → ℂ)) := |
| 57 | CycleClass.Thom.Product.Immersion.Constructions.productModel_isManifold |
| 58 | |
| 59 | abbrev finiteRetainedParentSource := Scheme.GraphGenericProjection.BundleCycles.schemeGraphRetainedSource N (CycleClass.Thom.Scheme.ProperSupport.Constructions.imageSupport k (WholeSupport.BundleCycles.wholeSchemeSupport S)) (FiniteSupport.Cover.BundleCycles.finiteSupportGoodOpen k (WholeSupport.BundleCycles.wholeSchemeSupport S)) U |
| 60 | (ParentGraph.BundleCycles.finiteParentGraph k a U f) (ParentGraph.BundleCycles.finiteParentGraph_analytic k a U f) |
| 61 | |
| 62 | omit [AlgebraicGeometry.IsNoetherian N.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)] in |
| 63 | theorem finiteParentGraph_generic_differential_injective |
| 64 | (x : finiteRetainedParentSource k a U f) : |
| 65 | Function.Injective (mfderiv 𝓘(ℂ, MX) 𝓘(ℂ, (Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension N.hom) → ℂ)) |
| 66 | (Prod.fst ∘ Scheme.GraphGenericProjection.BundleCycles.schemeGraphRetainedGraph N (CycleClass.Thom.Scheme.ProperSupport.Constructions.imageSupport k (WholeSupport.BundleCycles.wholeSchemeSupport S)) (FiniteSupport.Cover.BundleCycles.finiteSupportGoodOpen k (WholeSupport.BundleCycles.wholeSchemeSupport S)) U (ParentGraph.BundleCycles.finiteParentGraph k a U f) |
| 67 | (ParentGraph.BundleCycles.finiteParentGraph_analytic k a U f)) x) := by |
| 68 | have hd := CycleClass.Thom.RestrictedGraphSmallerFibers.Constructions.doubleGraph_projected_mfderiv (ParentGraph.BundleCycles.finiteParentGraphBase k a) (ParentGraph.BundleCycles.finiteParentGraphBase_analytic k a) (CycleClass.Thom.Affine.SchemeGraphAnalytic.Constructions.globalGraphCoordinates f) (CycleClass.Thom.Affine.SchemeGraphAnalytic.Constructions.globalGraphCoordinates_analytic f) U |
| 69 | (Scheme.SupportGoodOpenMap.BundleCycles.schemeSupportGoodNeighborhood N (CycleClass.Thom.Scheme.ProperSupport.Constructions.imageSupport k (WholeSupport.BundleCycles.wholeSchemeSupport S)) (FiniteSupport.Cover.BundleCycles.finiteSupportGoodOpen k (WholeSupport.BundleCycles.wholeSchemeSupport S)) U) inf_le_left x |
| 70 | exact (congrArg (fun L : MX →L[ℂ] (Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension N.hom) → ℂ) => Function.Injective L) hd).mpr |
| 71 | (ParentOpenFibers.BundleCycles.finiteParentGraphBase_good_differential_injective k a x.val.val x.property.2) |
| 72 | |
| 73 | include hcover in |
| 74 | theorem finiteParentGraph_genericFiber_card |
| 75 | (x : CycleClass.Thom.GraphOpenImmersion.Constructions.graphSourceOpen (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion N (CycleClass.Thom.Scheme.ProperSupport.Constructions.imageSupport k (WholeSupport.BundleCycles.wholeSchemeSupport S))) (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion_contMDiff N (CycleClass.Thom.Scheme.ProperSupport.Constructions.imageSupport k (WholeSupport.BundleCycles.wholeSchemeSupport S)) ω) |
| 76 | (Scheme.SupportNeighborhoodDetection.BundleCycles.schemeSupportRegularNeighborhood N (CycleClass.Thom.Scheme.ProperSupport.Constructions.imageSupport k (WholeSupport.BundleCycles.wholeSchemeSupport S)) (Scheme.SupportGoodOpenMap.BundleCycles.schemeSupportGoodNeighborhood N (CycleClass.Thom.Scheme.ProperSupport.Constructions.imageSupport k (WholeSupport.BundleCycles.wholeSchemeSupport S)) (FiniteSupport.Cover.BundleCycles.finiteSupportGoodOpen k (WholeSupport.BundleCycles.wholeSchemeSupport S)) U))) : |
| 77 | Nat.card {y : finiteRetainedParentSource k a U f | |
| 78 | (Scheme.GraphGenericProjection.BundleCycles.schemeGraphRetainedGraph N (CycleClass.Thom.Scheme.ProperSupport.Constructions.imageSupport k (WholeSupport.BundleCycles.wholeSchemeSupport S)) (FiniteSupport.Cover.BundleCycles.finiteSupportGoodOpen k (WholeSupport.BundleCycles.wholeSchemeSupport S)) U (ParentGraph.BundleCycles.finiteParentGraph k a U f) |
| 79 | (ParentGraph.BundleCycles.finiteParentGraph_analytic k a U f) y).1 = |
| 80 | SchemeCycle.RegularOpen.BundleCycles.schemeCycleRegularOpenImmersion N (CycleClass.Thom.Scheme.ProperSupport.Constructions.imageSupport k (WholeSupport.BundleCycles.wholeSchemeSupport S)) (Scheme.SupportGoodOpenMap.BundleCycles.schemeSupportGoodNeighborhood N (CycleClass.Thom.Scheme.ProperSupport.Constructions.imageSupport k (WholeSupport.BundleCycles.wholeSchemeSupport S)) (FiniteSupport.Cover.BundleCycles.finiteSupportGoodOpen k (WholeSupport.BundleCycles.wholeSchemeSupport S)) U) |
| 81 | (Scheme.GraphGenericProjection.BundleCycles.schemeGraphRetained_regular N (CycleClass.Thom.Scheme.ProperSupport.Constructions.imageSupport k (WholeSupport.BundleCycles.wholeSchemeSupport S)) (FiniteSupport.Cover.BundleCycles.finiteSupportGoodOpen k (WholeSupport.BundleCycles.wholeSchemeSupport S)) (FiniteSupport.Cover.BundleCycles.finiteSupportTargetOpen_smoothLocus k (WholeSupport.BundleCycles.wholeSchemeSupport S)) U) x} = k.left.residueDegree (genericPoint S.left) := by |
| 82 | let P := Scheme.SupportGoodOpenMap.BundleCycles.schemeSupportGoodNeighborhood N (CycleClass.Thom.Scheme.ProperSupport.Constructions.imageSupport k (WholeSupport.BundleCycles.wholeSchemeSupport S)) (FiniteSupport.Cover.BundleCycles.finiteSupportGoodOpen k (WholeSupport.BundleCycles.wholeSchemeSupport S)) U |
| 83 | let u : P := SchemeCycle.RegularOpen.BundleCycles.schemeCycleRegularOpenImmersion N (CycleClass.Thom.Scheme.ProperSupport.Constructions.imageSupport k (WholeSupport.BundleCycles.wholeSchemeSupport S)) P |
| 84 | (Scheme.GraphGenericProjection.BundleCycles.schemeGraphRetained_regular N (CycleClass.Thom.Scheme.ProperSupport.Constructions.imageSupport k (WholeSupport.BundleCycles.wholeSchemeSupport S)) (FiniteSupport.Cover.BundleCycles.finiteSupportGoodOpen k (WholeSupport.BundleCycles.wholeSchemeSupport S)) (FiniteSupport.Cover.BundleCycles.finiteSupportTargetOpen_smoothLocus k (WholeSupport.BundleCycles.wholeSchemeSupport S)) U) x |
| 85 | have hu : u.val ∈ Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (FiniteSupport.Cover.BundleCycles.finiteSupportTargetAmbientMap k (WholeSupport.BundleCycles.wholeSchemeSupport S))) := by |
| 86 | have hr : u ∈ Set.range (SchemeCycle.RegularOpen.BundleCycles.schemeCycleRegularOpenImmersion N (CycleClass.Thom.Scheme.ProperSupport.Constructions.imageSupport k (WholeSupport.BundleCycles.wholeSchemeSupport S)) P |
| 87 | (Scheme.GraphGenericProjection.BundleCycles.schemeGraphRetained_regular N (CycleClass.Thom.Scheme.ProperSupport.Constructions.imageSupport k (WholeSupport.BundleCycles.wholeSchemeSupport S)) (FiniteSupport.Cover.BundleCycles.finiteSupportGoodOpen k (WholeSupport.BundleCycles.wholeSchemeSupport S)) (FiniteSupport.Cover.BundleCycles.finiteSupportTargetOpen_smoothLocus k (WholeSupport.BundleCycles.wholeSchemeSupport S)) U)) := ⟨x, rfl⟩ |
| 88 | rw [← FiniteSupport.GraphProjection.BundleCycles.finiteSupportTargetAmbientMap_regular_range k (WholeSupport.BundleCycles.wholeSchemeSupport S) P (fun _ hx => hx.2)] at hr |
| 89 | exact hr |
| 90 | have hd := CycleClass.Thom.RestrictedGraphSmallerFibers.Constructions.doubleGraph_fiber_card (ParentGraph.BundleCycles.finiteParentGraphBase k a) (ParentGraph.BundleCycles.finiteParentGraphBase_analytic k a) (CycleClass.Thom.Affine.SchemeGraphAnalytic.Constructions.globalGraphCoordinates f) (CycleClass.Thom.Affine.SchemeGraphAnalytic.Constructions.globalGraphCoordinates_analytic f) U P inf_le_left u |
| 91 | exact hd.trans (ParentOpenFibers.BundleCycles.finiteParentGraphBase_genericFiber_card k a U hcover ⟨u.val, u.property.1⟩ hu) |
| 92 | |
| 93 | omit [IsOpenImmersion a.left] in |
| 94 | omit [AlgebraicGeometry.IsNoetherian N.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)] in |
| 95 | theorem finiteParentGraph_bound (K : Set (Fin d → ℂ)) |
| 96 | (hb : ∀ x, ParentGraph.BundleCycles.finiteParentGraphBase k a x ∈ U → CycleClass.Thom.Affine.SchemeGraphAnalytic.Constructions.globalGraphCoordinates f x ∈ K) : |
| 97 | Set.range (ParentGraph.BundleCycles.finiteParentGraph k a U f) ⊆ |
| 98 | ((Subtype.val : U → (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)) ⁻¹' Set.range (CycleClass.Thom.Scheme.RegularSupport.Constructions.supportInclusion N (CycleClass.Thom.Scheme.ProperSupport.Constructions.imageSupport k (WholeSupport.BundleCycles.wholeSchemeSupport S)))) ×ˢ K := by |
| 99 | rintro _ ⟨x, rfl⟩ |
| 100 | exact ⟨ParentOpenFibers.BundleCycles.finiteParentGraphBase_mem_support k a x.val, hb x.val x.property⟩ |
| 101 | |
| 102 | include hcover in |
| 103 | theorem finiteParentGraph_project_cycleClass (hf : Function.Surjective f) |
| 104 | (K : Set (Fin d → ℂ)) (hK : IsCompact K) |
| 105 | (hb : ∀ x, ParentGraph.BundleCycles.finiteParentGraphBase k a x ∈ U → CycleClass.Thom.Affine.SchemeGraphAnalytic.Constructions.globalGraphCoordinates f x ∈ K) : |
| 106 | CycleClass.Thom.Supported.ProjectionDegree.Constructions.projectAt d (TopCat.of U) |
| 107 | ((Subtype.val : U → ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N) ⁻¹' Set.range (CycleClass.Thom.Scheme.RegularSupport.Constructions.supportInclusion N (CycleClass.Thom.Scheme.ProperSupport.Constructions.imageSupport k (WholeSupport.BundleCycles.wholeSchemeSupport S)))) |
| 108 | K hK (Set.range (ParentGraph.BundleCycles.finiteParentGraph k a U f)) (finiteParentGraph_bound k a U f K hb) |
| 109 | (2 * p) (2 * (p + d)) (Nat.mul_add 2 p d).symm |
| 110 | (ParentThomCoordinates.BundleCycles.finiteParentGraphThomClass k p hp a d f hf U) = |
| 111 | (k.left.residueDegree (genericPoint S.left) : ℚ) • |
| 112 | CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)) |
| 113 | (Set.range (CycleClass.Thom.Scheme.RegularSupport.Constructions.supportInclusion N (CycleClass.Thom.Scheme.ProperSupport.Constructions.imageSupport k (WholeSupport.BundleCycles.wholeSchemeSupport S))))ᶜ U (2 * p) |
| 114 | (Scheme.SupportedCycleClass.BundleCycles.schemeSupportedCycleClass N (CycleClass.Thom.Scheme.ProperSupport.Constructions.imageSupport k (WholeSupport.BundleCycles.wholeSchemeSupport S)) p (finiteWholeImage_codimension k p hp)) := by |
| 115 | have hdeg := finiteParentGraph_genericFiber_card k a U hcover f |
| 116 | have hfin := fun x => Nat.finite_of_card_ne_zero |
| 117 | (show Nat.card _ ≠ 0 from (hdeg x).trans_ne (Nat.ne_of_gt (finiteWholeMap_residueDegree_pos k))) |
| 118 | exact Scheme.GraphGenericProjection.BundleCycles.schemeGraphThom_project_genericCycleClass N (CycleClass.Thom.Scheme.ProperSupport.Constructions.imageSupport k (WholeSupport.BundleCycles.wholeSchemeSupport S)) p |
| 119 | (finiteWholeImage_codimension k p hp) (FiniteSupport.Cover.BundleCycles.finiteSupportGoodOpen k (WholeSupport.BundleCycles.wholeSchemeSupport S)) |
| 120 | (FiniteSupport.Cover.BundleCycles.finiteSupportTargetOpen_smoothLocus k (WholeSupport.BundleCycles.wholeSchemeSupport S)) U |
| 121 | (ParentGraph.BundleCycles.finiteParentGraph k a U f) (ParentGraph.BundleCycles.finiteParentGraph_analytic k a U f) |
| 122 | (FiniteSupport.Cover.BundleCycles.finiteSupportGoodOpen_spec k (WholeSupport.BundleCycles.wholeSchemeSupport S)).1 |
| 123 | (ParentGraph.BundleCycles.finiteParentGraph_differential_injective k a U f hf) (ParentGraph.BundleCycles.finiteParentGraph_closed k a U f hf) |
| 124 | (ParentGraph.BundleCycles.finiteParentGraph_codimension a (d := d) p hp) K hK (finiteParentGraph_bound k a U f K hb) |
| 125 | (finiteParentGraph_generic_differential_injective k a U f) hfin |
| 126 | (k.left.residueDegree (genericPoint S.left)) hdeg |
| 127 | |
| 128 | end |
| 129 | |
| 130 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Finite.ParentGraphProjection.BundleCycles |