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.Intrinsic.HeckeEvaluation |
| 2 | |
| 3 | /-! # Active Block -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ActiveBlock.Evaluation |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Choose one finite field that splits the original three neighbor |
| 10 | parameters, source q-torsion, and the designated active q-block. Restricting |
| 11 | the same field retains every original parameter label and additionally |
| 12 | supplies the block splitting used for the integral ordinary coordinates. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.HeckeEvaluation |
| 18 | |
| 19 | variable {K : Type} [Field K] [CharZero K] {g s : ℕ} |
| 20 | (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of K))) (q : ℕ) [Fact q.Prime] |
| 21 | (active : Fin s) (multiplicative : Fin s → Bool) |
| 22 | (p : Fin 3 → Fin s → (A.scheme ⟶ A.scheme)) [∀ i v, IsMonHom (p i v)] |
| 23 | (p0 : A.scheme ⟶ A.scheme) [IsMonHom p0] (hTorsionQuotient : AbelianScheme.IsogenyQuotient.Unit.Construction.TorsionQuotientInput) |
| 24 | |
| 25 | def activeBlockEvaluationSchemes : Option (Option (Fin 3)) → Over (Spec (.of K)) |
| 26 | | none => AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock (q ^ 1) p0 |
| 27 | | some i => Intrinsic.HeckeEvaluation.neighborEvaluationSchemes A q active multiplicative p hTorsionQuotient i |
| 28 | |
| 29 | structure ActiveBlockEvaluation where |
| 30 | evaluation : Joint.IntrinsicEvaluation.Lifts.JointFiniteEvaluationField K (Intrinsic.HeckeEvaluation.neighborEvaluationSchemes A q active multiplicative p hTorsionQuotient) |
| 31 | blockCount : ℕ |
| 32 | blockIso : AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of evaluation.carrier)) (ULift (Fin blockCount)) ≅ |
| 33 | (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap K evaluation.carrier)))).obj (AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock (q ^ 1) p0) |
| 34 | |
| 35 | def activeBlockEvaluation : ActiveBlockEvaluation A q active multiplicative p p0 hTorsionQuotient := by |
| 36 | have htor := AbelianScheme.IsogenyQuotient.Kernel.Assembly.Construction.torsion_finite_etale_from_TorsionQuotient (A := A.scheme) (𝟙 (Spec (.of K))) |
| 37 | q (Fact.out : q.Prime).pos hTorsionQuotient |
| 38 | have hs := AbelianScheme.IsogenyQuotient.Torsion.Groups.Construction.nativeTorsionScheme_finite_etale A.scheme q htor |
| 39 | have hblock := AbelianScheme.IsogenyQuotient.Kernel.Assembly.Construction.torsion_finite_etale_from_TorsionQuotient (A := A.scheme) (𝟙 (Spec (.of K))) |
| 40 | (q ^ 1) (pow_pos (Fact.out : q.Prime).pos _) hTorsionQuotient |
| 41 | have hb := AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock_finite_etale (q ^ 1) p0 hblock |
| 42 | let : ∀ t, IsFinite (activeBlockEvaluationSchemes A q active multiplicative p p0 hTorsionQuotient t).hom := |
| 43 | fun t => by |
| 44 | cases t with |
| 45 | | none => exact hb.1 |
| 46 | | some t => |
| 47 | cases t with |
| 48 | | none => exact hs.1 |
| 49 | | some i => exact (Intrinsic.HeckeEvaluation.nativeNeighborParameter A q active multiplicative p hTorsionQuotient i).finite |
| 50 | let : ∀ t, Etale (activeBlockEvaluationSchemes A q active multiplicative p p0 hTorsionQuotient t).hom := |
| 51 | fun t => by |
| 52 | cases t with |
| 53 | | none => exact hb.2 |
| 54 | | some t => |
| 55 | cases t with |
| 56 | | none => exact hs.2 |
| 57 | | some i => exact (Intrinsic.HeckeEvaluation.nativeNeighborParameter A q active multiplicative p hTorsionQuotient i).etale |
| 58 | let d := Joint.IntrinsicEvaluation.Lifts.jointFiniteEvaluationField K (activeBlockEvaluationSchemes A q active multiplicative p p0 hTorsionQuotient) |
| 59 | exact { |
| 60 | evaluation := { |
| 61 | carrier := d.carrier |
| 62 | count := fun i => d.count (some i) |
| 63 | parameterIso := fun i => d.parameterIso (some i) } |
| 64 | blockCount := d.count none |
| 65 | blockIso := d.parameterIso none } |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ActiveBlock.Evaluation |