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.PolarizationIsogeny |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.PolarizationType |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.PositiveFormula |
| 4 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.PELAction |
| 5 | |
| 6 | /-! # Polarization Assembly -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.PolarizationAssembly.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | The field-to-family construction produces the quotient polarization: |
| 14 | finite flat isogeny, scheme-theoretic degree, geometric elementary divisors, |
| 15 | and the normalized ample Poincare formula. Relative dual data and its maps |
| 16 | are still supplied explicitly; no relative polarization is an input. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 20 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | /-- Retain all isogeny geometry when forgetting the fixed dimension. |
| 25 | Finite presentation follows from the smooth abelian structure maps. -/ |
| 26 | def isogenyForgetDimension |
| 27 | {S : Scheme.{u}} {g : ℕ} {A B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S} |
| 28 | (f : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A B) : |
| 29 | Picard.PoincareBundle.Epi.Construction.AbelianScheme.Isogeny (PELAction.Construction.abelianSchemeForgetDimension A) |
| 30 | (PELAction.Construction.abelianSchemeForgetDimension B) := by |
| 31 | have : LocallyOfFinitePresentation (f.hom.left ≫ B.scheme.hom) := by |
| 32 | rw [f.hom.w] |
| 33 | infer_instance |
| 34 | exact { |
| 35 | hom := f.hom |
| 36 | isMonHom := f.preservesGroup |
| 37 | finite := f.finite |
| 38 | flat := f.flat |
| 39 | surjective := f.surjective |
| 40 | finitePresentation := |
| 41 | ArithmeticGeometry.OrdinaryLocus.Openness.FinitePresentation.Construction.locallyOfFinitePresentation_of_comp_of_locallyOfFiniteType |
| 42 | f.hom.left B.scheme.hom } |
| 43 | |
| 44 | theorem isogeny_eq_of_hom_eq |
| 45 | {S : Scheme.{u}} {g h : ℕ} {A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S} {B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme h S} |
| 46 | {p q : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A B} (hpq : p.hom = q.hom) : p = q := by |
| 47 | cases p |
| 48 | cases q |
| 49 | cases hpq |
| 50 | rfl |
| 51 | |
| 52 | theorem polarization_eq_of_hom_eq |
| 53 | {S : Scheme.{u}} {g : ℕ} {A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S} {D : AbelianModuli.HilbertConstruction.Dual.Data.DualAbelianData A} |
| 54 | {δ : Fin g → ℕ} {p q : AbelianModuli.HilbertConstruction.PolarizationData.Polarization D δ} (hpq : p.isogeny.hom = q.isogeny.hom) : |
| 55 | p = q := by |
| 56 | cases p with |
| 57 | | mk pi pk pp => |
| 58 | cases q with |
| 59 | | mk qi qk qp => |
| 60 | have h : pi = qi := isogeny_eq_of_hom_eq hpq |
| 61 | cases h |
| 62 | rfl |
| 63 | |
| 64 | set_option backward.isDefEq.respectTransparency false in |
| 65 | /-- The actual field polarizations of the same type construct a unique |
| 66 | relative HilbertConstruction polarization. In particular, its type and positivity are |
| 67 | proved from PoincareBundle on geometric fibers, rather than assumed for the family. -/ |
| 68 | theorem relative_polarization_from_field_polarizations |
| 69 | {K : Type u} [Field K] [CharZero K] {S : Scheme.{u}} |
| 70 | (base : S ⟶ Spec (.of K)) {dim : ℕ} |
| 71 | (A B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme dim S) (DA : AbelianModuli.HilbertConstruction.Dual.Data.DualAbelianData A) (DB : AbelianModuli.HilbertConstruction.Dual.Data.DualAbelianData B) |
| 72 | (δ : Fin dim → ℕ) (polarization : AbelianModuli.HilbertConstruction.PolarizationData.Polarization DA δ) |
| 73 | (n : ℕ) (hn : 0 < n) (f : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A B) |
| 74 | (g : B.scheme ⟶ A.scheme) [IsMonHom g] |
| 75 | (fd : DB.abelian.scheme ⟶ DA.abelian.scheme) [IsMonHom fd] |
| 76 | (gd : DA.abelian.scheme ⟶ DB.abelian.scheme) [IsMonHom gd] |
| 77 | (hfg : f.hom ≫ g = (𝟙 A.scheme) ^ n) |
| 78 | (hfdgd : fd ≫ gd = (𝟙 DB.abelian.scheme) ^ n) |
| 79 | (hgdfd : gd ≫ fd = (𝟙 DA.abelian.scheme) ^ n) |
| 80 | (h_TorsionQuotient : Unit.Construction.TorsionQuotientInput.{u}) |
| 81 | (h_PoincareBundle : ∀ (L : Type u) [Field L] [IsAlgClosed L] (s : Spec (.of L) ⟶ S), |
| 82 | ∃ p : AbelianModuli.HilbertConstruction.PolarizationData.Polarization (DB.pullback s) δ, |
| 83 | (Over.pullback s).map f.hom ≫ p.isogeny.hom ≫ (Over.pullback s).map fd = |
| 84 | ((Over.pullback s).map polarization.isogeny.hom) ^ n) : |
| 85 | ∃! p : AbelianModuli.HilbertConstruction.PolarizationData.Polarization DB δ, |
| 86 | f.hom ≫ p.isogeny.hom ≫ fd = polarization.isogeny.hom ^ n := by |
| 87 | obtain ⟨p0, hp0, huniq, hmatch⟩ := PolarizationIsogeny.Construction.relative_polarization_isogeny_from_field_morphisms |
| 88 | base (PELAction.Construction.abelianSchemeForgetDimension A) (PELAction.Construction.abelianSchemeForgetDimension B) |
| 89 | (PELAction.Construction.abelianSchemeForgetDimension DA.abelian) (PELAction.Construction.abelianSchemeForgetDimension DB.abelian) |
| 90 | n hn (isogenyForgetDimension f) g fd gd polarization.isogeny.hom hfg hfdgd hgdfd h_TorsionQuotient |
| 91 | (fun L _ _ s => by |
| 92 | obtain ⟨r, hr⟩ := h_PoincareBundle L s |
| 93 | exact ⟨r.isogeny.hom, r.isogeny.preservesGroup, r.isogeny.finite, |
| 94 | r.isogeny.flat, r.isogeny.surjective, hr⟩) |
| 95 | let p : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny B DB.abelian := { |
| 96 | hom := p0.hom |
| 97 | preservesGroup := p0.isMonHom |
| 98 | finite := p0.finite |
| 99 | flat := p0.flat |
| 100 | surjective := p0.surjective } |
| 101 | have htype : p.HasPolarizationType δ := by |
| 102 | apply PolarizationType.Construction.polarization_type_of_geometric_baseChanges p δ |
| 103 | intro L _ _ s |
| 104 | obtain ⟨r, hr⟩ := h_PoincareBundle L s |
| 105 | have he : (p.pullback s).hom = r.isogeny.hom := |
| 106 | hmatch L s r.isogeny.hom r.isogeny.preservesGroup hr |
| 107 | exact (isogeny_eq_of_hom_eq he).symm ▸ r.kernelType |
| 108 | have hpositive : ∀ (L : Type u) [Field L] [IsAlgClosed L] (s : Spec (.of L) ⟶ S), |
| 109 | AbelianModuli.HilbertConstruction.PolarizationData.PositiveOnGeometricFiber DB p.hom L s := by |
| 110 | intro L _ _ s |
| 111 | obtain ⟨r, hr⟩ := h_PoincareBundle L s |
| 112 | have he : (Over.pullback s).map p.hom = r.isogeny.hom := |
| 113 | hmatch L s r.isogeny.hom r.isogeny.preservesGroup hr |
| 114 | have hpos : AbelianModuli.HilbertConstruction.PolarizationData.PositiveOnGeometricFiber (DB.pullback s) |
| 115 | ((Over.pullback s).map p.hom) L (𝟙 _) := by |
| 116 | rw [he] |
| 117 | exact r.positive L (𝟙 _) |
| 118 | have h := (PositiveFormula.Construction.positiveOnGeometricFiber_pullback_iff DB p.hom s L (𝟙 _)).mp hpos |
| 119 | simpa only [Category.id_comp] using h |
| 120 | refine ⟨⟨p, htype, hpositive⟩, hp0, ?_⟩ |
| 121 | intro r hr |
| 122 | exact polarization_eq_of_hom_eq |
| 123 | (huniq r.isogeny.hom r.isogeny.preservesGroup hr) |
| 124 | |
| 125 | end |
| 126 | |
| 127 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.PolarizationAssembly.Construction |