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.AbelianModuli.HilbertConstruction.ReducedComponentFiniteness |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ContractedAmplePullbacks |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ClosedRationalPoints |
| 4 | |
| 5 | /-! # Contracted Ample Finiteness -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ContractedAmpleFiniteness |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A proper noetherian scheme mapped affinely into a contracted ample pullback has finitely many points, including nonreduced schemes. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {K : Type u} [Field K] [IsAlgClosed K] {X Y Z : Scheme.{u}} |
| 18 | |
| 19 | theorem contracted_ample_noetherian_finite (p : X ⟶ Spec (.of K)) [IsProper p] [IsNoetherian X] |
| 20 | (f : Y ⟶ Z) (u : X ⟶ Y) [IsAffineHom u] |
| 21 | (a : Spec (.of K) ⟶ Z) (h : u ≫ f = p ≫ a) (L : Line.Bundles.LineBundle Z) |
| 22 | (hL : (L.pullback f).IsAmple) : Finite X := by |
| 23 | apply ReducedComponentFiniteness.finite_of_reduced_components_subsingleton X |
| 24 | intro C hC |
| 25 | let C' : TopologicalSpace.Closeds X := ⟨C, isClosed_of_mem_irreducibleComponents C hC⟩ |
| 26 | let W := ReducedClosedSubschemes.reducedClosedSubscheme X C' |
| 27 | let i : W ⟶ X := ReducedClosedSubschemes.reducedClosedInclusion X C' |
| 28 | have : IsClosedImmersion i := ReducedClosedSubschemes.reducedClosedInclusion_isClosedImmersion X C' |
| 29 | have : IsReduced W := ReducedClosedSubschemes.reducedClosedSubscheme_isReduced X C' |
| 30 | have : IrreducibleSpace W := ReducedComponentFiniteness.reducedClosedSubscheme_irreducible X C' hC.1 |
| 31 | have : IsProper (i ≫ p) := inferInstance |
| 32 | obtain ⟨x, hx⟩ := ClosedRationalPoints.nonempty_locallyFiniteType_exists_section (i ≫ p) |
| 33 | have hc : (i ≫ u) ≫ f = (i ≫ p) ≫ a := by rw [Category.assoc, h, Category.assoc] |
| 34 | have : IsIso (i ≫ p) := ContractedAmplePullbacks.contracted_ample_pullback_isIso (i ≫ p) x hx f (i ≫ u) a hc L hL |
| 35 | exact (i ≫ p).isOpenEmbedding.injective.subsingleton |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ContractedAmpleFiniteness |