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.HodgeConjecture.HeckeCycles.AlbaneseModel |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EndTransport |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GroupBaseChange |
| 4 | |
| 5 | /-! # Comparison Polynomial -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ComparisonPolynomial.CM |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The ordinary Frobenius polynomial transports to GeometricComparison's actual |
| 12 | special fiber through the proved completion/reduction comparison. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.AlbaneseModel.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.AlbaneseModel.CM.SpecialFiber |
| 17 | |
| 18 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 19 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 20 | (D : AbelianScheme.TateComparison.Data.SphericalPELAlbaneseData E K s q) (hg : D.HasIntegralModelGeometry) |
| 21 | (j : PELModuli.CMPoints.Arithmetic.QadicChoice K D.complexEmbedding q) |
| 22 | (hcop : Nat.Coprime q D.denominator) |
| 23 | (res : AbelianScheme.TateComparison.Data.modelRing K D.denominator →+* ZMod q) |
| 24 | (hres : res.comp (algebraMap (NumberField.RingOfIntegers K) |
| 25 | (AbelianScheme.TateComparison.Data.modelRing K D.denominator)) = j.residue) |
| 26 | |
| 27 | def sourceGroup : CommGrp (Over (Spec (.of (ZMod q)))) := |
| 28 | GroupBaseChange.CM.changedGroup (AbelianScheme.TateComparison.Products.componentProduct D.components.A) (Spec.map (CommRingCat.ofHom res)) |
| 29 | |
| 30 | def targetGroup : CommGrp (Over (Spec (.of (ZMod q)))) := |
| 31 | PELModuli.IntegralModel.Components.commutativeGroupOfAbelianScheme (AlbaneseModel.CM.comparisonModel D hg j hcop).specialFiber |
| 32 | |
| 33 | def comparisonIso : (targetGroup D hg j hcop).X ≅ (sourceGroup D res).X := |
| 34 | AlbaneseModel.CM.SpecialFiber.albaneseSpecialFiberIso D hg j hcop res hres |
| 35 | |
| 36 | local instance : GrpObj (targetGroup D hg j hcop).X := (targetGroup D hg j hcop).grp |
| 37 | local instance : IsCommMonObj (targetGroup D hg j hcop).X := (targetGroup D hg j hcop).comm |
| 38 | local instance : GrpObj (sourceGroup D res).X := (sourceGroup D res).grp |
| 39 | local instance : IsCommMonObj (sourceGroup D res).X := (sourceGroup D res).comm |
| 40 | |
| 41 | theorem comparisonIso_group : IsMonHom (comparisonIso D hg j hcop res hres).hom := |
| 42 | AlbaneseModel.CM.SpecialFiber.albaneseSpecialFiberIso_group D hg j hcop res hres |
| 43 | |
| 44 | local instance : IsMonHom (comparisonIso D hg j hcop res hres).hom := |
| 45 | comparisonIso_group D hg j hcop res hres |
| 46 | |
| 47 | theorem comparisonIso_inv_group : IsMonHom (comparisonIso D hg j hcop res hres).inv := by |
| 48 | infer_instance |
| 49 | |
| 50 | local instance : IsMonHom (comparisonIso D hg j hcop res hres).symm.hom := |
| 51 | comparisonIso_inv_group D hg j hcop res hres |
| 52 | |
| 53 | def specialEndTransport : FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd (sourceGroup D res).X ≃+* |
| 54 | FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd (targetGroup D hg j hcop).X := |
| 55 | EndTransport.CM.schemeTransport (sourceGroup D res) (targetGroup D hg j hcop) |
| 56 | (comparisonIso D hg j hcop res hres).symm |
| 57 | |
| 58 | theorem specialFiber_polynomial (T : Fin 3 → FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd (sourceGroup D res).X) |
| 59 | (h : Ordinary.Polynomial.CM.heckePolynomialValue q |
| 60 | (FormalGeometry.Completion.Endomorphisms.Construction.algebraicFrobenius (ZMod q) (sourceGroup D res).X) T = 0) : |
| 61 | Ordinary.Polynomial.CM.heckePolynomialValue q |
| 62 | (FormalGeometry.Completion.Endomorphisms.Construction.algebraicFrobenius (ZMod q) (targetGroup D hg j hcop).X) |
| 63 | (fun i => specialEndTransport D hg j hcop res hres (T i)) = 0 := |
| 64 | EndTransport.CM.schemeTransport_frobenius_polynomial |
| 65 | (sourceGroup D res) (targetGroup D hg j hcop) (comparisonIso D hg j hcop res hres).symm q T h |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ComparisonPolynomial.CM |