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.EffectiveQuotientFactor |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.PreimageQuotient |
| 3 | |
| 4 | /-! # Decomposition Quotient -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.DecompositionQuotient |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A scheme-valued kernel decomposition identifies the descended kernel through its actual finite flat quotient. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 14 | open scoped _root_.CategoryTheory.MonObj |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.Scheme |
| 19 | |
| 20 | attribute [local instance] Kernel.Scheme.kernelGroup |
| 21 | |
| 22 | variable {S : Scheme.{u}} {A B D Z : Over S} [GrpObj A] [GrpObj B] [GrpObj D] [GrpObj Z] |
| 23 | (f : A ⟶ B) [IsMonHom f] (m : B ⟶ D) [IsMonHom m] (φ : A ⟶ Z) [IsMonHom φ] |
| 24 | [IsFinite f.left] [Flat f.left] [Surjective f.left] |
| 25 | (j : Kernel.Scheme.kernelObject φ ⟶ Kernel.Scheme.kernelObject m) [Mono j] |
| 26 | (hj : j ≫ Kernel.Scheme.kernelInclusion m = Kernel.Scheme.kernelInclusion φ ≫ f) |
| 27 | (hd : ∀ (T : Over S) (x : T ⟶ Kernel.Scheme.kernelObject (f ≫ m)), |
| 28 | ∃ a : T ⟶ Kernel.Scheme.kernelObject f, ∃ b : T ⟶ Kernel.Scheme.kernelObject φ, |
| 29 | x ≫ Kernel.Scheme.kernelInclusion (f ≫ m) = (a ≫ Kernel.Scheme.kernelInclusion f) * (b ≫ Kernel.Scheme.kernelInclusion φ)) |
| 30 | |
| 31 | include hj hd |
| 32 | |
| 33 | omit [IsMonHom φ] [IsFinite f.left] [Flat f.left] [Surjective f.left] [Mono j] in |
| 34 | /-- The full scheme-valued decomposition factors the restricted quotient through the original kernel embedding. -/ |
| 35 | theorem exists_factor : ∃ r : Kernel.Scheme.kernelObject (f ≫ m) ⟶ Kernel.Scheme.kernelObject φ, |
| 36 | r ≫ j = PreimageQuotient.map f m := by |
| 37 | obtain ⟨a, b, hab⟩ := hd (Kernel.Scheme.kernelObject (f ≫ m)) (𝟙 (Kernel.Scheme.kernelObject (f ≫ m))) |
| 38 | refine ⟨b, ?_⟩ |
| 39 | apply (cancel_mono (Kernel.Scheme.kernelInclusion m)).mp |
| 40 | rw [Category.assoc, hj, PreimageQuotient.map_inclusion] |
| 41 | have h := congrArg (fun z => z ≫ f) hab |
| 42 | simp only [Category.id_comp, MonObj.mul_comp, Category.assoc, Kernel.Scheme.kernelInclusion_comp, |
| 43 | MonObj.comp_one, one_mul] at h |
| 44 | exact h.symm |
| 45 | |
| 46 | /-- The finite flat restricted quotient and the original-kernel embedding construct an actual kernel isomorphism. -/ |
| 47 | def kernelIso : Kernel.Scheme.kernelObject φ ≅ Kernel.Scheme.kernelObject m := by |
| 48 | let r := Classical.choose (exists_factor f m φ j hj hd) |
| 49 | have hr : r ≫ j = PreimageQuotient.map f m := Classical.choose_spec (exists_factor f m φ j hj hd) |
| 50 | have : EffectiveEpi (PreimageQuotient.map f m) := PreimageQuotient.effectiveEpi f m |
| 51 | exact EffectiveQuotientFactor.factorIso (PreimageQuotient.map f m) j r hr |
| 52 | |
| 53 | omit [IsMonHom φ] in |
| 54 | /-- Its forward morphism is exactly the given original-kernel embedding. -/ |
| 55 | theorem kernelIso_hom : (kernelIso f m φ j hj hd).hom = j := by |
| 56 | unfold kernelIso |
| 57 | rfl |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.DecompositionQuotient |