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 Mathlib.AlgebraicGeometry.Geometrically.Integral |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.SchemeTheoreticallyDominant |
| 3 | import Mathlib.AlgebraicGeometry.Restrict |
| 4 | |
| 5 | /-! # Geometric Dense -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.GeometricDense |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Geometric integrality extends from a dense quasi-compact open in an |
| 12 | integral scheme. Flat base change preserves the schematically dense open. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | namespace Construction.GeometricDenseOpen |
| 21 | |
| 22 | theorem integral_of_schematicallyDominant {X Y : Scheme.{u}} (f : X ⟶ Y) |
| 23 | [IsSchemeTheoreticallyDominant f] [QuasiCompact f] [IsIntegral X] : IsIntegral Y := by |
| 24 | have : IsReduced Y := IsSchemeTheoreticallyDominant.isReduced f |
| 25 | have : IrreducibleSpace Y := by |
| 26 | apply (irreducibleSpace_def Y).mpr |
| 27 | have h := (IrreducibleSpace.isIrreducible_univ X).image f f.continuous.continuousOn |
| 28 | rw [Set.image_univ] at h |
| 29 | have hc := h.closure |
| 30 | rw [f.denseRange.closure_range] at hc |
| 31 | exact hc |
| 32 | exact isIntegral_of_irreducibleSpace_of_isReduced Y |
| 33 | |
| 34 | variable {K : Type u} [Field K] {X : Scheme.{u}} [IsIntegral X] |
| 35 | variable (f : X ⟶ Spec (.of K)) (U : X.Opens) [Nonempty U] [QuasiCompact U.ι] |
| 36 | variable [GeometricallyIntegral (U.ι ≫ f)] |
| 37 | |
| 38 | include U |
| 39 | |
| 40 | theorem geometricallyIntegral : GeometricallyIntegral f := by |
| 41 | have : IsDominant U.ι := ⟨U.ι.isOpenMap.denseRange_of_isPreirreducibleSpace U.ι⟩ |
| 42 | have : IsSchemeTheoreticallyDominant U.ι := IsSchemeTheoreticallyDominant.of_isDominant U.ι |
| 43 | constructor |
| 44 | intro L _ t Y p q h |
| 45 | have : Flat t := inferInstance |
| 46 | have : Flat p := MorphismProperty.of_isPullback h.flip ‹Flat t› |
| 47 | let V := p ⁻¹ᵁ U |
| 48 | let H := isPullback_morphismRestrict p U |
| 49 | have : IsIntegral V.toScheme := |
| 50 | GeometricallyIntegral.geometrically_isIntegral t (p ∣_ U) (V.ι ≫ q) (H.paste_vert h) |
| 51 | have : IsSchemeTheoreticallyDominant V.ι := IsSchemeTheoreticallyDominant.of_isPullback H |
| 52 | have : QuasiCompact V.ι := MorphismProperty.of_isPullback H ‹QuasiCompact U.ι› |
| 53 | exact integral_of_schematicallyDominant V.ι |
| 54 | |
| 55 | end Construction.GeometricDenseOpen |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.GeometricDense |