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.Affine.SchemeGraph |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Closed.GraphEmbedding |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.Proper.GraphLocalBound |
| 4 | import OAI.AlgebraicGeometry.CycleClass.Thom.GraphBaseRestriction |
| 5 | import Mathlib.Geometry.Manifold.MFDeriv.SpecificFunctions |
| 6 | |
| 7 | /-! # Scheme Graph Analytic -/ |
| 8 | |
| 9 | namespace OAI |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | namespace AlgebraicGeometry.CycleClass.Thom.Affine.SchemeGraphAnalytic.Constructions |
| 14 | |
| 15 | /-! Polynomial graph coordinates on actual smooth affine schemes form closed holomorphic immersions and have compact fiber bounds over a neighborhood for proper maps. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 18 | open scoped _root_.Manifold ContDiff |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.CycleClass.Thom.Affine.PresentationImmersion.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.SmoothAffineGlobalCoordinates.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.HolomorphicHomeomorph.Constructions |
| 21 | open OAI.AlgebraicGeometry.CycleClass.Thom.Closed.GraphEmbedding.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Proper.GraphLocalBound.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.GraphBaseRestriction.Constructions |
| 22 | |
| 23 | set_option backward.isDefEq.respectTransparency false |
| 24 | set_option backward.isDefEq.respectTransparency.types false |
| 25 | |
| 26 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsAffine X.left] (g : X ⟶ Y) |
| 27 | {n : ℕ} (f : MvPolynomial (Fin n) ℂ →ₐ[ℂ] Γ(X.left, ⊤)) |
| 28 | |
| 29 | def globalGraphCoordinates (x : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) : Fin n → ℂ := |
| 30 | PresentationImmersion.Constructions.presentationCoordinates f (ComplexPoints.Analytic.AffineSchemePointTopology.affineNativePointHomeomorph X x) |
| 31 | |
| 32 | def globalGraph (x : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y × (Fin n → ℂ) := |
| 33 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map g x, globalGraphCoordinates f x) |
| 34 | |
| 35 | theorem globalGraphCoordinates_continuous : Continuous (globalGraphCoordinates f) := |
| 36 | (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.continuous_coordinates (fun j => f (MvPolynomial.X j))).comp |
| 37 | (ComplexPoints.Analytic.AffineSchemePointTopology.affineNativePointHomeomorph X).continuous |
| 38 | |
| 39 | theorem globalGraphCoordinates_closedEmbedding (hf : Function.Surjective f) : |
| 40 | Topology.IsClosedEmbedding (globalGraphCoordinates f) := |
| 41 | (PresentationImmersion.Constructions.presentationCoordinates_closedEmbedding f hf).comp (ComplexPoints.Analytic.AffineSchemePointTopology.affineNativePointHomeomorph X).isClosedEmbedding |
| 42 | |
| 43 | theorem globalGraph_closedEmbedding [T2Space (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)] (hf : Function.Surjective f) : |
| 44 | Topology.IsClosedEmbedding (globalGraph g f) := |
| 45 | Closed.GraphEmbedding.Constructions.graph_closedEmbedding (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map g) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.continuous_map g) |
| 46 | (globalGraphCoordinates f) (globalGraphCoordinates_closedEmbedding f hf) |
| 47 | |
| 48 | theorem globalGraph_localBound [WeaklyLocallyCompactSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)] |
| 49 | (hg : IsProperMap (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map g)) (x : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y) : |
| 50 | ∃ (U : Opens (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)) (K : Set (Fin n → ℂ)), |
| 51 | x ∈ U ∧ IsCompact K ∧ ∀ y, ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map g y ∈ U → globalGraphCoordinates f y ∈ K := |
| 52 | Proper.GraphLocalBound.Constructions.exists_local_compact_bound (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map g) hg (globalGraphCoordinates f) |
| 53 | (globalGraphCoordinates_continuous f) x |
| 54 | |
| 55 | variable [IsIntegral X.left] [Smooth X.hom] |
| 56 | |
| 57 | local notation "ModelX" => Fin (OAI.AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) → ℂ |
| 58 | |
| 59 | theorem globalGraphCoordinates_analytic : |
| 60 | ContMDiff 𝓘(ℂ, ModelX) 𝓘(ℂ, Fin n → ℂ) ω (globalGraphCoordinates f) := |
| 61 | (PresentationImmersion.Constructions.presentationCoordinates_analytic f ω).comp (SmoothAffineGlobalCoordinates.Constructions.affineNativePointHomeomorph_analytic X) |
| 62 | |
| 63 | theorem globalGraphCoordinates_differential_injective (hf : Function.Surjective f) |
| 64 | (x : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) : |
| 65 | Function.Injective (mfderiv 𝓘(ℂ, ModelX) 𝓘(ℂ, Fin n → ℂ) (globalGraphCoordinates f) x) := by |
| 66 | change Function.Injective (mfderiv _ _ (PresentationImmersion.Constructions.presentationCoordinates f ∘ ComplexPoints.Analytic.AffineSchemePointTopology.affineNativePointHomeomorph X) x) |
| 67 | rw [mfderiv_comp x ((PresentationImmersion.Constructions.presentationCoordinates_analytic f ω).mdifferentiable (by simp) _) |
| 68 | ((SmoothAffineGlobalCoordinates.Constructions.affineNativePointHomeomorph_analytic X).mdifferentiable (by simp) x)] |
| 69 | exact (PresentationImmersion.Constructions.presentationCoordinates_differential_injective f hf _).comp |
| 70 | (HolomorphicHomeomorph.Constructions.homeomorph_mfderiv_bijective (ComplexPoints.Analytic.AffineSchemePointTopology.affineNativePointHomeomorph X) |
| 71 | ((SmoothAffineGlobalCoordinates.Constructions.affineNativePointHomeomorph_analytic X).mdifferentiable (by simp)) |
| 72 | ((SmoothAffineGlobalCoordinates.Constructions.affineNativePointHomeomorph_symm_analytic X).mdifferentiable (by simp)) x).injective |
| 73 | |
| 74 | variable [IsIntegral Y.left] [Smooth Y.hom] |
| 75 | local notation "ModelY" => Fin (OAI.AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension Y.hom) → ℂ |
| 76 | |
| 77 | local instance (priority := low) : ChartedSpace (ModelY × (Fin n → ℂ)) |
| 78 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y × (Fin n → ℂ)) := |
| 79 | prodChartedSpace ModelY (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y) (Fin n → ℂ) (Fin n → ℂ) |
| 80 | |
| 81 | theorem globalGraph_analytic : |
| 82 | ContMDiff 𝓘(ℂ, ModelX) 𝓘(ℂ, ModelY × (Fin n → ℂ)) ω (globalGraph g f) := by |
| 83 | rw [modelWithCornersSelf_prod] |
| 84 | exact (ComplexPoints.Analytic.IntrinsicSmoothSchemeMaps.contMDiff_nativeScheme_map g ω).prodMk (globalGraphCoordinates_analytic f) |
| 85 | |
| 86 | theorem globalGraph_differential_injective (hf : Function.Surjective f) (x : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) : |
| 87 | Function.Injective (mfderiv 𝓘(ℂ, ModelX) 𝓘(ℂ, ModelY × (Fin n → ℂ)) (globalGraph g f) x) := by |
| 88 | change Function.Injective (mfderiv _ _ (fun y => (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map g y, globalGraphCoordinates f y)) x) |
| 89 | rw [modelWithCornersSelf_prod, |
| 90 | mfderiv_prodMk ((ComplexPoints.Analytic.IntrinsicSmoothSchemeMaps.contMDiff_nativeScheme_map g ω).mdifferentiable (by simp) x) |
| 91 | ((globalGraphCoordinates_analytic f).mdifferentiable (by simp) x)] |
| 92 | intro a b hab |
| 93 | exact globalGraphCoordinates_differential_injective f hf x (congrArg Prod.snd hab) |
| 94 | |
| 95 | end AlgebraicGeometry.CycleClass.Thom.Affine.SchemeGraphAnalytic.Constructions |
| 96 | |
| 97 | namespace AlgebraicGeometry.CycleClass.Thom.Affine.SchemeGraphAnalytic.Constructions.IntrinsicAmbient |
| 98 | |
| 99 | /-! The algebraic polynomial graph ambient is holomorphically the product of its actual native affine base with complex coordinate space, with the original base projection retained. -/ |
| 100 | |
| 101 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 102 | open scoped TensorProduct _root_.Manifold ContDiff |
| 103 | |
| 104 | open OAI.AlgebraicGeometry.CycleClass.Thom.AffineGraphAmbient.Constructions.Scheme OAI.AlgebraicGeometry.CycleClass.Thom.SmoothAffineGlobalCoordinates.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SchemeGraph.Constructions |
| 105 | open OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SchemeGraphAnalytic.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Affine.PresentationImmersion.Constructions |
| 106 | |
| 107 | set_option backward.isDefEq.respectTransparency false |
| 108 | set_option backward.isDefEq.respectTransparency.types false |
| 109 | |
| 110 | variable (Y : Over Foundations.Scheme.ProjectiveSpace.complexBase) [IsAffine Y.left] (n : ℕ) |
| 111 | |
| 112 | def nativeGraphHomeomorph : |
| 113 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ (Γ(Y.left, ⊤) ⊗[ℂ] MvPolynomial (Fin n) ℂ)) ≃ₜ |
| 114 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y × (Fin n → ℂ)) := |
| 115 | (AffineGraphAmbient.Constructions.Scheme.schemeGraphHomeomorph Γ(Y.left, ⊤) n).trans |
| 116 | ((ComplexPoints.Analytic.AffineSchemePointTopology.affineNativePointHomeomorph Y).symm.prodCongr (Homeomorph.refl (Fin n → ℂ))) |
| 117 | |
| 118 | theorem nativeGraphHomeomorph_graph {X : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsAffine X.left] |
| 119 | (g : X ⟶ Y) (f : MvPolynomial (Fin n) ℂ →ₐ[ℂ] Γ(X.left, ⊤)) (x : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) : |
| 120 | nativeGraphHomeomorph Y n (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (SchemeGraph.Constructions.globalGraphSchemeMap g f) x) = globalGraph g f x := by |
| 121 | change ((ComplexPoints.Analytic.AffineSchemePointTopology.affineNativePointHomeomorph Y).symm |
| 122 | (AffineGraphAmbient.Constructions.Scheme.schemeGraphHomeomorph Γ(Y.left, ⊤) n (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (SchemeGraph.Constructions.globalGraphSchemeMap g f) x)).1, |
| 123 | (AffineGraphAmbient.Constructions.Scheme.schemeGraphHomeomorph Γ(Y.left, ⊤) n (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (SchemeGraph.Constructions.globalGraphSchemeMap g f) x)).2) = _ |
| 124 | rw [SchemeGraph.Constructions.globalGraphSchemeMap_point] |
| 125 | simp only [Homeomorph.symm_apply_apply] |
| 126 | rfl |
| 127 | |
| 128 | variable [IsIntegral Y.left] [Smooth Y.hom] |
| 129 | |
| 130 | abbrev affineBaseModel := Fin (Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ Γ(Y.left, ⊤)) → ℂ |
| 131 | abbrev nativeGraphModel := Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension |
| 132 | (Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ (Γ(Y.left, ⊤) ⊗[ℂ] MvPolynomial (Fin n) ℂ)).hom) → ℂ |
| 133 | |
| 134 | local notation "MY" => Fin (OAI.AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension Y.hom) → ℂ |
| 135 | |
| 136 | local instance (priority := low) : ChartedSpace (affineBaseModel Y × (Fin n → ℂ)) |
| 137 | (Foundations.Scheme.AffineComplexPoints.affineComplexPoints Γ(Y.left, ⊤) × (Fin n → ℂ)) := |
| 138 | prodChartedSpace (affineBaseModel Y) (Foundations.Scheme.AffineComplexPoints.affineComplexPoints Γ(Y.left, ⊤)) (Fin n → ℂ) (Fin n → ℂ) |
| 139 | local instance (priority := low) : ChartedSpace (MY × (Fin n → ℂ)) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y × (Fin n → ℂ)) := |
| 140 | prodChartedSpace MY (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y) (Fin n → ℂ) (Fin n → ℂ) |
| 141 | |
| 142 | theorem nativeGraphHomeomorph_analytic : |
| 143 | ContMDiff 𝓘(ℂ, nativeGraphModel Y n) 𝓘(ℂ, MY × (Fin n → ℂ)) ω (nativeGraphHomeomorph Y n) := by |
| 144 | have hp : ContMDiff 𝓘(ℂ, affineBaseModel Y × (Fin n → ℂ)) 𝓘(ℂ, MY × (Fin n → ℂ)) ω |
| 145 | ((ComplexPoints.Analytic.AffineSchemePointTopology.affineNativePointHomeomorph Y).symm.prodCongr (Homeomorph.refl (Fin n → ℂ))) := by |
| 146 | simp only [modelWithCornersSelf_prod] |
| 147 | exact (SmoothAffineGlobalCoordinates.Constructions.affineNativePointHomeomorph_symm_analytic Y).prodMap |
| 148 | (show ContMDiff 𝓘(ℂ, Fin n → ℂ) 𝓘(ℂ, Fin n → ℂ) ω id from contMDiff_id) |
| 149 | exact hp.comp (AffineGraphAmbient.Constructions.Scheme.schemeGraphHomeomorph_analytic Γ(Y.left, ⊤) n) |
| 150 | |
| 151 | theorem nativeGraphHomeomorph_symm_analytic : |
| 152 | ContMDiff 𝓘(ℂ, MY × (Fin n → ℂ)) 𝓘(ℂ, nativeGraphModel Y n) ω (nativeGraphHomeomorph Y n).symm := by |
| 153 | have hp : ContMDiff 𝓘(ℂ, MY × (Fin n → ℂ)) 𝓘(ℂ, affineBaseModel Y × (Fin n → ℂ)) ω |
| 154 | ((ComplexPoints.Analytic.AffineSchemePointTopology.affineNativePointHomeomorph Y).prodCongr (Homeomorph.refl (Fin n → ℂ))) := by |
| 155 | simp only [modelWithCornersSelf_prod] |
| 156 | exact (SmoothAffineGlobalCoordinates.Constructions.affineNativePointHomeomorph_analytic Y).prodMap |
| 157 | (show ContMDiff 𝓘(ℂ, Fin n → ℂ) 𝓘(ℂ, Fin n → ℂ) ω id from contMDiff_id) |
| 158 | exact (AffineGraphAmbient.Constructions.Scheme.schemeGraphHomeomorph_symm_analytic Γ(Y.left, ⊤) n).comp hp |
| 159 | |
| 160 | theorem nativeGraphHomeomorph_dimension (y : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y) : |
| 161 | Betti.AffineDimension.Realization.functionFieldDifferentialDimension |
| 162 | (Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ (Γ(Y.left, ⊤) ⊗[ℂ] MvPolynomial (Fin n) ℂ)).hom = |
| 163 | Betti.AffineDimension.Realization.functionFieldDifferentialDimension Y.hom + n := |
| 164 | (AffineGraphAmbient.Constructions.Scheme.schemeGraphHomeomorph_dimension Γ(Y.left, ⊤) n (ComplexPoints.Analytic.AffineSchemePointTopology.affineNativePointHomeomorph Y y)).trans |
| 165 | (congrArg (fun k => k + n) (SmoothAffineGlobalCoordinates.Constructions.affineNative_modelDimension Y y).symm) |
| 166 | |
| 167 | end AlgebraicGeometry.CycleClass.Thom.Affine.SchemeGraphAnalytic.Constructions.IntrinsicAmbient |
| 168 | |
| 169 | end |
| 170 | |
| 171 | end OAI |