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.Finite.AlgebraPointRank |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.FieldPointCoordinates |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.Etale |
| 4 | |
| 5 | /-! # Field Point Rank Criterion -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.FieldPointRankCriterion |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A finite scheme over a field is etale when its number of rational points equals its finite rank. Both quantities refer to the actual scheme and its canonical coordinate algebra. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | universe u |
| 14 | |
| 15 | theorem finiteFieldScheme_etale_of_point_card_eq |
| 16 | {K : Type u} [Field K] (M : Over (Spec (.of K))) [IsFinite M.hom] (x : Spec (.of K)) |
| 17 | (hcard : Nat.card (Over.mk (𝟙 (Spec (.of K))) ⟶ M) = M.hom.finrank x) : Etale M.hom := by |
| 18 | have : IsAffine M.left := isAffine_of_isAffineHom M.hom |
| 19 | let B := Affine.OverChartPoints.affineOverAlgebra K M |
| 20 | have : Module.Finite K B := Affine.FieldPointCoordinates.finiteAffineField_coordinateAlgebra_finite K M |
| 21 | have hc : Nat.card (B →ₐ[K] K) = Module.finrank K B := |
| 22 | (Nat.card_congr (Affine.FieldPointCoordinates.affineFieldPointCoordinates K M)).symm.trans |
| 23 | (hcard.trans (Affine.FieldPointCoordinates.finiteAffineField_finrank K M x)) |
| 24 | have hB : Algebra.Etale K B := AlgebraPointRank.finiteAlgebra_etale_of_point_card_eq K B hc |
| 25 | have hE : Etale (Spec.map (CommRingCat.ofHom (algebraMap K B))) := |
| 26 | HasRingHomProperty.Spec_iff.mpr (RingHom.etale_algebraMap.mpr hB) |
| 27 | exact (HilbertConstruction.Over.IsoMorphismProperty.overIso_morphismProperty_iff (@Etale) (Affine.OverChartPoints.affineOverIso K M)).mpr hE |
| 28 | |
| 29 | end |
| 30 | |
| 31 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.FieldPointRankCriterion |