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.AbelianModuli.HilbertConstruction.Isogeny.KernelScheme |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Over.EffectiveDescent |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.MonoidHomEpiDescent |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FaithfullyFlatTensorEpi |
| 5 | import Mathlib.AlgebraicGeometry.Sites.Fpqc |
| 6 | |
| 7 | /-! # Kernel Factorization -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Group homomorphisms annihilating the actual kernel descend uniquely through a finite-flat isogeny. -/ |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.CategoryTheory.MonoidalCategory |
| 15 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 16 | universe u |
| 17 | |
| 18 | variable {S : Scheme.{u}} {g h k : ℕ} |
| 19 | variable {A : Abelian.Schemes.AbelianScheme g S} {B : Abelian.Schemes.AbelianScheme h S} (p : Abelian.Schemes.AbelianScheme.Isogeny A B) (C : Abelian.Schemes.AbelianScheme k S) |
| 20 | |
| 21 | theorem Abelian.Schemes.AbelianScheme.Isogeny.kernel_annihilator_relation (m : A.scheme ⟶ C.scheme) [IsMonHom m] |
| 22 | (hm : p.kernelInclusion ≫ m = 1) {T : Over S} (a b : T ⟶ A.scheme) |
| 23 | (hab : a ≫ p.hom = b ≫ p.hom) : a ≫ m = b ≫ m := by |
| 24 | let t : p.kernelAt T := ⟨b / a, by |
| 25 | change (b / a) ≫ p.hom = 1 |
| 26 | rw [GrpObj.div_comp, div_eq_one] |
| 27 | exact hab.symm⟩ |
| 28 | let e := (p.kernelSchemePointsEquiv T).symm t |
| 29 | have he : e ≫ p.kernelInclusion = b / a := |
| 30 | congrArg (fun x : p.kernelAt T => x.val) ((p.kernelSchemePointsEquiv T).apply_symm_apply t) |
| 31 | have hz : (b / a) ≫ m = 1 := by |
| 32 | calc |
| 33 | _ = (e ≫ p.kernelInclusion) ≫ m := congrArg (fun f => f ≫ m) he.symm |
| 34 | _ = e ≫ (1 : p.kernelScheme ⟶ C.scheme) := |
| 35 | (Category.assoc _ _ _).trans (congrArg (fun f => e ≫ f) hm) |
| 36 | _ = 1 := MonObj.comp_one e |
| 37 | exact (div_eq_one.mp ((GrpObj.div_comp b a m).symm.trans hz)).symm |
| 38 | |
| 39 | theorem Abelian.Schemes.AbelianScheme.Isogeny.existsUnique_kernel_factor (m : A.scheme ⟶ C.scheme) [IsMonHom m] |
| 40 | (hm : p.kernelInclusion ≫ m = 1) : ∃! d : B.scheme ⟶ C.scheme, p.hom ≫ d = m := by |
| 41 | have : EffectiveEpi p.hom.left := inferInstance |
| 42 | exact HilbertConstruction.Over.EffectiveDescent.over_existsUnique_factor_of_effectiveEpi p.hom m |
| 43 | (fun a b hab => p.kernel_annihilator_relation C m hm a b hab) |
| 44 | |
| 45 | theorem Abelian.Schemes.AbelianScheme.Isogeny.kernel_factor_isMonHom (m : A.scheme ⟶ C.scheme) (d : B.scheme ⟶ C.scheme) |
| 46 | [IsMonHom m] (hd : p.hom ≫ d = m) : IsMonHom d := by |
| 47 | have : Epi (p.hom ⊗ₘ p.hom) := FaithfullyFlatTensorEpi.over_tensor_epi_of_flat_surjective p.hom p.hom |
| 48 | exact MonoidHomEpiDescent.isMonHom_of_tensor_epi p.hom m d hd |
| 49 | |
| 50 | theorem Abelian.Schemes.AbelianScheme.Isogeny.existsUnique_group_kernel_factor (m : A.scheme ⟶ C.scheme) [IsMonHom m] |
| 51 | (hm : p.kernelInclusion ≫ m = 1) : |
| 52 | ∃! d : {f : B.scheme ⟶ C.scheme // IsMonHom f}, p.hom ≫ d.val = m := by |
| 53 | obtain ⟨d, hd, huniq⟩ := p.existsUnique_kernel_factor C m hm |
| 54 | refine ⟨⟨d, p.kernel_factor_isMonHom C m d hd⟩, hd, ?_⟩ |
| 55 | intro e he |
| 56 | exact Subtype.ext (huniq e.val he) |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |