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.PreimageExactness |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Torsion.Groups |
| 3 | |
| 4 | /-! # Hom Equality -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Kernel.HomEquality.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Equality of the ambient homomorphisms identifies their actual |
| 11 | kernel group schemes and preserves the original inclusions. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped _root_.CategoryTheory.MonObj |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.Scheme |
| 17 | attribute [local instance] Picard.PoincareBundle.Kernel.Scheme.kernelGroup |
| 18 | |
| 19 | universe u |
| 20 | variable {S : Scheme.{u}} {A B : Over S} [GrpObj A] [GrpObj B] |
| 21 | (f g : A ⟶ B) [IsMonHom f] [IsMonHom g] (h : f = g) |
| 22 | |
| 23 | def kernelHomEqualityIso : Picard.PoincareBundle.Kernel.Scheme.kernelObject f ≅ Picard.PoincareBundle.Kernel.Scheme.kernelObject g := by |
| 24 | subst g |
| 25 | exact Iso.refl _ |
| 26 | |
| 27 | omit [IsMonHom f] in |
| 28 | theorem kernelHomEqualityIso_inclusion : |
| 29 | (kernelHomEqualityIso f g h).hom ≫ Picard.PoincareBundle.Kernel.Scheme.kernelInclusion g = Picard.PoincareBundle.Kernel.Scheme.kernelInclusion f := by |
| 30 | subst g |
| 31 | exact Category.id_comp _ |
| 32 | |
| 33 | instance kernelHomEqualityIso_isMonHom : IsMonHom (kernelHomEqualityIso f g h).hom := by |
| 34 | subst g |
| 35 | exact inferInstanceAs (IsMonHom (𝟙 (Picard.PoincareBundle.Kernel.Scheme.kernelObject f))) |
| 36 | |
| 37 | variable [IsCommMonObj A] |
| 38 | (r : B ⟶ A) [IsMonHom r] (n : ℕ) (hfr : f ≫ r = (𝟙 A) ^ n) |
| 39 | (hf : ∀ (T : Over S) (x : T ⟶ A), x ≫ f = 1 → x ^ n = 1) |
| 40 | |
| 41 | omit g h [IsMonHom g] in |
| 42 | theorem kernelPreimageInclusion_torsion_transport : |
| 43 | PreimageExactness.Construction.kernelPreimageInclusion f r ≫ (kernelHomEqualityIso (f ≫ r) ((𝟙 A) ^ n) hfr).hom = |
| 44 | Picard.PoincareBundle.Kernel.ContainmentMap.torsionMap f n hf := by |
| 45 | apply (cancel_mono (Picard.PoincareBundle.Kernel.Scheme.kernelInclusion ((𝟙 A) ^ n))).mp |
| 46 | rw [Category.assoc, kernelHomEqualityIso_inclusion, PreimageExactness.Construction.kernelPreimageInclusion_inclusion, |
| 47 | Picard.PoincareBundle.Kernel.ContainmentMap.torsionMap_inclusion] |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Kernel.HomEquality.Construction |