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.Canonical.OrdinaryFamilies |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Canonical.Nondegeneracy |
| 3 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.CompactKernelComponents |
| 4 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.ChosenFamilyProperties |
| 5 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.KernelLabels |
| 6 | |
| 7 | /-! # One Step Kernel -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Canonical.OneStepKernel |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Literal compact restrictions of the actual canonical one-step |
| 14 | quotient. Both chosen and opposite restrictions are derived from its |
| 15 | independent full-kernel prescription. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 19 | open scoped _root_.CategoryTheory.MonObj |
| 20 | |
| 21 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Kernel.Models |
| 22 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Canonical.Kernel OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Canonical.OrdinaryFamilies.Ordinary OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Canonical.CoefficientPerfection |
| 23 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.KernelComparison OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.OrdinaryKernelFamilies.IntrinsicOrdinary OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.KernelLabels |
| 24 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.CompactKernelComponents OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.ChosenFamilyProperties.IntrinsicFamily OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Canonical.Nondegeneracy |
| 25 | |
| 26 | def mapKernelFamily {S : Scheme} {A C P : Over S} [GrpObj A] [GrpObj C] |
| 27 | (f : A ⟶ C) [IsMonHom f] : AbelianScheme.TorsionQuotient.SubgroupFunctor.RelativeSubgroup A P where |
| 28 | points T _ := (IsMonHom.monoidHom f T).ker |
| 29 | naturality := by |
| 30 | intro T U t p a ha |
| 31 | change (t ≫ a) ≫ f = 1 |
| 32 | change a ≫ f = 1 at ha |
| 33 | rw [Category.assoc, ha, MonObj.comp_one] |
| 34 | |
| 35 | variable {k : Type} [Field k] [IsAlgClosed k] {g N : ℕ} {δ : Fin g → ℕ} |
| 36 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 37 | [Field K] [NumberField K] {κ : K →+* ℂ} {q : ℕ} [Fact q.Prime] |
| 38 | variable (j : PELModuli.CMPoints.Arithmetic.QadicChoice K κ q) (iota : E →+* K) (hsplit : j.HasSplitCoordinates iota) |
| 39 | variable (A : AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec (.of k))) |
| 40 | variable (ρ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction (NumberField.RingOfIntegers E) A.abelian) |
| 41 | variable (n s : ℕ) (labels : (Fin (s + 1) × Bool) ≃ Gal(E/ℚ)) (compact : Fin s → Bool) |
| 42 | variable (H0 : AbelianScheme.FrobeniusKernel.FiniteCartierSubgroupTransport.Construction.FiniteCartierSubgroup k (AbelianScheme.FrobeniusKernel.CMPointsAt.Construction.l45ChosenBlock j iota hsplit A ρ (labels (0, false)) n)) |
| 43 | variable (C0 : ∀ v : Fin s, AbelianScheme.FrobeniusKernel.FiniteCartierSubgroupTransport.Construction.FiniteCartierSubgroup k |
| 44 | (AbelianScheme.FrobeniusKernel.CMPointsAt.Construction.l45ChosenBlock j iota hsplit A ρ (labels (v.succ, false)) n)) |
| 45 | variable (hC0 : ∀ (v : Fin s) (T : Over (Spec (.of k))) |
| 46 | (a : T ⟶ (AbelianScheme.FrobeniusKernel.CMPointsAt.Construction.l45ChosenBlock j iota hsplit A ρ (labels (v.succ, false)) n).X), |
| 47 | (∃ h : T ⟶ (C0 v).group.X, h ≫ (C0 v).inclusion.hom.hom = a) ↔ if compact v then True else a = 1) |
| 48 | variable {C : Over (Spec (.of k))} [GrpObj C] (f : A.abelian.scheme ⟶ C) [IsMonHom f] |
| 49 | variable (hf : ∀ (T : Over (Spec (.of k))) (a : T ⟶ A.abelian.scheme), |
| 50 | a ≫ f = 1 ↔ AbelianScheme.FrobeniusKernel.Prescription.Construction.prescribedFullKernel j iota hsplit A ρ n (s + 1) labels |
| 51 | (OrdinaryFamilies.Ordinary.canonicalChosenFamily j iota hsplit A ρ n s labels H0 C0) T a) |
| 52 | |
| 53 | include hC0 hf in |
| 54 | omit [NumberField.IsCMField E] in |
| 55 | theorem canonical_map_kernel_iff (T : Over (Spec (.of k))) (a : T ⟶ A.abelian.scheme) : |
| 56 | a ≫ f = 1 ↔ a ∈ (Kernel.Models.multiplierFullKernel (q ^ n) |
| 57 | (Intrinsic.KernelComparison.chosenProjector j iota hsplit A ρ n (s + 1) labels) |
| 58 | (Intrinsic.KernelComparison.oppositeProjector j iota hsplit A ρ n (s + 1) labels) |
| 59 | (fun v => CoefficientPerfection.canonicalCoefficientPairing j iota hsplit A ρ n (labels (v, false)) (labels (v, true))) |
| 60 | 0 (Intrinsic.OrdinaryKernelFamilies.IntrinsicOrdinary.compactPrescription s compact) (Intrinsic.OrdinaryKernelFamilies.IntrinsicOrdinary.activeChosenFamily j iota hsplit A ρ n s labels H0)).points T (toUnit T) := by |
| 61 | have h := (Kernel.prescribed_full_family_eq j iota hsplit A ρ n (s + 1) labels |
| 62 | (OrdinaryFamilies.Ordinary.canonicalChosenFamily j iota hsplit A ρ n s labels H0 C0) |
| 63 | (mapKernelFamily (P := 𝟙_ (Over (Spec (.of k)))) f) (fun U _ a => hf U a)).trans |
| 64 | (OrdinaryFamilies.Ordinary.canonical_ordinary_full_family j iota hsplit A ρ n s labels compact H0 C0 hC0) |
| 65 | change a ∈ (mapKernelFamily f).points T (toUnit T) ↔ _ |
| 66 | rw [h] |
| 67 | |
| 68 | include hC0 hf in |
| 69 | omit [NumberField.IsCMField E] in |
| 70 | theorem canonical_one_step_compact_chosen {m : ℕ} (hnm : n ≤ m) (v : Fin s) |
| 71 | (T : Over (Spec (.of k))) (a : T ⟶ A.abelian.scheme) |
| 72 | (ha : a ≫ ρ.map (j.projector iota hsplit m (labels (v.succ, false))) = a) : |
| 73 | a ≫ f = 1 ↔ if compact v then a ^ (q ^ n) = 1 else a = 1 := by |
| 74 | rw [canonical_map_kernel_iff j iota hsplit A ρ n s labels compact H0 C0 hC0 f hf] |
| 75 | have hp := Intrinsic.ChosenFamilyProperties.IntrinsicFamily.original_block_family_bound (P := 𝟙_ (Over (Spec (.of k)))) |
| 76 | j iota hsplit A.abelian ρ n (labels (0, false)) H0.inclusion |
| 77 | exact Intrinsic.CompactKernelComponents.compact_chosen_higher j iota hsplit A.abelian ρ (Intrinsic.KernelLabels.nativeKernelLabels labels) hnm |
| 78 | (fun w => CoefficientPerfection.canonicalCoefficientPairing j iota hsplit A ρ n (labels (w, false)) (labels (w, true))) |
| 79 | 0 (Intrinsic.OrdinaryKernelFamilies.IntrinsicOrdinary.compactPrescription s compact) (Intrinsic.OrdinaryKernelFamilies.IntrinsicOrdinary.activeChosenFamily j iota hsplit A ρ n s labels H0) |
| 80 | hp.1 hp.2 v.succ (Fin.succ_ne_zero v) T (toUnit T) a ha |
| 81 | |
| 82 | include hC0 hf in |
| 83 | theorem canonical_one_step_compact_opposite (hρ : AbelianModuli.ReferenceFamily.ActionData.RosatiConjugation A ρ) |
| 84 | (hdegree : q.Coprime (∏ i, δ i)) |
| 85 | (hc : ∀ v, labels (v, true) = PELModuli.CMPoints.Arithmetic.rationalConjugation E * labels (v, false)) |
| 86 | {m : ℕ} (hnm : n ≤ m) (v : Fin s) |
| 87 | (T : Over (Spec (.of k))) (a : T ⟶ A.abelian.scheme) |
| 88 | (ha : a ≫ ρ.map (j.projector iota hsplit m (labels (v.succ, true))) = a) : |
| 89 | a ≫ f = 1 ↔ if compact v then a = 1 else a ^ (q ^ n) = 1 := by |
| 90 | rw [canonical_map_kernel_iff j iota hsplit A ρ n s labels compact H0 C0 hC0 f hf] |
| 91 | have hp := Intrinsic.ChosenFamilyProperties.IntrinsicFamily.original_block_family_bound (P := 𝟙_ (Over (Spec (.of k)))) |
| 92 | j iota hsplit A.abelian ρ n (labels (0, false)) H0.inclusion |
| 93 | exact Intrinsic.CompactKernelComponents.compact_opposite_higher j iota hsplit A.abelian ρ (Intrinsic.KernelLabels.nativeKernelLabels labels) hnm |
| 94 | (fun w => CoefficientPerfection.canonicalCoefficientPairing j iota hsplit A ρ n (labels (w, false)) (labels (w, true))) |
| 95 | 0 (Intrinsic.OrdinaryKernelFamilies.IntrinsicOrdinary.compactPrescription s compact) (Intrinsic.OrdinaryKernelFamilies.IntrinsicOrdinary.activeChosenFamily j iota hsplit A ρ n s labels H0) |
| 96 | hp.1 hp.2 v.succ (Fin.succ_ne_zero v) |
| 97 | (Nondegeneracy.canonical_coefficient_zero_double j iota hsplit A ρ hρ hdegree n |
| 98 | (labels (v.succ, false)) (labels (v.succ, true)) (hc v.succ)) T (toUnit T) a ha |
| 99 | |
| 100 | end |
| 101 | |
| 102 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Canonical.OneStepKernel |