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.ReferenceFamily.Paired.HeckeKernelClassification |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.PEL.ParameterPullbackComparison |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Paired.PELQuotientComparison |
| 4 | |
| 5 | /-! # Hecke Pair Recovery -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The unique original-kernel classifier recovers the entire paired |
| 12 | PEL quotient as the actual pullback of the universal pair. The source |
| 13 | comparison is the canonical PEL base-change comparison. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj BigOperators |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | |
| 21 | theorem HeckePairRecovery.isogeny_pullback_kernel_iff |
| 22 | {S S' : Scheme.{0}} {g h : ℕ} |
| 23 | {A : HilbertConstruction.Abelian.Schemes.AbelianScheme g S} {B : HilbertConstruction.Abelian.Schemes.AbelianScheme h S} |
| 24 | (f : HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A B) (b : S' ⟶ S) |
| 25 | (X : Over S') (x : X ⟶ (A.pullback b).scheme) : |
| 26 | x ≫ (f.pullback b).hom = 1 ↔ A.baseChangePointsMulEquiv b X x ≫ f.hom = 1 := by |
| 27 | have hn := HilbertConstruction.Abelian.Schemes.AbelianScheme.baseChangePointsEquiv_map f.hom b X x |
| 28 | constructor |
| 29 | · intro hx |
| 30 | exact hn.symm.trans ((congrArg (B.baseChangePointsMulEquiv b X) hx).trans |
| 31 | (B.baseChangePointsMulEquiv b X).map_one) |
| 32 | · intro hx |
| 33 | apply (B.baseChangePointsMulEquiv b X).injective |
| 34 | exact hn.trans (hx.trans (B.baseChangePointsMulEquiv b X).map_one.symm) |
| 35 | |
| 36 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 37 | [NumberField.IsCMField E] [Field K] [NumberField K] [CharZero K] |
| 38 | {s N n : ℕ} {P : Datum.RankThreePELDatum E s} {iota : E →+* K} |
| 39 | {T : Over (Spec (.of K))} [IsLocallyNoetherian T.left] |
| 40 | {A : PEL.Objects.PELObject P iota N T} {hn : 0 < n} |
| 41 | {M : Type} [AddCommGroup M] [Module (ZMod n) M] [Finite M] |
| 42 | (R : NoetherianPairedHeckeSource.PairedHeckeSource A n hn M) |
| 43 | (Q : Over T.left) (B : PEL.Objects.PELObject P iota N (AbelianScheme.IsogenyQuotient.TotalParameters.Construction.totalParameter T Q)) |
| 44 | (f : Paired.PELQuotients.PairedPELQuotient (A.pullback (AbelianScheme.IsogenyQuotient.TotalParameters.Construction.totalParameterSource T Q)) B n) |
| 45 | (hM : (AbelianScheme.IsogenyQuotient.Intrinsic.MorphismKernel.Construction.nativeMorphismKernel f.forward.isogeny.hom).HasModuleType M) |
| 46 | |
| 47 | omit [NumberField K] [CharZero K] in |
| 48 | theorem NoetherianPairedHeckeSource.PairedHeckeSource.classifier_sameKernel |
| 49 | (k : Q ⟶ R.parameter) |
| 50 | (hk : R.subgroup.baseChange k = Paired.KernelParameterChoice.pairedKernelParameterChoice A Q B f M hM) |
| 51 | (X : Over Q.left) |
| 52 | (x : X ⟶ ((A.polarized.abelian.pullback R.parameter.hom).pullback k.left).scheme) : |
| 53 | x ≫ (R.quotient.pullback (PEL.ParameterPullbackComparison.parameterTotalMap k)).forward.isogeny.hom = 1 ↔ |
| 54 | (x ≫ (PEL.ParameterPullbackComparison.pelParameterPullbackIso A k).polarized.abelian.hom) ≫ f.forward.isogeny.hom = 1 := by |
| 55 | erw [HeckePairRecovery.isogeny_pullback_kernel_iff R.quotient.forward.isogeny k.left X x] |
| 56 | erw [R.kernel ((Over.map k.left).obj X) |
| 57 | ((A.polarized.abelian.pullback R.parameter.hom).baseChangePointsMulEquiv k.left X x)] |
| 58 | erw [PEL.ParameterPullbackComparison.pelParameterPullbackIso_subgroup_membership A k R.subgroup.subgroup X x] |
| 59 | have hsub : R.subgroup.subgroup.baseChange k = |
| 60 | (Paired.KernelParameterChoice.pairedKernelParameterChoice A Q B f M hM).subgroup := |
| 61 | congrArg AbelianScheme.TorsionQuotient.SubgroupFunctor.SubgroupChoice.subgroup hk |
| 62 | rw [hsub] |
| 63 | have h := congrArg (fun H => |
| 64 | (x ≫ (PEL.ParameterPullbackComparison.pelParameterPullbackIso A k).polarized.abelian.hom) ∈ |
| 65 | H.points X (Relative.SubgroupFromParameter.terminalParameterPoint X)) |
| 66 | (Paired.KernelParameterChoice.pairedKernelParameterChoice_overParameter A Q B f M hM) |
| 67 | exact iff_of_eq h |
| 68 | |
| 69 | def NoetherianPairedHeckeSource.PairedHeckeSource.pairIsoOfClassifier |
| 70 | (k : Q ⟶ R.parameter) |
| 71 | (hk : R.subgroup.baseChange k = Paired.KernelParameterChoice.pairedKernelParameterChoice A Q B f M hM) : |
| 72 | Paired.PELFunctor.PairedPELQuotientIso (R.quotient.pullback (PEL.ParameterPullbackComparison.parameterTotalMap k)) f := |
| 73 | Paired.PELQuotientComparison.pairedPELQuotientIsoOfKernel (R.quotient.pullback (PEL.ParameterPullbackComparison.parameterTotalMap k)) f |
| 74 | (((AbelianScheme.IsogenyQuotient.Noetherian.UniversalFunctions.Construction.noetherianAbelian_hasUniversalGlobalFunctions A.polarized.abelian).pullback |
| 75 | R.parameter.hom).pullback k.left) |
| 76 | (PEL.ParameterPullbackComparison.pelParameterPullbackIso A k) (R.classifier_sameKernel Q B f hM k hk) |
| 77 | |
| 78 | omit [NumberField K] [CharZero K] in |
| 79 | theorem NoetherianPairedHeckeSource.PairedHeckeSource.exists_pair_pullback |
| 80 | (hdegree : Nat.Coprime n ((∏ i, P.polarizationType i) ^ 2)) : |
| 81 | ∃! k : Q ⟶ R.parameter, |
| 82 | R.subgroup.baseChange k = Paired.KernelParameterChoice.pairedKernelParameterChoice A Q B f M hM ∧ |
| 83 | Nonempty (Paired.PELFunctor.PairedPELQuotientIso (R.quotient.pullback (PEL.ParameterPullbackComparison.parameterTotalMap k)) f) := by |
| 84 | obtain ⟨k, hk, hu⟩ := R.classifiesKernel hdegree Q B f hM |
| 85 | exact ⟨k, ⟨hk, ⟨R.pairIsoOfClassifier Q B f hM k hk⟩⟩, fun l hl => hu l hl.1⟩ |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily |