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.Isogenies.NeighborCounting.Joint.CoordinateData |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.CoordinateKernelDetection |
| 3 | |
| 4 | /-! # Kernel Parameters -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Joint.KernelParameters |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Attach the actual original subgroup models before specializing the coordinate data. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open scoped _root_.CategoryTheory.MonObj |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.HeckeExponents OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.HeckeEvaluation |
| 16 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.ChoiceFunctor OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.ParameterSubspaces OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.ActiveSubspaces |
| 17 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Joint.CoordinateSubspaces OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Joint.CoordinateMembership OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Joint.RationalMembership |
| 18 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.ActiveChoiceImage.Prime OAI.AlgebraicGeometry.Isogenies.NeighborCounting.CoordinateMapValues OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ActiveTypedSubspaces |
| 19 | |
| 20 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 21 | [Field K] [NumberField K] {κ : K →+* ℂ} {q : ℕ} [Fact q.Prime] |
| 22 | (j : PELModuli.CMPoints.Arithmetic.QadicChoice K κ q) (iota : E →+* K) (hsplit : j.HasSplitCoordinates iota) |
| 23 | {L : Type} [Field L] [CharZero L] {g s : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of L))) |
| 24 | (ρ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction (NumberField.RingOfIntegers E) A) |
| 25 | (c : Fin s → Bool) (p : Fin 3 → Fin (s + 1) → (A.scheme ⟶ A.scheme)) |
| 26 | [∀ i v, IsMonHom (p i v)] (hTorsionQuotient : AbelianScheme.IsogenyQuotient.Unit.Construction.TorsionQuotientInput) |
| 27 | (d : IntrinsicEvaluation.Lifts.JointFiniteEvaluationField L (Intrinsic.HeckeEvaluation.neighborEvaluationSchemes A q 0 (Fin.cases false c) p hTorsionQuotient)) |
| 28 | (i : Fin 3) (k : Type) [Field k] [IsAlgClosed k] (φ : d.carrier →+* k) |
| 29 | (τ : Gal(E/ℚ)) (hp : p i 0 = ρ.map (j.projector iota hsplit (HeckeExponents.neighborLevel i) τ)) |
| 30 | (coordinates : ∀ v : Fin s, |
| 31 | Additive ((d.family (some i)).extendedParameterBase k φ ⟶ |
| 32 | AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock (q ^ HeckeExponents.neighborLevel i) (p i v.succ)) ≃+ (Fin 3 → ZMod (q ^ HeckeExponents.neighborLevel i))) |
| 33 | |
| 34 | local instance : NeZero q := ⟨(Fact.out : q.Prime).ne_zero⟩ |
| 35 | |
| 36 | local instance neighborModule (v : Fin (s + 1)) : |
| 37 | Module (ZMod (q ^ HeckeExponents.neighborLevel i)) |
| 38 | (AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.RankThreeElementaryModule.{0} q (HeckeExponents.neighborExponents 0 (Fin.cases false c) i v)) := |
| 39 | AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.rankThreeElementaryModule_structure q (HeckeExponents.neighborLevel i) |
| 40 | (HeckeExponents.neighborExponents 0 (Fin.cases false c) i v) |
| 41 | (HeckeExponents.neighborExponents_bound 0 (Fin.cases false c) i v) |
| 42 | |
| 43 | variable (C : GenericActiveCoordinateData.ActiveCoordinateData |
| 44 | (Spec.map (CommRingCat.ofHom (algebraMap L d.carrier))) |
| 45 | (Grp.mk (AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock q (ρ.map (j.projector iota hsplit 1 τ)))) q) |
| 46 | |
| 47 | def jointKernelParameters := |
| 48 | let Q := CoordinateData.jointCoordinateData j iota hsplit A ρ c p hTorsionQuotient d i k φ τ hp |
| 49 | coordinates C.coordinates.toAddEquiv |
| 50 | show CoordinateKernelDetection.Parameters.CoordinateKernelParameters C (HeckeExponents.neighborLevel i) |
| 51 | (ULift (Fin (d.count (some i)))) |
| 52 | (fun a => Evaluated.ActiveChoiceImage.Prime.evaluatedPrimeActiveSubgroup j iota hsplit A ρ c p hTorsionQuotient d i τ a) from { |
| 53 | enumeration := Q.val |
| 54 | membership := Q.property.2 |
| 55 | model := fun a => Evaluated.ActiveChoiceImage.Prime.evaluatedPrimeActiveSubgroupModel j iota hsplit A ρ c p hTorsionQuotient d i τ hp a } |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Joint.KernelParameters |