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.AbelianScheme.IsogenyQuotient.Canonical.CartierMap |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.CartierIsoPairing |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.CharacterTorsionComparison |
| 4 | |
| 5 | /-! # Weil Pairing -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Geometric.WeilPairing |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | Construct the native Weil pairing on geometric fibers from the inverse |
| 13 | of actual character-line descent. Both the Cartier representative and |
| 14 | its isomorphism with dual torsion are constructed from the original |
| 15 | isogeny to the Picard dual and its coprime degree. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 19 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 20 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 21 | |
| 22 | attribute [local instance] Picard.Homomorphisms.GroupDescent.Construction.groupHom_pow_isMonHom |
| 23 | |
| 24 | namespace Construction |
| 25 | |
| 26 | universe u |
| 27 | |
| 28 | variable {k : Type u} [Field k] [IsAlgClosed k] |
| 29 | (A : Over (Spec (.of k))) [GrpObj A] [IsCommMonObj A] |
| 30 | [Smooth A.hom] [IsProper A.hom] [GeometricallyConnected A.hom] |
| 31 | (D : Picard.Homomorphisms.UnbundledDualData.Construction.UnbundledPicard.DualData A) (ell : A ⟶ D.abelian) [IsMonHom ell] |
| 32 | [IsFinite ell.left] [Flat ell.left] [Surjective ell.left] |
| 33 | (n : ℕ) (hn : 0 < n) |
| 34 | (hdegree : ∀ s : Spec (.of k), n.Coprime (ell.left.finrank (η[D.abelian].left s))) |
| 35 | |
| 36 | def geometricMultiplicationCartierIso : |
| 37 | (Canonical.CartierMap.Construction.multiplicationCartierRepresentation A D ell n hn).dual ≅ |
| 38 | CartierDuality.TorsionSheaves.Construction.Schemes.nativeTorsionGroup (Grp.mk D.abelian) n := by |
| 39 | let i : letI := Picard.Homomorphisms.UnbundledDualGroup.Construction.UnbundledPicard.dualPicardGroup D |
| 40 | letI : IsCommMonObj D.abelian := Picard.Homomorphisms.UnbundledDualGroup.Construction.UnbundledPicard.dualPicardGroup_commutative D |
| 41 | (Canonical.CartierMap.Construction.multiplicationCartierRepresentation A D ell n hn).dual ≅ |
| 42 | CartierDuality.TorsionSheaves.Construction.Schemes.nativeTorsionGroup (Grp.mk D.abelian) n := by |
| 43 | letI := Picard.Homomorphisms.UnbundledDualGroup.Construction.UnbundledPicard.dualPicardGroup D |
| 44 | letI : IsCommMonObj D.abelian := Picard.Homomorphisms.UnbundledDualGroup.Construction.UnbundledPicard.dualPicardGroup_commutative D |
| 45 | have : IsIso (Canonical.CartierMap.Construction.canonicalMultiplicationCartierMap A D ell n hn) := |
| 46 | Canonical.CartierMap.Construction.canonicalMultiplicationCartierMap_isIso_geometric A D ell n hn hdegree |
| 47 | exact asIso (Canonical.CartierMap.Construction.canonicalMultiplicationCartierMap A D ell n hn) |
| 48 | exact i ≪≫ eqToIso (CharacterTorsionComparison.Construction.torsionGroup_eq_of_group_eq D.abelian (Picard.Homomorphisms.UnbundledDualGroup.Construction.UnbundledPicard.dualPicardGroup D) D.group |
| 49 | (Picard.Homomorphisms.UnbundledDualGroup.Construction.UnbundledPicard.dualPicardGroup_commutative D) D.commutative (Picard.Homomorphisms.UnbundledDualGroupComparison.Construction.UnbundledPicard.dualPicardGroup_eq_given D) n) |
| 50 | |
| 51 | set_option backward.isDefEq.respectTransparency false in |
| 52 | def geometricNativeWeilPairing : |
| 53 | Annihilator.Construction.SchemeBicharacter (A := Torsion.Groups.Construction.nativeTorsionScheme A n) (B := Torsion.Groups.Construction.nativeTorsionScheme D.abelian n) |
| 54 | (W := (CartierDuality.CharacterSheaf.Construction.Schemes.multiplicativeGroupOver (Spec (.of k))).X) := by |
| 55 | let i : Torsion.Groups.Construction.nativeTorsionScheme A n ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme ((𝟙 A) ^ n) := |
| 56 | (CharacterTorsionComparison.Construction.multiplicationKernelNativeGroupIso (Grp.mk A) n).inv.hom.hom |
| 57 | let j : Torsion.Groups.Construction.nativeTorsionScheme D.abelian n ⟶ TorsionQuotient.SubgroupFunctor.torsionScheme D.abelian n := |
| 58 | (CharacterTorsionComparison.Construction.equalizerTorsionKernelGroupIso (Grp.mk D.abelian) n).inv.hom.hom |
| 59 | have : IsMonHom i := inferInstanceAs (IsMonHom (CharacterTorsionComparison.Construction.multiplicationKernelNativeGroupIso (Grp.mk A) n).inv.hom.hom) |
| 60 | have : IsMonHom j := inferInstanceAs (IsMonHom (CharacterTorsionComparison.Construction.equalizerTorsionKernelGroupIso (Grp.mk D.abelian) n).inv.hom.hom) |
| 61 | exact (CartierIsoPairing.Construction.cartierIsoSchemePairing (Canonical.CartierMap.Construction.multiplicationCartierRepresentation A D ell n hn) |
| 62 | (geometricMultiplicationCartierIso A D ell n hn hdegree)).restrict i j |
| 63 | |
| 64 | theorem geometricNativeWeilPairing_isPerfect : |
| 65 | (geometricNativeWeilPairing A D ell n hn hdegree).toSheafPairing.IsPerfect := by |
| 66 | have hcover := CartierDuality.MultiplicationCovers.Construction.RelativeAbelian.positive_power_cover A D ell n hn |
| 67 | have hK := Picard.Homomorphisms.Kernel.Construction.kernelScheme_finiteLocallyFree ((𝟙 A) ^ n) ⟨hcover.1, hcover.2.1, hcover.2.2.2⟩ |
| 68 | have : IsFinite (Picard.Homomorphisms.Kernel.Construction.kernelScheme ((𝟙 A) ^ n)).hom := hK.1 |
| 69 | have : Flat (Picard.Homomorphisms.Kernel.Construction.kernelScheme ((𝟙 A) ^ n)).hom := hK.2.1 |
| 70 | have : LocallyOfFinitePresentation (Picard.Homomorphisms.Kernel.Construction.kernelScheme ((𝟙 A) ^ n)).hom := hK.2.2 |
| 71 | exact Annihilator.Construction.SchemeBicharacter.restrict_isPerfect_of_iso _ |
| 72 | (CartierIsoPairing.Construction.cartierIsoSchemePairing_isPerfect (Canonical.CartierMap.Construction.multiplicationCartierRepresentation A D ell n hn) |
| 73 | (geometricMultiplicationCartierIso A D ell n hn hdegree)) |
| 74 | (CharacterTorsionComparison.Construction.multiplicationKernelNativeGroupIso (Grp.mk A) n).symm |
| 75 | (CharacterTorsionComparison.Construction.equalizerTorsionKernelGroupIso (Grp.mk D.abelian) n).symm |
| 76 | |
| 77 | set_option backward.isDefEq.respectTransparency false in |
| 78 | theorem geometricNativeWeilPairing_value (T : Over (Spec (.of k))) |
| 79 | (x : T ⟶ Torsion.Groups.Construction.nativeTorsionScheme A n) (y : T ⟶ Torsion.Groups.Construction.nativeTorsionScheme D.abelian n) : |
| 80 | (geometricNativeWeilPairing A D ell n hn hdegree).pairValue x y = |
| 81 | (Canonical.CartierMap.Construction.multiplicationCartierRepresentation A D ell n hn).evaluationValue T |
| 82 | (y ≫ (CharacterTorsionComparison.Construction.equalizerTorsionKernelGroupIso (Grp.mk D.abelian) n).inv.hom.hom ≫ |
| 83 | (geometricMultiplicationCartierIso A D ell n hn hdegree).inv.hom.hom) |
| 84 | (x ≫ (CharacterTorsionComparison.Construction.multiplicationKernelNativeGroupIso (Grp.mk A) n).inv.hom.hom) := by |
| 85 | let i : Torsion.Groups.Construction.nativeTorsionScheme A n ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme ((𝟙 A) ^ n) := |
| 86 | (CharacterTorsionComparison.Construction.multiplicationKernelNativeGroupIso (Grp.mk A) n).inv.hom.hom |
| 87 | let j : Torsion.Groups.Construction.nativeTorsionScheme D.abelian n ⟶ TorsionQuotient.SubgroupFunctor.torsionScheme D.abelian n := |
| 88 | (CharacterTorsionComparison.Construction.equalizerTorsionKernelGroupIso (Grp.mk D.abelian) n).inv.hom.hom |
| 89 | have : IsMonHom i := inferInstanceAs (IsMonHom (CharacterTorsionComparison.Construction.multiplicationKernelNativeGroupIso (Grp.mk A) n).inv.hom.hom) |
| 90 | have : IsMonHom j := inferInstanceAs (IsMonHom (CharacterTorsionComparison.Construction.equalizerTorsionKernelGroupIso (Grp.mk D.abelian) n).inv.hom.hom) |
| 91 | let C := Canonical.CartierMap.Construction.multiplicationCartierRepresentation A D ell n hn |
| 92 | let e := geometricMultiplicationCartierIso A D ell n hn hdegree |
| 93 | exact ((CartierIsoPairing.Construction.cartierIsoSchemePairing C e).restrict_pairValue i j x y).trans |
| 94 | ((CartierIsoPairing.Construction.cartierIsoSchemePairing_value C e T (x ≫ i) (y ≫ j)).trans |
| 95 | (congrArg (fun z => C.evaluationValue T z (x ≫ i)) (Category.assoc y j e.inv.hom.hom))) |
| 96 | |
| 97 | def geometricIsogenyTorsionPairing : |
| 98 | Annihilator.Construction.SchemeBicharacter (A := Torsion.Groups.Construction.nativeTorsionScheme A n) (B := Torsion.Groups.Construction.nativeTorsionScheme A n) |
| 99 | (W := (CartierDuality.CharacterSheaf.Construction.Schemes.multiplicativeGroupOver (Spec (.of k))).X) := |
| 100 | (geometricNativeWeilPairing A D ell n hn hdegree).restrict (𝟙 _) (Torsion.Groups.Construction.nativeTorsionMap n ell) |
| 101 | |
| 102 | set_option backward.isDefEq.respectTransparency false in |
| 103 | theorem geometricIsogenyTorsionPairing_isPerfect : |
| 104 | (geometricIsogenyTorsionPairing A D ell n hn hdegree).toSheafPairing.IsPerfect := by |
| 105 | have : IsIso (CartierDuality.CoprimeTorsionIs.Construction.CoprimeTorsion.torsionMap ell n) := CartierDuality.RelativeTorsion.Construction.RelativeAbelian.torsionMap_isIso A D ell n hn hdegree |
| 106 | have : IsIso (Torsion.Groups.Construction.nativeTorsionMap n ell) := Intrinsic.TorsionComparison.Construction.nativeTorsionMap_isIso_of_equalizer n ell |
| 107 | let j : Torsion.SheafComparison.Construction.kernelTorsionGroup (Grp.mk A) n ≅ Torsion.SheafComparison.Construction.kernelTorsionGroup (Grp.mk D.abelian) n := |
| 108 | Grp.mkIso' (asIso (Torsion.Groups.Construction.nativeTorsionMap n ell)) |
| 109 | exact Annihilator.Construction.SchemeBicharacter.restrict_isPerfect_of_iso |
| 110 | (G := Torsion.SheafComparison.Construction.kernelTorsionGroup (Grp.mk A) n) (H := Torsion.SheafComparison.Construction.kernelTorsionGroup (Grp.mk D.abelian) n) |
| 111 | (geometricNativeWeilPairing A D ell n hn hdegree) |
| 112 | (geometricNativeWeilPairing_isPerfect A D ell n hn hdegree) (Iso.refl _) j |
| 113 | |
| 114 | end Construction |
| 115 | |
| 116 | end |
| 117 | |
| 118 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Geometric.WeilPairing |