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.CoordinateSubspaces |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.CoordinateEnumeration |
| 3 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Joint.SubspaceMembership |
| 4 | |
| 5 | /-! # Coordinate Membership -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Joint.CoordinateMembership |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Standard-coordinate membership is the membership predicate of the |
| 12 | original evaluated neighbor choice after its specified field extension. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.HeckeExponents OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.HeckeEvaluation |
| 18 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ActiveTorsionChoices OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.ActiveSubspaces OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.ChoiceFunctor |
| 19 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Joint.EvaluatedSubspaces OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.ActiveSubspaces |
| 20 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Joint.CoordinateSubspaces OAI.AlgebraicGeometry.Isogenies.NeighborCounting.CoordinateEnumeration OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Joint.SubspaceMembership |
| 21 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.ParameterSubspaces |
| 22 | |
| 23 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 24 | [Field K] [NumberField K] {κ : K →+* ℂ} {q : ℕ} [Fact q.Prime] |
| 25 | (j : PELModuli.CMPoints.Arithmetic.QadicChoice K κ q) (iota : E →+* K) (hsplit : j.HasSplitCoordinates iota) |
| 26 | {L : Type} [Field L] [CharZero L] {g s : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of L))) |
| 27 | (ρ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction (NumberField.RingOfIntegers E) A) |
| 28 | (c : Fin s → Bool) (p : Fin 3 → Fin (s + 1) → (A.scheme ⟶ A.scheme)) |
| 29 | [∀ i v, IsMonHom (p i v)] (hTorsionQuotient : AbelianScheme.IsogenyQuotient.Unit.Construction.TorsionQuotientInput) |
| 30 | (d : IntrinsicEvaluation.Lifts.JointFiniteEvaluationField L (Intrinsic.HeckeEvaluation.neighborEvaluationSchemes A q 0 (Fin.cases false c) p hTorsionQuotient)) |
| 31 | (i : Fin 3) (k : Type) [Field k] [IsAlgClosed k] (φ : d.carrier →+* k) |
| 32 | (τ : Gal(E/ℚ)) (hp : p i 0 = ρ.map (j.projector iota hsplit (HeckeExponents.neighborLevel i) τ)) |
| 33 | (coordinates : ∀ v : Fin s, |
| 34 | Additive ((d.family (some i)).extendedParameterBase k φ ⟶ |
| 35 | AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock (q ^ HeckeExponents.neighborLevel i) (p i v.succ)) ≃+ (Fin 3 → ZMod (q ^ HeckeExponents.neighborLevel i))) |
| 36 | |
| 37 | local instance : NeZero q := ⟨(Fact.out : q.Prime).ne_zero⟩ |
| 38 | |
| 39 | local instance neighborModule (v : Fin (s + 1)) : |
| 40 | Module (ZMod (q ^ HeckeExponents.neighborLevel i)) |
| 41 | (AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.RankThreeElementaryModule.{0} q (HeckeExponents.neighborExponents 0 (Fin.cases false c) i v)) := |
| 42 | AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.rankThreeElementaryModule_structure q (HeckeExponents.neighborLevel i) |
| 43 | (HeckeExponents.neighborExponents 0 (Fin.cases false c) i v) |
| 44 | (HeckeExponents.neighborExponents_bound 0 (Fin.cases false c) i v) |
| 45 | |
| 46 | variable |
| 47 | (linearCoordinates : Additive (Over.mk (Spec.map (CommRingCat.ofHom (algebraMap L d.carrier))) ⟶ |
| 48 | AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock q (ρ.map (j.projector iota hsplit 1 τ))) ≃ₗ[ZMod q] ((Fin 2 → ZMod q) × ZMod q)) |
| 49 | (a : ULift (Fin (d.count (some i)))) |
| 50 | (z : Additive (Over.mk (Spec.map (CommRingCat.ofHom (algebraMap L d.carrier))) ⟶ |
| 51 | AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock q (ρ.map (j.projector iota hsplit 1 τ)))) |
| 52 | |
| 53 | theorem jointCoordinateSubspaceEquiv_membership : |
| 54 | linearCoordinates z ∈ |
| 55 | (CoordinateSubspaces.jointCoordinateSubspaceEquiv j iota hsplit A ρ c p hTorsionQuotient d i k φ τ hp coordinates linearCoordinates a).val ↔ |
| 56 | (d.family none).parameterExtensionMap k φ ≫ |
| 57 | (z.toMul ≫ AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlockInclusion q (ρ.map (j.projector iota hsplit 1 τ))) ∈ |
| 58 | (Reference.ParameterSubspaces.evaluatedTuple q c i (p i) (Intrinsic.ChoiceFunctor.nativeChoiceRepresentation A q c p hTorsionQuotient i) |
| 59 | (d.family (some i)) a 0).val.subgroup.points |
| 60 | ((d.family (some i)).extendedParameterBase k φ) ((d.family (some i)).parameterExtensionMap k φ) := by |
| 61 | have h₁ := CoordinateEnumeration.coordinateSubspaceEnumeration_membership (HeckeExponents.neighborLevel i) |
| 62 | (EvaluatedSubspaces.jointEvaluatedSubspaceEquiv j iota hsplit A ρ c p hTorsionQuotient d i k φ τ hp coordinates) |
| 63 | linearCoordinates a z |
| 64 | have h₂ := SubspaceMembership.jointEvaluatedSubspaceEquiv_membership j iota hsplit A ρ c p hTorsionQuotient d i k φ τ hp coordinates a z |
| 65 | exact h₁.trans h₂ |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Joint.CoordinateMembership |