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.CoordinateMembership |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.ActiveChoiceImage |
| 3 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.EtaleMembershipDescent |
| 4 | |
| 5 | /-! # Rational Membership -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Joint.RationalMembership |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Descend the original coordinate-membership calculation from the |
| 12 | specified geometric extension to the actual common evaluation field. -/ |
| 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.Intrinsic.ChoiceFunctor OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.ParameterSubspaces OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.ActiveSubspaces |
| 19 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Joint.CoordinateSubspaces OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Joint.CoordinateMembership OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.ActiveChoiceImage.Prime |
| 20 | |
| 21 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 22 | [Field K] [NumberField K] {κ : K →+* ℂ} {q : ℕ} [Fact q.Prime] |
| 23 | (j : PELModuli.CMPoints.Arithmetic.QadicChoice K κ q) (iota : E →+* K) (hsplit : j.HasSplitCoordinates iota) |
| 24 | {L : Type} [Field L] [CharZero L] {g s : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of L))) |
| 25 | (ρ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction (NumberField.RingOfIntegers E) A) |
| 26 | (c : Fin s → Bool) (p : Fin 3 → Fin (s + 1) → (A.scheme ⟶ A.scheme)) |
| 27 | [∀ i v, IsMonHom (p i v)] (hTorsionQuotient : AbelianScheme.IsogenyQuotient.Unit.Construction.TorsionQuotientInput) |
| 28 | (d : IntrinsicEvaluation.Lifts.JointFiniteEvaluationField L (Intrinsic.HeckeEvaluation.neighborEvaluationSchemes A q 0 (Fin.cases false c) p hTorsionQuotient)) |
| 29 | (i : Fin 3) (k : Type) [Field k] [IsAlgClosed k] (φ : d.carrier →+* k) |
| 30 | (τ : Gal(E/ℚ)) (hp : p i 0 = ρ.map (j.projector iota hsplit (HeckeExponents.neighborLevel i) τ)) |
| 31 | (coordinates : ∀ v : Fin s, |
| 32 | Additive ((d.family (some i)).extendedParameterBase k φ ⟶ |
| 33 | AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock (q ^ HeckeExponents.neighborLevel i) (p i v.succ)) ≃+ (Fin 3 → ZMod (q ^ HeckeExponents.neighborLevel i))) |
| 34 | |
| 35 | local instance : NeZero q := ⟨(Fact.out : q.Prime).ne_zero⟩ |
| 36 | |
| 37 | local instance neighborModule (v : Fin (s + 1)) : |
| 38 | Module (ZMod (q ^ HeckeExponents.neighborLevel i)) |
| 39 | (AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.RankThreeElementaryModule.{0} q (HeckeExponents.neighborExponents 0 (Fin.cases false c) i v)) := |
| 40 | AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.rankThreeElementaryModule_structure q (HeckeExponents.neighborLevel i) |
| 41 | (HeckeExponents.neighborExponents 0 (Fin.cases false c) i v) |
| 42 | (HeckeExponents.neighborExponents_bound 0 (Fin.cases false c) i v) |
| 43 | |
| 44 | variable |
| 45 | (linearCoordinates : Additive (Over.mk (Spec.map (CommRingCat.ofHom (algebraMap L d.carrier))) ⟶ |
| 46 | AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock q (ρ.map (j.projector iota hsplit 1 τ))) ≃ₗ[ZMod q] ((Fin 2 → ZMod q) × ZMod q)) |
| 47 | (a : ULift (Fin (d.count (some i)))) |
| 48 | (z : Additive (Over.mk (Spec.map (CommRingCat.ofHom (algebraMap L d.carrier))) ⟶ |
| 49 | AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock q (ρ.map (j.projector iota hsplit 1 τ)))) |
| 50 | |
| 51 | theorem jointCoordinateSubspaceEquiv_rational_membership : |
| 52 | linearCoordinates z ∈ |
| 53 | (CoordinateSubspaces.jointCoordinateSubspaceEquiv j iota hsplit A ρ c p hTorsionQuotient d i k φ τ hp coordinates linearCoordinates a).val ↔ |
| 54 | z.toMul ∈ (Evaluated.ActiveChoiceImage.Prime.evaluatedPrimeActiveSubgroup j iota hsplit A ρ c p hTorsionQuotient d i τ a).points |
| 55 | (Over.mk (Spec.map (CommRingCat.ofHom (algebraMap L d.carrier)))) (𝟙 _) := by |
| 56 | have hg := AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock_finite_etale q (ρ.map (j.projector iota hsplit 1 τ)) |
| 57 | (AbelianScheme.IsogenyQuotient.Kernel.Assembly.Construction.torsion_finite_etale_from_TorsionQuotient (A := A.scheme) (𝟙 (Spec (.of L))) q |
| 58 | (Fact.out : q.Prime).pos hTorsionQuotient) |
| 59 | let : IsFinite (AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock q (ρ.map (j.projector iota hsplit 1 τ))).hom := hg.1 |
| 60 | let : Etale (AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock q (ρ.map (j.projector iota hsplit 1 τ))).hom := hg.2 |
| 61 | have : Nonempty ((d.family (some i)).extendedParameterBase k φ).left := |
| 62 | inferInstanceAs (Nonempty (Spec (.of k))) |
| 63 | have : Subsingleton (Over.mk |
| 64 | (Spec.map (CommRingCat.ofHom (algebraMap L (d.family (some i)).carrier)))).left := |
| 65 | inferInstanceAs (Subsingleton (Spec (.of d.carrier))) |
| 66 | have : Surjective ((d.family (some i)).parameterExtensionMap k φ).left := |
| 67 | ⟨Function.surjective_to_subsingleton _⟩ |
| 68 | have h₁ := CoordinateMembership.jointCoordinateSubspaceEquiv_membership j iota hsplit A ρ c p hTorsionQuotient d i k φ τ hp |
| 69 | coordinates linearCoordinates a z |
| 70 | have h₂ := EtaleMembershipDescent.membership_iff_surjective |
| 71 | (Evaluated.ActiveChoiceImage.Prime.evaluatedPrimeActiveSubgroupModel j iota hsplit A ρ c p hTorsionQuotient d i τ hp a) |
| 72 | ((d.family (some i)).parameterExtensionMap k φ) (𝟙 _) z.toMul |
| 73 | change z.toMul ≫ AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlockInclusion q (ρ.map (j.projector iota hsplit 1 τ)) ∈ |
| 74 | (Evaluated.ActiveChoiceImage.Prime.evaluatedPrimeActiveChoice A c p hTorsionQuotient d i a).val.subgroup.points _ (𝟙 _) ↔ |
| 75 | (((d.family (some i)).parameterExtensionMap k φ) ≫ z.toMul) ≫ |
| 76 | AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlockInclusion q (ρ.map (j.projector iota hsplit 1 τ)) ∈ |
| 77 | (Evaluated.ActiveChoiceImage.Prime.evaluatedPrimeActiveChoice A c p hTorsionQuotient d i a).val.subgroup.points _ |
| 78 | (((d.family (some i)).parameterExtensionMap k φ) ≫ 𝟙 _) at h₂ |
| 79 | erw [Category.comp_id, Category.assoc] at h₂ |
| 80 | exact h₁.trans h₂.symm |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Joint.RationalMembership |