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.NumberTheory.PadicHodge.IntegralComparison.Projective.AlgebraicSmoothCech |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.BettiProduct |
| 3 | import OAI.AlgebraicGeometry.Comparison.Betti.PositiveProjectiveAmbient |
| 4 | |
| 5 | /-! # Cech Betti Equivalence -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.CechBettiEquivalence |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A genuine projective affine cover on which the actual algebraic |
| 12 | Čech-to-Betti product comparison is a linear equivalence. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | |
| 16 | variable (V : AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 17 | |
| 18 | local instance integral : IsIntegral V.toOver.left := V.property |
| 19 | local instance smooth : Smooth V.toOver.hom := V.presentation.smooth |
| 20 | local instance proper : IsProper V.toOver.hom := V.presentation.projective.isProper |
| 21 | |
| 22 | theorem positiveEmbeddingExists : |
| 23 | ∃ (n : ℕ) (i : V.toOver.left ⟶ AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveSpace (n + 1)), |
| 24 | IsClosedImmersion i ∧ i ≫ AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase (n + 1) = V.toOver.hom := |
| 25 | AlgebraicGeometry.Comparison.Betti.PositiveProjectiveAmbient.exists_positive_projective_embedding V.presentation.projective |
| 26 | |
| 27 | def ambientDimension : ℕ := (positiveEmbeddingExists V).choose |
| 28 | |
| 29 | def embedding : V.toOver ⟶ Over.mk (AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase (ambientDimension V + 1)) := |
| 30 | Over.homMk (positiveEmbeddingExists V).choose_spec.choose |
| 31 | (positiveEmbeddingExists V).choose_spec.choose_spec.2 |
| 32 | |
| 33 | instance embedding_closed : IsClosedImmersion (embedding V).left := |
| 34 | (positiveEmbeddingExists V).choose_spec.choose_spec.1 |
| 35 | |
| 36 | def cover : Fin (ambientDimension V + 2) → V.toOver.left.Opens := |
| 37 | fun i => (embedding V).left ⁻¹ᵁ AlgebraicGeometry.Foundations.Scheme.ProjectiveCoordinateCover.projectiveCoordinateOpen (ambientDimension V + 1) i |
| 38 | |
| 39 | theorem cover_affine (i : Fin (ambientDimension V + 2)) : IsAffineOpen (cover V i) := |
| 40 | AlgebraicGeometry.Comparison.Betti.EmbeddedHolomorphicAcyclicity.embeddedProjectiveCoordinateCover_affine |
| 41 | (ambientDimension V + 1) V.toOver (embedding V) i |
| 42 | |
| 43 | theorem cover_covers : ⨆ i, cover V i = ⊤ := |
| 44 | AlgebraicGeometry.Comparison.Betti.EmbeddedHolomorphicAcyclicity.embeddedProjectiveCoordinateCover_covers |
| 45 | (ambientDimension V + 1) V.toOver (embedding V) |
| 46 | |
| 47 | theorem algebraicComparison_bijective (n : ℕ) : |
| 48 | Function.Bijective (Cech.BettiProduct.algebraicComparison V (cover V) (cover_covers V) n) := by |
| 49 | have hq : QuasiIso (AlgebraicSmoothCechProduct.totalMap V.toOver |
| 50 | (IntegralComparison.Smooth.CechAnalyticCoordinates.GlobalComparison.nerve V.toOver (cover V))) := |
| 51 | AlgebraicSmoothCech.native_map_quasiIso V.toOver |
| 52 | (ambientDimension V) (embedding V) |
| 53 | exact (Cech.BettiProduct.smoothComparison V (cover V) (cover_covers V) n).bijective.comp |
| 54 | (ConcreteCategory.bijective_of_isIso (HomologicalComplex.homologyMap |
| 55 | (AlgebraicSmoothCechProduct.totalMap V.toOver |
| 56 | (IntegralComparison.Smooth.CechAnalyticCoordinates.GlobalComparison.nerve V.toOver (cover V))) n)) |
| 57 | |
| 58 | def algebraicEquiv (n : ℕ) : |
| 59 | (RationalDeRham.TotalCup.Cech.total ℂ V.toOver |
| 60 | (IntegralComparison.Smooth.CechAnalyticCoordinates.GlobalComparison.nerve V.toOver (cover V))).homology n ≃ₗ[ℂ] |
| 61 | V.complexCohomology n := |
| 62 | LinearEquiv.ofBijective |
| 63 | (Cech.BettiProduct.algebraicComparison V (cover V) (cover_covers V) n) |
| 64 | (algebraicComparison_bijective V n) |
| 65 | |
| 66 | theorem algebraicEquiv_cup (p q : ℕ) |
| 67 | (a : (RationalDeRham.TotalCup.Cech.total ℂ V.toOver |
| 68 | (IntegralComparison.Smooth.CechAnalyticCoordinates.GlobalComparison.nerve V.toOver (cover V))).homology p) |
| 69 | (b : (RationalDeRham.TotalCup.Cech.total ℂ V.toOver |
| 70 | (IntegralComparison.Smooth.CechAnalyticCoordinates.GlobalComparison.nerve V.toOver (cover V))).homology q) : |
| 71 | algebraicEquiv V (p + q) |
| 72 | (RationalDeRham.CohomologyCup.Cech.cohomologyCup ℂ V.toOver |
| 73 | (IntegralComparison.Smooth.CechAnalyticCoordinates.GlobalComparison.nerve V.toOver (cover V)) p q a b) = |
| 74 | AlgebraicTopology.Products.CupCohomology.singularCohomologyCup (AlgebraicGeometry.Betti.Scheme.schemePointSpace V.toOver) p q |
| 75 | (algebraicEquiv V p a) (algebraicEquiv V q b) := |
| 76 | Cech.BettiProduct.algebraicComparison_cup V (cover V) (cover_covers V) p q a b |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.CechBettiEquivalence |