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.CartierDualityKernelOrthogonal |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.IsogenyComplement |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.CartierDualityCanonical |
| 4 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.UnbundledPicardComparison |
| 5 | |
| 6 | /-! # Polarized Kernel Orthogonal -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.PolarizedKernelOrthogonal |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual PEL multiplier and Rosati equation imply kernel |
| 13 | orthogonality for the original CartierDuality source pairing. No pairing square |
| 14 | or annihilator identification is supplied as an extra hypothesis. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open scoped _root_.CategoryTheory.MonObj |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.CartierDualityCanonical.Construction |
| 20 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.IsogenyComplement OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ComplementCharacterSquare OAI.AlgebraicGeometry.Isogenies.NeighborCounting.CartierDualityKernelOrthogonal |
| 21 | |
| 22 | variable {k : Type} [Field k] [IsAlgClosed k] {g h N M : ℕ} {δ : Fin g → ℕ} {ε : Fin h → ℕ} |
| 23 | variable (PA : AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec (.of k))) |
| 24 | variable (PB : AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel h ε M (Spec (.of k))) |
| 25 | variable {E : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 26 | variable (ρ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction (NumberField.RingOfIntegers E) PA.abelian) |
| 27 | variable (hρ : AbelianModuli.ReferenceFamily.ActionData.RosatiConjugation PA ρ) |
| 28 | variable (f : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny PA.abelian PB.abelian) (n : ℕ) (hn : 0 < n) |
| 29 | variable (hk : ∀ (T : Over (Spec (.of k))) (a : T ⟶ PA.abelian.scheme), a ≫ f.hom = 1 → a ^ n = 1) |
| 30 | |
| 31 | def isogenyKernelTorsionEmbedding := |
| 32 | ComplementCharacterSquare.complementKernelTorsionEmbedding f.hom (IsogenyComplement.isogenyComplement f n hk) n |
| 33 | (IsogenyComplement.isogenyComplement_projection f n hk) |
| 34 | |
| 35 | include hρ in |
| 36 | theorem polarized_kernel_character_zero_iff |
| 37 | (hpol : AbelianScheme.FrobeniusKernel.PolarizationComparison.Construction.polarizationPullbackHom f.hom PA.dual PB.dual PB.polarization = PA.polarization.isogeny.hom ^ n) |
| 38 | (hdegree : n.Coprime (∏ i, ε i)) |
| 39 | (T : Over (Spec (.of k))) |
| 40 | (x : (CartierDuality.PolarizedTorsion.AbelianScheme.torsionSheaf (AbelianScheme.FrobeniusKernel.HomomorphismsPolarizationAdapter.Construction.e57AbelianOfBundled PA.abelian) n).obj.obj (.op T)) : |
| 41 | ((AbelianScheme.CartierDuality.CommutativeSheavesAb.Construction.Schemes.cartierDualSheafFunctor (Spec (.of k))).map (isogenyKernelTorsionEmbedding PA PB f n hk).op).hom.app (.op T) |
| 42 | ((AbelianScheme.FrobeniusKernel.CartierDualityCanonical.Construction.e56SourceTorsionPairing PA n hn).rightAdjoint.hom.app (.op T) x) = 1 ↔ |
| 43 | (AbelianScheme.CartierDuality.SheafTorsionMaps.Construction.Schemes.torsionSheafMap (AbelianScheme.CartierDuality.RepresentedMorphisms.Construction.Schemes.representedFppfAbMap (ComplementCharacterSquare.complementSourceGroupMap f.hom)) n).hom.app (.op T) x = 1 := by |
| 44 | let c := IsogenyComplement.isogenyComplement f n hk |
| 45 | have : IsMonHom c := IsogenyComplement.isogenyComplement_isMonHom f n hk |
| 46 | have : IsMonHom (show (AbelianScheme.FrobeniusKernel.HomomorphismsPolarizationAdapter.Construction.e57AbelianOfBundled PA.abelian).toOver ⟶ |
| 47 | (AbelianScheme.FrobeniusKernel.HomomorphismsPolarizationAdapter.Construction.e57AbelianOfBundled PB.abelian).toOver from f.hom) := f.preservesGroup |
| 48 | have : IsMonHom (show (AbelianScheme.FrobeniusKernel.HomomorphismsPolarizationAdapter.Construction.e57AbelianOfBundled PB.abelian).toOver ⟶ |
| 49 | (AbelianScheme.FrobeniusKernel.HomomorphismsPolarizationAdapter.Construction.e57AbelianOfBundled PA.abelian).toOver from c) := IsogenyComplement.isogenyComplement_isMonHom f n hk |
| 50 | have : IsFinite (show (AbelianScheme.FrobeniusKernel.HomomorphismsPolarizationAdapter.Construction.e57AbelianOfBundled PA.abelian).toOver ⟶ |
| 51 | (AbelianScheme.FrobeniusKernel.HomomorphismsPolarizationAdapter.Construction.e57AbelianOfBundled PB.abelian).toOver from f.hom).left := f.finite |
| 52 | have : Flat (show (AbelianScheme.FrobeniusKernel.HomomorphismsPolarizationAdapter.Construction.e57AbelianOfBundled PA.abelian).toOver ⟶ |
| 53 | (AbelianScheme.FrobeniusKernel.HomomorphismsPolarizationAdapter.Construction.e57AbelianOfBundled PB.abelian).toOver from f.hom).left := f.flat |
| 54 | have : Surjective (show (AbelianScheme.FrobeniusKernel.HomomorphismsPolarizationAdapter.Construction.e57AbelianOfBundled PA.abelian).toOver ⟶ |
| 55 | (AbelianScheme.FrobeniusKernel.HomomorphismsPolarizationAdapter.Construction.e57AbelianOfBundled PB.abelian).toOver from f.hom).left := f.surjective |
| 56 | have : IsLocallyNoetherian PB.abelian.scheme.left := |
| 57 | LocallyOfFiniteType.isLocallyNoetherian PB.abelian.scheme.hom |
| 58 | have : IsFinite f.hom.left := f.finite |
| 59 | have hlfp : LocallyOfFinitePresentation f.hom.left := |
| 60 | LocallyOfFinitePresentation.iff_locallyOfFiniteType.mpr inferInstance |
| 61 | have : LocallyOfFinitePresentation (show (AbelianScheme.FrobeniusKernel.HomomorphismsPolarizationAdapter.Construction.e57AbelianOfBundled PA.abelian).toOver ⟶ |
| 62 | (AbelianScheme.FrobeniusKernel.HomomorphismsPolarizationAdapter.Construction.e57AbelianOfBundled PB.abelian).toOver from f.hom).left := hlfp |
| 63 | have hc : f.hom ≫ c = (𝟙 PA.abelian.scheme) ^ n := IsogenyComplement.isogenyComplement_projection f n hk |
| 64 | have hadj := IsogenyComplement.isogenyComplement_polarization_adjoint PA PB ρ hρ f n hk hpol |
| 65 | have hd := AbelianScheme.FrobeniusKernel.UnbundledPicardComparison.Construction.IntrinsicPicardPullback.dualMap_eq_unbundled c PB.dual PA.dual |
| 66 | have hcompat : (AbelianScheme.FrobeniusKernel.HomomorphismsPolarizationAdapter.Construction.e57PolarizationOfBundled PA.dual PA.polarization).map ≫ |
| 67 | Picard.Homomorphisms.UnbundledDualPullback.Construction.UnbundledPicard.dualPicardPullback (AbelianScheme.FrobeniusKernel.HomomorphismsPolarizationAdapter.Construction.e57PolarizationOfBundled PB.dual PB.polarization).dual |
| 68 | (AbelianScheme.FrobeniusKernel.HomomorphismsPolarizationAdapter.Construction.e57PolarizationOfBundled PA.dual PA.polarization).dual c = |
| 69 | f.hom ≫ (AbelianScheme.FrobeniusKernel.HomomorphismsPolarizationAdapter.Construction.e57PolarizationOfBundled PB.dual PB.polarization).map := |
| 70 | (congrArg (fun d => PA.polarization.isogeny.hom ≫ d) hd).symm.trans hadj |
| 71 | have hdeg (s : Spec (.of k)) : |
| 72 | n.Coprime (CartierDuality.PolarizedTorsion.Polarization.fiberDegree (AbelianScheme.FrobeniusKernel.HomomorphismsPolarizationAdapter.Construction.e57PolarizationOfBundled PB.dual PB.polarization) s) := by |
| 73 | rw [AbelianScheme.FrobeniusKernel.CartierDualityCanonical.Construction.e56SourcePolarization_fiberDegree] |
| 74 | exact hdegree.pow_right 2 |
| 75 | exact CartierDualityKernelOrthogonal.canonical_kernel_character_zero_iff (AbelianScheme.FrobeniusKernel.HomomorphismsPolarizationAdapter.Construction.e57AbelianOfBundled PA.abelian) (AbelianScheme.FrobeniusKernel.HomomorphismsPolarizationAdapter.Construction.e57AbelianOfBundled PB.abelian) |
| 76 | (AbelianScheme.FrobeniusKernel.HomomorphismsPolarizationAdapter.Construction.e57PolarizationOfBundled PA.dual PA.polarization) (AbelianScheme.FrobeniusKernel.HomomorphismsPolarizationAdapter.Construction.e57PolarizationOfBundled PB.dual PB.polarization) |
| 77 | f.hom c n hn hc hcompat hdeg T x |
| 78 | |
| 79 | def canonicalKernelOrthogonal (T : Over (Spec (.of k))) |
| 80 | (x : (CartierDuality.PolarizedTorsion.AbelianScheme.torsionSheaf (AbelianScheme.FrobeniusKernel.HomomorphismsPolarizationAdapter.Construction.e57AbelianOfBundled PA.abelian) n).obj.obj (.op T)) : Prop := |
| 81 | ∀ (U : Over (Spec (.of k))) (t : U ⟶ T) |
| 82 | (y : (AbelianScheme.CartierDuality.CommutativeSheavesAb.Construction.Schemes.representedFppfAb (Spec (.of k)) (Grp.mk (Picard.Homomorphisms.Kernel.Construction.kernelScheme f.hom))).obj.obj (.op U)), |
| 83 | AbelianScheme.CartierDuality.SheafEvaluation.Construction.Schemes.sheafCharacterValue (CartierDuality.PolarizedTorsion.AbelianScheme.torsionSheaf (AbelianScheme.FrobeniusKernel.HomomorphismsPolarizationAdapter.Construction.e57AbelianOfBundled PA.abelian) n) U |
| 84 | ((AbelianScheme.FrobeniusKernel.CartierDualityCanonical.Construction.e56SourceTorsionPairing PA n hn).rightAdjoint.hom.app (.op U) |
| 85 | ((CartierDuality.PolarizedTorsion.AbelianScheme.torsionSheaf (AbelianScheme.FrobeniusKernel.HomomorphismsPolarizationAdapter.Construction.e57AbelianOfBundled PA.abelian) n).obj.map t.op x)) |
| 86 | ((isogenyKernelTorsionEmbedding PA PB f n hk).hom.app (.op U) y) = 1 |
| 87 | |
| 88 | include hρ in |
| 89 | theorem polarized_kernel_orthogonal_iff |
| 90 | (hpol : AbelianScheme.FrobeniusKernel.PolarizationComparison.Construction.polarizationPullbackHom f.hom PA.dual PB.dual PB.polarization = PA.polarization.isogeny.hom ^ n) |
| 91 | (hdegree : n.Coprime (∏ i, ε i)) |
| 92 | (T : Over (Spec (.of k))) |
| 93 | (x : (CartierDuality.PolarizedTorsion.AbelianScheme.torsionSheaf (AbelianScheme.FrobeniusKernel.HomomorphismsPolarizationAdapter.Construction.e57AbelianOfBundled PA.abelian) n).obj.obj (.op T)) : |
| 94 | canonicalKernelOrthogonal PA PB f n hn hk T x ↔ |
| 95 | (AbelianScheme.CartierDuality.SheafTorsionMaps.Construction.Schemes.torsionSheafMap (AbelianScheme.CartierDuality.RepresentedMorphisms.Construction.Schemes.representedFppfAbMap (ComplementCharacterSquare.complementSourceGroupMap f.hom)) n).hom.app (.op T) x = 1 := |
| 96 | (SheafKernelAnnihilator.sheaf_restriction_character_zero_iff (AbelianScheme.FrobeniusKernel.CartierDualityCanonical.Construction.e56SourceTorsionPairing PA n hn) |
| 97 | (isogenyKernelTorsionEmbedding PA PB f n hk) T x).symm.trans |
| 98 | (polarized_kernel_character_zero_iff PA PB ρ hρ f n hn hk hpol hdegree T x) |
| 99 | |
| 100 | end |
| 101 | |
| 102 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.PolarizedKernelOrthogonal |