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.KernelComparison |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.CompactChosenFamilies |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.CMPointsYZQuotients |
| 4 | |
| 5 | /-! # Ordinary Kernel Families -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.OrdinaryKernelFamilies.IntrinsicOrdinary |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Compute the compact parts of the original native ordinary family. |
| 12 | The active subgroup is retained with its given original inclusion; |
| 13 | every compact part and every opposite part is derived. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.CMPointsYZQuotients.Construction OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Kernel.Models |
| 19 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.KernelPoints OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.KernelComparison |
| 20 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.CompactChosenFamilies OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Kernel.FamilyTransport.Family |
| 21 | |
| 22 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 23 | variable [Field K] [NumberField K] {κ : K →+* ℂ} {q : ℕ} [Fact q.Prime] |
| 24 | variable (j : PELModuli.CMPoints.Arithmetic.QadicChoice K κ q) (iota : E →+* K) |
| 25 | variable (hsplit : j.HasSplitCoordinates iota) |
| 26 | variable {k : Type} [Field k] {g N : ℕ} {δ : Fin g → ℕ} |
| 27 | variable (PEL : AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec (.of k))) |
| 28 | variable (ρ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction (NumberField.RingOfIntegers E) PEL.abelian) |
| 29 | variable (n s : ℕ) (labels : (Fin (s + 1) × Bool) ≃ Gal(E/ℚ)) |
| 30 | variable (compact : Fin s → Bool) |
| 31 | variable (e : ∀ v : Fin (s + 1), AbelianScheme.FrobeniusKernel.OrdinaryBlocks.Construction.OrdinaryBlockSplitting k |
| 32 | (AbelianScheme.FrobeniusKernel.CMPointsAt.Construction.l45ChosenBlock j iota hsplit PEL ρ (labels (v, false)) n) q n |
| 33 | (AbelianScheme.FrobeniusKernel.CMPointsYZQuotients.Construction.l45MultiplicativeHeights compact v) (AbelianScheme.FrobeniusKernel.CMPointsYZQuotients.Construction.l45EtaleHeights compact v)) |
| 34 | variable (H0 : AbelianScheme.FrobeniusKernel.FiniteCartierSubgroupTransport.Construction.FiniteCartierSubgroup k (AbelianScheme.FrobeniusKernel.CMPointsAt.Construction.l45ChosenBlock j iota hsplit PEL ρ (labels (0, false)) n)) |
| 35 | |
| 36 | def compactPrescription : Fin (s + 1) → Bool := Fin.cases false compact |
| 37 | |
| 38 | def ordinaryChosenFamily : ∀ v : Fin (s + 1), |
| 39 | AbelianScheme.FrobeniusKernel.FiniteCartierSubgroupTransport.Construction.FiniteCartierSubgroup k (AbelianScheme.FrobeniusKernel.CMPointsAt.Construction.l45ChosenBlock j iota hsplit PEL ρ (labels (v, false)) n) := |
| 40 | Fin.cases H0 (fun v => AbelianScheme.FrobeniusKernel.FiniteCartierSubgroupTransport.Construction.multiplicativeChosenSubgroup (e v.succ)) |
| 41 | |
| 42 | abbrev activeChosenFamily {X : Over (Spec (.of k))} : AbelianScheme.TorsionQuotient.SubgroupFunctor.RelativeSubgroup PEL.abelian.scheme X := |
| 43 | Kernel.Base.fixedKernelFamily (H0.inclusion.hom.hom ≫ |
| 44 | AbelianScheme.FrobeniusKernel.CMPointsAt.Construction.l45BlockInclusion j iota hsplit PEL.abelian ρ n (labels (0, false))) |
| 45 | |
| 46 | theorem ordinary_chosen_prescription {X : Over (Spec (.of k))} (v : Fin (s + 1)) : |
| 47 | Kernel.Base.fixedKernelFamily (P := X) |
| 48 | (KernelPoints.chosenAmbientInclusion j iota hsplit PEL ρ n (s + 1) labels |
| 49 | (ordinaryChosenFamily j iota hsplit PEL ρ n s labels compact e H0) v) = |
| 50 | Kernel.Base.chosenKernel |
| 51 | (fun w => AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock (q ^ n) (KernelComparison.chosenProjector j iota hsplit PEL ρ n (s + 1) labels w)) |
| 52 | (fun w => AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlockInclusion (q ^ n) |
| 53 | (KernelComparison.chosenProjector j iota hsplit PEL ρ n (s + 1) labels w)) |
| 54 | 0 (compactPrescription s compact) (activeChosenFamily j iota hsplit PEL ρ n s labels H0) v := by |
| 55 | classical |
| 56 | refine Fin.cases ?_ (fun w => ?_) v |
| 57 | · rw [Kernel.Base.chosenKernel, ite_eq_left rfl] |
| 58 | rfl |
| 59 | · rw [Kernel.Base.chosenKernel, ite_eq_right (Fin.succ_ne_zero w)] |
| 60 | change Kernel.Base.fixedKernelFamily |
| 61 | ((AbelianScheme.FrobeniusKernel.FiniteCartierSubgroupTransport.Construction.multiplicativeChosenSubgroup (e w.succ)).inclusion.hom.hom ≫ |
| 62 | AbelianScheme.FrobeniusKernel.CMPointsAt.Construction.l45BlockInclusion j iota hsplit PEL.abelian ρ n (labels (w.succ, false))) = |
| 63 | if compact w then Kernel.Base.fixedKernelFamily |
| 64 | (AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlockInclusion (q ^ n) (ρ.map (j.projector iota hsplit n (labels (w.succ, false))))) |
| 65 | else AbelianScheme.IsogenyQuotient.Kernel.Tuples.Construction.trivialRelativeSubgroup |
| 66 | have hb := Kernel.FamilyTransport.Family.fixed_iso (P := X) |
| 67 | (AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlockInclusion (q ^ n) (ρ.map (j.projector iota hsplit n (labels (w.succ, false))))) |
| 68 | (AbelianScheme.FrobeniusKernel.CMPointsAt.Construction.l45BlockInclusion j iota hsplit PEL.abelian ρ n (labels (w.succ, false))) |
| 69 | (KernelComparison.nativeBlockComparison j iota hsplit PEL ρ n (labels (w.succ, false))) |
| 70 | (KernelComparison.nativeBlockComparison_inclusion j iota hsplit PEL ρ n (labels (w.succ, false))) |
| 71 | rw [hb] |
| 72 | exact CompactChosenFamilies.compact_chosen_family _ (compact w) (e w.succ) |
| 73 | |
| 74 | variable (P : ∀ v : Fin (s + 1), AbelianScheme.FrobeniusKernel.CartierModel.Construction.CartierCoordinates (.of k) |
| 75 | (AbelianScheme.FrobeniusKernel.CMPointsAt.Construction.l45ChosenBlock j iota hsplit PEL ρ (labels (v, false)) n)) |
| 76 | variable (hdual : ∀ v : Fin (s + 1), PELModuli.CMPoints.DualityPairing.PolarizationDuality PEL ρ |
| 77 | (j.localCharacter iota (labels (v, false))) (j.localCharacter iota (labels (v, true)))) |
| 78 | |
| 79 | theorem ordinary_full_kernel_family {X : Over (Spec (.of k))} : |
| 80 | Kernel.Base.fixedKernelFamily (P := X) |
| 81 | (AbelianScheme.FrobeniusKernel.CMPointsKernels.Construction.l45FullChosenKernelInclusion j iota hsplit PEL ρ n (s + 1) labels P |
| 82 | (ordinaryChosenFamily j iota hsplit PEL ρ n s labels compact e H0) hdual) = |
| 83 | Kernel.Models.multiplierFullKernel (q ^ n) |
| 84 | (KernelComparison.chosenProjector j iota hsplit PEL ρ n (s + 1) labels) |
| 85 | (KernelComparison.oppositeProjector j iota hsplit PEL ρ n (s + 1) labels) |
| 86 | (KernelComparison.coefficientPairing j iota hsplit PEL ρ n (s + 1) labels P hdual) |
| 87 | 0 (compactPrescription s compact) (activeChosenFamily j iota hsplit PEL ρ n s labels H0) := |
| 88 | KernelComparison.native_full_kernel_of_chosen_families j iota hsplit PEL ρ n (s + 1) labels P |
| 89 | (ordinaryChosenFamily j iota hsplit PEL ρ n s labels compact e H0) hdual |
| 90 | 0 (compactPrescription s compact) _ |
| 91 | (ordinary_chosen_prescription j iota hsplit PEL ρ n s labels compact e H0) |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.OrdinaryKernelFamilies.IntrinsicOrdinary |