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.AbelianScheme.FrobeniusKernel.GeometricIsogeny |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.Scheme |
| 3 | import Mathlib.Topology.Connected.TotallyDisconnected |
| 4 | |
| 5 | /-! # Finite Target Rigidity -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.FiniteTargetRigidity.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | Maps from a connected reduced geometric scheme to a finite scheme are |
| 13 | determined by one point. This retains nonreduced finite targets and is the |
| 14 | rigidity calculation needed when comparing maps through finite kernels. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | open scoped _root_.CategoryTheory.MonObj |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable {K : Type u} [Field K] [IsAlgClosed K] |
| 23 | |
| 24 | omit [IsAlgClosed K] in |
| 25 | theorem finiteOverField_discrete {Y : Scheme.{u}} (p : Y ⟶ Spec (.of K)) [IsFinite p] : |
| 26 | DiscreteTopology Y := by |
| 27 | have h := p.isDiscrete_preimage_singleton (IsLocalRing.closedPoint K) |
| 28 | have he : p ⁻¹' {IsLocalRing.closedPoint K} = Set.univ := by |
| 29 | ext x |
| 30 | simp only [Set.mem_preimage, Set.mem_univ, iff_true] |
| 31 | exact Subsingleton.elim _ _ |
| 32 | exact isDiscrete_univ_iff.mp ((congrArg IsDiscrete he).mp h) |
| 33 | |
| 34 | /-- Reducedness of the source, rather than reducedness of the finite |
| 35 | target, upgrades equality of underlying point maps to scheme equality. -/ |
| 36 | theorem finiteTargetHom_ext {X Y : Over (Spec (.of K))} |
| 37 | [IsReduced X.left] [LocallyOfFiniteType X.hom] [PreconnectedSpace X.left] |
| 38 | [IsFinite Y.hom] (a b : X ⟶ Y) (x₀ : X.left) (h₀ : a.left x₀ = b.left x₀) : a = b := by |
| 39 | have : DiscreteTopology Y.left := finiteOverField_discrete Y.hom |
| 40 | have : LocallyOfFiniteType (a.left ≫ Y.hom) := (congrArg LocallyOfFiniteType a.w).mpr inferInstance |
| 41 | apply Over.OverMorphism.ext |
| 42 | apply ext_of_apply_eq Y.hom Set.univ isOpen_univ.isLocallyClosed dense_univ |
| 43 | · intro x _ _ |
| 44 | exact (PreconnectedSpace.constant (inferInstanceAs (PreconnectedSpace X.left)) |
| 45 | a.left.continuous (x := x) (y := x₀)).trans |
| 46 | (h₀.trans (PreconnectedSpace.constant (inferInstanceAs (PreconnectedSpace X.left)) |
| 47 | b.left.continuous (x := x) (y := x₀)).symm) |
| 48 | · exact a.w.trans b.w.symm |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.FiniteTargetRigidity.Construction |