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.FrobeniusKernelComparison |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.CompositeCompactPowers |
| 3 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.XYActiveKernel |
| 4 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Canonical.OneStepKernel |
| 5 | |
| 6 | /-! # Mixed Compact -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Canonical.MixedCompact |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Every compact chosen and opposite restriction of X followed by an |
| 13 | independently specified canonical ordinary quotient is computed from the |
| 14 | two original complete kernels. The canonical target pairing and its |
| 15 | nondegeneracy follow from the actual polarization and Rosati condition. The total multiplier is q^(m+1). -/ |
| 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.Intrinsic.OrdinaryKernelFamilies.IntrinsicOrdinary |
| 22 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Canonical.OneStepKernel OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.FrobeniusKernelComparison.IntrinsicCompact |
| 23 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Canonical.OrdinaryFamilies.Ordinary |
| 24 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.CompositeCompactPowers OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.XYActiveKernel |
| 25 | |
| 26 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 27 | variable [Field K] [NumberField K] {κ : K →+* ℂ} {q : ℕ} [Fact q.Prime] |
| 28 | variable (j : PELModuli.CMPoints.Arithmetic.QadicChoice K κ q) (iota : E →+* K) |
| 29 | variable (hsplit : j.HasSplitCoordinates iota) |
| 30 | variable (k : Type) [Field k] [IsAlgClosed k] [CharP k q] {d N : ℕ} {δ : Fin d → ℕ} |
| 31 | variable (PEL : AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel d δ N (Spec (.of k))) |
| 32 | variable (ρ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction (NumberField.RingOfIntegers E) PEL.abelian) |
| 33 | variable (s : ℕ) (labels : (Fin (s + 1) × Bool) ≃ Gal(E/ℚ)) |
| 34 | variable (compact : Fin s → Bool) |
| 35 | variable (e : ∀ v : Fin (s + 1), AbelianScheme.FrobeniusKernel.OrdinaryBlocks.Construction.OrdinaryBlockSplitting k |
| 36 | (AbelianScheme.FrobeniusKernel.CMPointsAt.Construction.l45ChosenBlock j iota hsplit PEL ρ (labels (v, false)) 1) q 1 |
| 37 | (AbelianScheme.FrobeniusKernel.CMPointsYZQuotients.Construction.l45MultiplicativeHeights compact v) (AbelianScheme.FrobeniusKernel.CMPointsYZQuotients.Construction.l45EtaleHeights compact v)) |
| 38 | variable (hdual : ∀ v : Fin (s + 1), PELModuli.CMPoints.DualityPairing.PolarizationDuality PEL ρ |
| 39 | (j.localCharacter iota (labels (v, false))) (j.localCharacter iota (labels (v, true)))) |
| 40 | |
| 41 | variable (m : ℕ) |
| 42 | variable (H0 : AbelianScheme.FrobeniusKernel.FiniteCartierSubgroupTransport.Construction.FiniteCartierSubgroup k (AbelianScheme.FrobeniusKernel.CMPointsAt.Construction.l45ChosenBlock j iota hsplit (Intrinsic.XYActiveKernel.frobeniusPEL k PEL) |
| 43 | (AbelianScheme.FrobeniusKernel.CMPointsTransport.Construction.l45FrobeniusTargetAction (q := q) k PEL.abelian ρ) (labels (0, false)) m)) |
| 44 | variable (C0 : ∀ v : Fin s, AbelianScheme.FrobeniusKernel.FiniteCartierSubgroupTransport.Construction.FiniteCartierSubgroup k |
| 45 | (AbelianScheme.FrobeniusKernel.CMPointsAt.Construction.l45ChosenBlock j iota hsplit (Intrinsic.XYActiveKernel.frobeniusPEL k PEL) |
| 46 | (AbelianScheme.FrobeniusKernel.CMPointsTransport.Construction.l45FrobeniusTargetAction (q := q) k PEL.abelian ρ) (labels (v.succ, false)) m)) |
| 47 | variable (hC0 : ∀ (v : Fin s) (T : Over (Spec (.of k))) |
| 48 | (a : T ⟶ (AbelianScheme.FrobeniusKernel.CMPointsAt.Construction.l45ChosenBlock j iota hsplit (Intrinsic.XYActiveKernel.frobeniusPEL k PEL) |
| 49 | (AbelianScheme.FrobeniusKernel.CMPointsTransport.Construction.l45FrobeniusTargetAction (q := q) k PEL.abelian ρ) (labels (v.succ, false)) m).X), |
| 50 | (∃ h : T ⟶ (C0 v).group.X, h ≫ (C0 v).inclusion.hom.hom = a) ↔ if compact v then True else a = 1) |
| 51 | variable (hρF : AbelianModuli.ReferenceFamily.ActionData.RosatiConjugation (Intrinsic.XYActiveKernel.frobeniusPEL k PEL) |
| 52 | (AbelianScheme.FrobeniusKernel.CMPointsTransport.Construction.l45FrobeniusTargetAction (q := q) k PEL.abelian ρ)) |
| 53 | variable (hdegree : q.Coprime (∏ i, δ i)) |
| 54 | variable (hc : ∀ v, labels (v, true) = PELModuli.CMPoints.Arithmetic.rationalConjugation E * labels (v, false)) |
| 55 | variable {C : Over (Spec (.of k))} [GrpObj C] |
| 56 | variable (g : (Intrinsic.XYActiveKernel.frobeniusPEL k PEL).abelian.scheme ⟶ C) [IsMonHom g] |
| 57 | variable (hg : ∀ (T : Over (Spec (.of k))) (a : T ⟶ (Intrinsic.XYActiveKernel.frobeniusPEL k PEL).abelian.scheme), |
| 58 | a ≫ g = 1 ↔ AbelianScheme.FrobeniusKernel.Prescription.Construction.prescribedFullKernel j iota hsplit (Intrinsic.XYActiveKernel.frobeniusPEL k PEL) |
| 59 | (AbelianScheme.FrobeniusKernel.CMPointsTransport.Construction.l45FrobeniusTargetAction (q := q) k PEL.abelian ρ) m (s + 1) labels |
| 60 | (OrdinaryFamilies.Ordinary.canonicalChosenFamily j iota hsplit (Intrinsic.XYActiveKernel.frobeniusPEL k PEL) |
| 61 | (AbelianScheme.FrobeniusKernel.CMPointsTransport.Construction.l45FrobeniusTargetAction (q := q) k PEL.abelian ρ) m s labels H0 C0) T a) |
| 62 | |
| 63 | include e hdual hC0 hg in |
| 64 | omit [NumberField.IsCMField E] in |
| 65 | theorem canonical_mixed_compact_chosen {n : ℕ} (h1n : 1 ≤ n) (hmn : m ≤ n) (v : Fin s) |
| 66 | (T : Over (Spec (.of k))) (a : T ⟶ PEL.abelian.scheme) |
| 67 | (ha : a ≫ ρ.map (j.projector iota hsplit n (labels (v.succ, false))) = a) : |
| 68 | a ≫ ((AbelianScheme.FrobeniusKernel.CMPointsTransport.Construction.l45FrobeniusIsogeny (q := q) k PEL.abelian).hom ≫ g) = 1 ↔ |
| 69 | if compact v then a ^ (q ^ (m + 1)) = 1 else a = 1 := by |
| 70 | have : IsMonHom (AbelianScheme.FrobeniusKernel.CMPointsTransport.Construction.l45FrobeniusIsogeny (q := q) k PEL.abelian).hom := |
| 71 | (AbelianScheme.FrobeniusKernel.CMPointsTransport.Construction.l45FrobeniusIsogeny (q := q) k PEL.abelian).preservesGroup |
| 72 | let τ := labels (v.succ, false) |
| 73 | let p := ρ.map (j.projector iota hsplit n τ) |
| 74 | let r := (AbelianScheme.FrobeniusKernel.CMPointsTransport.Construction.l45FrobeniusTargetAction (q := q) k PEL.abelian ρ).map (j.projector iota hsplit n τ) |
| 75 | have hs : p ≫ (AbelianScheme.FrobeniusKernel.CMPointsTransport.Construction.l45FrobeniusIsogeny (q := q) k PEL.abelian).hom = |
| 76 | (AbelianScheme.FrobeniusKernel.CMPointsTransport.Construction.l45FrobeniusIsogeny (q := q) k PEL.abelian).hom ≫ r := |
| 77 | (Picard.Homomorphisms.Group.Construction.relativeFrobeniusNat q Fact.out |
| 78 | (Picard.Homomorphisms.Affine.Construction.prime_eq_zero_spec q k (CharP.cast_eq_zero k q))).naturality p |
| 79 | have hc := @CompositeCompactPowers.composite_compact_kernel (Spec (.of k)) PEL.abelian.scheme |
| 80 | (Intrinsic.XYActiveKernel.frobeniusPEL k PEL).abelian.scheme C PEL.abelian.group |
| 81 | (Intrinsic.XYActiveKernel.frobeniusPEL k PEL).abelian.group inferInstance |
| 82 | (AbelianScheme.FrobeniusKernel.CMPointsTransport.Construction.l45FrobeniusIsogeny (q := q) k PEL.abelian).hom |
| 83 | (AbelianScheme.FrobeniusKernel.CMPointsTransport.Construction.l45FrobeniusIsogeny (q := q) k PEL.abelian).preservesGroup g p inferInstance r hs q (q ^ m) (compact v) |
| 84 | (fun U b hb => Intrinsic.FrobeniusKernelComparison.IntrinsicCompact.native_frobenius_compact_chosen j iota hsplit PEL ρ s labels compact e hdual |
| 85 | h1n v U b hb) |
| 86 | (fun U b hb => OneStepKernel.canonical_one_step_compact_chosen j iota hsplit (Intrinsic.XYActiveKernel.frobeniusPEL k PEL) |
| 87 | (AbelianScheme.FrobeniusKernel.CMPointsTransport.Construction.l45FrobeniusTargetAction (q := q) k PEL.abelian ρ) m s labels compact H0 C0 hC0 |
| 88 | g hg hmn v U b hb) T a ha |
| 89 | change (a ≫ ((AbelianScheme.FrobeniusKernel.CMPointsTransport.Construction.l45FrobeniusIsogeny (q := q) k PEL.abelian).hom ≫ g) = 1 ↔ |
| 90 | if compact v then a ^ (q ^ m * q) = 1 else a = 1) at hc |
| 91 | rw [← Nat.pow_succ] at hc |
| 92 | exact hc |
| 93 | |
| 94 | include e hdual hC0 hg hρF hdegree hc in |
| 95 | theorem canonical_mixed_compact_opposite {n : ℕ} (h1n : 1 ≤ n) (hmn : m ≤ n) (v : Fin s) |
| 96 | (T : Over (Spec (.of k))) (a : T ⟶ PEL.abelian.scheme) |
| 97 | (ha : a ≫ ρ.map (j.projector iota hsplit n (labels (v.succ, true))) = a) : |
| 98 | a ≫ ((AbelianScheme.FrobeniusKernel.CMPointsTransport.Construction.l45FrobeniusIsogeny (q := q) k PEL.abelian).hom ≫ g) = 1 ↔ |
| 99 | if compact v then a = 1 else a ^ (q ^ (m + 1)) = 1 := by |
| 100 | have : IsMonHom (AbelianScheme.FrobeniusKernel.CMPointsTransport.Construction.l45FrobeniusIsogeny (q := q) k PEL.abelian).hom := |
| 101 | (AbelianScheme.FrobeniusKernel.CMPointsTransport.Construction.l45FrobeniusIsogeny (q := q) k PEL.abelian).preservesGroup |
| 102 | let τ := labels (v.succ, true) |
| 103 | let p := ρ.map (j.projector iota hsplit n τ) |
| 104 | let r := (AbelianScheme.FrobeniusKernel.CMPointsTransport.Construction.l45FrobeniusTargetAction (q := q) k PEL.abelian ρ).map (j.projector iota hsplit n τ) |
| 105 | have hs : p ≫ (AbelianScheme.FrobeniusKernel.CMPointsTransport.Construction.l45FrobeniusIsogeny (q := q) k PEL.abelian).hom = |
| 106 | (AbelianScheme.FrobeniusKernel.CMPointsTransport.Construction.l45FrobeniusIsogeny (q := q) k PEL.abelian).hom ≫ r := |
| 107 | (Picard.Homomorphisms.Group.Construction.relativeFrobeniusNat q Fact.out |
| 108 | (Picard.Homomorphisms.Affine.Construction.prime_eq_zero_spec q k (CharP.cast_eq_zero k q))).naturality p |
| 109 | have hc := @CompositeCompactPowers.composite_compact_kernel (Spec (.of k)) PEL.abelian.scheme |
| 110 | (Intrinsic.XYActiveKernel.frobeniusPEL k PEL).abelian.scheme C PEL.abelian.group |
| 111 | (Intrinsic.XYActiveKernel.frobeniusPEL k PEL).abelian.group inferInstance |
| 112 | (AbelianScheme.FrobeniusKernel.CMPointsTransport.Construction.l45FrobeniusIsogeny (q := q) k PEL.abelian).hom |
| 113 | (AbelianScheme.FrobeniusKernel.CMPointsTransport.Construction.l45FrobeniusIsogeny (q := q) k PEL.abelian).preservesGroup g p inferInstance r hs q (q ^ m) (!compact v) |
| 114 | (fun U b hb => by |
| 115 | have h := Intrinsic.FrobeniusKernelComparison.IntrinsicCompact.native_frobenius_compact_opposite j iota hsplit PEL ρ s labels compact e hdual |
| 116 | h1n v U b hb |
| 117 | cases hb : compact v <;> rw [hb] at h <;> exact h) |
| 118 | (fun U b hb => by |
| 119 | have h := OneStepKernel.canonical_one_step_compact_opposite j iota hsplit (Intrinsic.XYActiveKernel.frobeniusPEL k PEL) |
| 120 | (AbelianScheme.FrobeniusKernel.CMPointsTransport.Construction.l45FrobeniusTargetAction (q := q) k PEL.abelian ρ) m s labels compact H0 C0 hC0 |
| 121 | g hg hρF hdegree hc hmn v U b hb |
| 122 | cases hb : compact v <;> rw [hb] at h <;> exact h) T a ha |
| 123 | change (a ≫ ((AbelianScheme.FrobeniusKernel.CMPointsTransport.Construction.l45FrobeniusIsogeny (q := q) k PEL.abelian).hom ≫ g) = 1 ↔ |
| 124 | if !compact v then a ^ (q ^ m * q) = 1 else a = 1) at hc |
| 125 | cases hb : compact v |
| 126 | · simpa only [hb, Bool.not_false, Bool.false_eq_true, ↓reduceIte, Nat.pow_succ] using hc |
| 127 | · simpa only [hb, Bool.not_true, Bool.false_eq_true, ↓reduceIte, Nat.pow_succ] using hc |
| 128 | |
| 129 | end |
| 130 | |
| 131 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Canonical.MixedCompact |