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.Torsion.SheafSectionComparison |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Field.PolarizationAdapter |
| 3 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Canonical.WeilData |
| 4 | |
| 5 | /-! # Standard Weil Value -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Canonical.StandardWeilValue.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The two canonical Weil APIs evaluate the same character of the |
| 12 | actual torsion sheaf, with their displayed variable order made explicit. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open _root_.CategoryTheory.MonoidalCategory |
| 16 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 17 | |
| 18 | attribute [local instance] Picard.Homomorphisms.GroupDescent.Construction.groupHom_pow_isMonHom |
| 19 | |
| 20 | variable {k : Type} [Field k] [IsAlgClosed k] {g : ℕ} |
| 21 | {A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of k))} (D : AbelianModuli.HilbertConstruction.Dual.Data.DualAbelianData A) |
| 22 | {δ : Fin g → ℕ} (pol : AbelianModuli.HilbertConstruction.PolarizationData.Polarization D δ) (n : ℕ) (hn : 0 < n) |
| 23 | |
| 24 | set_option backward.isDefEq.respectTransparency false in |
| 25 | theorem canonicalStandardWeilValue_eq (T : Over (Spec (.of k))) |
| 26 | (x y : T ⟶ Torsion.Groups.Construction.nativeTorsionScheme A.scheme n) : |
| 27 | Picard.PoincareBundle.Canonical.WeilData.value D pol.isogeny n hn x y = |
| 28 | ULift.up ((IsogenyQuotient.Field.PolarizationAdapter.Construction.fieldNativePolarizationPairing A D pol n hn).pairValue y x) := by |
| 29 | let p := IsogenyQuotient.Field.PolarizationAdapter.Construction.fieldPolarizationOfHilbertConstruction A D pol |
| 30 | have : IsMonHom (show A.scheme ⟶ p.dual.abelian from p.map) := p.preservesGroup |
| 31 | have : IsFinite (show A.scheme ⟶ p.dual.abelian from p.map).left := p.finite |
| 32 | have : Flat (show A.scheme ⟶ p.dual.abelian from p.map).left := p.flat |
| 33 | have : Surjective (show A.scheme ⟶ p.dual.abelian from p.map).left := p.surjective |
| 34 | have hcover := CartierDuality.MultiplicationCovers.Construction.RelativeAbelian.positive_power_cover A.scheme p.dual p.map n hn |
| 35 | have : IsFinite ((𝟙 A.scheme) ^ n).left := hcover.1 |
| 36 | have : Flat ((𝟙 A.scheme) ^ n).left := hcover.2.1 |
| 37 | have : Surjective ((𝟙 A.scheme) ^ n).left := hcover.2.2.1 |
| 38 | have : LocallyOfFinitePresentation ((𝟙 A.scheme) ^ n).left := hcover.2.2.2 |
| 39 | let K := Picard.PoincareBundle.Kernel.Scheme.kernelObject ((𝟙 A.scheme) ^ n) |
| 40 | have : IsFinite K.hom := Picard.PoincareBundle.Kernel.Scheme.kernel_isFinite ((𝟙 A.scheme) ^ n) |
| 41 | have : IsAffine K.left := isAffine_of_isAffineHom K.hom |
| 42 | let t := Picard.PoincareBundle.Kernel.Scheme.kernelInclusion ((𝟙 A.scheme) ^ n) ≫ p.map |
| 43 | have ht : t ^ n = 1 := by |
| 44 | rw [show t = Torsion.Groups.Construction.nativeTorsionInclusion A.scheme n ≫ p.map from rfl, |
| 45 | ← MonObj.pow_comp, Torsion.Groups.Construction.nativeTorsionInclusion_killed, MonObj.one_comp] |
| 46 | let z := x ≫ Torsion.Groups.Construction.nativeTorsionMap n p.map |
| 47 | have hz : (x ≫ TorsionQuotient.SubgroupFunctor.torsionLift n t ht) ≫ TorsionQuotient.SubgroupFunctor.torsionι p.dual.abelian n = |
| 48 | z ≫ Torsion.Groups.Construction.nativeTorsionInclusion p.dual.abelian n := by |
| 49 | rw [Category.assoc, TorsionQuotient.SubgroupFunctor.torsionLift_ι] |
| 50 | change x ≫ (Torsion.Groups.Construction.nativeTorsionInclusion A.scheme n ≫ p.map) = |
| 51 | (x ≫ Torsion.Groups.Construction.nativeTorsionMap n p.map) ≫ Torsion.Groups.Construction.nativeTorsionInclusion p.dual.abelian n |
| 52 | rw [Category.assoc, Torsion.Groups.Construction.nativeTorsionMap_inclusion] |
| 53 | have hzs := Torsion.SheafSectionComparison.Construction.torsionSheafSection_eq_of_inclusion (Grp.mk p.dual.abelian) n T |
| 54 | (x ≫ TorsionQuotient.SubgroupFunctor.torsionLift n t ht) z hz |
| 55 | have hys := MultiplicationKernelSheafComparison.Construction.multiplicationKernelSheafIso_native_value (Grp.mk A.scheme) n T y |
| 56 | change CartierDuality.SheafEvaluation.Construction.Schemes.sheafCharacterValue (CartierDuality.PolarizedTorsion.AbelianScheme.torsionSheaf (PolarizationPoincareComparison.Construction.nativeAbelianOfHilbertConstruction A) n) T |
| 57 | ((p.weilPairing n hn).rightAdjoint.hom.app (.op T) |
| 58 | ((CartierDuality.TorsionSheaves.Construction.Schemes.nativeTorsionSheafIso (Grp.mk p.dual.abelian) n).hom.hom.app (.op T) |
| 59 | (ULift.up (x ≫ TorsionQuotient.SubgroupFunctor.torsionLift n t ht)))) |
| 60 | ((CartierDuality.KernelTorsionComparison.Construction.Schemes.multiplicationKernelSheafIso (Grp.mk A.scheme) n).hom.hom.app (.op T) |
| 61 | (ULift.up (y ≫ (CharacterTorsionComparison.Construction.multiplicationKernelNativeGroupIso (Grp.mk A.scheme) n).inv.hom.hom))) = _ |
| 62 | rw [hzs, hys] |
| 63 | exact (Torsion.SheafPairing.Construction.torsionSheafPairingToNative_rightValue (Grp.mk A.scheme) (Grp.mk p.dual.abelian) |
| 64 | n (p.weilPairing n hn) T y z).symm.trans |
| 65 | (congrArg ULift.up (RelativePairing.Construction.canonicalNativePolarizationPairing_value p n hn T y x).symm) |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Canonical.StandardWeilValue.Construction |