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.Affine.OverChartPoints |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Over.IsoMorphismProperty |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.Finite |
| 4 | import Mathlib.LinearAlgebra.FreeModule.Finite.Matrix |
| 5 | |
| 6 | /-! # Parameter Field Points -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.ParameterFieldPoints |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A finite parameter over a field has finitely many points valued in any fixed extension field. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {K F : Type u} [Field K] [Field F] [Algebra K F] |
| 19 | |
| 20 | theorem finiteParameter_fieldPoints (M : Over (Spec (.of K))) [IsFinite M.hom] : |
| 21 | Finite (((algSpec (.of K)).obj (Opposite.op (CommAlgCat.of K F))) ⟶ M) := by |
| 22 | have : IsAffine M.left := isAffine_of_isAffineHom M.hom |
| 23 | let R := Affine.OverChartPoints.affineOverAlgebra K M |
| 24 | have hR : IsFinite (Spec.map (CommRingCat.ofHom (algebraMap K R))) := |
| 25 | (HilbertConstruction.Over.IsoMorphismProperty.overIso_morphismProperty_iff (@IsFinite) (Affine.OverChartPoints.affineOverIso K M)).mp inferInstance |
| 26 | have : Module.Finite K R := (IsFinite.SpecMap_iff _).mp hR |
| 27 | let e : (((algSpec (.of K)).obj (Opposite.op (CommAlgCat.of K F))) ⟶ M) ≃ |
| 28 | (R ⟶ CommAlgCat.of K F) := |
| 29 | ((Iso.refl _).homCongr (Affine.OverChartPoints.affineOverIso K M)).trans |
| 30 | ((algSpec.fullyFaithful (R := CommRingCat.of K)).homEquiv.symm.trans (opEquiv _ _)) |
| 31 | have : Finite (R ⟶ CommAlgCat.of K F) := |
| 32 | Finite.of_injective (fun f : R ⟶ CommAlgCat.of K F => f.hom) (fun _ _ h => CommAlgCat.hom_ext h) |
| 33 | exact Finite.of_equiv _ e.symm |
| 34 | |
| 35 | end |
| 36 | |
| 37 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.ParameterFieldPoints |