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.ComplexMultiplication.HodgeComparison.ProjectiveGluing |
| 2 | import OAI.AlgebraicGeometry.Albanese.Construction.ProjectiveCover |
| 3 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.IntrinsicSmoothClosedImmersion |
| 4 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveVarietyRealization |
| 5 | |
| 6 | /-! # Projective Scheme -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.ProjectiveScheme.CM.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The genuine projective scheme and its smooth projective embedding maps. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.Manifold ContDiff |
| 16 | |
| 17 | /-- The zero homogeneous prime is the generic point of ordinary projective space. -/ |
| 18 | def projectiveGenericPoint (n : ℕ) : Foundations.Scheme.ProjectiveSpace.projectiveSpace n where |
| 19 | asHomogeneousIdeal := ⊥ |
| 20 | isPrime := by |
| 21 | rw [HomogeneousIdeal.toIdeal_bot] |
| 22 | infer_instance |
| 23 | not_irrelevant_le := by |
| 24 | intro h |
| 25 | have hX : MvPolynomial.X (0 : Fin (n + 1)) ∈ HomogeneousIdeal.irrelevant (Foundations.Scheme.ProjectiveSpace.projectiveGrading n) := |
| 26 | HomogeneousIdeal.mem_irrelevant_of_mem (Foundations.Scheme.ProjectiveSpace.projectiveGrading n) (by decide : 0 < 1) |
| 27 | (MvPolynomial.isHomogeneous_X ℂ (0 : Fin (n + 1))) |
| 28 | have hz : MvPolynomial.X (0 : Fin (n + 1)) ∈ (⊥ : Ideal (Foundations.Scheme.ProjectiveSpace.homogeneousCoordinateRing n)) := h hX |
| 29 | exact MvPolynomial.X_ne_zero _ (Ideal.mem_bot.mp hz) |
| 30 | |
| 31 | theorem projectiveGenericPoint_dense (n : ℕ) : |
| 32 | closure ({projectiveGenericPoint n} : Set (Foundations.Scheme.ProjectiveSpace.projectiveSpace n)) = Set.univ := by |
| 33 | apply Set.eq_univ_of_forall |
| 34 | intro x |
| 35 | apply (ProjectiveSpectrum.le_iff_mem_closure (Foundations.Scheme.ProjectiveSpace.projectiveGrading n) (projectiveGenericPoint n) x).mp |
| 36 | change (⊥ : HomogeneousIdeal (Foundations.Scheme.ProjectiveSpace.projectiveGrading n)) ≤ x.asHomogeneousIdeal |
| 37 | exact bot_le |
| 38 | |
| 39 | theorem projectiveScheme_irreducible (n : ℕ) : IrreducibleSpace (Foundations.Scheme.ProjectiveSpace.projectiveSpace n) := by |
| 40 | apply (irreducibleSpace_def _).mpr |
| 41 | change IsIrreducible (Set.univ : Set (Foundations.Scheme.ProjectiveSpace.projectiveSpace n)) |
| 42 | rw [← projectiveGenericPoint_dense n] |
| 43 | exact isIrreducible_singleton.closure |
| 44 | |
| 45 | theorem projectiveScheme_integral (n : ℕ) : IsIntegral (Foundations.Scheme.ProjectiveSpace.projectiveSpace n) := by |
| 46 | have : IrreducibleSpace (Foundations.Scheme.ProjectiveSpace.projectiveSpace n) := projectiveScheme_irreducible n |
| 47 | have : Smooth (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n) := Albanese.Construction.ProjectiveCover.projectiveSpace_smooth n |
| 48 | have : IsReduced (Foundations.Scheme.ProjectiveSpace.projectiveSpace n) := Foundations.Scheme.SmoothProjectiveDecomposition.smoothScheme_isReduced (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n) |
| 49 | exact isIntegral_of_irreducibleSpace_of_isReduced _ |
| 50 | |
| 51 | /-- Standard projective space as the existing genuine variety bundle. -/ |
| 52 | def projectiveSpaceVariety (n : ℕ) : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety := |
| 53 | Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety.ofClosedImmersion (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n) n (𝟙 _) |
| 54 | inferInstance (Category.id_comp _) (Albanese.Construction.ProjectiveCover.projectiveSpace_smooth n) (projectiveScheme_integral n) |
| 55 | |
| 56 | def projectiveEmbeddingMap (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) : |
| 57 | V.toOver ⟶ (projectiveSpaceVariety V.ambientDimension).toOver := |
| 58 | V.presentation.projective.toOverHom |
| 59 | |
| 60 | theorem projectiveEmbeddingMap_holomorphic (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) : |
| 61 | ContMDiff 𝓘(ℂ, V.analyticModel) |
| 62 | 𝓘(ℂ, (projectiveSpaceVariety V.ambientDimension).analyticModel) ∞ |
| 63 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (projectiveEmbeddingMap V)) := by |
| 64 | have : IsIntegral V.toOver.left := V.property |
| 65 | have : Smooth V.toOver.hom := V.presentation.smooth |
| 66 | have : IsIntegral (projectiveSpaceVariety V.ambientDimension).toOver.left := |
| 67 | (projectiveSpaceVariety V.ambientDimension).property |
| 68 | have : Smooth (projectiveSpaceVariety V.ambientDimension).toOver.hom := |
| 69 | (projectiveSpaceVariety V.ambientDimension).presentation.smooth |
| 70 | exact ComplexPoints.Analytic.IntrinsicSmoothSchemeMaps.contMDiff_nativeScheme_map (projectiveEmbeddingMap V) ∞ |
| 71 | |
| 72 | theorem projectiveEmbeddingMap_injective_differential (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 73 | (x : V.analyticSpace) : |
| 74 | Function.Injective (mfderiv 𝓘(ℂ, V.analyticModel) |
| 75 | 𝓘(ℂ, (projectiveSpaceVariety V.ambientDimension).analyticModel) |
| 76 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (projectiveEmbeddingMap V)) x) := by |
| 77 | have : IsIntegral V.toOver.left := V.property |
| 78 | have : Smooth V.toOver.hom := V.presentation.smooth |
| 79 | have : IsIntegral (projectiveSpaceVariety V.ambientDimension).toOver.left := |
| 80 | (projectiveSpaceVariety V.ambientDimension).property |
| 81 | have : Smooth (projectiveSpaceVariety V.ambientDimension).toOver.hom := |
| 82 | (projectiveSpaceVariety V.ambientDimension).presentation.smooth |
| 83 | have : IsClosedImmersion (projectiveEmbeddingMap V).left := V.presentation.projective.closedImmersion |
| 84 | exact ComplexPoints.Analytic.IntrinsicSmoothClosedImmersion.mfderiv_nativeScheme_closedImmersion_injective (projectiveEmbeddingMap V) x |
| 85 | |
| 86 | def projectiveEmbeddingCoordinates (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) : |
| 87 | V.analyticSpace → Projectivization ℂ (Fin (V.ambientDimension + 1) → ℂ) := |
| 88 | (ComplexPoints.Analytic.ProjectiveScheme.projectiveSchemePointHomeomorph V.ambientDimension).symm ∘ |
| 89 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (projectiveEmbeddingMap V) |
| 90 | |
| 91 | theorem projectiveEmbeddingCoordinates_continuous (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) : |
| 92 | Continuous (projectiveEmbeddingCoordinates V) := |
| 93 | (ComplexPoints.Analytic.ProjectiveScheme.projectiveSchemePointHomeomorph V.ambientDimension).symm.continuous.comp |
| 94 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.continuous_map (projectiveEmbeddingMap V)) |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.ProjectiveScheme.CM.Construction |