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.Scheme |
| 2 | |
| 3 | /-! # Split Extension -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.SplitExtension.Lifts |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | A section of the component quotient constructs the product decomposition |
| 11 | with its scheme-theoretic kernel. The proof works on every test scheme, |
| 12 | so the connected factor retains its infinitesimal sections. |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 17 | open scoped _root_.CategoryTheory.MonObj |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.Scheme |
| 22 | |
| 23 | attribute [local instance] Picard.PoincareBundle.Kernel.Scheme.kernelGroup |
| 24 | |
| 25 | variable {S : Scheme.{u}} {A E : Over S} [GrpObj A] [GrpObj E] [IsCommMonObj A] |
| 26 | variable (π : A ⟶ E) [IsMonHom π] (σ : E ⟶ A) [IsMonHom σ] |
| 27 | |
| 28 | def splitExtensionMap : Picard.PoincareBundle.Kernel.Scheme.kernelObject π ⊗ E ⟶ A := |
| 29 | (fst (Picard.PoincareBundle.Kernel.Scheme.kernelObject π) E ≫ Picard.PoincareBundle.Kernel.Scheme.kernelInclusion π) * (snd (Picard.PoincareBundle.Kernel.Scheme.kernelObject π) E ≫ σ) |
| 30 | |
| 31 | instance splitExtensionMap_isMonHom : IsMonHom (splitExtensionMap π σ) := by |
| 32 | change IsMonHom (lift (fst (Picard.PoincareBundle.Kernel.Scheme.kernelObject π) E ≫ Picard.PoincareBundle.Kernel.Scheme.kernelInclusion π) |
| 33 | (snd (Picard.PoincareBundle.Kernel.Scheme.kernelObject π) E ≫ σ) ≫ μ[A]) |
| 34 | infer_instance |
| 35 | |
| 36 | omit [IsCommMonObj A] [IsMonHom σ] in |
| 37 | theorem splitExtensionMap_projection (hσ : σ ≫ π = 𝟙 E) : |
| 38 | splitExtensionMap π σ ≫ π = snd (Picard.PoincareBundle.Kernel.Scheme.kernelObject π) E := by |
| 39 | rw [splitExtensionMap, MonObj.mul_comp, Category.assoc, Picard.PoincareBundle.Kernel.Scheme.kernelInclusion_comp, |
| 40 | MonObj.comp_one, Category.assoc, hσ, Category.comp_id, one_mul] |
| 41 | |
| 42 | omit [IsCommMonObj A] [IsMonHom σ] in |
| 43 | theorem splitExtensionMap_points_bijective (hσ : σ ≫ π = 𝟙 E) (T : Over S) : |
| 44 | Function.Bijective (fun x : T ⟶ Picard.PoincareBundle.Kernel.Scheme.kernelObject π ⊗ E => x ≫ splitExtensionMap π σ) := by |
| 45 | constructor |
| 46 | · intro x y h |
| 47 | have he : x ≫ snd (Picard.PoincareBundle.Kernel.Scheme.kernelObject π) E = y ≫ snd (Picard.PoincareBundle.Kernel.Scheme.kernelObject π) E := by |
| 48 | have hz := congrArg (fun a => a ≫ π) h |
| 49 | simpa only [Category.assoc, splitExtensionMap_projection π σ hσ] using hz |
| 50 | have hk : (x ≫ fst (Picard.PoincareBundle.Kernel.Scheme.kernelObject π) E) ≫ Picard.PoincareBundle.Kernel.Scheme.kernelInclusion π = |
| 51 | (y ≫ fst (Picard.PoincareBundle.Kernel.Scheme.kernelObject π) E) ≫ Picard.PoincareBundle.Kernel.Scheme.kernelInclusion π := by |
| 52 | have hz : ((x ≫ fst (Picard.PoincareBundle.Kernel.Scheme.kernelObject π) E) ≫ Picard.PoincareBundle.Kernel.Scheme.kernelInclusion π) * |
| 53 | ((x ≫ snd (Picard.PoincareBundle.Kernel.Scheme.kernelObject π) E) ≫ σ) = |
| 54 | ((y ≫ fst (Picard.PoincareBundle.Kernel.Scheme.kernelObject π) E) ≫ Picard.PoincareBundle.Kernel.Scheme.kernelInclusion π) * |
| 55 | ((y ≫ snd (Picard.PoincareBundle.Kernel.Scheme.kernelObject π) E) ≫ σ) := by |
| 56 | simpa only [splitExtensionMap, MonObj.comp_mul, Category.assoc] using h |
| 57 | rw [he] at hz |
| 58 | exact mul_right_cancel hz |
| 59 | apply CartesianMonoidalCategory.hom_ext |
| 60 | · exact (cancel_mono (Picard.PoincareBundle.Kernel.Scheme.kernelInclusion π)).mp hk |
| 61 | · exact he |
| 62 | · intro x |
| 63 | let d : T ⟶ A := x * ((x ≫ π) ≫ σ)⁻¹ |
| 64 | have hd : d ≫ π = 1 := by |
| 65 | rw [show d = x * ((x ≫ π) ≫ σ)⁻¹ from rfl, |
| 66 | MonObj.mul_comp, GrpObj.inv_comp, Category.assoc, hσ, |
| 67 | Category.comp_id, mul_inv_cancel] |
| 68 | let k := (Picard.PoincareBundle.Kernel.Scheme.kernelPointsEquiv π T).symm ⟨d, hd⟩ |
| 69 | have hk : k ≫ Picard.PoincareBundle.Kernel.Scheme.kernelInclusion π = d := |
| 70 | congrArg Subtype.val ((Picard.PoincareBundle.Kernel.Scheme.kernelPointsEquiv π T).apply_symm_apply ⟨d, hd⟩) |
| 71 | refine ⟨lift k (x ≫ π), ?_⟩ |
| 72 | change lift k (x ≫ π) ≫ splitExtensionMap π σ = x |
| 73 | rw [splitExtensionMap, MonObj.comp_mul, ← Category.assoc, lift_fst, |
| 74 | ← Category.assoc, lift_snd, hk] |
| 75 | exact inv_mul_cancel_right x ((x ≫ π) ≫ σ) |
| 76 | |
| 77 | /-- The product splitting is a constructed scheme isomorphism. -/ |
| 78 | def splitExtensionIso (hσ : σ ≫ π = 𝟙 E) : Picard.PoincareBundle.Kernel.Scheme.kernelObject π ⊗ E ≅ A := by |
| 79 | have : IsIso (splitExtensionMap π σ) := |
| 80 | isIso_of_yoneda_map_bijective _ (splitExtensionMap_points_bijective π σ hσ) |
| 81 | exact asIso (splitExtensionMap π σ) |
| 82 | |
| 83 | instance splitExtensionIso_isMonHom (hσ : σ ≫ π = 𝟙 E) : |
| 84 | IsMonHom (splitExtensionIso π σ hσ).hom := |
| 85 | inferInstanceAs (IsMonHom (splitExtensionMap π σ)) |
| 86 | |
| 87 | omit [IsCommMonObj A] in |
| 88 | theorem splitExtensionIso_kernel_inclusion (hσ : σ ≫ π = 𝟙 E) : |
| 89 | lift (𝟙 (Picard.PoincareBundle.Kernel.Scheme.kernelObject π)) (1 : Picard.PoincareBundle.Kernel.Scheme.kernelObject π ⟶ E) ≫ |
| 90 | (splitExtensionIso π σ hσ).hom = Picard.PoincareBundle.Kernel.Scheme.kernelInclusion π := by |
| 91 | change lift (𝟙 (Picard.PoincareBundle.Kernel.Scheme.kernelObject π)) 1 ≫ splitExtensionMap π σ = _ |
| 92 | rw [splitExtensionMap, MonObj.comp_mul, ← Category.assoc, lift_fst, |
| 93 | Category.id_comp, ← Category.assoc, lift_snd, MonObj.one_comp, mul_one] |
| 94 | |
| 95 | end |
| 96 | |
| 97 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.SplitExtension.Lifts |