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.Kernel.Pair |
| 2 | import Mathlib.CategoryTheory.Sites.Descent.DescentData |
| 3 | |
| 4 | /-! # Linearization -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.Linearization |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Kernel-equivariant transport gives ordinary descent data |
| 12 | |
| 13 | The construction uses points over every test object and the represented |
| 14 | scheme-theoretic kernel. In particular, it retains nonreduced kernels. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 18 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 19 | open _root_.CategoryTheory.Pseudofunctor.LocallyDiscreteOpToCat |
| 20 | open scoped _root_.CategoryTheory.MonObj |
| 21 | |
| 22 | universe u v u' v' |
| 23 | |
| 24 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.Scheme OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.Pair |
| 25 | |
| 26 | variable {C : Type u} [Category.{v} C] [CartesianMonoidalCategory C] [HasPullbacks C] |
| 27 | {A B : C} [GrpObj A] [GrpObj B] (f : A ⟶ B) [IsMonHom f] |
| 28 | |
| 29 | attribute [local instance] Scheme.kernelGroup |
| 30 | |
| 31 | /-- The kernel-valued difference carries the first point to the second. -/ |
| 32 | theorem difference_translates {T : C} (x y : T ⟶ A) (h : x ≫ f = y ≫ f) : |
| 33 | x * (Pair.pointDifference f x y h ≫ Scheme.kernelInclusion f) = y := by |
| 34 | rw [Pair.pointDifference_comp_inclusion, mul_inv_cancel_left] |
| 35 | |
| 36 | /-- The full kernel-valued difference commutes with change of test object. -/ |
| 37 | theorem difference_naturality {T T' : C} (g : T' ⟶ T) (x y : T ⟶ A) |
| 38 | (h : x ≫ f = y ≫ f) (x' y' : T' ⟶ A) (h' : x' ≫ f = y' ≫ f) |
| 39 | (hx : g ≫ x = x') (hy : g ≫ y = y') : |
| 40 | g ≫ Pair.pointDifference f x y h = Pair.pointDifference f x' y' h' := by |
| 41 | apply (cancel_mono (Scheme.kernelInclusion f)).mp |
| 42 | rw [Category.assoc, Pair.pointDifference_comp_inclusion, MonObj.comp_mul, |
| 43 | GrpObj.comp_inv, hx, hy, Pair.pointDifference_comp_inclusion] |
| 44 | |
| 45 | variable (F : Pseudofunctor (LocallyDiscrete Cᵒᵖ) Cat.{v', u'}) |
| 46 | (L : F.obj (.mk (op A))) |
| 47 | |
| 48 | /-- The object pulled back to an arbitrary test point of the group object. -/ |
| 49 | abbrev pointObject {T : C} (x : T ⟶ A) : F.obj (.mk (op T)) := |
| 50 | (F.map x.op.toLoc).toFunctor.obj L |
| 51 | |
| 52 | /-- A kernel action on the pulled-back object, natural on all test objects. |
| 53 | The identities are the ordinary unit, action-composition, and base-change laws. -/ |
| 54 | structure KernelLinearization where |
| 55 | transport ⦃T : C⦄ (x y : T ⟶ A) (k : T ⟶ Scheme.kernelObject f) |
| 56 | (_hk : x * (k ≫ Scheme.kernelInclusion f) = y) : pointObject F L x ⟶ pointObject F L y |
| 57 | unit_compat ⦃T : C⦄ (x : T ⟶ A) |
| 58 | (hx : x * ((1 : T ⟶ Scheme.kernelObject f) ≫ Scheme.kernelInclusion f) = x) : |
| 59 | transport x x 1 hx = 𝟙 _ |
| 60 | mul_compat ⦃T : C⦄ (x y z : T ⟶ A) (k l m : T ⟶ Scheme.kernelObject f) |
| 61 | (hx : x * (k ≫ Scheme.kernelInclusion f) = y) |
| 62 | (hy : y * (l ≫ Scheme.kernelInclusion f) = z) |
| 63 | (hz : x * (m ≫ Scheme.kernelInclusion f) = z) (hm : k * l = m) : |
| 64 | transport x y k hx ≫ transport y z l hy = transport x z m hz |
| 65 | pullback_compat ⦃T T' : C⦄ (g : T' ⟶ T) |
| 66 | (x y : T ⟶ A) (k : T ⟶ Scheme.kernelObject f) (hk : x * (k ≫ Scheme.kernelInclusion f) = y) |
| 67 | (x' y' : T' ⟶ A) (k' : T' ⟶ Scheme.kernelObject f) |
| 68 | (hk' : x' * (k' ≫ Scheme.kernelInclusion f) = y') |
| 69 | (hx : g ≫ x = x') (hy : g ≫ y = y') (hkk : g ≫ k = k') : |
| 70 | pullHom (transport x y k hk) g x' y' hx hy = transport x' y' k' hk' |
| 71 | |
| 72 | /-- Equivariant transport along the actual kernel produces ordinary Čech descent data. -/ |
| 73 | def KernelLinearization.toDescentData (D : KernelLinearization f F L) : |
| 74 | F.DescentData (fun (_ : PUnit.{1}) => f) where |
| 75 | obj _ := L |
| 76 | hom T q _i₁ _i₂ x y hx hy := |
| 77 | D.transport x y (Pair.pointDifference f x y (hx.trans hy.symm)) |
| 78 | (difference_translates f x y (hx.trans hy.symm)) |
| 79 | pullHom_hom T' T g q q' hq _i₁ _i₂ x y hx hy x' y' hxx hyy := by |
| 80 | apply D.pullback_compat |
| 81 | exact difference_naturality f g x y _ x' y' _ hxx hyy |
| 82 | hom_self T q _i x hx := by |
| 83 | change D.transport x x (Pair.pointDifference f x x (hx.trans hx.symm)) _ = 𝟙 _ |
| 84 | simpa only [Pair.pointDifference_self] using |
| 85 | D.unit_compat x (by rw [MonObj.one_comp, mul_one]) |
| 86 | hom_comp T q _i₁ _i₂ _i₃ x y z hx hy hz := by |
| 87 | apply D.mul_compat |
| 88 | exact (Pair.pointDifference_cocycle f x y z (hx.trans hy.symm) (hy.trans hz.symm)).symm |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.Linearization |