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.HodgeConjecture.HeckeCycles.SplitGroupPoints |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.Scheme |
| 3 | |
| 4 | /-! # Split Group Scheme -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SplitGroupScheme.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A split retraction of commutative group objects is the product of |
| 11 | its scheme-theoretic kernel and its target, on every test object. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 14 | open MonoidalCategory CartesianMonoidalCategory |
| 15 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.Scheme |
| 18 | |
| 19 | universe u v |
| 20 | variable {C : Type u} [Category.{v} C] [CartesianMonoidalCategory C] |
| 21 | [BraidedCategory C] [HasPullbacks C] |
| 22 | {A B : C} [GrpObj A] [GrpObj B] [IsCommMonObj A] [IsCommMonObj B] |
| 23 | (r : A ⟶ B) [IsMonHom r] (s : B ⟶ A) [IsMonHom s] (hrs : s ≫ r = 𝟙 B) |
| 24 | |
| 25 | include hrs |
| 26 | |
| 27 | omit [BraidedCategory C] [HasPullbacks C] [IsCommMonObj A] [IsCommMonObj B] in |
| 28 | theorem points_retraction (T : C) (b : T ⟶ B) : Picard.PoincareBundle.Kernel.Scheme.pointsMap r T (Picard.PoincareBundle.Kernel.Scheme.pointsMap s T b) = b := |
| 29 | (Category.assoc b s r).trans ((congrArg (b ≫ ·) hrs).trans (Category.comp_id b)) |
| 30 | |
| 31 | def pointsEquiv (T : C) : (T ⟶ Picard.PoincareBundle.Kernel.Scheme.kernelObject r ⊗ B) ≃ (T ⟶ A) := |
| 32 | homEquivToProd.trans |
| 33 | ((Picard.PoincareBundle.Kernel.Scheme.kernelPointsEquiv r T).prodCongr (Equiv.refl (T ⟶ B))) |>.trans |
| 34 | (SplitGroupPoints.CM.productEquiv (Picard.PoincareBundle.Kernel.Scheme.pointsMap r T) (Picard.PoincareBundle.Kernel.Scheme.pointsMap s T) |
| 35 | (points_retraction r s hrs T)).toEquiv |
| 36 | |
| 37 | theorem pointsEquiv_apply (T : C) (x : T ⟶ Picard.PoincareBundle.Kernel.Scheme.kernelObject r ⊗ B) : |
| 38 | pointsEquiv r s hrs T x = |
| 39 | (x ≫ fst _ _ ≫ Picard.PoincareBundle.Kernel.Scheme.kernelInclusion r) * (x ≫ snd _ _ ≫ s) := by |
| 40 | change ((x ≫ fst _ _) ≫ Picard.PoincareBundle.Kernel.Scheme.kernelInclusion r) * ((x ≫ snd _ _) ≫ s) = _ |
| 41 | exact congrArg₂ (· * ·) (Category.assoc _ _ _) (Category.assoc _ _ _) |
| 42 | |
| 43 | theorem pointsEquiv_naturality {T U : C} (a : T ⟶ U) (x : U ⟶ Picard.PoincareBundle.Kernel.Scheme.kernelObject r ⊗ B) : |
| 44 | pointsEquiv r s hrs T (a ≫ x) = a ≫ pointsEquiv r s hrs U x := by |
| 45 | rw [pointsEquiv_apply, pointsEquiv_apply, MonObj.comp_mul] |
| 46 | simp only [Category.assoc] |
| 47 | |
| 48 | def productIso : Picard.PoincareBundle.Kernel.Scheme.kernelObject r ⊗ B ≅ A := |
| 49 | Yoneda.fullyFaithful.preimageIso (NatIso.ofComponents |
| 50 | (fun T => (pointsEquiv r s hrs T.unop).toIso) |
| 51 | (fun a => by ext x; exact pointsEquiv_naturality r s hrs a.unop x)) |
| 52 | |
| 53 | theorem productIso_hom : |
| 54 | (productIso r s hrs).hom = (fst _ _ ≫ Picard.PoincareBundle.Kernel.Scheme.kernelInclusion r) * (snd _ _ ≫ s) := by |
| 55 | change pointsEquiv r s hrs _ (𝟙 _) = _ |
| 56 | simpa only [Category.id_comp] using pointsEquiv_apply r s hrs _ (𝟙 _) |
| 57 | |
| 58 | attribute [local instance] Picard.PoincareBundle.Kernel.Scheme.kernelGroup |
| 59 | |
| 60 | instance productIso_isMonHom : IsMonHom (productIso r s hrs).hom := by |
| 61 | rw [productIso_hom, Hom.mul_def] |
| 62 | infer_instance |
| 63 | |
| 64 | def productGroupIso : Grp.mk (Picard.PoincareBundle.Kernel.Scheme.kernelObject r ⊗ B) ≅ Grp.mk A := |
| 65 | Grp.mkIso' (productIso r s hrs) |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SplitGroupScheme.CM |