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.RationalMembership |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.CoordinateMapValues |
| 3 | |
| 4 | /-! # Coordinate Data -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Joint.CoordinateData |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Package the actual coordinate enumeration with both of its derived |
| 11 | membership formulas so specializations share one construction. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped _root_.CategoryTheory.MonObj |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.HeckeExponents OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.HeckeEvaluation |
| 17 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.ChoiceFunctor OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.ParameterSubspaces OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.ActiveSubspaces |
| 18 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Joint.CoordinateSubspaces OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Joint.CoordinateMembership OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Joint.RationalMembership |
| 19 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.ActiveChoiceImage.Prime OAI.AlgebraicGeometry.Isogenies.NeighborCounting.CoordinateMapValues OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ActiveTypedSubspaces |
| 20 | |
| 21 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 22 | [Field K] [NumberField K] {κ : K →+* ℂ} {q : ℕ} [Fact q.Prime] |
| 23 | (j : PELModuli.CMPoints.Arithmetic.QadicChoice K κ q) (iota : E →+* K) (hsplit : j.HasSplitCoordinates iota) |
| 24 | {L : Type} [Field L] [CharZero L] {g s : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of L))) |
| 25 | (ρ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction (NumberField.RingOfIntegers E) A) |
| 26 | (c : Fin s → Bool) (p : Fin 3 → Fin (s + 1) → (A.scheme ⟶ A.scheme)) |
| 27 | [∀ i v, IsMonHom (p i v)] (hTorsionQuotient : AbelianScheme.IsogenyQuotient.Unit.Construction.TorsionQuotientInput) |
| 28 | (d : IntrinsicEvaluation.Lifts.JointFiniteEvaluationField L (Intrinsic.HeckeEvaluation.neighborEvaluationSchemes A q 0 (Fin.cases false c) p hTorsionQuotient)) |
| 29 | (i : Fin 3) (k : Type) [Field k] [IsAlgClosed k] (φ : d.carrier →+* k) |
| 30 | (τ : Gal(E/ℚ)) (hp : p i 0 = ρ.map (j.projector iota hsplit (HeckeExponents.neighborLevel i) τ)) |
| 31 | (coordinates : ∀ v : Fin s, |
| 32 | Additive ((d.family (some i)).extendedParameterBase k φ ⟶ |
| 33 | AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock (q ^ HeckeExponents.neighborLevel i) (p i v.succ)) ≃+ (Fin 3 → ZMod (q ^ HeckeExponents.neighborLevel i))) |
| 34 | |
| 35 | local instance : NeZero q := ⟨(Fact.out : q.Prime).ne_zero⟩ |
| 36 | |
| 37 | local instance neighborModule (v : Fin (s + 1)) : |
| 38 | Module (ZMod (q ^ HeckeExponents.neighborLevel i)) |
| 39 | (AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.RankThreeElementaryModule.{0} q (HeckeExponents.neighborExponents 0 (Fin.cases false c) i v)) := |
| 40 | AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.rankThreeElementaryModule_structure q (HeckeExponents.neighborLevel i) |
| 41 | (HeckeExponents.neighborExponents 0 (Fin.cases false c) i v) |
| 42 | (HeckeExponents.neighborExponents_bound 0 (Fin.cases false c) i v) |
| 43 | |
| 44 | variable (c₀ : Additive (Over.mk (Spec.map (CommRingCat.ofHom (algebraMap L d.carrier))) ⟶ |
| 45 | AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock q (ρ.map (j.projector iota hsplit 1 τ))) ≃+ ((Fin 2 → ZMod q) × ZMod q)) |
| 46 | |
| 47 | def jointCoordinateData : |
| 48 | { e : ULift (Fin (d.count (some i))) ≃ |
| 49 | {J : Submodule (ZMod q) ((Fin 2 → ZMod q) × ZMod q) // Module.finrank (ZMod q) J = HeckeExponents.neighborLevel i} // |
| 50 | (∀ a z, c₀ z ∈ (e a).val ↔ |
| 51 | (d.family none).parameterExtensionMap k φ ≫ |
| 52 | (z.toMul ≫ AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlockInclusion q (ρ.map (j.projector iota hsplit 1 τ))) ∈ |
| 53 | (Reference.ParameterSubspaces.evaluatedTuple q c i (p i) (Intrinsic.ChoiceFunctor.nativeChoiceRepresentation A q c p hTorsionQuotient i) |
| 54 | (d.family (some i)) a 0).val.subgroup.points |
| 55 | ((d.family (some i)).extendedParameterBase k φ) ((d.family (some i)).parameterExtensionMap k φ)) ∧ |
| 56 | (∀ a z, c₀ z ∈ (e a).val ↔ |
| 57 | z.toMul ∈ (Evaluated.ActiveChoiceImage.Prime.evaluatedPrimeActiveSubgroup j iota hsplit A ρ c p hTorsionQuotient d i τ a).points |
| 58 | (Over.mk (Spec.map (CommRingCat.ofHom (algebraMap L d.carrier)))) (𝟙 _)) } := by |
| 59 | refine ⟨CoordinateSubspaces.jointCoordinateSubspaceEquiv j iota hsplit A ρ c p hTorsionQuotient d i k φ τ hp coordinates |
| 60 | (ActiveTypedSubspaces.zmodLinearEquiv q c₀), ?_, ?_⟩ |
| 61 | · intro a z |
| 62 | simpa only [CoordinateMapValues.zmodLinearEquiv_apply] using |
| 63 | CoordinateMembership.jointCoordinateSubspaceEquiv_membership j iota hsplit A ρ c p hTorsionQuotient d i k φ τ hp |
| 64 | coordinates (ActiveTypedSubspaces.zmodLinearEquiv q c₀) a z |
| 65 | · intro a z |
| 66 | simpa only [CoordinateMapValues.zmodLinearEquiv_apply] using |
| 67 | RationalMembership.jointCoordinateSubspaceEquiv_rational_membership j iota hsplit A ρ c p hTorsionQuotient d i k φ τ hp |
| 68 | coordinates (ActiveTypedSubspaces.zmodLinearEquiv q c₀) a z |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Joint.CoordinateData |