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.HeckeExponents |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Joint.EvaluationDVR |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Kernel.Assembly |
| 4 | |
| 5 | /-! # Hecke Evaluation -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.HeckeEvaluation |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Construct the three actual elementary-type parameter schemes and |
| 12 | one finite field splitting them together with the source q-torsion. |
| 13 | The parameter functors retain the complete chosen-block tuple; active |
| 14 | coordinates have exponent one and compact coordinates have exponent i. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open scoped _root_.CategoryTheory.MonObj |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Kernel.Assembly.Construction OAI.AlgebraicGeometry.Isogenies.NeighborCounting.HeckeExponents |
| 20 | |
| 21 | variable {K : Type} [Field K] [CharZero K] {d s : ℕ} |
| 22 | variable (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme d (Spec (.of K))) (q : ℕ) [Fact q.Prime] |
| 23 | variable (active : Fin s) (multiplicative : Fin s → Bool) |
| 24 | |
| 25 | local instance : NeZero q := ⟨(Fact.out : q.Prime).ne_zero⟩ |
| 26 | |
| 27 | local instance neighborModule (i : Fin 3) (v : Fin s) : |
| 28 | Module (ZMod (q ^ HeckeExponents.neighborLevel i)) |
| 29 | (AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.RankThreeElementaryModule.{0} q (HeckeExponents.neighborExponents active multiplicative i v)) := |
| 30 | AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.rankThreeElementaryModule_structure q (HeckeExponents.neighborLevel i) |
| 31 | (HeckeExponents.neighborExponents active multiplicative i v) |
| 32 | (HeckeExponents.neighborExponents_bound active multiplicative i v) |
| 33 | |
| 34 | variable (projectors : Fin 3 → Fin s → (A.scheme ⟶ A.scheme)) |
| 35 | variable [∀ i v, IsMonHom (projectors i v)] |
| 36 | |
| 37 | def neighborChoiceFunctor (i : Fin 3) : (Over (Spec (.of K)))ᵒᵖ ⥤ Type 1 := |
| 38 | AbelianScheme.IsogenyQuotient.Parameter.Products.Construction.blockTupleFunctor s (fun v => AbelianScheme.IsogenyQuotient.SubgroupFunctor.Construction.supportedSubgroupFunctor A.scheme (q ^ HeckeExponents.neighborLevel i) |
| 39 | (AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.RankThreeElementaryModule.{0} q (HeckeExponents.neighborExponents active multiplicative i v)) (projectors i v)) |
| 40 | |
| 41 | structure NativeNeighborParameter (i : Fin 3) where |
| 42 | parameter : Over (Spec (.of K)) |
| 43 | [finite : IsFinite parameter.hom] |
| 44 | [etale : Etale parameter.hom] |
| 45 | represents : (neighborChoiceFunctor A q active multiplicative projectors i).RepresentableBy parameter |
| 46 | |
| 47 | attribute [instance] NativeNeighborParameter.finite NativeNeighborParameter.etale |
| 48 | |
| 49 | variable (h_TorsionQuotient : AbelianScheme.IsogenyQuotient.Unit.Construction.TorsionQuotientInput) |
| 50 | |
| 51 | def nativeNeighborParameter (i : Fin 3) : NativeNeighborParameter A q active multiplicative projectors i := |
| 52 | Classical.choice (show Nonempty (NativeNeighborParameter A q active multiplicative projectors i) from by |
| 53 | obtain ⟨X, hf, he, ⟨repr⟩⟩ := AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.integral_block_parameters_from_TorsionQuotient |
| 54 | (𝟙 (Spec (.of K))) A.scheme q (Fact.out : q.Prime) (HeckeExponents.neighborLevel i) s |
| 55 | (HeckeExponents.neighborExponents active multiplicative i) (HeckeExponents.neighborExponents_bound active multiplicative i) |
| 56 | (projectors i) h_TorsionQuotient |
| 57 | exact ⟨{parameter := X, finite := hf, etale := he, represents := repr}⟩) |
| 58 | |
| 59 | def neighborEvaluationSchemes : Option (Fin 3) → Over (Spec (.of K)) |
| 60 | | none => AbelianScheme.IsogenyQuotient.Torsion.Groups.Construction.nativeTorsionScheme A.scheme q |
| 61 | | some i => (nativeNeighborParameter A q active multiplicative projectors h_TorsionQuotient i).parameter |
| 62 | |
| 63 | /-- One constructed finite extension splits all three independently |
| 64 | represented IsogenyQuotient families and the original source q-torsion. -/ |
| 65 | def nativeHeckeEvaluation : |
| 66 | Joint.IntrinsicEvaluation.Lifts.JointFiniteEvaluationField K (neighborEvaluationSchemes A q active multiplicative projectors h_TorsionQuotient) := by |
| 67 | have ht := AbelianScheme.IsogenyQuotient.Torsion.Groups.Construction.nativeTorsionScheme_finite_etale A.scheme q |
| 68 | (AbelianScheme.IsogenyQuotient.Kernel.Assembly.Construction.torsion_finite_etale_from_TorsionQuotient (A := A.scheme) (𝟙 (Spec (.of K))) q |
| 69 | (Fact.out : q.Prime).pos h_TorsionQuotient) |
| 70 | letI : ∀ i, IsFinite (neighborEvaluationSchemes A q active multiplicative projectors h_TorsionQuotient i).hom := |
| 71 | fun i => by cases i with |
| 72 | | none => exact ht.1 |
| 73 | | some i => exact (nativeNeighborParameter A q active multiplicative projectors h_TorsionQuotient i).finite |
| 74 | letI : ∀ i, Etale (neighborEvaluationSchemes A q active multiplicative projectors h_TorsionQuotient i).hom := |
| 75 | fun i => by cases i with |
| 76 | | none => exact ht.2 |
| 77 | | some i => exact (nativeNeighborParameter A q active multiplicative projectors h_TorsionQuotient i).etale |
| 78 | exact Joint.IntrinsicEvaluation.Lifts.jointFiniteEvaluationField K _ |
| 79 | |
| 80 | def evaluatedNeighborFamily (i : Fin 3) : Evaluated.ParameterPoints.Lifts.FiniteEvaluationField K |
| 81 | (nativeNeighborParameter A q active multiplicative projectors h_TorsionQuotient i).parameter := |
| 82 | (nativeHeckeEvaluation A q active multiplicative projectors h_TorsionQuotient).family (some i) |
| 83 | |
| 84 | def evaluatedSourceTorsion : Evaluated.ParameterPoints.Lifts.FiniteEvaluationField K (AbelianScheme.IsogenyQuotient.Torsion.Groups.Construction.nativeTorsionScheme A.scheme q) := |
| 85 | (nativeHeckeEvaluation A q active multiplicative projectors h_TorsionQuotient).family none |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.HeckeEvaluation |