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.EvaluatedSubspaces |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ProjectorSubspaceMembership |
| 3 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.CompositePointInclusion |
| 4 | |
| 5 | /-! # Subspace Membership -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Joint.SubspaceMembership |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original finite parameter enumeration has the expected |
| 12 | membership predicate on original evaluation-field q-block points. -/ |
| 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.ProjectorSubspaceMembership |
| 20 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.ActiveSubspaces OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.ActiveLevel OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ActionRoundTrip |
| 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 (a : ULift (Fin (d.count (some i)))) |
| 47 | (z : Additive (Over.mk (Spec.map (CommRingCat.ofHom (algebraMap L d.carrier))) ⟶ |
| 48 | AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock q (ρ.map (j.projector iota hsplit 1 τ)))) |
| 49 | |
| 50 | def jointActivePreimage := |
| 51 | (EvaluatedSubspaces.jointActivePointEquiv j iota hsplit A ρ c p hTorsionQuotient d i k φ τ hp).symm z |
| 52 | |
| 53 | omit [IsAlgClosed k] in |
| 54 | theorem jointActivePreimage_inclusion : |
| 55 | ((jointActivePreimage j iota hsplit A ρ c p hTorsionQuotient d i k φ τ hp z).val.toMul : |
| 56 | (d.family (some i)).extendedParameterBase k φ ⟶ AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock (q ^ HeckeExponents.neighborLevel i) (p i 0)) ≫ |
| 57 | AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlockInclusion (q ^ HeckeExponents.neighborLevel i) (p i 0) = |
| 58 | (d.family none).parameterExtensionMap k φ ≫ |
| 59 | (z.toMul ≫ AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlockInclusion q (ρ.map (j.projector iota hsplit 1 τ))) := by |
| 60 | have h := CompositePointInclusion.inverse_composite_inclusion |
| 61 | (Intrinsic.ActiveLevel.killedSubgroupEquiv q (ActionRoundTrip.nativeBlockPointEquivOfEq |
| 62 | (T := (d.family none).extendedParameterBase k φ) (q ^ HeckeExponents.neighborLevel i) hp)) |
| 63 | (Intrinsic.ActiveSubspaces.nativeBlockKilledPrimeEquiv j iota hsplit A ρ ((d.family none).extendedParameterBase k φ) |
| 64 | (HeckeExponents.neighborLevel i) (Nat.succ_le_succ (Nat.zero_le i.val)) τ) |
| 65 | (Evaluated.ActiveSubspaces.evaluatedBlockPointsEquiv j iota hsplit A ρ (d.family none) k φ τ) |
| 66 | (fun y => y.val.toMul ≫ AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlockInclusion (q ^ HeckeExponents.neighborLevel i) (p i 0)) |
| 67 | (fun y => y.val.toMul ≫ AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlockInclusion (q ^ HeckeExponents.neighborLevel i) |
| 68 | (ρ.map (j.projector iota hsplit (HeckeExponents.neighborLevel i) τ))) |
| 69 | (fun w => (d.family none).parameterExtensionMap k φ ≫ |
| 70 | (w.toMul ≫ AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlockInclusion q (ρ.map (j.projector iota hsplit 1 τ)))) |
| 71 | (fun y => ProjectorSubspaceMembership.nativeBlockPointEquivOfEq_symm_inclusion (q ^ HeckeExponents.neighborLevel i) hp y.val) |
| 72 | (Evaluated.ActiveSubspaces.evaluatedActivePreimage_inclusion j iota hsplit A ρ (d.family none) k φ τ |
| 73 | (HeckeExponents.neighborLevel i) (Nat.succ_le_succ (Nat.zero_le i.val))) z |
| 74 | exact h |
| 75 | |
| 76 | omit [IsAlgClosed k] in |
| 77 | theorem jointActiveEvaluationSubspaceEquiv_membership |
| 78 | (V : {V : Submodule (ZMod q) (ActiveTorsionChoices.killedSubgroup q |
| 79 | (Additive ((d.family (some i)).extendedParameterBase k φ ⟶ |
| 80 | AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock (q ^ HeckeExponents.neighborLevel i) (p i 0)))) // |
| 81 | Module.finrank (ZMod q) V = HeckeExponents.neighborLevel i}) : |
| 82 | z ∈ (EvaluatedSubspaces.jointActiveEvaluationSubspaceEquiv j iota hsplit A ρ c p hTorsionQuotient d i k φ τ hp V).val ↔ |
| 83 | jointActivePreimage j iota hsplit A ρ c p hTorsionQuotient d i k φ τ hp z ∈ V.val := by |
| 84 | exact SubspaceCoordinates.dimensionSubspaceEquiv_membership |
| 85 | (ActiveTypedSubspaces.zmodLinearEquiv q |
| 86 | (EvaluatedSubspaces.jointActivePointEquiv j iota hsplit A ρ c p hTorsionQuotient d i k φ τ hp)) (HeckeExponents.neighborLevel i) V z |
| 87 | |
| 88 | theorem jointEvaluatedSubspaceEquiv_membership : |
| 89 | z ∈ (EvaluatedSubspaces.jointEvaluatedSubspaceEquiv j iota hsplit A ρ c p hTorsionQuotient d i k φ τ hp coordinates a).val ↔ |
| 90 | (d.family none).parameterExtensionMap k φ ≫ |
| 91 | (z.toMul ≫ AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlockInclusion q (ρ.map (j.projector iota hsplit 1 τ))) ∈ |
| 92 | (Reference.ParameterSubspaces.evaluatedTuple q c i (p i) (Intrinsic.ChoiceFunctor.nativeChoiceRepresentation A q c p hTorsionQuotient i) |
| 93 | (d.family (some i)) a 0).val.subgroup.points |
| 94 | ((d.family (some i)).extendedParameterBase k φ) ((d.family (some i)).parameterExtensionMap k φ) := by |
| 95 | have h₁ := jointActiveEvaluationSubspaceEquiv_membership j iota hsplit A ρ c p hTorsionQuotient d i k φ τ hp z |
| 96 | (Intrinsic.ChoiceFunctor.nativeEvaluatedSubspaceEquiv A q c p hTorsionQuotient i (d.family (some i)) k φ coordinates a) |
| 97 | have h₃ := Intrinsic.ChoiceFunctor.nativeEvaluatedSubspaceEquiv_membership A q c p hTorsionQuotient i (d.family (some i)) |
| 98 | k φ coordinates a (jointActivePreimage j iota hsplit A ρ c p hTorsionQuotient d i k φ τ hp z) |
| 99 | erw [jointActivePreimage_inclusion j iota hsplit A ρ c p hTorsionQuotient d i k φ τ hp z] at h₃ |
| 100 | exact h₁.trans h₃ |
| 101 | |
| 102 | end |
| 103 | |
| 104 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Joint.SubspaceMembership |