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.Kernel.HomEquality |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Intrinsic.ImagePairingTransport |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.CartierIsoPairing |
| 4 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Poincare.BundleSelfAnnihilator |
| 5 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.ComplementKernelCartierDual |
| 6 | |
| 7 | /-! # Complement Torsion Pairing -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.ComplementTorsionPairing.Construction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The canonical n-torsion pairing identifies the actual kernel of a |
| 14 | power complement with the Cartier dual of the original isogeny kernel. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.Scheme |
| 20 | attribute [local instance] Picard.PoincareBundle.Kernel.Scheme.kernelGroup Picard.PoincareBundle.Kernel.Scheme.kernelGroup_commutative |
| 21 | |
| 22 | universe u |
| 23 | variable {S : Scheme.{u}} {A B : Over S} [GrpObj A] [GrpObj B] |
| 24 | [IsCommMonObj A] [IsCommMonObj B] |
| 25 | (f : A ⟶ B) [IsMonHom f] (r : B ⟶ A) [IsMonHom r] |
| 26 | (n : ℕ) (hfr : f ≫ r = (𝟙 A) ^ n) |
| 27 | (hf : ∀ (T : Over S) (x : T ⟶ A), x ≫ f = 1 → x ^ n = 1) |
| 28 | (e : Annihilator.Construction.SchemeBicharacter (A := Torsion.Groups.Construction.nativeTorsionScheme A n) (B := Torsion.Groups.Construction.nativeTorsionScheme A n) |
| 29 | (W := (CartierDuality.CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S).X)) |
| 30 | |
| 31 | set_option backward.isDefEq.respectTransparency false in |
| 32 | def complementTorsionPairing : |
| 33 | Annihilator.Construction.SchemeBicharacter (A := Picard.PoincareBundle.Kernel.Scheme.kernelObject (f ≫ r)) (B := Picard.PoincareBundle.Kernel.Scheme.kernelObject (f ≫ r)) |
| 34 | (W := (CartierDuality.CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S).X) := |
| 35 | e.restrict (Kernel.HomEquality.Construction.kernelHomEqualityIso (f ≫ r) ((𝟙 A) ^ n) hfr).hom |
| 36 | (Kernel.HomEquality.Construction.kernelHomEqualityIso (f ≫ r) ((𝟙 A) ^ n) hfr).hom |
| 37 | |
| 38 | omit [IsCommMonObj B] in |
| 39 | set_option backward.isDefEq.respectTransparency false in |
| 40 | theorem complementTorsionPairing_isPerfect (he : e.toSheafPairing.IsPerfect) : |
| 41 | (complementTorsionPairing f r n hfr e).toSheafPairing.IsPerfect := |
| 42 | e.restrict_isPerfect_of_scheme_iso he |
| 43 | (Kernel.HomEquality.Construction.kernelHomEqualityIso (f ≫ r) ((𝟙 A) ^ n) hfr).hom |
| 44 | |
| 45 | variable (hlag : |
| 46 | let F := SubgroupTransport.Construction.relativeSubgroupPullback (Torsion.Groups.Construction.nativeTorsionInclusion A n) (Intrinsic.MorphismKernel.Construction.nativeMorphismKernel f) |
| 47 | e.relativeAnnihilator F = F) |
| 48 | |
| 49 | include hf hlag in |
| 50 | set_option backward.isDefEq.respectTransparency false in |
| 51 | theorem complementTorsionPairing_selfAnnihilating : |
| 52 | (complementTorsionPairing f r n hfr e).relativeAnnihilator |
| 53 | (Intrinsic.RelativeAnnihilator.Construction.nativeImageRelativeSubgroup (Kernel.PreimageExactness.Construction.kernelPreimageInclusion f r)) = |
| 54 | Intrinsic.RelativeAnnihilator.Construction.nativeImageRelativeSubgroup (Kernel.PreimageExactness.Construction.kernelPreimageInclusion f r) := by |
| 55 | have hlag' : e.relativeAnnihilator (Intrinsic.RelativeAnnihilator.Construction.nativeImageRelativeSubgroup (Picard.PoincareBundle.Kernel.ContainmentMap.torsionMap f n hf)) = |
| 56 | Intrinsic.RelativeAnnihilator.Construction.nativeImageRelativeSubgroup (Picard.PoincareBundle.Kernel.ContainmentMap.torsionMap f n hf) := by |
| 57 | simpa only [Poincare.BundleSelfAnnihilator.Construction.nativeTorsion_kernel_eq_e45_image f n hf] using hlag |
| 58 | exact e.nativeImage_selfAnnihilation_transport |
| 59 | (Kernel.HomEquality.Construction.kernelHomEqualityIso (f ≫ r) ((𝟙 A) ^ n) hfr).hom |
| 60 | (Picard.PoincareBundle.Kernel.ContainmentMap.torsionMap f n hf) (Kernel.PreimageExactness.Construction.kernelPreimageInclusion f r) |
| 61 | (Kernel.HomEquality.Construction.kernelPreimageInclusion_torsion_transport f r n hfr hf) hlag' |
| 62 | |
| 63 | variable [IsFinite f.left] [Flat f.left] [Surjective f.left] [LocallyOfFinitePresentation f.left] |
| 64 | [IsFinite (Picard.PoincareBundle.Kernel.Scheme.kernelObject r).hom] [Flat (Picard.PoincareBundle.Kernel.Scheme.kernelObject r).hom] |
| 65 | [LocallyOfFinitePresentation (Picard.PoincareBundle.Kernel.Scheme.kernelObject r).hom] |
| 66 | |
| 67 | set_option backward.isDefEq.respectTransparency false in |
| 68 | def complementKernelCartierIsoOfTorsion (he : e.toSheafPairing.IsPerfect) |
| 69 | (Y : CartierDuality.GroupRepresentatives.Construction.Schemes.CharacterGroupRepresentation S (Grp.mk (Picard.PoincareBundle.Kernel.Scheme.kernelObject f))) : |
| 70 | Grp.mk (Picard.PoincareBundle.Kernel.Scheme.kernelObject r) ≅ Y.dual := by |
| 71 | have hl := complementTorsionPairing_selfAnnihilating f r n hfr hf e hlag |
| 72 | have : Mono (Kernel.PreimageSheaf.Construction.kernelPreimageGroupInclusion f r).hom.hom := |
| 73 | inferInstanceAs (Mono (Kernel.PreimageExactness.Construction.kernelPreimageInclusion f r)) |
| 74 | exact ComplementKernelCartierDual.Construction.complementKernelCartierGroupIso f r (complementTorsionPairing f r n hfr e).toSheafPairing |
| 75 | (complementTorsionPairing_isPerfect f r n hfr e he) |
| 76 | ((complementTorsionPairing f r n hfr e).nativeImage_selfAnnihilation_sheaf |
| 77 | (Kernel.PreimageSheaf.Construction.kernelPreimageGroupInclusion f r) hl) Y |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.ComplementTorsionPairing.Construction |