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.SheafPairing |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.CartierDuality |
| 3 | |
| 4 | /-! # Relative Pairing -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Canonical.RelativePairing.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | CartierDuality's actual character-line construction gives the native Weil and |
| 12 | polarization pairings over every base. The comparison retains every |
| 13 | test-scheme value and the original polarization map on torsion. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable {S : Scheme.{u}} {A : CartierDuality.PolarizedTorsion.AbelianScheme S} |
| 22 | (pol : CartierDuality.PolarizedTorsion.Polarization A) (n : ℕ) (hn : 0 < n) |
| 23 | |
| 24 | local instance canonicalPolarization_isMonHom : |
| 25 | IsMonHom (show A.toOver ⟶ pol.dual.abelian from pol.map) := pol.preservesGroup |
| 26 | |
| 27 | include pol hn in |
| 28 | theorem canonicalNativeTorsion_finiteLocallyFree : |
| 29 | IsFinite (Torsion.Groups.Construction.nativeTorsionScheme A.toOver n).hom ∧ |
| 30 | Flat (Torsion.Groups.Construction.nativeTorsionScheme A.toOver n).hom ∧ |
| 31 | LocallyOfFinitePresentation (Torsion.Groups.Construction.nativeTorsionScheme A.toOver n).hom := by |
| 32 | have : IsFinite (show A.toOver ⟶ pol.dual.abelian from pol.map).left := pol.finite |
| 33 | have : IsFinite ((𝟙 A.toOver : A.toOver ⟶ A.toOver) ^ n).left := |
| 34 | CartierDuality.RelativeTorsion.Construction.RelativeAbelian.finite_positive_power A.toOver pol.dual pol.map n hn |
| 35 | have h := CartierDuality.TorsionGeometry.Construction.Schemes.nativeTorsion_finiteLocallyFree_of_finite_power (Grp.mk A.toOver) n |
| 36 | have : IsFinite (TorsionQuotient.SubgroupFunctor.torsionScheme A.toOver n).hom := h.1 |
| 37 | have : Flat (TorsionQuotient.SubgroupFunctor.torsionScheme A.toOver n).hom := h.2.1 |
| 38 | have : LocallyOfFinitePresentation (TorsionQuotient.SubgroupFunctor.torsionScheme A.toOver n).hom := h.2.2 |
| 39 | have : IsIso (Torsion.Groups.Construction.torsionEqualizerKernelIso A.toOver n).inv.left := |
| 40 | (Over.forget S).map_isIso (Torsion.Groups.Construction.torsionEqualizerKernelIso A.toOver n).inv |
| 41 | rw [← (Torsion.Groups.Construction.torsionEqualizerKernelIso A.toOver n).inv.w] |
| 42 | exact ⟨inferInstance, inferInstance, inferInstance⟩ |
| 43 | |
| 44 | def canonicalNativeWeilPairing : |
| 45 | Annihilator.Construction.SchemeBicharacter (A := Torsion.Groups.Construction.nativeTorsionScheme A.toOver n) |
| 46 | (B := Torsion.Groups.Construction.nativeTorsionScheme pol.dual.abelian n) |
| 47 | (W := (CartierDuality.CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S).X) := |
| 48 | Torsion.SheafPairing.Construction.torsionSheafPairingToNative (Grp.mk A.toOver) (Grp.mk pol.dual.abelian) n |
| 49 | (pol.weilPairing n hn) |
| 50 | |
| 51 | theorem canonicalNativeWeilPairing_isPerfect : |
| 52 | (canonicalNativeWeilPairing pol n hn).toSheafPairing.IsPerfect := |
| 53 | Torsion.SheafPairing.Construction.torsionSheafPairingToNative_isPerfect (Grp.mk A.toOver) (Grp.mk pol.dual.abelian) n |
| 54 | (pol.weilPairing n hn) (pol.weilPairing_isPerfect n hn) |
| 55 | |
| 56 | set_option backward.isDefEq.respectTransparency false in |
| 57 | theorem canonicalNativeWeilPairing_characterLine (T : Over S) |
| 58 | (x : T ⟶ Torsion.Groups.Construction.nativeTorsionScheme A.toOver n) |
| 59 | (y : T ⟶ Torsion.Groups.Construction.nativeTorsionScheme pol.dual.abelian n) : |
| 60 | ULift.up ((canonicalNativeWeilPairing pol n hn).pairValue x y) = |
| 61 | CartierDuality.SheafEvaluation.Construction.Schemes.sheafCharacterValue (A.torsionSheaf n) T |
| 62 | ((pol.torsionCartierIso n hn).inv.hom.app (.op T) |
| 63 | ((Torsion.SheafComparison.Construction.kernelTorsionSheafIso (Grp.mk pol.dual.abelian) n).hom.hom.app (.op T) (ULift.up y))) |
| 64 | ((Torsion.SheafComparison.Construction.kernelTorsionSheafIso (Grp.mk A.toOver) n).hom.hom.app (.op T) (ULift.up x)) := by |
| 65 | have hadjoint : (pol.weilPairing n hn).rightAdjoint = (pol.torsionCartierIso n hn).inv := |
| 66 | congrArg CartierDuality.SheafEvaluation.Construction.Schemes.BilinearPairing.leftAdjoint |
| 67 | (CartierDuality.SheafEvaluation.Construction.Schemes.BilinearPairing.flip_flip (CartierDuality.SheafEvaluation.Construction.Schemes.BilinearPairing.mk (pol.torsionCartierIso n hn).inv)) |
| 68 | have hv := Torsion.SheafPairing.Construction.torsionSheafPairingToNative_rightValue (Grp.mk A.toOver) |
| 69 | (Grp.mk pol.dual.abelian) n (pol.weilPairing n hn) T x y |
| 70 | rw [hadjoint] at hv |
| 71 | exact hv |
| 72 | |
| 73 | def canonicalNativePolarizationPairing : |
| 74 | Annihilator.Construction.SchemeBicharacter (A := Torsion.Groups.Construction.nativeTorsionScheme A.toOver n) |
| 75 | (B := Torsion.Groups.Construction.nativeTorsionScheme A.toOver n) |
| 76 | (W := (CartierDuality.CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S).X) := |
| 77 | Torsion.SheafPairing.Construction.torsionSheafPairingToNative (Grp.mk A.toOver) (Grp.mk A.toOver) n |
| 78 | (pol.torsionPairing n hn) |
| 79 | |
| 80 | theorem canonicalNativePolarizationPairing_toSheaf : |
| 81 | (canonicalNativePolarizationPairing pol n hn).toSheafPairing = |
| 82 | (pol.torsionPairing n hn).restrict |
| 83 | (Torsion.SheafComparison.Construction.kernelTorsionSheafIso (Grp.mk A.toOver) n).hom |
| 84 | (Torsion.SheafComparison.Construction.kernelTorsionSheafIso (Grp.mk A.toOver) n).hom := |
| 85 | Torsion.SheafPairing.Construction.torsionSheafPairingToNative_toSheaf (Grp.mk A.toOver) (Grp.mk A.toOver) n |
| 86 | (pol.torsionPairing n hn) |
| 87 | |
| 88 | theorem canonicalNativePolarizationPairing_isPerfect |
| 89 | (hdegree : ∀ s : S, Nat.Coprime n (pol.fiberDegree s)) : |
| 90 | (canonicalNativePolarizationPairing pol n hn).toSheafPairing.IsPerfect := |
| 91 | Torsion.SheafPairing.Construction.torsionSheafPairingToNative_isPerfect (Grp.mk A.toOver) (Grp.mk A.toOver) n |
| 92 | (pol.torsionPairing n hn) (pol.torsionPairing_isPerfect n hn hdegree) |
| 93 | |
| 94 | theorem canonicalNativePolarizationPairing_value (T : Over S) |
| 95 | (x y : T ⟶ Torsion.Groups.Construction.nativeTorsionScheme A.toOver n) : |
| 96 | (canonicalNativePolarizationPairing pol n hn).pairValue x y = |
| 97 | (canonicalNativeWeilPairing pol n hn).pairValue x (y ≫ Torsion.Groups.Construction.nativeTorsionMap n pol.map) := by |
| 98 | let f : Grp.mk A.toOver ⟶ Grp.mk pol.dual.abelian := Grp.homMk pol.map |
| 99 | have hmap := congrArg (fun e => e.hom.app (.op T) (ULift.up y)) |
| 100 | (Torsion.SheafComparison.Construction.kernelTorsionSheafIso_natural n f) |
| 101 | change (Torsion.SheafComparison.Construction.kernelTorsionSheafIso (Grp.mk pol.dual.abelian) n).hom.hom.app (.op T) |
| 102 | (ULift.up (y ≫ Torsion.Groups.Construction.nativeTorsionMap n pol.map)) = |
| 103 | (pol.torsionMap n).hom.app (.op T) |
| 104 | ((Torsion.SheafComparison.Construction.kernelTorsionSheafIso (Grp.mk A.toOver) n).hom.hom.app (.op T) (ULift.up y)) at hmap |
| 105 | apply ULift.up_injective |
| 106 | refine (Torsion.SheafPairing.Construction.torsionSheafPairingToNative_value (Grp.mk A.toOver) (Grp.mk A.toOver) n |
| 107 | (pol.torsionPairing n hn) T x y).trans ?_ |
| 108 | have hv := CartierDuality.SheafEvaluation.Construction.Schemes.cartierDualSheafMap_value (pol.torsionMap n) T |
| 109 | ((pol.weilPairing n hn).leftAdjoint.hom.app (.op T) |
| 110 | ((Torsion.SheafComparison.Construction.kernelTorsionSheafIso (Grp.mk A.toOver) n).hom.hom.app (.op T) (ULift.up x))) |
| 111 | ((Torsion.SheafComparison.Construction.kernelTorsionSheafIso (Grp.mk A.toOver) n).hom.hom.app (.op T) (ULift.up y)) |
| 112 | refine hv.trans ?_ |
| 113 | rw [← hmap] |
| 114 | exact (Torsion.SheafPairing.Construction.torsionSheafPairingToNative_value (Grp.mk A.toOver) (Grp.mk pol.dual.abelian) n |
| 115 | (pol.weilPairing n hn) T x (y ≫ Torsion.Groups.Construction.nativeTorsionMap n pol.map)).symm |
| 116 | |
| 117 | end |
| 118 | |
| 119 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Canonical.RelativePairing.Construction |