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.Geometric.Enumeration |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Geometric.ParameterEnumeration |
| 3 | |
| 4 | /-! # Parameter Subspaces -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.ParameterSubspaces |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Attach the exhaustive geometric chosen-block enumeration to the |
| 11 | original finite-evaluation labels. Its membership formula is expressed |
| 12 | in the original evaluated subgroup after the actual field extension. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Geometric.ParameterEnumeration.Lifts OAI.AlgebraicGeometry.Isogenies.NeighborCounting.HeckeExponents OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ActiveTorsionChoices |
| 18 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Geometric.Enumeration.Neighbor |
| 19 | |
| 20 | variable {k : Type} [Field k] {A : Over (Spec (.of k))} [GrpObj A] [IsCommMonObj A] |
| 21 | (q : ℕ) [Fact q.Prime] {s : ℕ} (c : Fin s → Bool) (i : Fin 3) |
| 22 | (p : Fin (s + 1) → (A ⟶ A)) [∀ v, IsMonHom (p v)] |
| 23 | [∀ v, IsFinite (AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock (q ^ HeckeExponents.neighborLevel i) (p v)).hom] |
| 24 | [∀ v, Etale (AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock (q ^ HeckeExponents.neighborLevel i) (p v)).hom] |
| 25 | |
| 26 | local instance : NeZero q := ⟨(Fact.out : q.Prime).ne_zero⟩ |
| 27 | |
| 28 | local instance neighborModule (v : Fin (s + 1)) : |
| 29 | Module (ZMod (q ^ HeckeExponents.neighborLevel i)) |
| 30 | (AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.RankThreeElementaryModule.{0} q (HeckeExponents.neighborExponents 0 (Fin.cases false c) i v)) := |
| 31 | AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.rankThreeElementaryModule_structure q (HeckeExponents.neighborLevel i) |
| 32 | (HeckeExponents.neighborExponents 0 (Fin.cases false c) i v) |
| 33 | (HeckeExponents.neighborExponents_bound 0 (Fin.cases false c) i v) |
| 34 | |
| 35 | abbrev originalChoiceFunctor (v : Fin (s + 1)) := |
| 36 | AbelianScheme.IsogenyQuotient.SubgroupFunctor.Construction.supportedSubgroupFunctor A (q ^ HeckeExponents.neighborLevel i) |
| 37 | (AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.RankThreeElementaryModule.{0} q (HeckeExponents.neighborExponents 0 (Fin.cases false c) i v)) (p v) |
| 38 | |
| 39 | variable {X : Over (Spec (.of k))} |
| 40 | (repr : (AbelianScheme.IsogenyQuotient.Parameter.Products.Construction.blockTupleFunctor (s + 1) (originalChoiceFunctor q c i p)).RepresentableBy X) |
| 41 | (d : Evaluated.ParameterPoints.Lifts.FiniteEvaluationField k X) |
| 42 | (K : Type) [Field K] [IsAlgClosed K] (φ : d.carrier →+* K) |
| 43 | |
| 44 | def evaluatedTuple (a : ULift (Fin d.count)) := |
| 45 | AbelianScheme.IsogenyQuotient.Universal.Choices.Construction.blockTupleCoordinates (s + 1) (originalChoiceFunctor q c i p) |
| 46 | (.op (Over.mk (Spec.map (CommRingCat.ofHom (algebraMap k d.carrier))))) |
| 47 | (d.evaluatedChoiceEquiv _ repr a) |
| 48 | |
| 49 | def extendedTupleEquiv : ULift (Fin d.count) ≃ |
| 50 | (∀ v, Geometric.Enumeration.Neighbor.originalChoice q c i p K (d.extendedParameterBase K φ).hom v) := |
| 51 | (d.extendedChoiceEquiv K φ _ repr).trans |
| 52 | (AbelianScheme.IsogenyQuotient.Universal.Choices.Construction.blockTupleCoordinates (s + 1) (originalChoiceFunctor q c i p) |
| 53 | (.op (d.extendedParameterBase K φ))) |
| 54 | |
| 55 | omit [∀ v, IsFinite (AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock (q ^ HeckeExponents.neighborLevel i) (p v)).hom] |
| 56 | [∀ v, Etale (AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock (q ^ HeckeExponents.neighborLevel i) (p v)).hom] [IsAlgClosed K] |
| 57 | [IsCommMonObj A] [∀ v, IsMonHom (p v)] in |
| 58 | theorem extendedTupleEquiv_subgroup (a : ULift (Fin d.count)) (v : Fin (s + 1)) : |
| 59 | (extendedTupleEquiv q c i p repr d K φ a v).val.subgroup = |
| 60 | ((evaluatedTuple q c i p repr d a v).val.subgroup).baseChange (d.parameterExtensionMap K φ) := by |
| 61 | change (AbelianScheme.IsogenyQuotient.Universal.Choices.Construction.blockTupleCoordinates (s + 1) (originalChoiceFunctor q c i p) |
| 62 | (.op (d.extendedParameterBase K φ)) (d.extendedChoiceEquiv K φ _ repr a) v).val.subgroup = _ |
| 63 | rw [Evaluated.ParameterPoints.Lifts.FiniteEvaluationField.extendedChoiceEquiv_natural, AbelianScheme.IsogenyQuotient.Universal.Choices.Construction.blockTupleCoordinates_natural] |
| 64 | rfl |
| 65 | |
| 66 | variable (coordinates : ∀ v : Fin s, |
| 67 | Additive (d.extendedParameterBase K φ ⟶ AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock (q ^ HeckeExponents.neighborLevel i) (p v.succ)) ≃+ |
| 68 | (Fin 3 → ZMod (q ^ HeckeExponents.neighborLevel i))) |
| 69 | |
| 70 | def originalParameterSubspaceEquiv : ULift (Fin d.count) ≃ |
| 71 | {L : Submodule (ZMod q) |
| 72 | (ActiveTorsionChoices.killedSubgroup q (Additive (d.extendedParameterBase K φ ⟶ |
| 73 | AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock (q ^ HeckeExponents.neighborLevel i) (p 0)))) // |
| 74 | Module.finrank (ZMod q) L = HeckeExponents.neighborLevel i} := |
| 75 | (extendedTupleEquiv q c i p repr d K φ).trans |
| 76 | (Geometric.Enumeration.Neighbor.originalTupleSubspaceEquiv q c i p K (d.extendedParameterBase K φ).hom coordinates) |
| 77 | |
| 78 | theorem originalParameterSubspaceEquiv_membership (a : ULift (Fin d.count)) |
| 79 | (x : ActiveTorsionChoices.killedSubgroup q (Additive (d.extendedParameterBase K φ ⟶ |
| 80 | AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock (q ^ HeckeExponents.neighborLevel i) (p 0)))) : |
| 81 | x ∈ (originalParameterSubspaceEquiv q c i p repr d K φ coordinates a).val ↔ |
| 82 | x.val.toMul ≫ AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlockInclusion (q ^ HeckeExponents.neighborLevel i) (p 0) ∈ |
| 83 | (evaluatedTuple q c i p repr d a 0).val.subgroup.points |
| 84 | (d.extendedParameterBase K φ) (d.parameterExtensionMap K φ) := by |
| 85 | refine (Geometric.Enumeration.Neighbor.originalTupleSubspaceEquiv_membership q c i p K (d.extendedParameterBase K φ).hom |
| 86 | coordinates (extendedTupleEquiv q c i p repr d K φ a) x).trans ?_ |
| 87 | rw [extendedTupleEquiv_subgroup] |
| 88 | rfl |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.ParameterSubspaces |