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.RepresentationTheory.Theta.Geometric.ProductKernelCoordinates |
| 2 | import OAI.RepresentationTheory.Theta.Geometric.KernelTransportComposition |
| 3 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.PullbackFiberComposition |
| 4 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.DescentReindexing |
| 5 | |
| 6 | /-! # Difference Kernel Linearization -/ |
| 7 | |
| 8 | namespace OAI.RepresentationTheory.Theta.Geometric.DifferenceKernelLinearization |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The normalized difference transport defines a genuine kernel |
| 13 | linearization, with its unit, composition, and all-test pullback laws. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 18 | open _root_.CategoryTheory.Pseudofunctor.LocallyDiscreteOpToCat |
| 19 | open scoped _root_.CategoryTheory.MonObj |
| 20 | |
| 21 | open OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.ConstantSectionsOn.ConstantSections OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.Scheme OAI.AlgebraicGeometry.Picard.PoincareBundle.Geometric.KernelLinearization OAI.AlgebraicGeometry.Picard.PoincareBundle.Geometric.DescentEquations |
| 22 | attribute [local instance] AlgebraicGeometry.Picard.PoincareBundle.Kernel.Scheme.kernelGroup |
| 23 | |
| 24 | theorem overPullHom_eq_native {S : Scheme} {X Y T U : Over S} |
| 25 | {M : X.left.Modules} {N : Y.left.Modules} {x : T ⟶ X} {y : T ⟶ Y} |
| 26 | (φ : (Scheme.Modules.pullback x.left).obj M ⟶ (Scheme.Modules.pullback y.left).obj N) |
| 27 | (j : U ⟶ T) (x' : U ⟶ X) (y' : U ⟶ Y) (hx : j ≫ x = x') (hy : j ≫ y = y') : |
| 28 | pullHom (F := AlgebraicGeometry.Picard.PoincareBundle.Geometric.KernelLinearization.overModulePullbacks S) φ j x' y' hx hy = |
| 29 | AlgebraicGeometry.Picard.PoincareBundle.Geometric.DescentEquations.nativePullback φ j.left x'.left y'.left (congrArg Over.Hom.left hx) (congrArg Over.Hom.left hy) := |
| 30 | (AlgebraicGeometry.Picard.PoincareBundle.DescentReindexing.pullHom_reindex (Over.forget S) AlgebraicGeometry.Picard.PoincareBundle.Geometric.KernelLinearization.modulePullbacks φ j x' y' hx hy).trans |
| 31 | (AlgebraicGeometry.Picard.PoincareBundle.Geometric.PullHom.pullHom_eq φ j.left x'.left y'.left _ _) |
| 32 | |
| 33 | variable {g h : ℕ} {A : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase} {B : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme h AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase} |
| 34 | (p : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A B) {G : Type} [Group G] |
| 35 | (labels : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Constant.GroupMaps.constantGroupFunctor AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase G ≅ IsogenyKernelScheme.isogenyKernelFunctor p) |
| 36 | (L : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle A.scheme.left) |
| 37 | (hL : ∀ a : p.kernelAt (AlgebraicGeometry.AbelianModuli.ReferenceFamily.ConstantSectionsOn.ConstantSections.baseTest AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase), |
| 38 | Nonempty ((L.pullback (DifferenceBundleTranslation.groupTranslation A.scheme a.val).left).sheaf ≅ L.sheaf)) |
| 39 | (e : ((AbelianDifferenceBundle.abelianDifferenceBundle A L).pullback |
| 40 | (lift (𝟙 A.scheme) (1 : A.scheme ⟶ A.scheme)).left).sheaf ≅ AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule A.scheme.left) |
| 41 | |
| 42 | def differenceKernelTransportIso {T : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase} (x y : T ⟶ A.scheme ⊗ A.scheme) |
| 43 | (k : T ⟶ AlgebraicGeometry.Picard.PoincareBundle.Kernel.Scheme.kernelObject (p.hom ⊗ₘ 𝟙 A.scheme)) |
| 44 | (hk : x * (k ≫ AlgebraicGeometry.Picard.PoincareBundle.Kernel.Scheme.kernelInclusion (p.hom ⊗ₘ 𝟙 A.scheme)) = y) : |
| 45 | ((AbelianDifferenceBundle.abelianDifferenceBundle A L).pullback y.left).sheaf ≅ |
| 46 | ((AbelianDifferenceBundle.abelianDifferenceBundle A L).pullback x.left).sheaf := |
| 47 | KernelTransportNaturality.kernelDifferenceTransportToIso p labels L hL e x y (ProductKernelCoordinates.productKernelFirst p T k) |
| 48 | (hk.symm.trans (ProductKernelCoordinates.productKernel_translate p x k)) |
| 49 | |
| 50 | def differenceKernelLinearization : |
| 51 | AlgebraicGeometry.Picard.PoincareBundle.Kernel.Linearization.KernelLinearization (p.hom ⊗ₘ 𝟙 A.scheme) |
| 52 | (AlgebraicGeometry.Picard.PoincareBundle.Geometric.KernelLinearization.overModulePullbacks AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) (AbelianDifferenceBundle.abelianDifferenceBundle A L).sheaf where |
| 53 | transport {_T} x y k hk := (differenceKernelTransportIso p labels L hL e x y k hk).inv |
| 54 | unit_compat {T} x hx := by |
| 55 | have hi := KernelTransportComposition.kernelDifferenceTransportToIso_self p labels L hL e x (ProductKernelCoordinates.productKernelFirst p T 1) |
| 56 | (map_one (ProductKernelCoordinates.productKernelFirst p T)) (hx.symm.trans (ProductKernelCoordinates.productKernel_translate p x 1)) |
| 57 | exact congrArg Iso.inv hi |
| 58 | mul_compat {T} x y z k l m hx hy hz hm := by |
| 59 | have hm' : ProductKernelCoordinates.productKernelFirst p T k * ProductKernelCoordinates.productKernelFirst p T l = ProductKernelCoordinates.productKernelFirst p T m := |
| 60 | ((ProductKernelCoordinates.productKernelFirst p T).map_mul k l).symm.trans (congrArg (ProductKernelCoordinates.productKernelFirst p T) hm) |
| 61 | have hi := KernelTransportComposition.kernelDifferenceTransportToIso_comp_eq p labels L hL e x y z |
| 62 | (ProductKernelCoordinates.productKernelFirst p T k) (ProductKernelCoordinates.productKernelFirst p T l) (ProductKernelCoordinates.productKernelFirst p T m) hm' |
| 63 | (hx.symm.trans (ProductKernelCoordinates.productKernel_translate p x k)) |
| 64 | (hy.symm.trans (ProductKernelCoordinates.productKernel_translate p y l)) |
| 65 | (hz.symm.trans (ProductKernelCoordinates.productKernel_translate p x m)) |
| 66 | exact congrArg Iso.inv hi |
| 67 | pullback_compat {T U} j x y k hk x' y' k' hk' hx hy hkk := by |
| 68 | have hkernel : IsogenyKernelScheme.isogenyKernelPullback p j (ProductKernelCoordinates.productKernelFirst p T k) = ProductKernelCoordinates.productKernelFirst p U k' := |
| 69 | (ProductKernelCoordinates.productKernelFirst_natural p j k).trans (congrArg (ProductKernelCoordinates.productKernelFirst p U) hkk) |
| 70 | have hn := KernelTransportNaturality.kernelDifferenceTransportToIso_naturality p labels L hL e x y (ProductKernelCoordinates.productKernelFirst p T k) |
| 71 | (hk.symm.trans (ProductKernelCoordinates.productKernel_translate p x k)) j x' y' (ProductKernelCoordinates.productKernelFirst p U k') hx hy hkernel |
| 72 | (hk'.symm.trans (ProductKernelCoordinates.productKernel_translate p x' k')) |
| 73 | have hi : AlgebraicGeometry.Picard.PoincareBundle.PullbackFiberComposition.pullIso (AlgebraicGeometry.Picard.PoincareBundle.Geometric.KernelLinearization.overModulePullbacks AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) |
| 74 | (differenceKernelTransportIso p labels L hL e x y k hk) j y' x' hy hx = |
| 75 | differenceKernelTransportIso p labels L hL e x' y' k' hk' := by |
| 76 | apply Iso.ext |
| 77 | exact (overPullHom_eq_native _ j y' x' hy hx).trans hn |
| 78 | exact congrArg Iso.inv hi |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.RepresentationTheory.Theta.Geometric.DifferenceKernelLinearization |