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.Picard.PoincareBundle.CartierKernelPairingComparison |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.WeilTorsionCharacter |
| 3 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.WeilUnitDetection |
| 4 | |
| 5 | /-! # Weil Kernel Pairing Comparison -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.WeilKernelPairingComparison |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The standard Weil pairing and the canonical Poincare kernel pairing have exactly the same orthogonality condition. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 15 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 16 | attribute [local instance] Over.cartesianMonoidalCategory |
| 17 | attribute [local instance] Homomorphisms.GroupDescent.Construction.groupHom_pow_isMonHom |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.FiberwiseMultiplication OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.Scheme OAI.AlgebraicGeometry.Picard.PoincareBundle.FirstBiextensionFactor |
| 20 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Poincare.TransverseFrames OAI.AlgebraicGeometry.Picard.PoincareBundle.Pulled.KernelFrames.Poincare OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.FramesTransverseTransport |
| 21 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Line.Comparison.Bundle |
| 22 | |
| 23 | variable {k : Type} [Field k] [IsAlgClosed k] {g : ℕ} |
| 24 | (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of k))) (D : Homomorphisms.UnbundledDualData.Construction.UnbundledPicard.DualData A.scheme) |
| 25 | (φ : A.scheme ⟶ D.withPicardGroup.abelian) [IsMonHom φ] |
| 26 | [IsFinite φ.left] [Flat φ.left] [Surjective φ.left] |
| 27 | (Dh : FiberwiseMultiplication.Multiplication (fst D.withPicardGroup.abelian A.scheme) (snd D.withPicardGroup.abelian A.scheme) |
| 28 | (Line.Comparison.Bundle.fromShared D.withPicardGroup.poincare)) |
| 29 | (Dv : FiberwiseMultiplication.Multiplication (snd D.withPicardGroup.abelian A.scheme) (fst D.withPicardGroup.abelian A.scheme) |
| 30 | (Line.Comparison.Bundle.fromShared D.withPicardGroup.poincare)) |
| 31 | (hp : Biextension.Compatibility.Interchange (Line.Comparison.Bundle.fromShared D.withPicardGroup.poincare) Dh Dv) |
| 32 | (n : ℕ) (hn : 0 < n) |
| 33 | [IsFinite ((𝟙 A.scheme : A.scheme ⟶ A.scheme) ^ n).left] |
| 34 | [Flat ((𝟙 A.scheme : A.scheme ⟶ A.scheme) ^ n).left] |
| 35 | [Surjective ((𝟙 A.scheme : A.scheme ⟶ A.scheme) ^ n).left] |
| 36 | [LocallyOfFinitePresentation ((𝟙 A.scheme : A.scheme ⟶ A.scheme) ^ n).left] |
| 37 | [IsAffine (Kernel.Scheme.kernelObject ((𝟙 A.scheme) ^ n)).left] |
| 38 | (C : AbelianScheme.CartierDuality.GroupRepresentatives.Construction.Schemes.CharacterGroupRepresentation (Spec (.of k)) |
| 39 | (Grp.mk (Homomorphisms.Kernel.Construction.kernelScheme ((𝟙 A.scheme) ^ n)))) |
| 40 | {B : Over (Spec (.of k))} [GrpObj B] (f : A.scheme ⟶ B) [IsMonHom f] |
| 41 | [IsAffine (Kernel.Scheme.kernelObject f).left] |
| 42 | (hy : (Kernel.Scheme.kernelInclusion f ≫ φ) ^ n = 1) |
| 43 | (Kh : FiberwiseMultiplication.KernelFrames (fst A.scheme A.scheme) (snd A.scheme A.scheme) |
| 44 | (FirstBiextensionFactor.familyLine (Line.Comparison.Bundle.fromShared D.withPicardGroup.poincare) (φ ^ n)) f |
| 45 | (Pulled.KernelFrames.Poincare.sourceMultiplication (φ ^ n) (Line.Comparison.Bundle.fromShared D.withPicardGroup.poincare) Dh)) |
| 46 | (J : FiberwiseMultiplication.KernelFrames (snd A.scheme A.scheme) (fst A.scheme A.scheme) |
| 47 | (FirstBiextensionFactor.familyLine (Line.Comparison.Bundle.fromShared D.withPicardGroup.poincare) (φ ^ n)) ((𝟙 A.scheme) ^ n) |
| 48 | (Poincare.TransverseFrames.sourceVertical (φ ^ n) (Line.Comparison.Bundle.fromShared D.withPicardGroup.poincare) Dv)) |
| 49 | (hKh : Kernel.FramesTransverseTransport.Transverse f Kh (Poincare.TransverseFrames.sourceVertical (φ ^ n) (Line.Comparison.Bundle.fromShared D.withPicardGroup.poincare) Dv)) |
| 50 | (hJ : Kernel.FramesTransverseTransport.Transverse ((𝟙 A.scheme) ^ n) J |
| 51 | (Pulled.KernelFrames.Poincare.sourceMultiplication (φ ^ n) (Line.Comparison.Bundle.fromShared D.withPicardGroup.poincare) Dh)) |
| 52 | |
| 53 | /-- The actual standard Weil value on the included dual kernel point and the native torsion point. -/ |
| 54 | def weilValue {T : Over (Spec (.of k))} (a : T ⟶ Kernel.Scheme.kernelObject f) |
| 55 | (b : T ⟶ Homomorphisms.Kernel.Construction.kernelScheme ((𝟙 A.scheme) ^ n)) : |
| 56 | (AbelianScheme.CartierDuality.CommutativeSheavesAb.Construction.Schemes.multiplicativeFppfAb (Spec (.of k))).obj.obj (.op T) := |
| 57 | AbelianScheme.CartierDuality.SheafEvaluation.Construction.Schemes.sheafCharacterValue (AbelianScheme.CartierDuality.TorsionSheaves.Construction.Schemes.torsionFppfAb (AbelianScheme.CartierDuality.CommutativeSheavesAb.Construction.Schemes.representedFppfAb (Spec (.of k)) (Grp.mk A.scheme)) n) T |
| 58 | ((AbelianScheme.CartierDuality.WeilPairing.Construction.KernelCharacters.weilPairing A.scheme D φ n hn C).rightAdjoint.hom.app (.op T) |
| 59 | ((AbelianScheme.CartierDuality.TorsionSheaves.Construction.Schemes.nativeTorsionSheafIso (Grp.mk D.withPicardGroup.abelian) n).hom.hom.app (.op T) |
| 60 | (ULift.up (a ≫ AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionLift n (Kernel.Scheme.kernelInclusion f ≫ φ) hy)))) |
| 61 | ((AbelianScheme.CartierDuality.KernelTorsionComparison.Construction.Schemes.multiplicationKernelSheafIso (Grp.mk A.scheme) n).hom.hom.app (.op T) (ULift.up b)) |
| 62 | |
| 63 | include hp hKh hJ |
| 64 | |
| 65 | /-- The regular unit of the actual Weil value is the inverse canonical kernel pairing. -/ |
| 66 | theorem unit_value {T : Over (Spec (.of k))} (a : T ⟶ Kernel.Scheme.kernelObject f) |
| 67 | (b : T ⟶ Homomorphisms.Kernel.Construction.kernelScheme ((𝟙 A.scheme) ^ n)) : |
| 68 | WeilUnitDetection.unitValue T (weilValue A D φ n hn C f hy a b) = |
| 69 | (ConcreteKernelPairing.Concrete.value f ((𝟙 A.scheme) ^ n) |
| 70 | (FirstBiextensionFactor.familyLine (Line.Comparison.Bundle.fromShared D.withPicardGroup.poincare) (φ ^ n)) |
| 71 | (Pulled.KernelFrames.Poincare.sourceMultiplication (φ ^ n) (Line.Comparison.Bundle.fromShared D.withPicardGroup.poincare) Dh) |
| 72 | (Poincare.TransverseFrames.sourceVertical (φ ^ n) (Line.Comparison.Bundle.fromShared D.withPicardGroup.poincare) Dv) Kh J a |
| 73 | (b ≫ (Homomorphisms.KernelGroup.Construction.kernelSchemePullbackIso ((𝟙 A.scheme) ^ n)).hom))⁻¹ := by |
| 74 | apply Units.ext |
| 75 | have hv := WeilTorsionCharacter.value A.scheme D φ n hn C (Kernel.Scheme.kernelInclusion f ≫ φ) hy a b |
| 76 | have hu := congrArg (fun z => (WeilUnitDetection.unitValue T z).val) hv |
| 77 | exact hu.trans (CartierKernelPairingComparison.value A D φ Dh Dv hp n hn C f hy Kh J hKh hJ a b) |
| 78 | |
| 79 | /-- The standard Weil pairing detects the same orthogonality as the canonical kernel pairing on all test schemes. -/ |
| 80 | theorem eq_one_iff {T : Over (Spec (.of k))} (a : T ⟶ Kernel.Scheme.kernelObject f) |
| 81 | (b : T ⟶ Homomorphisms.Kernel.Construction.kernelScheme ((𝟙 A.scheme) ^ n)) : |
| 82 | weilValue A D φ n hn C f hy a b = 1 ↔ |
| 83 | ConcreteKernelPairing.Concrete.value f ((𝟙 A.scheme) ^ n) |
| 84 | (FirstBiextensionFactor.familyLine (Line.Comparison.Bundle.fromShared D.withPicardGroup.poincare) (φ ^ n)) |
| 85 | (Pulled.KernelFrames.Poincare.sourceMultiplication (φ ^ n) (Line.Comparison.Bundle.fromShared D.withPicardGroup.poincare) Dh) |
| 86 | (Poincare.TransverseFrames.sourceVertical (φ ^ n) (Line.Comparison.Bundle.fromShared D.withPicardGroup.poincare) Dv) Kh J a |
| 87 | (b ≫ (Homomorphisms.KernelGroup.Construction.kernelSchemePullbackIso ((𝟙 A.scheme) ^ n)).hom) = 1 := by |
| 88 | constructor |
| 89 | · intro h |
| 90 | have hu := (WeilUnitDetection.eq_one_iff T _).mp h |
| 91 | rw [unit_value A D φ Dh Dv hp n hn C f hy Kh J hKh hJ a b] at hu |
| 92 | exact inv_eq_one.mp hu |
| 93 | · intro h |
| 94 | apply (WeilUnitDetection.eq_one_iff T _).mpr |
| 95 | exact (unit_value A D φ Dh Dv hp n hn C f hy Kh J hKh hJ a b).trans (by rw [h, inv_one]) |
| 96 | |
| 97 | end |
| 98 | |
| 99 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.WeilKernelPairingComparison |