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.Polarization.BaseChange |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Moduli.Isomorphisms |
| 3 | |
| 4 | /-! # Base Change -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Base change of isomorphisms and isomorphism classes in the polarized level moduli problem. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.CategoryTheory.Limits |
| 13 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 14 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {g N : ℕ} {S S' : Scheme.{u}} |
| 19 | |
| 20 | /-- The chosen ordered torsion basis pulls back to the same basis on test-scheme points. -/ |
| 21 | theorem Abelian.Schemes.AbelianScheme.FullLevel.pullback_basis {A : Abelian.Schemes.AbelianScheme g S} (level : A.FullLevel N) |
| 22 | (f : S' ⟶ S) (T : Over S') |
| 23 | (c : LocallyConstant T.left (Multiplicative (Fin (2 * g) → ZMod N))) : |
| 24 | A.baseChangePointsEquiv f T ((level.pullback f).hom.app (.op T) c).val = |
| 25 | (level.hom.app (.op ((Over.map f).obj T)) c).val := |
| 26 | congrArg (fun x : A.torsionPoints N ((Over.map f).obj T) => x.val) |
| 27 | ((A.torsionBaseChangeEquiv f T N).apply_symm_apply |
| 28 | (level.hom.app (.op ((Over.map f).obj T)) c)) |
| 29 | |
| 30 | /-- The product map used to pull back Poincare bundles is natural in both factors. -/ |
| 31 | theorem Moduli.BaseChange.poincarePullbackOverMap_naturality {A B : Abelian.Schemes.AbelianScheme g S} |
| 32 | (D : Dual.Data.DualAbelianData A) (E : Dual.Data.DualAbelianData B) |
| 33 | (u : D.abelian.scheme ⟶ E.abelian.scheme) (v : A.scheme ⟶ B.scheme) (f : S' ⟶ S) : |
| 34 | ((Over.pullback f).map u ⊗ₘ (Over.pullback f).map v).left ≫ |
| 35 | (E.poincarePullbackOverMap f).left = |
| 36 | (D.poincarePullbackOverMap f).left ≫ (u ⊗ₘ v).left := by |
| 37 | let A₁ := (A.pullback f).scheme |
| 38 | let B₁ := (B.pullback f).scheme |
| 39 | let D₁ := (D.abelian.pullback f).scheme |
| 40 | let E₁ := (E.abelian.pullback f).scheme |
| 41 | let q : (D₁ ⊗ A₁).left ⟶ (E₁ ⊗ B₁).left := |
| 42 | ((Over.pullback f).map u ⊗ₘ (Over.pullback f).map v).left |
| 43 | let r : (E₁ ⊗ B₁).left ⟶ (E.abelian.scheme ⊗ B.scheme).left := |
| 44 | (E.poincarePullbackOverMap f).left |
| 45 | let a : (D₁ ⊗ A₁).left ⟶ (D.abelian.scheme ⊗ A.scheme).left := |
| 46 | (D.poincarePullbackOverMap f).left |
| 47 | let b : (D.abelian.scheme ⊗ A.scheme).left ⟶ (E.abelian.scheme ⊗ B.scheme).left := (u ⊗ₘ v).left |
| 48 | change q ≫ r = a ≫ b |
| 49 | apply Over.tensorObj_ext |
| 50 | · have hq : q ≫ pullback.fst E₁.hom B₁.hom = |
| 51 | pullback.fst D₁.hom A₁.hom ≫ ((Over.pullback f).map u).left := |
| 52 | Over.tensorHom_left_fst _ _ _ _ |
| 53 | have hr : r ≫ pullback.fst E.abelian.scheme.hom B.scheme.hom = |
| 54 | pullback.fst E₁.hom B₁.hom ≫ pullback.fst E.abelian.scheme.hom f := |
| 55 | E.poincarePullbackOverMap_left_fst f |
| 56 | have ha : a ≫ pullback.fst D.abelian.scheme.hom A.scheme.hom = |
| 57 | pullback.fst D₁.hom A₁.hom ≫ pullback.fst D.abelian.scheme.hom f := |
| 58 | D.poincarePullbackOverMap_left_fst f |
| 59 | have hb : b ≫ pullback.fst E.abelian.scheme.hom B.scheme.hom = |
| 60 | pullback.fst D.abelian.scheme.hom A.scheme.hom ≫ u.left := Over.tensorHom_left_fst _ _ _ _ |
| 61 | exact (Category.assoc q r _).trans |
| 62 | ((congrArg (fun z => q ≫ z) hr).trans |
| 63 | (((Category.assoc q _ _).symm.trans |
| 64 | (congrArg (fun z => z ≫ pullback.fst E.abelian.scheme.hom f) hq)).trans |
| 65 | ((Category.assoc _ _ _).trans |
| 66 | ((congrArg (fun z => pullback.fst D₁.hom A₁.hom ≫ z) |
| 67 | (Pullback.Comparisons.overPullback_map_left_fst u f)).trans |
| 68 | (((Category.assoc _ _ _).symm.trans |
| 69 | (congrArg (fun z => z ≫ u.left) ha.symm)).trans |
| 70 | ((Category.assoc a _ _).trans |
| 71 | ((congrArg (fun z => a ≫ z) hb.symm).trans |
| 72 | (Category.assoc a b _).symm))))))) |
| 73 | · have hq : q ≫ pullback.snd E₁.hom B₁.hom = |
| 74 | pullback.snd D₁.hom A₁.hom ≫ ((Over.pullback f).map v).left := |
| 75 | Over.tensorHom_left_snd _ _ _ _ |
| 76 | have hr : r ≫ pullback.snd E.abelian.scheme.hom B.scheme.hom = |
| 77 | pullback.snd E₁.hom B₁.hom ≫ pullback.fst B.scheme.hom f := |
| 78 | E.poincarePullbackOverMap_left_snd f |
| 79 | have ha : a ≫ pullback.snd D.abelian.scheme.hom A.scheme.hom = |
| 80 | pullback.snd D₁.hom A₁.hom ≫ pullback.fst A.scheme.hom f := |
| 81 | D.poincarePullbackOverMap_left_snd f |
| 82 | have hb : b ≫ pullback.snd E.abelian.scheme.hom B.scheme.hom = |
| 83 | pullback.snd D.abelian.scheme.hom A.scheme.hom ≫ v.left := Over.tensorHom_left_snd _ _ _ _ |
| 84 | exact (Category.assoc q r _).trans |
| 85 | ((congrArg (fun z => q ≫ z) hr).trans |
| 86 | (((Category.assoc q _ _).symm.trans |
| 87 | (congrArg (fun z => z ≫ pullback.fst B.scheme.hom f) hq)).trans |
| 88 | ((Category.assoc _ _ _).trans |
| 89 | ((congrArg (fun z => pullback.snd D₁.hom A₁.hom ≫ z) |
| 90 | (Pullback.Comparisons.overPullback_map_left_fst v f)).trans |
| 91 | (((Category.assoc _ _ _).symm.trans |
| 92 | (congrArg (fun z => z ≫ v.left) ha.symm)).trans |
| 93 | ((Category.assoc a _ _).trans |
| 94 | ((congrArg (fun z => a ≫ z) hb.symm).trans |
| 95 | (Category.assoc a b _).symm))))))) |
| 96 | |
| 97 | /-- Polarization- and level-preserving isomorphisms pull back. -/ |
| 98 | def Moduli.Isomorphisms.LevelPreservingIso.pullback {δ : Fin g → ℕ} |
| 99 | {A B : PolarizationData.PolarizedAbelianWithFullLevel g δ N S} (e : Moduli.Isomorphisms.LevelPreservingIso A B) (f : S' ⟶ S) : |
| 100 | Moduli.Isomorphisms.LevelPreservingIso (A.pullback f) (B.pullback f) where |
| 101 | abelian := (Over.pullback f).mapIso e.abelian |
| 102 | dual := (Over.pullback f).mapIso e.dual |
| 103 | abelianGroup := inferInstanceAs (IsMonHom ((Over.pullback f).map e.abelian.hom)) |
| 104 | dualGroup := inferInstanceAs (IsMonHom ((Over.pullback f).map e.dual.hom)) |
| 105 | polarization := ((Over.pullback f).map_comp A.polarization.isogeny.hom e.dual.hom).symm.trans |
| 106 | ((congrArg (fun h => (Over.pullback f).map h) e.polarization).trans |
| 107 | ((Over.pullback f).map_comp e.abelian.hom B.polarization.isogeny.hom)) |
| 108 | poincare := |
| 109 | (Line.Bundles.LineBundle.pullbackClass_comp |
| 110 | ((Over.pullback f).map e.dual.hom ⊗ₘ (Over.pullback f).map e.abelian.hom).left |
| 111 | (B.dual.poincarePullbackOverMap f).left (Line.Bundles.LineBundle.classOf B.dual.poincare)).symm.trans |
| 112 | ((congrArg (fun h => Line.Bundles.LineBundle.pullbackClass h (Line.Bundles.LineBundle.classOf B.dual.poincare)) |
| 113 | (Moduli.BaseChange.poincarePullbackOverMap_naturality A.dual B.dual e.dual.hom e.abelian.hom f)).trans |
| 114 | ((Line.Bundles.LineBundle.pullbackClass_comp (A.dual.poincarePullbackOverMap f).left |
| 115 | (e.dual.hom ⊗ₘ e.abelian.hom).left (Line.Bundles.LineBundle.classOf B.dual.poincare)).trans |
| 116 | (congrArg (Line.Bundles.LineBundle.pullbackClass (A.dual.poincarePullbackOverMap f).left) e.poincare))) |
| 117 | level T c := by |
| 118 | apply (B.abelian.baseChangePointsEquiv f T).injective |
| 119 | exact (Abelian.Schemes.AbelianScheme.baseChangePointsEquiv_map e.abelian.hom f T |
| 120 | ((A.level.pullback f).hom.app (.op T) c).val).trans |
| 121 | ((congrArg (fun h => h ≫ e.abelian.hom) (A.level.pullback_basis f T c)).trans |
| 122 | ((e.level ((Over.map f).obj T) c).trans (B.level.pullback_basis f T c).symm)) |
| 123 | |
| 124 | /-- Pullback is well-defined on isomorphism classes of polarized full-level data. -/ |
| 125 | def Moduli.Isomorphisms.PolarizedLevelClasses.pullback {δ : Fin g → ℕ} (f : S' ⟶ S) : |
| 126 | Moduli.Isomorphisms.PolarizedLevelClasses g δ N S → Moduli.Isomorphisms.PolarizedLevelClasses g δ N S' := |
| 127 | Quotient.map (fun A => A.pullback f) (fun _ _ ⟨e⟩ => ⟨e.pullback f⟩) |
| 128 | |
| 129 | end |
| 130 | |
| 131 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |