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.Picard.Homomorphisms.FiniteHopfPresentation |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.Flat |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.ClosedImmersion |
| 4 | |
| 5 | /-! # Hopf Map -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.HopfMap.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Recover native Hopf-coordinate maps from actual group-scheme maps. |
| 12 | Closed embeddings give coordinate surjections; flat covers give injections. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | variable {k : Type u} [Field k] {R B : CommHopfAlgCat k} |
| 18 | (f : (hopfSpec (.of k)).obj (.op R) ⟶ (hopfSpec (.of k)).obj (.op B)) |
| 19 | |
| 20 | def nativeHopfCoordinateMap : B ⟶ R := |
| 21 | ((hopfSpec.fullyFaithful (R := .of k)).preimage f).unop |
| 22 | |
| 23 | theorem nativeHopfCoordinateMap_spec : |
| 24 | (hopfSpec (.of k)).map (nativeHopfCoordinateMap f).op = f := |
| 25 | (hopfSpec.fullyFaithful (R := .of k)).map_preimage f |
| 26 | |
| 27 | theorem nativeHopfCoordinateMap_spec_left : |
| 28 | Spec.map (CommRingCat.ofHom (nativeHopfCoordinateMap f).hom.toAlgHom.toRingHom) = |
| 29 | f.hom.hom.left := |
| 30 | congrArg (fun t => t.hom.hom.left) (nativeHopfCoordinateMap_spec f) |
| 31 | |
| 32 | theorem nativeHopfCoordinateMap_surjective [IsClosedImmersion f.hom.hom.left] : |
| 33 | Function.Surjective (nativeHopfCoordinateMap f).hom := by |
| 34 | have hf : IsClosedImmersion f.hom.hom.left := inferInstance |
| 35 | let a := CommRingCat.ofHom (nativeHopfCoordinateMap f).hom.toAlgHom.toRingHom |
| 36 | have : IsClosedImmersion (Spec.map a) := |
| 37 | (congrArg IsClosedImmersion (nativeHopfCoordinateMap_spec_left f)).mpr hf |
| 38 | have hs := (ConcreteCategory.bijective_of_isIso (Scheme.ΓSpecIso (.of R)).hom).surjective.comp |
| 39 | ((IsClosedImmersion.isAffine_surjective_of_isAffine (Spec.map a)).2.comp |
| 40 | (ConcreteCategory.bijective_of_isIso (Scheme.ΓSpecIso (.of B)).inv).surjective) |
| 41 | change Function.Surjective |
| 42 | ((Scheme.ΓSpecIso (.of B)).inv ≫ (Spec.map a).appTop ≫ (Scheme.ΓSpecIso (.of R)).hom) at hs |
| 43 | simpa [a] using hs |
| 44 | |
| 45 | theorem nativeHopfCoordinateMap_injective [Flat f.hom.hom.left] [Surjective f.hom.hom.left] : |
| 46 | Function.Injective (nativeHopfCoordinateMap f).hom := by |
| 47 | have hf : Flat f.hom.hom.left := inferInstance |
| 48 | have hs : Surjective f.hom.hom.left := inferInstance |
| 49 | let a := CommRingCat.ofHom (nativeHopfCoordinateMap f).hom.toAlgHom.toRingHom |
| 50 | have : Flat (Spec.map a) := (congrArg Flat (nativeHopfCoordinateMap_spec_left f)).mpr hf |
| 51 | have : Surjective (Spec.map a) := (congrArg Surjective (nativeHopfCoordinateMap_spec_left f)).mpr hs |
| 52 | exact ((flat_and_surjective_SpecMap_iff a).mp ⟨inferInstance, inferInstance⟩).injective |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.HopfMap.Construction |