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.TargetTransport |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ParameterLevelPointComparison |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Geometric.MorphismCompositionLaws |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Multiplication.BaseChange |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Rational.GroupDivisionLocus |
| 6 | |
| 7 | /-! # Parameter Pullback -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Isogeny.ParameterPullback |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Isogenies restricted along a parameter map remain on the original |
| 14 | single pullbacks. Their full kernel type and actual division equation |
| 15 | are preserved by the canonical family comparison. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 19 | universe u |
| 20 | |
| 21 | theorem isogeny_eq_of_hom_eq |
| 22 | {S : Scheme.{u}} {g h : ℕ} {A : Abelian.Schemes.AbelianScheme g S} {B : Abelian.Schemes.AbelianScheme h S} |
| 23 | {p q : Abelian.Schemes.AbelianScheme.Isogeny A B} (he : p.hom = q.hom) : p = q := by |
| 24 | cases p |
| 25 | cases q |
| 26 | cases he |
| 27 | rfl |
| 28 | |
| 29 | def isogenyParameterPullback |
| 30 | {S : Scheme.{u}} {g h : ℕ} (A : Abelian.Schemes.AbelianScheme g S) (B : Abelian.Schemes.AbelianScheme h S) |
| 31 | {U T : Over S} (p : Abelian.Schemes.AbelianScheme.Isogeny (A.pullback T.hom) (B.pullback T.hom)) |
| 32 | (c : U ⟶ T) : Abelian.Schemes.AbelianScheme.Isogeny (A.pullback U.hom) (B.pullback U.hom) := |
| 33 | ((p.pullback c.left).familyTransport (A.parameterPullbackIso c).symm).targetTransport |
| 34 | (B.parameterPullbackIso c).symm |
| 35 | |
| 36 | theorem isogenyParameterPullback_hom |
| 37 | {S : Scheme.{u}} {g h : ℕ} (A : Abelian.Schemes.AbelianScheme g S) (B : Abelian.Schemes.AbelianScheme h S) |
| 38 | {U T : Over S} (p : Abelian.Schemes.AbelianScheme.Isogeny (A.pullback T.hom) (B.pullback T.hom)) |
| 39 | (c : U ⟶ T) : |
| 40 | (isogenyParameterPullback A B p c).hom = Geometric.MorphismBaseChange.geometricFamilyMorphismBaseChange c p.hom := by |
| 41 | change ((A.parameterPullbackIso c).hom ≫ (Over.pullback c.left).map p.hom) ≫ |
| 42 | (B.parameterPullbackIso c).inv = |
| 43 | (A.parameterPullbackIso c).hom ≫ (Over.pullback c.left).map p.hom ≫ |
| 44 | (B.parameterPullbackIso c).inv |
| 45 | exact Category.assoc _ _ _ |
| 46 | |
| 47 | theorem isogenyParameterPullback_hasType_iff |
| 48 | {S : Scheme.{u}} {g : ℕ} (A B : Abelian.Schemes.AbelianScheme g S) |
| 49 | {U T : Over S} (p : Abelian.Schemes.AbelianScheme.Isogeny (A.pullback T.hom) (B.pullback T.hom)) |
| 50 | (c : U ⟶ T) (δ : Fin g → ℕ) : |
| 51 | (isogenyParameterPullback A B p c).HasPolarizationType δ ↔ |
| 52 | (p.pullback c.left).HasPolarizationType δ := by |
| 53 | let eA : (A.pullback U.hom).scheme ≅ ((A.pullback T.hom).pullback c.left).scheme := |
| 54 | A.parameterPullbackIso c |
| 55 | let eB : (B.pullback U.hom).scheme ≅ ((B.pullback T.hom).pullback c.left).scheme := |
| 56 | B.parameterPullbackIso c |
| 57 | let k : ((A.pullback T.hom).pullback c.left).scheme ⟶ |
| 58 | ((B.pullback T.hom).pullback c.left).scheme := (p.pullback c.left).hom |
| 59 | constructor |
| 60 | · intro hp |
| 61 | have he : ((isogenyParameterPullback A B p c).targetTransport eB).familyTransport eA = |
| 62 | p.pullback c.left := by |
| 63 | apply isogeny_eq_of_hom_eq |
| 64 | change eA.inv ≫ (((eA.hom ≫ k) ≫ eB.inv) ≫ eB.hom) = k |
| 65 | simp only [Category.assoc, Iso.inv_hom_id, Category.comp_id, Iso.inv_hom_id_assoc] |
| 66 | exact he ▸ (hp.targetTransport eB).familyTransport eA |
| 67 | · intro hp |
| 68 | exact (hp.familyTransport eA.symm).targetTransport eB.symm |
| 69 | |
| 70 | theorem isogenyParameterPullback_division |
| 71 | {S : Scheme.{u}} {g h : ℕ} (A : Abelian.Schemes.AbelianScheme g S) (B : Abelian.Schemes.AbelianScheme h S) |
| 72 | {U T : Over S} (p : Abelian.Schemes.AbelianScheme.Isogeny (A.pullback T.hom) (B.pullback T.hom)) |
| 73 | (c : U ⟶ T) (n : ℕ) (m : A.scheme ⟶ B.scheme) |
| 74 | (hp : (A.pullback T.hom).multiplication n ≫ p.hom = (Over.pullback T.hom).map m) : |
| 75 | (A.pullback U.hom).multiplication n ≫ (isogenyParameterPullback A B p c).hom = |
| 76 | (Over.pullback U.hom).map m := by |
| 77 | let a : (Over.pullback T.hom).obj A.scheme ⟶ (Over.pullback T.hom).obj A.scheme := |
| 78 | (A.pullback T.hom).multiplication n |
| 79 | let z : (Over.pullback T.hom).obj A.scheme ⟶ (Over.pullback T.hom).obj B.scheme := p.hom |
| 80 | let aU : (Over.pullback U.hom).obj A.scheme ⟶ (Over.pullback U.hom).obj A.scheme := |
| 81 | (A.pullback U.hom).multiplication n |
| 82 | let pU : (Over.pullback U.hom).obj A.scheme ⟶ (Over.pullback U.hom).obj B.scheme := |
| 83 | (isogenyParameterPullback A B p c).hom |
| 84 | let F := Geometric.MorphismBaseChange.geometricFamilyMorphismBaseChange (A := A.scheme) (B := B.scheme) c |
| 85 | let FA := Geometric.MorphismBaseChange.geometricFamilyMorphismBaseChange (A := A.scheme) (B := A.scheme) c |
| 86 | have hbase : (Over.pullback T.hom).map (A.multiplication n) = a := |
| 87 | A.multiplication_baseChange T.hom n |
| 88 | have hmul : FA a = aU := |
| 89 | (congrArg FA hbase.symm).trans |
| 90 | ((Geometric.MorphismCompositionLaws.geometricFamilyMorphismBaseChange_original c (A.multiplication n)).trans |
| 91 | (A.multiplication_baseChange U.hom n)) |
| 92 | have hz : F z = pU := (isogenyParameterPullback_hom A B p c).symm |
| 93 | have hcomp : F (a ≫ z) = FA a ≫ F z := |
| 94 | Geometric.MorphismCompositionLaws.geometricFamilyMorphismBaseChange_map_comp c a z |
| 95 | have hp0 : a ≫ z = (Over.pullback T.hom).map m := hp |
| 96 | have hm : F ((Over.pullback T.hom).map m) = (Over.pullback U.hom).map m := |
| 97 | Geometric.MorphismCompositionLaws.geometricFamilyMorphismBaseChange_original c m |
| 98 | exact (congrArg₂ (fun (f : (Over.pullback U.hom).obj A.scheme ⟶ |
| 99 | (Over.pullback U.hom).obj A.scheme) |
| 100 | (k : (Over.pullback U.hom).obj A.scheme ⟶ (Over.pullback U.hom).obj B.scheme) => f ≫ k) |
| 101 | hmul.symm hz.symm).trans (hcomp.symm.trans ((congrArg F hp0).trans hm)) |
| 102 | |
| 103 | theorem isogenyParameterPullback_etale |
| 104 | {S : Scheme.{u}} {g h : ℕ} (A : Abelian.Schemes.AbelianScheme g S) (B : Abelian.Schemes.AbelianScheme h S) |
| 105 | {U T : Over S} (p : Abelian.Schemes.AbelianScheme.Isogeny (A.pullback T.hom) (B.pullback T.hom)) |
| 106 | [Etale p.hom.left] (c : U ⟶ T) : |
| 107 | Etale (isogenyParameterPullback A B p c).hom.left := by |
| 108 | let k := p.pullback c.left |
| 109 | let : Etale k.hom.left := |
| 110 | MorphismProperty.overPullbackMap c.left p.hom (inferInstance : Etale p.hom.left) |
| 111 | let : IsIso (A.parameterPullbackIso c).hom.left := |
| 112 | inferInstanceAs (IsIso ((Over.forget U.left).map (A.parameterPullbackIso c).hom)) |
| 113 | let : IsIso (B.parameterPullbackIso c).inv.left := |
| 114 | inferInstanceAs (IsIso ((Over.forget U.left).map (B.parameterPullbackIso c).inv)) |
| 115 | change Etale (((A.parameterPullbackIso c).hom.left ≫ k.hom.left) ≫ |
| 116 | (B.parameterPullbackIso c).inv.left) |
| 117 | infer_instance |
| 118 | |
| 119 | theorem rational_divisor_unique |
| 120 | {S : Scheme} (qS : S ⟶ Spec (.of ℚ)) {g h : ℕ} |
| 121 | (A : Abelian.Schemes.AbelianScheme g S) (B : Abelian.Schemes.AbelianScheme h S) (n : ℕ) (hn : 0 < n) |
| 122 | {m p q : A.scheme ⟶ B.scheme} |
| 123 | (hp : A.multiplication n ≫ p = m) (hq : A.multiplication n ≫ q = m) : p = q := by |
| 124 | have hg := Rational.GroupDivisionLocus.rational_multiplication_geometry qS A n hn |
| 125 | let : IsFinite (A.multiplication n).left := hg.1 |
| 126 | let : Flat (A.multiplication n).left := hg.2.1 |
| 127 | let : Surjective (A.multiplication n).left := hg.2.2.1 |
| 128 | let : EffectiveEpi (A.multiplication n).left := inferInstance |
| 129 | let : Epi (A.multiplication n) := Over.epi_of_epi_left _ |
| 130 | exact (cancel_epi (A.multiplication n)).mp (hp.trans hq.symm) |
| 131 | |
| 132 | end |
| 133 | |
| 134 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Isogeny.ParameterPullback |