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.AbelianScheme.IsogenyQuotient.Relative.ComplexChoices |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.CorrespondenceFibers |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Universal.Choices |
| 4 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.ChoiceMultisets |
| 5 | |
| 6 | /-! # Fiber Equiv -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Relative.FiberEquiv.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual geometric source fiber is indexed by the raw split |
| 13 | cosets of its original PEL source. Reindexing retains repeated target values. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 17 | |
| 18 | variable {E K L : Type} [Field E] [NumberField E] [NumberField.IsCMField E] [IsGalois ℚ E] |
| 19 | [Field K] [CharZero K] [Field L] [NumberField L] |
| 20 | {d N q : ℕ} [Fact q.Prime] {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E d} {iota : E →+* K} |
| 21 | {T : Over (Spec (.of K))} (A : AbelianModuli.ReferenceFamily.PEL.Objects.PELObject P iota N T) |
| 22 | {c : Foundations.Scheme.ProjectiveSpace.complexBase ⟶ Spec (.of K)} (x : Over.mk c ⟶ T) |
| 23 | {κ : L →+* ℂ} (j : PELModuli.CMPoints.Arithmetic.QadicChoice L κ q) (arithmeticEmbedding : E →+* L) |
| 24 | (hsplit : j.HasSplitCoordinates arithmeticEmbedding) |
| 25 | (h : ℕ) (labels : ChoiceKernel.Construction.KernelIndex d ≃ Gal(E/ℚ)) |
| 26 | (M : Fin d → Type) [∀ v, AddCommGroup (M v)] [∀ v, Module (ZMod (q ^ h)) (M v)] [∀ v, Finite (M v)] |
| 27 | |
| 28 | variable (hd : 0 < d) (hdegree : Module.finrank ℚ E = 2 * d) |
| 29 | (a : Fin d → Fin 3 → ℕ) (ha : ∀ v i, a v i ≤ h) (hdominant : ∀ v, Antitone (a v)) |
| 30 | (eM : ∀ v, M v ≃+ (∀ i, ZMod (q ^ a v i))) |
| 31 | |
| 32 | variable (Q : Over T.left) |
| 33 | (repr : (Parameter.Products.Construction.blockTupleFunctor d (fun v => SubgroupFunctor.Construction.supportedSubgroupFunctor A.polarized.abelian.scheme (q ^ h) (M v) |
| 34 | (A.action.map (j.projector arithmeticEmbedding hsplit h (labels (.inl v)))))).RepresentableBy Q) |
| 35 | |
| 36 | def relativeParameterRawFiberEquiv : |
| 37 | CorrespondenceFibers.Construction.SourceFiber (TotalParameters.Construction.totalParameterSource T Q) x ≃ |
| 38 | Hecke.Construction.rawRightCosetSupport (TateComparison.HeckeKernel.integralLevel d q) (TateComparison.HeckeKernel.representative d q (SplitHeckeChoices.Construction.naturalIntegralLocalType d h a hdominant)) := |
| 39 | (TotalParameters.Construction.totalParameterFiberEquiv T Q _ repr (Over.mk c) x).trans |
| 40 | ((Universal.Choices.Construction.blockTupleCoordinates d (fun v => SubgroupFunctor.Construction.supportedSubgroupFunctor A.polarized.abelian.scheme (q ^ h) (M v) |
| 41 | (A.action.map (j.projector arithmeticEmbedding hsplit h (labels (.inl v))))) (.op (Over.mk x.left))).trans |
| 42 | (ComplexChoices.Construction.relativeComplexRawChoices A x j arithmeticEmbedding hsplit h labels M hd hdegree a ha hdominant eM)) |
| 43 | |
| 44 | include A j arithmeticEmbedding hsplit h labels M hd hdegree a ha hdominant eM repr in |
| 45 | theorem relativeParameterRawFiber_finite : Finite (CorrespondenceFibers.Construction.SourceFiber (TotalParameters.Construction.totalParameterSource T Q) x) := |
| 46 | Finite.of_equiv _ (relativeParameterRawFiberEquiv A x j arithmeticEmbedding hsplit h labels M hd hdegree |
| 47 | a ha hdominant eM Q repr).symm |
| 48 | |
| 49 | theorem correspondence_multiset_via_raw_parameter (dst : TotalParameters.Construction.totalParameter T Q ⟶ T) : |
| 50 | letI : Finite (CorrespondenceFibers.Construction.SourceFiber (TotalParameters.Construction.totalParameterSource T Q) x) := |
| 51 | relativeParameterRawFiber_finite A x j arithmeticEmbedding hsplit h labels M hd hdegree a ha hdominant eM Q repr |
| 52 | CorrespondenceFibers.Construction.correspondenceFiberMultiset (TotalParameters.Construction.totalParameterSource T Q) dst x = |
| 53 | ChoiceMultisets.Construction.rawSplitTargetMultiset d q (SplitHeckeChoices.Construction.naturalIntegralLocalType d h a hdominant) |
| 54 | (fun y => ((relativeParameterRawFiberEquiv A x j arithmeticEmbedding hsplit h labels M hd hdegree |
| 55 | a ha hdominant eM Q repr).symm y).val ≫ dst) := by |
| 56 | let : Finite (CorrespondenceFibers.Construction.SourceFiber (TotalParameters.Construction.totalParameterSource T Q) x) := |
| 57 | relativeParameterRawFiber_finite A x j arithmeticEmbedding hsplit h labels M hd hdegree a ha hdominant eM Q repr |
| 58 | exact CorrespondenceFibers.Construction.finiteTargetMultiset_reindex |
| 59 | (relativeParameterRawFiberEquiv A x j arithmeticEmbedding hsplit h labels M hd hdegree a ha hdominant eM Q repr) |
| 60 | (fun y : CorrespondenceFibers.Construction.SourceFiber (TotalParameters.Construction.totalParameterSource T Q) x => y.val ≫ dst) |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Relative.FiberEquiv.Construction |