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.ComplexPoints.Analytic.AffineOpenDifferential |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.HolomorphicHomeomorph |
| 3 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.AffineSchemePointTopology |
| 4 | |
| 5 | /-! # Smooth Affine Global Coordinates -/ |
| 6 | |
| 7 | namespace OAI |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace AlgebraicGeometry.CycleClass.Thom.SmoothAffineGlobalCoordinates.Constructions.Spec |
| 12 | |
| 13 | /-! The canonical correspondence between affine characters and actual scheme points is a holomorphic homeomorphism in the established smooth manifolds. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry OAI.AlgebraicGeometry.ComplexPoints.Analytic.AffineOpenDifferential |
| 16 | open scoped _root_.Manifold ContDiff |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | |
| 21 | open OAI.AlgebraicGeometry.CycleClass.Thom.HolomorphicHomeomorph.Constructions |
| 22 | |
| 23 | variable (A : Type) [CommRing A] [Algebra ℂ A] [Algebra.Smooth ℂ A] |
| 24 | |
| 25 | instance instSmoothAffineSpec_proofs : Smooth (Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A).hom := by |
| 26 | change Smooth (Spec.map (CommRingCat.ofHom (algebraMap ℂ A))) |
| 27 | rw [HasRingHomProperty.Spec_iff (P := @Smooth)] |
| 28 | exact RingHom.smooth_algebraMap.mpr inferInstance |
| 29 | |
| 30 | variable [IsDomain A] |
| 31 | |
| 32 | instance instIsIntegralAffineSpec_proofs : IsIntegral (Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A).left := |
| 33 | inferInstanceAs (IsIntegral (Spec (CommRingCat.of A))) |
| 34 | |
| 35 | local notation "ModelA" => Fin (OAI.AlgebraicGeometry.Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ A) → ℂ |
| 36 | local notation "ModelX" => Fin (OAI.AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension (Over.hom (OAI.AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A))) → ℂ |
| 37 | |
| 38 | omit [Algebra.Smooth ℂ A] [IsDomain A] in |
| 39 | theorem affineIdentityPointMap : |
| 40 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap (CommAlgCat.of ℂ A) (𝟙 (Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A)) = |
| 41 | (ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointHomeomorph A : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A → _) := by |
| 42 | funext x |
| 43 | exact Category.comp_id _ |
| 44 | |
| 45 | theorem affineSchemePointHomeomorph_analytic : |
| 46 | ContMDiff 𝓘(ℂ, ModelA) 𝓘(ℂ, ModelX) ω (ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointHomeomorph A) := by |
| 47 | rw [← affineIdentityPointMap] |
| 48 | exact ComplexPoints.Analytic.AffineOpenDifferential.contMDiff_affinePointMap (CommAlgCat.of ℂ A) (𝟙 (Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A)) ω |
| 49 | |
| 50 | theorem affineSchemePointHomeomorph_mfderiv_bijective (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) : |
| 51 | Function.Bijective (mfderiv 𝓘(ℂ, ModelA) 𝓘(ℂ, ModelX) (ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointHomeomorph A) x) := by |
| 52 | let : IsOpenImmersion (Over.Hom.left (𝟙 (Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A))) := by |
| 53 | change IsOpenImmersion (𝟙 (Spec (CommRingCat.of A))) |
| 54 | infer_instance |
| 55 | rw [← affineIdentityPointMap] |
| 56 | exact ComplexPoints.Analytic.AffineOpenDifferential.mfderiv_affinePointMap_bijective (CommAlgCat.of ℂ A) (𝟙 (Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A)) x |
| 57 | |
| 58 | theorem affineSchemePointHomeomorph_symm_analytic : |
| 59 | ContMDiff 𝓘(ℂ, ModelX) 𝓘(ℂ, ModelA) ω (ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointHomeomorph A).symm := |
| 60 | HolomorphicHomeomorph.Constructions.homeomorph_symm_analytic (ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointHomeomorph A) |
| 61 | (affineSchemePointHomeomorph_analytic A) (affineSchemePointHomeomorph_mfderiv_bijective A) |
| 62 | |
| 63 | theorem affineScheme_modelDimension (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) : |
| 64 | Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ A = |
| 65 | Betti.AffineDimension.Realization.functionFieldDifferentialDimension (Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A).hom := by |
| 66 | simpa only [Module.finrank_fin_fun] using HolomorphicHomeomorph.Constructions.homeomorph_model_finrank (ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointHomeomorph A) |
| 67 | ((affineSchemePointHomeomorph_analytic A).mdifferentiable (by simp)) |
| 68 | ((affineSchemePointHomeomorph_symm_analytic A).mdifferentiable (by simp)) x |
| 69 | |
| 70 | end AlgebraicGeometry.CycleClass.Thom.SmoothAffineGlobalCoordinates.Constructions.Spec |
| 71 | |
| 72 | namespace AlgebraicGeometry.CycleClass.Thom.SmoothAffineGlobalCoordinates.Constructions |
| 73 | |
| 74 | /-! Canonical global sections give holomorphic affine coordinates on an arbitrary smooth integral affine complex scheme. -/ |
| 75 | |
| 76 | open _root_.CategoryTheory _root_.AlgebraicGeometry OAI.AlgebraicGeometry.ComplexPoints.Analytic.AffineOpenDifferential |
| 77 | open scoped _root_.Manifold ContDiff |
| 78 | |
| 79 | open OAI.AlgebraicGeometry.CycleClass.Thom.SmoothAffineGlobalCoordinates.Constructions.Spec OAI.AlgebraicGeometry.CycleClass.Thom.HolomorphicHomeomorph.Constructions |
| 80 | |
| 81 | set_option backward.isDefEq.respectTransparency false |
| 82 | set_option backward.isDefEq.respectTransparency.types false |
| 83 | |
| 84 | variable (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) [IsAffine X.left] [Smooth X.hom] |
| 85 | |
| 86 | instance instSmoothAffineGamma_proofs : Algebra.Smooth ℂ Γ(X.left, ⊤) := by |
| 87 | rw [← RingHom.smooth_algebraMap] |
| 88 | change (Spec.preimage (X.left.isoSpec.inv ≫ X.hom)).hom.Smooth |
| 89 | apply (HasRingHomProperty.Spec_iff (P := @Smooth)).mp |
| 90 | simpa only [Spec.map_preimage] using |
| 91 | (inferInstance : Smooth (X.left.isoSpec.inv ≫ X.hom)) |
| 92 | |
| 93 | variable [IsIntegral X.left] |
| 94 | |
| 95 | local notation "ModelX" => Fin (OAI.AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) → ℂ |
| 96 | |
| 97 | theorem affineNativePointHomeomorph_analytic : |
| 98 | ContMDiff 𝓘(ℂ, ModelX) 𝓘(ℂ, Fin (Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ Γ(X.left, ⊤)) → ℂ) |
| 99 | ω (ComplexPoints.Analytic.AffineSchemePointTopology.affineNativePointHomeomorph X) := |
| 100 | (Constructions.Spec.affineSchemePointHomeomorph_symm_analytic Γ(X.left, ⊤)).comp |
| 101 | (ComplexPoints.Analytic.IntrinsicSmoothSchemeMaps.contMDiff_nativeScheme_map (Foundations.Scheme.AffineSchemeComplexPoints.affineOverIso X).hom ω) |
| 102 | |
| 103 | theorem affineNativePointHomeomorph_symm_analytic : |
| 104 | ContMDiff 𝓘(ℂ, Fin (Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ Γ(X.left, ⊤)) → ℂ) 𝓘(ℂ, ModelX) |
| 105 | ω (ComplexPoints.Analytic.AffineSchemePointTopology.affineNativePointHomeomorph X).symm := |
| 106 | (ComplexPoints.Analytic.IntrinsicSmoothSchemeMaps.contMDiff_nativeScheme_map (Foundations.Scheme.AffineSchemeComplexPoints.affineOverIso X).inv ω).comp |
| 107 | (Constructions.Spec.affineSchemePointHomeomorph_analytic Γ(X.left, ⊤)) |
| 108 | |
| 109 | theorem affineNative_modelDimension (x : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) : |
| 110 | Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom = |
| 111 | Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ Γ(X.left, ⊤) := by |
| 112 | simpa only [Module.finrank_fin_fun] using HolomorphicHomeomorph.Constructions.homeomorph_model_finrank (ComplexPoints.Analytic.AffineSchemePointTopology.affineNativePointHomeomorph X) |
| 113 | ((affineNativePointHomeomorph_analytic X).mdifferentiable (by simp)) |
| 114 | ((affineNativePointHomeomorph_symm_analytic X).mdifferentiable (by simp)) x |
| 115 | |
| 116 | end AlgebraicGeometry.CycleClass.Thom.SmoothAffineGlobalCoordinates.Constructions |
| 117 | |
| 118 | end |
| 119 | |
| 120 | end OAI |