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.HeckeObjectClassifier |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.HeckePairRecovery |
| 3 | |
| 4 | /-! # Hecke Pair Class Surjectivity -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The constructed finite etale parameter classifies every typed |
| 11 | paired PEL isomorphism class on every ground-base test scheme. The |
| 12 | comparison is a complete PEL isomorphism of the original families. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped BigOperators |
| 16 | |
| 17 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 18 | [NumberField.IsCMField E] [Field K] [NumberField K] [CharZero K] |
| 19 | {s N n : ℕ} {P : Datum.RankThreePELDatum E s} {iota : E →+* K} |
| 20 | (Z : Models.FinePELModel P iota N) (hZ : Z.IsFine) [IsLocallyNoetherian Z.space.left] |
| 21 | {hn : 0 < n} (hdegree : Nat.Coprime n ((∏ i, P.polarizationType i) ^ 2)) |
| 22 | (M : Type) [AddCommGroup M] [Module (ZMod n) M] [Finite M] |
| 23 | (R : NoetherianPairedHeckeSource.PairedHeckeSource Z.universal n hn M) |
| 24 | |
| 25 | def HeckePairClassSurjectivity.pairedHeckeObjectRecoveryIso {X : Over (Spec (.of K))} |
| 26 | (B : Paired.PELFunctor.PairedPELObject P iota N n X) |
| 27 | (hM : (AbelianScheme.IsogenyQuotient.Intrinsic.MorphismKernel.Construction.nativeMorphismKernel B.quotient.forward.isogeny.hom).HasModuleType M) : |
| 28 | Paired.PELFunctor.PairedPELQuotientIso |
| 29 | (R.quotient.pullback (Paired.HeckeObjectClassifier.pairedHeckeObjectClassifyingMap Z hZ hdegree M R B hM)) B.quotient := by |
| 30 | let t := Paired.HeckeObjectClassifier.pairedHeckeObjectSource Z hZ B |
| 31 | let e := Paired.HeckeObjectClassifier.pairedHeckeObjectSourceIso Z hZ B |
| 32 | let k := Paired.HeckeObjectClassifier.pairedHeckeObjectKernelMap Z hZ hdegree M R B hM |
| 33 | let r := R.pairIsoOfClassifier (Over.mk t.left) (B.target.overSourceParameter t) |
| 34 | (Paired.HeckeObjectClassifier.pairedHeckeObjectAligned Z hZ B) (Paired.HeckeObjectClassifier.pairedHeckeObjectAligned_kernelType Z hZ M B hM) |
| 35 | k (Paired.HeckeObjectClassifier.pairedHeckeObjectKernelMap_choice Z hZ hdegree M R B hM) |
| 36 | let j : Paired.PELFunctor.PairedPELQuotientIso |
| 37 | (R.quotient.pullback (Paired.HeckeObjectClassifier.pairedHeckeObjectClassifyingMap Z hZ hdegree M R B hM)) |
| 38 | (B.quotient.precompose e) := { |
| 39 | source := { polarized := r.source.polarized, action := r.source.action } |
| 40 | target := { polarized := r.target.polarized, action := r.target.action } |
| 41 | forward_square := r.forward_square } |
| 42 | exact j.trans (B.quotient.precomposeIso e) |
| 43 | |
| 44 | include hZ hdegree in |
| 45 | omit [NumberField K] [CharZero K] in |
| 46 | theorem NoetherianPairedHeckeSource.PairedHeckeSource.classifying_surjective (X : Over (Spec (.of K))) : |
| 47 | Function.Surjective (fun f : X ⟶ AbelianScheme.IsogenyQuotient.TotalParameters.Construction.totalParameter Z.space R.parameter => |
| 48 | TypedPairedPEL.TypedPairedPELClasses.pullback M f R.classOf) := by |
| 49 | rintro ⟨q, hq⟩ |
| 50 | induction q using Quotient.inductionOn with |
| 51 | | h B => |
| 52 | refine ⟨Paired.HeckeObjectClassifier.pairedHeckeObjectClassifyingMap Z hZ hdegree M R B hq, ?_⟩ |
| 53 | apply Subtype.ext |
| 54 | exact Quotient.sound ⟨HeckePairClassSurjectivity.pairedHeckeObjectRecoveryIso Z hZ hdegree M R B hq⟩ |
| 55 | |
| 56 | def NoetherianPairedHeckeSource.PairedHeckeSource.classifying : |
| 57 | uliftYoneda.{1}.obj (AbelianScheme.IsogenyQuotient.TotalParameters.Construction.totalParameter Z.space R.parameter) ⟶ |
| 58 | TypedPairedPEL.typedPairedPELModuliFunctor P iota N n M := |
| 59 | uliftYonedaEquiv.symm R.classOf |
| 60 | |
| 61 | omit [NumberField K] [CharZero K] in |
| 62 | theorem NoetherianPairedHeckeSource.PairedHeckeSource.classifying_apply (X : Over (Spec (.of K))) |
| 63 | (f : X ⟶ AbelianScheme.IsogenyQuotient.TotalParameters.Construction.totalParameter Z.space R.parameter) : |
| 64 | (R.classifying Z M).app (.op X) (ULift.up f) = |
| 65 | TypedPairedPEL.TypedPairedPELClasses.pullback M f R.classOf := rfl |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily |