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.GroupSchemes.FiniteAlgebra |
| 2 | import OAI.AlgebraicGeometry.GroupSchemes.EtaleCyclic |
| 3 | |
| 4 | /-! # Point Specialization -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.GroupSchemes |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Specialization at a prime as an actual group homomorphism to rational points. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite WithConv _root_.CategoryTheory.MonObj |
| 13 | |
| 14 | universe u |
| 15 | variable {k : Type u} [Field k] [IsAlgClosed k] |
| 16 | |
| 17 | /-- Extending rational points to any domain gives an isomorphism of point groups. -/ |
| 18 | def FiniteEtale.FiniteCommGroupScheme.domainPointsEquiv (G : FiniteEtale.FiniteCommGroupScheme k) (S : CommAlgCat.{u} k) [IsDomain S] : |
| 19 | G.rationalPoints ≃* (FiniteEtale.affine k S ⟶ G.scheme) := by |
| 20 | let a : CommAlgCat.of k k ⟶ S := CommAlgCat.ofHom (Algebra.ofId k S) |
| 21 | apply MulEquiv.ofBijective (G.points.map a).hom |
| 22 | constructor |
| 23 | · exact (G.pointMap_injective_iff a).mpr |
| 24 | (FiniteAlgebra.EtaleFinite.scalar_comp_bijective k G.algebra).injective |
| 25 | · intro x |
| 26 | let f : G.algebra →ₐ[k] S := ((G.coordinatePoints S).symm x).ofConv |
| 27 | obtain ⟨g, hg⟩ := (FiniteAlgebra.EtaleFinite.scalar_comp_bijective k G.algebra).surjective f |
| 28 | refine ⟨G.coordinatePoints (CommAlgCat.of k k) (toConv g), ?_⟩ |
| 29 | have hx : G.coordinatePoints S (toConv f) = x := (G.coordinatePoints S).apply_symm_apply x |
| 30 | exact (G.coordinatePoints_precomp a g).symm.trans |
| 31 | ((congrArg (fun b => G.coordinatePoints S (toConv b)) hg).trans hx) |
| 32 | |
| 33 | /-- Specialization at a prime, followed by the unique descent to the base field. -/ |
| 34 | def FiniteEtale.FiniteCommGroupScheme.pointAtPrime (G : FiniteEtale.FiniteCommGroupScheme k) (R : CommAlgCat.{u} k) (P : PrimeSpectrum R) : |
| 35 | (FiniteEtale.affine k R ⟶ G.scheme) →* G.rationalPoints := |
| 36 | (G.domainPointsEquiv (CommAlgCat.of k (R ⧸ P.asIdeal))).symm.toMonoidHom.comp |
| 37 | (G.points.map (CommAlgCat.ofHom (Ideal.Quotient.mkₐ k P.asIdeal))).hom |
| 38 | |
| 39 | omit [IsAlgClosed k] in |
| 40 | /-- Rational coordinate extraction and evaluation are inverse. -/ |
| 41 | theorem FiniteEtale.FiniteCommGroupScheme.rationalPointsEquivAlgHom_spec (G : FiniteEtale.FiniteCommGroupScheme k) (x : G.rationalPoints) : |
| 42 | G.coordinatePoints (CommAlgCat.of k k) (toConv (G.rationalPointsEquivAlgHom x)) = x := |
| 43 | (G.coordinatePoints (CommAlgCat.of k k)).apply_symm_apply x |
| 44 | |
| 45 | /-- The specialized point has the same reduction modulo the prime as the original point. -/ |
| 46 | theorem FiniteEtale.FiniteCommGroupScheme.pointAtPrime_baseChange (G : FiniteEtale.FiniteCommGroupScheme k) (R : CommAlgCat.{u} k) |
| 47 | (P : PrimeSpectrum R) (x : FiniteEtale.affine k R ⟶ G.scheme) : |
| 48 | (G.points.map (CommAlgCat.ofHom (Algebra.ofId k (R ⧸ P.asIdeal)))) |
| 49 | (G.pointAtPrime R P x) = |
| 50 | (G.points.map (CommAlgCat.ofHom (Ideal.Quotient.mkₐ k P.asIdeal))) x := |
| 51 | (G.domainPointsEquiv (CommAlgCat.of k (R ⧸ P.asIdeal))).apply_symm_apply _ |
| 52 | |
| 53 | /-- The specialization identity in coordinate algebras. -/ |
| 54 | theorem FiniteEtale.FiniteCommGroupScheme.pointAtPrime_coordinates (G : FiniteEtale.FiniteCommGroupScheme k) (R : CommAlgCat.{u} k) |
| 55 | (P : PrimeSpectrum R) (f : G.algebra →ₐ[k] R) : |
| 56 | (Ideal.Quotient.mkₐ k P.asIdeal).comp f = |
| 57 | (Algebra.ofId k (R ⧸ P.asIdeal)).comp |
| 58 | (G.rationalPointsEquivAlgHom (G.pointAtPrime R P (G.coordinatePoints R (toConv f)))) := by |
| 59 | let x := G.coordinatePoints R (toConv f) |
| 60 | let y := G.pointAtPrime R P x |
| 61 | let g := G.rationalPointsEquivAlgHom y |
| 62 | have hg : G.coordinatePoints (CommAlgCat.of k k) (toConv g) = y := |
| 63 | G.rationalPointsEquivAlgHom_spec y |
| 64 | apply WithConv.toConv_injective |
| 65 | apply (G.coordinatePoints (CommAlgCat.of k (R ⧸ P.asIdeal))).injective |
| 66 | exact (G.coordinatePoints_precomp (CommAlgCat.ofHom (Ideal.Quotient.mkₐ k P.asIdeal)) f).trans |
| 67 | ((G.pointAtPrime_baseChange R P x).symm.trans |
| 68 | ((congrArg (fun z => (G.points.map |
| 69 | (CommAlgCat.ofHom (Algebra.ofId k (R ⧸ P.asIdeal)))) z) hg).symm.trans |
| 70 | (G.coordinatePoints_precomp (CommAlgCat.ofHom (Algebra.ofId k (R ⧸ P.asIdeal))) g).symm)) |
| 71 | |
| 72 | /-- Specialization commutes with actual morphisms of finite group schemes. -/ |
| 73 | theorem FiniteEtale.FiniteCommGroupScheme.pointAtPrime_postcomp {G H : FiniteEtale.FiniteCommGroupScheme k} (h : G.scheme ⟶ H.scheme) |
| 74 | (R : CommAlgCat.{u} k) (P : PrimeSpectrum R) (x : FiniteEtale.affine k R ⟶ G.scheme) : |
| 75 | H.pointAtPrime R P (x ≫ h) = G.pointAtPrime R P x ≫ h := by |
| 76 | apply (H.domainPointsEquiv (CommAlgCat.of k (R ⧸ P.asIdeal))).injective |
| 77 | change (algSpec (CommRingCat.of k)).map |
| 78 | (CommAlgCat.ofHom (Algebra.ofId k (R ⧸ P.asIdeal))).op ≫ H.pointAtPrime R P (x ≫ h) = |
| 79 | (algSpec (CommRingCat.of k)).map |
| 80 | (CommAlgCat.ofHom (Algebra.ofId k (R ⧸ P.asIdeal))).op ≫ (G.pointAtPrime R P x ≫ h) |
| 81 | have hH := H.pointAtPrime_baseChange R P (x ≫ h) |
| 82 | have hG := G.pointAtPrime_baseChange R P x |
| 83 | exact hH.trans ((Category.assoc _ _ _).symm.trans |
| 84 | ((congrArg (fun z => z ≫ h) hG.symm).trans (Category.assoc _ _ _))) |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.AlgebraicGeometry.GroupSchemes |