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.ArithmeticGeometry.Descent.CMVariety.ClosedFiberAffine |
| 2 | import OAI.ArithmeticGeometry.Descent.CMVariety.QuotientFiberCharts |
| 3 | import OAI.ArithmeticGeometry.Descent.CMVariety.AnalyticIntrinsicCharts |
| 4 | |
| 5 | /-! # Smooth Scheme Fiber Charts -/ |
| 6 | |
| 7 | namespace OAI.ArithmeticGeometry.Descent.CMVariety.SmoothSchemeFiberCharts.Abelian.FamilyPoints |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | Construct differentiable charts on literal smooth integral scheme fibers |
| 13 | from the actual relative affine product chart. The coordinate quotient, |
| 14 | its surjectivity, its point image, and native manifold compatibility are |
| 15 | all supplied by the preceding actual-scheme constructions. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry Set |
| 19 | open scoped Classical ContDiff _root_.Manifold |
| 20 | |
| 21 | variable {X S : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase} {E F : Type} |
| 22 | [NormedAddCommGroup E] [NormedSpace ℂ E] [NormedSpace ℝ E] [IsScalarTower ℝ ℂ E] |
| 23 | [NormedAddCommGroup F] [NormedSpace ℂ F] |
| 24 | |
| 25 | theorem exists_differentiable_schemeFiber_chart |
| 26 | (p : X ⟶ S) (s : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints S) |
| 27 | [IsIntegral (AbelianFamilyPoints.FamilyPoints.fiber p s).left] [Smooth (AbelianFamilyPoints.FamilyPoints.fiber p s).hom] |
| 28 | (V : X.left.Opens) (hV : IsAffineOpen V) |
| 29 | {R : Type} [CommRing R] [Algebra ℂ R] |
| 30 | [Algebra R (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X V)] |
| 31 | [IsScalarTower ℂ R (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X V)] |
| 32 | (b : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ R ⟶ S) [IsOpenImmersion b.left] |
| 33 | (hi : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenSchemeMap X V hV ≫ p = |
| 34 | AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ R (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X V) |
| 35 | (IsScalarTower.toAlgHom ℂ R (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X V)) ≫ b) |
| 36 | (y₀ : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints (ClosedFiberAffine.Abelian.FamilyPoints.fiberAffineAlgebra p s V)) |
| 37 | (C : SmoothRelativeNeighborhoods.Abelian.RelativeCharts.CompatibleRelativeCharts (R := R) |
| 38 | (y₀.comp (AlgebraicGeometry.ComplexPoints.Analytic.IntrinsicSmoothClosedImmersion.nativeAffineOpenPullback (AbelianFamilyPoints.FamilyPoints.fiberInclusion p s) V)) (Prod.fst : F × E → F)) |
| 39 | (hforward : RegularRelativeCharts.Abelian.RelativeCharts.HasAnalyticCoordinates C.total) : |
| 40 | ∃ c : OpenPartialHomeomorph (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (AbelianFamilyPoints.FamilyPoints.fiber p s)) E, |
| 41 | AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenPointMap (AbelianFamilyPoints.FamilyPoints.fiber p s) |
| 42 | ((AbelianFamilyPoints.FamilyPoints.fiberInclusion p s).left ⁻¹ᵁ V) (hV.preimage (AbelianFamilyPoints.FamilyPoints.fiberInclusion p s).left) y₀ ∈ c.source ∧ |
| 43 | (∀ z ∈ c.source, c z = |
| 44 | (AnalyticSchemeFamilies.Abelian.RelativeCharts.nativeAffineChart (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X V) |
| 45 | (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenSchemeMap X V hV) C.total |
| 46 | (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (AbelianFamilyPoints.FamilyPoints.fiberInclusion p s) z)).2) ∧ |
| 47 | c.MDifferentiable |
| 48 | (𝓘(ℝ, Fin (AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension (AbelianFamilyPoints.FamilyPoints.fiber p s).hom) → ℂ)) |
| 49 | (𝓘(ℝ, E)) ∧ |
| 50 | c.source = (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (AbelianFamilyPoints.FamilyPoints.fiberInclusion p s)) ⁻¹' |
| 51 | (AnalyticSchemeFamilies.Abelian.RelativeCharts.nativeAffineChart (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X V) |
| 52 | (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenSchemeMap X V hV) C.total).source ∧ |
| 53 | c.target = {v | (C.base ((y₀.comp (AlgebraicGeometry.ComplexPoints.Analytic.IntrinsicSmoothClosedImmersion.nativeAffineOpenPullback (AbelianFamilyPoints.FamilyPoints.fiberInclusion p s) V)).comp |
| 54 | (IsScalarTower.toAlgHom ℂ R (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X V))), v) ∈ |
| 55 | C.total.target} ∧ |
| 56 | (∀ v ∈ c.target, AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (AbelianFamilyPoints.FamilyPoints.fiberInclusion p s) (c.symm v) = |
| 57 | (AnalyticSchemeFamilies.Abelian.RelativeCharts.nativeAffineChart (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X V) |
| 58 | (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenSchemeMap X V hV) C.total).symm |
| 59 | (C.base ((y₀.comp (AlgebraicGeometry.ComplexPoints.Analytic.IntrinsicSmoothClosedImmersion.nativeAffineOpenPullback (AbelianFamilyPoints.FamilyPoints.fiberInclusion p s) V)).comp |
| 60 | (IsScalarTower.toAlgHom ℂ R (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X V))), v)) ∧ |
| 61 | ContMDiffOn |
| 62 | (𝓘(ℂ, Fin (AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension (AbelianFamilyPoints.FamilyPoints.fiber p s).hom) → ℂ)) |
| 63 | (𝓘(ℂ, E)) ω c c.source ∧ |
| 64 | ContMDiffOn (𝓘(ℂ, E)) |
| 65 | (𝓘(ℂ, Fin (AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension (AbelianFamilyPoints.FamilyPoints.fiber p s).hom) → ℂ)) |
| 66 | ω c.symm c.target := by |
| 67 | let Z := AbelianFamilyPoints.FamilyPoints.fiber p s |
| 68 | let φ := AbelianFamilyPoints.FamilyPoints.fiberInclusion p s |
| 69 | let W := φ.left ⁻¹ᵁ V |
| 70 | have hW : IsAffineOpen W := hV.preimage φ.left |
| 71 | let A := AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X V |
| 72 | let B := ClosedFiberAffine.Abelian.FamilyPoints.fiberAffineAlgebra p s V |
| 73 | let i := AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenSchemeMap X V hV |
| 74 | let j := AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenSchemeMap Z W hW |
| 75 | let h := AlgebraicGeometry.ComplexPoints.Analytic.IntrinsicSmoothClosedImmersion.nativeAffineOpenPullback φ V |
| 76 | have hmem : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenPointMap Z W hW y₀) ∈ W := by |
| 77 | have hm : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenPointMap Z W hW y₀ ∈ |
| 78 | Set.range (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenPointMap Z W hW) := ⟨y₀, rfl⟩ |
| 79 | rw [AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.range_affineOpenPointMap] at hm |
| 80 | exact hm |
| 81 | let : Nonempty W := ⟨⟨_, hmem⟩⟩ |
| 82 | let : IsDomain B := AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra_isDomain Z W |
| 83 | let : Algebra.Smooth ℂ B := AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra_smooth Z W hW |
| 84 | obtain ⟨cB, hcB, hsB, hfB, haB, hiB, htB, hinvB⟩ := QuotientFiberCharts.Abelian.RelativeCharts.exists_analytic_quotient_fiber_chart |
| 85 | h (AlgebraicGeometry.ComplexPoints.Analytic.IntrinsicSmoothClosedImmersion.nativeAffineOpenPullback_surjective φ V hV) y₀ C hforward |
| 86 | (ClosedFiberAffine.Abelian.FamilyPoints.fiberAffinePullback_range_over_base p s V hV b hi y₀) |
| 87 | let c := AnalyticSchemeFamilies.Abelian.RelativeCharts.nativeAffineChart B j cB |
| 88 | have hmd : c.MDifferentiable |
| 89 | (𝓘(ℝ, Fin (AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension Z.hom) → ℂ)) (𝓘(ℝ, E)) := |
| 90 | ⟨(AnalyticIntrinsicCharts.Abelian.RelativeCharts.nativeAffineChart_real_contMDiffOn B j cB haB).mdifferentiableOn (by simp), |
| 91 | (AnalyticIntrinsicCharts.Abelian.RelativeCharts.nativeAffineChart_symm_real_contMDiffOn B j cB hiB).mdifferentiableOn (by simp)⟩ |
| 92 | have hsquare (y : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) : |
| 93 | AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map φ (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap B j y) = |
| 94 | AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i (y.comp h) := |
| 95 | AlgebraicGeometry.ComplexPoints.Analytic.IntrinsicSmoothClosedImmersion.nativeAffineOpenPullback_point_square φ V hV hW y |
| 96 | refine ⟨c, ⟨y₀, hcB, rfl⟩, ?_, hmd, ?_, htB, ?_, |
| 97 | AnalyticIntrinsicCharts.Abelian.RelativeCharts.nativeAffineChart_contMDiffOn B j cB haB, |
| 98 | AnalyticIntrinsicCharts.Abelian.RelativeCharts.nativeAffineChart_symm_contMDiffOn B j cB hiB⟩ |
| 99 | · intro z hz |
| 100 | obtain ⟨y, _, rfl⟩ := hz |
| 101 | change c (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap B j y) = |
| 102 | (AnalyticSchemeFamilies.Abelian.RelativeCharts.nativeAffineChart A i C.total |
| 103 | (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map φ (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap B j y))).2 |
| 104 | rw [hsquare] |
| 105 | change (cB.lift_openEmbedding (AlgebraicGeometry.ComplexPoints.Analytic.SmoothSchemeManifold.isOpenEmbedding_affinePointMap B j)) |
| 106 | (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap B j y) = |
| 107 | ((C.total.lift_openEmbedding (AlgebraicGeometry.ComplexPoints.Analytic.SmoothSchemeManifold.isOpenEmbedding_affinePointMap A i)) |
| 108 | (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i (y.comp h))).2 |
| 109 | rw [OpenPartialHomeomorph.lift_openEmbedding_apply, OpenPartialHomeomorph.lift_openEmbedding_apply] |
| 110 | exact hfB y |
| 111 | · ext z |
| 112 | constructor |
| 113 | · rintro ⟨y, hy, rfl⟩ |
| 114 | rw [hsB] at hy |
| 115 | exact ⟨y.comp h, hy, (hsquare y).symm⟩ |
| 116 | · rintro ⟨x, hx, he⟩ |
| 117 | have hzW : z ∈ Set.range (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenPointMap Z W hW) := by |
| 118 | rw [AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.range_affineOpenPointMap] |
| 119 | have hm : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map φ z ∈ |
| 120 | Set.range (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenPointMap X V hV) := ⟨x, he⟩ |
| 121 | rw [AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.range_affineOpenPointMap] at hm |
| 122 | exact hm |
| 123 | obtain ⟨y, rfl⟩ := hzW |
| 124 | have hxy : y.comp h = x := |
| 125 | (AlgebraicGeometry.ComplexPoints.Analytic.SmoothSchemeManifold.isOpenEmbedding_affinePointMap A i).injective ((hsquare y).symm.trans he.symm) |
| 126 | refine ⟨y, ?_, rfl⟩ |
| 127 | rw [hsB] |
| 128 | change y.comp h ∈ C.total.source |
| 129 | rw [hxy] |
| 130 | exact hx |
| 131 | · intro v hv |
| 132 | change AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map φ (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap B j (cB.symm v)) = |
| 133 | AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i |
| 134 | (C.total.symm (C.base ((y₀.comp h).comp (IsScalarTower.toAlgHom ℂ R A)), v)) |
| 135 | rw [hsquare, hinvB v hv] |
| 136 | |
| 137 | end |
| 138 | |
| 139 | end OAI.ArithmeticGeometry.Descent.CMVariety.SmoothSchemeFiberCharts.Abelian.FamilyPoints |