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.IntrinsicKernelComparison |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.OrdinaryKernelFamilies |
| 3 | |
| 4 | /-! # Ordinary Families -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Canonical.OrdinaryFamilies.Ordinary |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Compute the full canonical ordinary family from the original |
| 11 | all-test compact prescription. Every nonzero compact block stays at |
| 12 | the literal multiplier q^n. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Kernel.Models |
| 18 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Canonical.Kernel OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Canonical.IntrinsicKernelComparison.Intrinsic OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Canonical.CoefficientPerfection |
| 19 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.KernelComparison OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.OrdinaryKernelFamilies.IntrinsicOrdinary OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Kernel.FamilyTransport.Family |
| 20 | |
| 21 | theorem compact_prescription_ambient_family {k : Type} [Field k] |
| 22 | {B : Grp (Over (Spec (.of k)))} [IsCommMonObj B.X] |
| 23 | {A P : Over (Spec (.of k))} [GrpObj A] [IsCommMonObj A] |
| 24 | (H : AbelianScheme.FrobeniusKernel.FiniteCartierSubgroupTransport.Construction.FiniteCartierSubgroup k B) (i : B.X ⟶ A) [IsMonHom i] (flag : Bool) |
| 25 | (hH : ∀ (T : Over (Spec (.of k))) (a : T ⟶ B.X), |
| 26 | (∃ h : T ⟶ H.group.X, h ≫ H.inclusion.hom.hom = a) ↔ if flag then True else a = 1) : |
| 27 | Kernel.Base.fixedKernelFamily (P := P) (H.inclusion.hom.hom ≫ i) = |
| 28 | if flag then Kernel.Base.fixedKernelFamily i else AbelianScheme.IsogenyQuotient.Kernel.Tuples.Construction.trivialRelativeSubgroup := by |
| 29 | cases hb : flag |
| 30 | · simp only [Bool.false_eq_true, ↓reduceIte] |
| 31 | ext T t a |
| 32 | change (∃ h, h ≫ (H.inclusion.hom.hom ≫ i) = a) ↔ a = 1 |
| 33 | constructor |
| 34 | · rintro ⟨h, hh⟩ |
| 35 | have hz := (hH T (h ≫ H.inclusion.hom.hom)).mp ⟨h, rfl⟩ |
| 36 | simp only [hb, Bool.false_eq_true, ↓reduceIte] at hz |
| 37 | exact hh.symm.trans ((Category.assoc _ _ _).symm.trans |
| 38 | ((congrArg (fun z => z ≫ i) hz).trans (MonObj.one_comp i))) |
| 39 | · rintro rfl |
| 40 | exact ⟨1, MonObj.one_comp _⟩ |
| 41 | · simp only [↓reduceIte] |
| 42 | ext T t a |
| 43 | change (∃ h, h ≫ (H.inclusion.hom.hom ≫ i) = a) ↔ ∃ b, b ≫ i = a |
| 44 | constructor |
| 45 | · rintro ⟨h, hh⟩ |
| 46 | exact ⟨h ≫ H.inclusion.hom.hom, (Category.assoc _ _ _).trans hh⟩ |
| 47 | · rintro ⟨b, hb'⟩ |
| 48 | have hm : ∃ h : T ⟶ H.group.X, h ≫ H.inclusion.hom.hom = b := |
| 49 | (hH T b).mpr (by simp only [hb, ↓reduceIte]) |
| 50 | obtain ⟨h, hh⟩ := hm |
| 51 | exact ⟨h, (Category.assoc _ _ _).symm.trans ((congrArg (fun z => z ≫ i) hh).trans hb')⟩ |
| 52 | |
| 53 | variable {k : Type} [Field k] [IsAlgClosed k] {g N : ℕ} {δ : Fin g → ℕ} |
| 54 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 55 | [Field K] [NumberField K] {κ : K →+* ℂ} {q : ℕ} [Fact q.Prime] |
| 56 | variable (j : PELModuli.CMPoints.Arithmetic.QadicChoice K κ q) (iota : E →+* K) (hsplit : j.HasSplitCoordinates iota) |
| 57 | variable (A : AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec (.of k))) |
| 58 | variable (ρ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction (NumberField.RingOfIntegers E) A.abelian) |
| 59 | variable (n s : ℕ) (labels : (Fin (s + 1) × Bool) ≃ Gal(E/ℚ)) (compact : Fin s → Bool) |
| 60 | variable (H0 : AbelianScheme.FrobeniusKernel.FiniteCartierSubgroupTransport.Construction.FiniteCartierSubgroup k (AbelianScheme.FrobeniusKernel.CMPointsAt.Construction.l45ChosenBlock j iota hsplit A ρ (labels (0, false)) n)) |
| 61 | variable (C0 : ∀ v : Fin s, AbelianScheme.FrobeniusKernel.FiniteCartierSubgroupTransport.Construction.FiniteCartierSubgroup k |
| 62 | (AbelianScheme.FrobeniusKernel.CMPointsAt.Construction.l45ChosenBlock j iota hsplit A ρ (labels (v.succ, false)) n)) |
| 63 | variable (hC0 : ∀ (v : Fin s) (T : Over (Spec (.of k))) |
| 64 | (a : T ⟶ (AbelianScheme.FrobeniusKernel.CMPointsAt.Construction.l45ChosenBlock j iota hsplit A ρ (labels (v.succ, false)) n).X), |
| 65 | (∃ h : T ⟶ (C0 v).group.X, h ≫ (C0 v).inclusion.hom.hom = a) ↔ if compact v then True else a = 1) |
| 66 | |
| 67 | def canonicalChosenFamily : ∀ v : Fin (s + 1), AbelianScheme.FrobeniusKernel.FiniteCartierSubgroupTransport.Construction.FiniteCartierSubgroup k |
| 68 | (AbelianScheme.FrobeniusKernel.CMPointsAt.Construction.l45ChosenBlock j iota hsplit A ρ (labels (v, false)) n) := Fin.cases H0 C0 |
| 69 | |
| 70 | include hC0 in |
| 71 | omit [IsAlgClosed k] in |
| 72 | theorem canonical_chosen_prescription {P : Over (Spec (.of k))} (v : Fin (s + 1)) : |
| 73 | Kernel.Base.fixedKernelFamily (P := P) |
| 74 | ((canonicalChosenFamily j iota hsplit A ρ n s labels H0 C0 v).inclusion.hom.hom ≫ |
| 75 | AbelianScheme.FrobeniusKernel.CMPointsAt.Construction.l45BlockInclusion j iota hsplit A.abelian ρ n (labels (v, false))) = |
| 76 | Kernel.Base.chosenKernel |
| 77 | (fun w => AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock (q ^ n) (Intrinsic.KernelComparison.chosenProjector j iota hsplit A ρ n (s + 1) labels w)) |
| 78 | (fun w => AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlockInclusion (q ^ n) (Intrinsic.KernelComparison.chosenProjector j iota hsplit A ρ n (s + 1) labels w)) |
| 79 | 0 (Intrinsic.OrdinaryKernelFamilies.IntrinsicOrdinary.compactPrescription s compact) (Intrinsic.OrdinaryKernelFamilies.IntrinsicOrdinary.activeChosenFamily j iota hsplit A ρ n s labels H0) v := by |
| 80 | classical |
| 81 | refine Fin.cases ?_ (fun w => ?_) v |
| 82 | · rw [Kernel.Base.chosenKernel, ite_eq_left rfl] |
| 83 | rfl |
| 84 | · rw [Kernel.Base.chosenKernel, ite_eq_right (Fin.succ_ne_zero w)] |
| 85 | change Kernel.Base.fixedKernelFamily |
| 86 | ((C0 w).inclusion.hom.hom ≫ AbelianScheme.FrobeniusKernel.CMPointsAt.Construction.l45BlockInclusion j iota hsplit A.abelian ρ n (labels (w.succ, false))) = |
| 87 | if compact w then Kernel.Base.fixedKernelFamily |
| 88 | (AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlockInclusion (q ^ n) (ρ.map (j.projector iota hsplit n (labels (w.succ, false))))) |
| 89 | else AbelianScheme.IsogenyQuotient.Kernel.Tuples.Construction.trivialRelativeSubgroup |
| 90 | rw [Kernel.FamilyTransport.Family.fixed_iso (P := P) |
| 91 | (AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlockInclusion (q ^ n) (ρ.map (j.projector iota hsplit n (labels (w.succ, false))))) |
| 92 | (AbelianScheme.FrobeniusKernel.CMPointsAt.Construction.l45BlockInclusion j iota hsplit A.abelian ρ n (labels (w.succ, false))) |
| 93 | (Intrinsic.KernelComparison.nativeBlockComparison j iota hsplit A ρ n (labels (w.succ, false))) |
| 94 | (Intrinsic.KernelComparison.nativeBlockComparison_inclusion j iota hsplit A ρ n (labels (w.succ, false)))] |
| 95 | exact compact_prescription_ambient_family (C0 w) _ (compact w) (hC0 w) |
| 96 | |
| 97 | include hC0 in |
| 98 | theorem canonical_ordinary_full_family {P : Over (Spec (.of k))} : |
| 99 | Kernel.originalCanonicalFullFamily (P := P) j iota hsplit A ρ n (s + 1) labels |
| 100 | (canonicalChosenFamily j iota hsplit A ρ n s labels H0 C0) = |
| 101 | Kernel.Models.multiplierFullKernel (q ^ n) |
| 102 | (Intrinsic.KernelComparison.chosenProjector j iota hsplit A ρ n (s + 1) labels) |
| 103 | (Intrinsic.KernelComparison.oppositeProjector j iota hsplit A ρ n (s + 1) labels) |
| 104 | (fun v => CoefficientPerfection.canonicalCoefficientPairing j iota hsplit A ρ n (labels (v, false)) (labels (v, true))) |
| 105 | 0 (Intrinsic.OrdinaryKernelFamilies.IntrinsicOrdinary.compactPrescription s compact) (Intrinsic.OrdinaryKernelFamilies.IntrinsicOrdinary.activeChosenFamily j iota hsplit A ρ n s labels H0) := by |
| 106 | rw [IntrinsicKernelComparison.Intrinsic.originalCanonicalFullFamily_native] |
| 107 | unfold Kernel.Models.multiplierFullKernel Kernel.Base.fullKernel |
| 108 | congr 1 |
| 109 | funext v |
| 110 | rw [canonical_chosen_prescription j iota hsplit A ρ n s labels compact H0 C0 hC0 v] |
| 111 | rfl |
| 112 | |
| 113 | end |
| 114 | |
| 115 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Canonical.OrdinaryFamilies.Ordinary |