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.TateComparison.PEL |
| 2 | |
| 3 | /-! # PEL Isogenies -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison.PELIsogenies |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | Isogenies in the concrete marked PEL moduli problem. The multiplier is a |
| 11 | natural number; the type of a q-Hecke isogeny uses multiplier q^h. All fields |
| 12 | are equations on actual morphisms, Poincare bundles, and full level points. |
| 13 | The compatibility of composites is proved below from these equations. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open _root_.CategoryTheory.MonoidalCategory |
| 18 | open scoped _root_.CategoryTheory.MonObj |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable {R : Type u} [CommRing R] {g N : ℕ} {S : Scheme.{u}} |
| 23 | |
| 24 | /-- Composition of finite flat surjective group-scheme morphisms. -/ |
| 25 | def composeIsogeny {A B C : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S} |
| 26 | (e : A.Isogeny B) (f : B.Isogeny C) : A.Isogeny C where |
| 27 | hom := e.hom ≫ f.hom |
| 28 | preservesGroup := inferInstance |
| 29 | finite := inferInstanceAs (IsFinite (e.hom.left ≫ f.hom.left)) |
| 30 | flat := inferInstanceAs (Flat (e.hom.left ≫ f.hom.left)) |
| 31 | surjective := inferInstanceAs (Surjective (e.hom.left ≫ f.hom.left)) |
| 32 | |
| 33 | /-- A candidate PEL isogeny with multiplier n. The dual map is identified |
| 34 | by its Poincare equation, and the marking is transported by the isogeny. -/ |
| 35 | structure PELIsogeny (A B : PEL.PELFamilyData R g N S) (n : ℕ) where |
| 36 | isogeny : A.abelian.Isogeny B.abelian |
| 37 | dualHom : B.dual.abelian.scheme ⟶ A.dual.abelian.scheme |
| 38 | dualGroup : IsMonHom dualHom |
| 39 | poincare : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass |
| 40 | (𝟙 B.dual.abelian.scheme ⊗ₘ isogeny.hom).left |
| 41 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf B.dual.poincare) = |
| 42 | AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (dualHom ⊗ₘ 𝟙 A.abelian.scheme).left |
| 43 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf A.dual.poincare) |
| 44 | equivariant : ∀ b : R, |
| 45 | End.endSchemeMap A.abelian.scheme (A.action b) ≫ isogeny.hom = |
| 46 | isogeny.hom ≫ End.endSchemeMap B.abelian.scheme (B.action b) |
| 47 | polarization : isogeny.hom ≫ B.polarizationMap.hom ≫ dualHom = |
| 48 | A.polarizationMap.hom ^ n |
| 49 | marking : ∀ (T : Over S) |
| 50 | (c : LocallyConstant T.left (Multiplicative (Fin (2 * g) → ZMod N))), |
| 51 | (A.marking.hom.app (.op T) c).val ≫ isogeny.hom = |
| 52 | (B.marking.hom.app (.op T) c).val |
| 53 | |
| 54 | attribute [instance] PELIsogeny.dualGroup |
| 55 | |
| 56 | namespace PELIsogeny |
| 57 | |
| 58 | variable {A B C : PEL.PELFamilyData R g N S} {n m : ℕ} |
| 59 | |
| 60 | /-- Poincare duality reverses composition, proved by functorial pullback. -/ |
| 61 | theorem poincare_comp (e : PELIsogeny A B n) (f : PELIsogeny B C m) : |
| 62 | AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass |
| 63 | (𝟙 C.dual.abelian.scheme ⊗ₘ (e.isogeny.hom ≫ f.isogeny.hom)).left |
| 64 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf C.dual.poincare) = |
| 65 | AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass |
| 66 | ((f.dualHom ≫ e.dualHom) ⊗ₘ 𝟙 A.abelian.scheme).left |
| 67 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf A.dual.poincare) := by |
| 68 | let p := (𝟙 C.dual.abelian.scheme ⊗ₘ e.isogeny.hom).left |
| 69 | let r := (f.dualHom ⊗ₘ 𝟙 A.abelian.scheme).left |
| 70 | have hf := congrArg (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass p) f.poincare |
| 71 | have he := congrArg (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass r) e.poincare |
| 72 | have h₁ : (𝟙 C.dual.abelian.scheme ⊗ₘ |
| 73 | (e.isogeny.hom ≫ f.isogeny.hom)).left = |
| 74 | p ≫ (𝟙 C.dual.abelian.scheme ⊗ₘ f.isogeny.hom).left := by |
| 75 | dsimp [p] |
| 76 | rw [← Over.comp_left, tensorHom_comp_tensorHom, Category.id_comp] |
| 77 | have h₂ : p ≫ (f.dualHom ⊗ₘ 𝟙 B.abelian.scheme).left = |
| 78 | r ≫ (𝟙 B.dual.abelian.scheme ⊗ₘ e.isogeny.hom).left := by |
| 79 | dsimp [p, r] |
| 80 | simp only [← Over.comp_left, tensorHom_comp_tensorHom, |
| 81 | Category.id_comp, Category.comp_id] |
| 82 | have h₃ : r ≫ (e.dualHom ⊗ₘ 𝟙 A.abelian.scheme).left = |
| 83 | ((f.dualHom ≫ e.dualHom) ⊗ₘ 𝟙 A.abelian.scheme).left := by |
| 84 | dsimp [r] |
| 85 | rw [← Over.comp_left, tensorHom_comp_tensorHom, Category.id_comp] |
| 86 | rw [h₁, AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_comp, hf, |
| 87 | ← AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_comp, h₂, AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_comp, he, |
| 88 | ← AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_comp, h₃] |
| 89 | |
| 90 | /-- The polarization factor of a composite is the product of its factors. -/ |
| 91 | theorem polarization_comp (e : PELIsogeny A B n) (f : PELIsogeny B C m) : |
| 92 | (e.isogeny.hom ≫ f.isogeny.hom) ≫ C.polarizationMap.hom ≫ |
| 93 | (f.dualHom ≫ e.dualHom) = A.polarizationMap.hom ^ (n * m) := by |
| 94 | calc |
| 95 | _ = e.isogeny.hom ≫ |
| 96 | (f.isogeny.hom ≫ C.polarizationMap.hom ≫ f.dualHom) ≫ e.dualHom := by |
| 97 | simp only [Category.assoc] |
| 98 | _ = e.isogeny.hom ≫ (B.polarizationMap.hom ^ m) ≫ e.dualHom := by |
| 99 | rw [f.polarization] |
| 100 | _ = (e.isogeny.hom ≫ B.polarizationMap.hom ≫ e.dualHom) ^ m := by |
| 101 | rw [MonObj.pow_comp, MonObj.comp_pow] |
| 102 | _ = A.polarizationMap.hom ^ (n * m) := by |
| 103 | rw [e.polarization, pow_mul] |
| 104 | |
| 105 | /-- Composition retains both the full marking and the polarization data. -/ |
| 106 | def comp (e : PELIsogeny A B n) (f : PELIsogeny B C m) : |
| 107 | PELIsogeny A C (n * m) where |
| 108 | isogeny := composeIsogeny e.isogeny f.isogeny |
| 109 | dualHom := f.dualHom ≫ e.dualHom |
| 110 | dualGroup := inferInstance |
| 111 | poincare := e.poincare_comp f |
| 112 | equivariant b := by |
| 113 | change End.endSchemeMap _ (A.action b) ≫ (e.isogeny.hom ≫ f.isogeny.hom) = _ |
| 114 | rw [← Category.assoc, e.equivariant, Category.assoc, f.equivariant, |
| 115 | ← Category.assoc] |
| 116 | rfl |
| 117 | polarization := e.polarization_comp f |
| 118 | marking T c := by |
| 119 | change _ ≫ (e.isogeny.hom ≫ f.isogeny.hom) = _ |
| 120 | rw [← Category.assoc, e.marking, f.marking] |
| 121 | |
| 122 | /-- The identity PEL isogeny has multiplier one. -/ |
| 123 | def identity (A : PEL.PELFamilyData R g N S) : PELIsogeny A A 1 where |
| 124 | isogeny := AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny.identity A.abelian |
| 125 | dualHom := 𝟙 A.dual.abelian.scheme |
| 126 | dualGroup := inferInstance |
| 127 | poincare := rfl |
| 128 | equivariant b := by simp [AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny.identity] |
| 129 | polarization := by simp [AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny.identity] |
| 130 | marking T c := by simp [AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny.identity] |
| 131 | |
| 132 | end PELIsogeny |
| 133 | |
| 134 | end |
| 135 | |
| 136 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison.PELIsogenies |