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.ComparisonPolynomial |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Specialized |
| 3 | |
| 4 | /-! # Specialization -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.Specialization.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Specialization into the original arithmetic Albanese product is |
| 11 | constructed from Neron extension and the proved special-fiber isomorphism. |
| 12 | Its rational Hecke operators and all denominator clearings transport to |
| 13 | the very same GeometricComparison Hecke realization. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj TensorProduct |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.AlbaneseModel.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ComparisonPolynomial.CM |
| 18 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Geometric.ComparisonSpecialization.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Specialized.CM.Hecke |
| 19 | |
| 20 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 21 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 22 | (D : AbelianScheme.TateComparison.Data.SphericalPELAlbaneseData E K s q) (hg : D.HasIntegralModelGeometry) |
| 23 | (j : PELModuli.CMPoints.Arithmetic.QadicChoice K D.complexEmbedding q) |
| 24 | (hcop : Nat.Coprime q D.denominator) |
| 25 | (res : AbelianScheme.TateComparison.Data.modelRing K D.denominator →+* ZMod q) |
| 26 | (hres : res.comp (algebraMap (NumberField.RingOfIntegers K) |
| 27 | (AbelianScheme.TateComparison.Data.modelRing K D.denominator)) = j.residue) |
| 28 | |
| 29 | local notation "A" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.AlbaneseModel.CM.comparisonModel D hg j hcop |
| 30 | local notation "G" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ComparisonPolynomial.CM.sourceGroup D res |
| 31 | local notation "e" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ComparisonPolynomial.CM.specialEndTransport D hg j hcop res hres |
| 32 | |
| 33 | local instance : GrpObj (G).X := (G).grp |
| 34 | local instance : IsCommMonObj (G).X := (G).comm |
| 35 | |
| 36 | def sourceSpecialization : FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd (A).variety.scheme →+* FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd (G).X := |
| 37 | (e).symm.toRingHom.comp (Geometric.ComparisonSpecialization.CM.specializeEnd A) |
| 38 | |
| 39 | theorem transport_sourceSpecialization (f : FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd (A).variety.scheme) : |
| 40 | e (sourceSpecialization D hg j hcop res hres f) = Geometric.ComparisonSpecialization.CM.specializeEnd A f := |
| 41 | (e).apply_symm_apply _ |
| 42 | |
| 43 | def rationalTransport : FormalGeometry.Completion.Endomorphisms.Construction.RationalAlgebraicEnd (G).X ≃ₐ[ℚ] |
| 44 | FormalGeometry.Completion.Endomorphisms.Construction.RationalAlgebraicEnd (A).specialFiber.scheme := |
| 45 | Algebra.TensorProduct.congr (AlgEquiv.refl : ℚ ≃ₐ[ℚ] ℚ) (e).toIntAlgEquiv |
| 46 | |
| 47 | theorem rationalTransport_tmul (r : ℚ) (f : FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd (G).X) : |
| 48 | rationalTransport D hg j hcop res hres (r ⊗ₜ[ℤ] f) = r ⊗ₜ[ℤ] e f := by |
| 49 | rfl |
| 50 | |
| 51 | def rationalSourceSpecialization : FormalGeometry.Completion.Endomorphisms.Construction.RationalAlgebraicEnd (A).variety.scheme →ₐ[ℚ] |
| 52 | FormalGeometry.Completion.Endomorphisms.Construction.RationalAlgebraicEnd (G).X := |
| 53 | (rationalTransport D hg j hcop res hres).symm.toAlgHom.comp (Specialized.CM.Hecke.specializeRational A) |
| 54 | |
| 55 | theorem rationalSourceSpecialization_tmul (r : ℚ) |
| 56 | (f : FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd (A).variety.scheme) : |
| 57 | rationalSourceSpecialization D hg j hcop res hres (r ⊗ₜ[ℤ] f) = |
| 58 | r ⊗ₜ[ℤ] sourceSpecialization D hg j hcop res hres f := by |
| 59 | apply (rationalTransport D hg j hcop res hres).injective |
| 60 | change rationalTransport D hg j hcop res hres |
| 61 | ((rationalTransport D hg j hcop res hres).symm (Specialized.CM.Hecke.specializeRational A (r ⊗ₜ[ℤ] f))) = _ |
| 62 | rw [AlgEquiv.apply_symm_apply, Specialized.CM.Hecke.specializeRational_tmul, rationalTransport_tmul, |
| 63 | transport_sourceSpecialization] |
| 64 | rfl |
| 65 | |
| 66 | theorem transport_rationalSourceSpecialization (f : FormalGeometry.Completion.Endomorphisms.Construction.RationalAlgebraicEnd (A).variety.scheme) : |
| 67 | rationalTransport D hg j hcop res hres |
| 68 | (rationalSourceSpecialization D hg j hcop res hres f) = Specialized.CM.Hecke.specializeRational A f := |
| 69 | (rationalTransport D hg j hcop res hres).apply_symm_apply _ |
| 70 | |
| 71 | variable {H : Type} [CommRing H] [Algebra ℚ H] |
| 72 | |
| 73 | def sourceHeckeAction (ρ : (A).HeckeRealization H) : |
| 74 | H →ₐ[ℚ] FormalGeometry.Completion.Endomorphisms.Construction.RationalAlgebraicEnd (G).X := |
| 75 | (rationalSourceSpecialization D hg j hcop res hres).comp ρ.action |
| 76 | |
| 77 | theorem transport_sourceHeckeAction (ρ : (A).HeckeRealization H) (h : H) : |
| 78 | rationalTransport D hg j hcop res hres (sourceHeckeAction D hg j hcop res hres ρ h) = |
| 79 | Specialized.CM.Hecke.specializedHeckeAction A ρ h := |
| 80 | transport_rationalSourceSpecialization D hg j hcop res hres (ρ.action h) |
| 81 | |
| 82 | theorem sourceHeckeAction_presentation (ρ : (A).HeckeRealization H) (h : H) : |
| 83 | (ρ.presentation h).sum (fun f r => |
| 84 | r ⊗ₜ[ℤ] sourceSpecialization D hg j hcop res hres f.generic) = |
| 85 | sourceHeckeAction D hg j hcop res hres ρ h := by |
| 86 | calc |
| 87 | _ = (ρ.presentation h).sum (fun f r => |
| 88 | rationalSourceSpecialization D hg j hcop res hres (r ⊗ₜ[ℤ] f.generic)) := by |
| 89 | apply Finsupp.sum_congr |
| 90 | intro f _ |
| 91 | exact (rationalSourceSpecialization_tmul D hg j hcop res hres _ f.generic).symm |
| 92 | _ = rationalSourceSpecialization D hg j hcop res hres |
| 93 | ((ρ.presentation h).sum (fun f r => r ⊗ₜ[ℤ] f.generic)) := |
| 94 | (map_finsuppSum (rationalSourceSpecialization D hg j hcop res hres) _ _).symm |
| 95 | _ = sourceHeckeAction D hg j hcop res hres ρ h := |
| 96 | congrArg (rationalSourceSpecialization D hg j hcop res hres) (ρ.represents h) |
| 97 | |
| 98 | theorem sourceHeckeAction_clearing (ρ : (A).HeckeRealization H) (h : H) |
| 99 | (n : ℕ) (f : FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd (A).variety.scheme) |
| 100 | (hc : n • ρ.action h = (1 : ℚ) ⊗ₜ[ℤ] f) : |
| 101 | n • sourceHeckeAction D hg j hcop res hres ρ h = |
| 102 | (1 : ℚ) ⊗ₜ[ℤ] sourceSpecialization D hg j hcop res hres f := by |
| 103 | exact (map_nsmul (rationalSourceSpecialization D hg j hcop res hres) n (ρ.action h)).symm.trans |
| 104 | ((congrArg (rationalSourceSpecialization D hg j hcop res hres) hc).trans |
| 105 | (rationalSourceSpecialization_tmul D hg j hcop res hres 1 f)) |
| 106 | |
| 107 | theorem specializedHeckeAction_integral (ρ : (A).HeckeRealization H) (h : H) |
| 108 | (f : FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd (A).variety.scheme) (hf : ρ.action h = (1 : ℚ) ⊗ₜ[ℤ] f) : |
| 109 | Specialized.CM.Hecke.specializedHeckeAction A ρ h = |
| 110 | (1 : ℚ) ⊗ₜ[ℤ] e (sourceSpecialization D hg j hcop res hres f) := by |
| 111 | change Specialized.CM.Hecke.specializeRational A (ρ.action h) = _ |
| 112 | rw [hf, Specialized.CM.Hecke.specializeRational_tmul, transport_sourceSpecialization] |
| 113 | rfl |
| 114 | |
| 115 | /-- Once the raw ordinary formulas prove the polynomial for the actual |
| 116 | specializations, it holds for the identical GeometricComparison Hecke operators. -/ |
| 117 | theorem specializedHecke_polynomial (ρ : (A).HeckeRealization H) (h : Fin 3 → H) |
| 118 | (f : Fin 3 → FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd (A).variety.scheme) |
| 119 | (hf : ∀ i, ρ.action (h i) = (1 : ℚ) ⊗ₜ[ℤ] f i) |
| 120 | (hpoly : Ordinary.Polynomial.CM.heckePolynomialValue q |
| 121 | (FormalGeometry.Completion.Endomorphisms.Construction.algebraicFrobenius (ZMod q) (G).X) |
| 122 | (fun i => sourceSpecialization D hg j hcop res hres (f i)) = 0) : |
| 123 | Ordinary.Polynomial.CM.heckePolynomialValue q |
| 124 | (FormalGeometry.Completion.Endomorphisms.Construction.rationalAlgebraicFrobenius (ZMod q) (A).specialFiber.scheme) |
| 125 | (fun i => Specialized.CM.Hecke.specializedHeckeAction A ρ (h i)) = 0 := by |
| 126 | have hp := ComparisonPolynomial.CM.specialFiber_polynomial D hg j hcop res hres |
| 127 | (fun i => sourceSpecialization D hg j hcop res hres (f i)) hpoly |
| 128 | have hr := EndTransport.CM.rational_frobenius_polynomial |
| 129 | (ComparisonPolynomial.CM.targetGroup D hg j hcop) q |
| 130 | (fun i => e (sourceSpecialization D hg j hcop res hres (f i))) hp |
| 131 | have hc : (fun i => Specialized.CM.Hecke.specializedHeckeAction A ρ (h i)) = |
| 132 | (fun i => (1 : ℚ) ⊗ₜ[ℤ] e (sourceSpecialization D hg j hcop res hres (f i))) := |
| 133 | funext (fun i => specializedHeckeAction_integral D hg j hcop res hres ρ (h i) (f i) (hf i)) |
| 134 | rw [hc] |
| 135 | exact hr |
| 136 | |
| 137 | end |
| 138 | |
| 139 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.Specialization.CM |