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.RepresentationTheory.Theta.Geometric.Affine.BaseChangeCoordinates |
| 2 | import OAI.RepresentationTheory.Theta.Geometric.Affine.Dominance |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.SchemeTheoreticallyDominant |
| 4 | |
| 5 | /-! # Parameter Base Change -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Theta.Geometric.ParameterBaseChange |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Native parameter changes of an arbitrary flat family. Injected |
| 12 | parameter algebras give faithful line-bundle pullback without a |
| 13 | flatness assumption on the parameter inclusion. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | variable {A R S : Type} [CommRing A] [CommRing R] [CommRing S] |
| 18 | [Algebra A R] [Algebra A S] |
| 19 | |
| 20 | theorem algebraSpecMap_comp (f : S →ₐ[A] R) : |
| 21 | Spec.map (CommRingCat.ofHom f.toRingHom) ≫ Spec.map (CommRingCat.ofHom (algebraMap A S)) = |
| 22 | Spec.map (CommRingCat.ofHom (algebraMap A R)) := by |
| 23 | rw [← Spec.map_comp] |
| 24 | congr 1 |
| 25 | exact congrArg CommRingCat.ofHom f.comp_algebraMap |
| 26 | |
| 27 | abbrev parameterBaseChange {Y : Scheme} (h : Y ⟶ Spec (.of A)) (R : Type) |
| 28 | [CommRing R] [Algebra A R] : Scheme := |
| 29 | pullback h (Spec.map (CommRingCat.ofHom (algebraMap A R))) |
| 30 | |
| 31 | def parameterBaseChangeMap {Y : Scheme} (h : Y ⟶ Spec (.of A)) (f : S →ₐ[A] R) : |
| 32 | parameterBaseChange h R ⟶ parameterBaseChange h S := |
| 33 | pullback.lift (pullback.fst _ _) |
| 34 | (pullback.snd _ _ ≫ Spec.map (CommRingCat.ofHom f.toRingHom)) |
| 35 | (by rw [Category.assoc, algebraSpecMap_comp]; exact pullback.condition) |
| 36 | |
| 37 | theorem parameterBaseChangeMap_fst {Y : Scheme} (h : Y ⟶ Spec (.of A)) (f : S →ₐ[A] R) : |
| 38 | parameterBaseChangeMap h f ≫ pullback.fst _ _ = |
| 39 | pullback.fst h (Spec.map (CommRingCat.ofHom (algebraMap A R))) := by |
| 40 | exact pullback.lift_fst _ _ _ |
| 41 | |
| 42 | theorem parameterBaseChangeMap_snd {Y : Scheme} (h : Y ⟶ Spec (.of A)) (f : S →ₐ[A] R) : |
| 43 | parameterBaseChangeMap h f ≫ pullback.snd _ _ = |
| 44 | pullback.snd h (Spec.map (CommRingCat.ofHom (algebraMap A R))) ≫ |
| 45 | Spec.map (CommRingCat.ofHom f.toRingHom) := by |
| 46 | exact pullback.lift_snd _ _ _ |
| 47 | |
| 48 | theorem parameterBaseChangeMap_isPullback {Y : Scheme} (h : Y ⟶ Spec (.of A)) (f : S →ₐ[A] R) : |
| 49 | IsPullback (parameterBaseChangeMap h f) |
| 50 | (pullback.snd h (Spec.map (CommRingCat.ofHom (algebraMap A R)))) |
| 51 | (pullback.snd h (Spec.map (CommRingCat.ofHom (algebraMap A S)))) |
| 52 | (Spec.map (CommRingCat.ofHom f.toRingHom)) := by |
| 53 | apply IsPullback.of_right _ (parameterBaseChangeMap_snd h f) |
| 54 | (IsPullback.of_hasPullback h (Spec.map (CommRingCat.ofHom (algebraMap A S)))) |
| 55 | rw [parameterBaseChangeMap_fst, algebraSpecMap_comp] |
| 56 | exact IsPullback.of_hasPullback _ _ |
| 57 | |
| 58 | theorem parameterBaseChangeMap_dominant {Y : Scheme} (h : Y ⟶ Spec (.of A)) [Flat h] |
| 59 | (f : S →ₐ[A] R) (hf : Function.Injective f) : IsSchemeTheoreticallyDominant (parameterBaseChangeMap h f) := by |
| 60 | have : IsSchemeTheoreticallyDominant (Spec.map (CommRingCat.ofHom f.toRingHom)) := |
| 61 | Affine.Dominance.specMap_schemeTheoreticallyDominant f.toRingHom hf |
| 62 | exact IsSchemeTheoreticallyDominant.of_isPullback (parameterBaseChangeMap_isPullback h f).flip |
| 63 | |
| 64 | theorem parameterBaseChangeMap_quasiCompact {Y : Scheme} (h : Y ⟶ Spec (.of A)) (f : S →ₐ[A] R) : |
| 65 | QuasiCompact (parameterBaseChangeMap h f) := |
| 66 | MorphismProperty.IsStableUnderBaseChange.of_isPullback (parameterBaseChangeMap_isPullback h f).flip |
| 67 | (inferInstanceAs (QuasiCompact (Spec.map (CommRingCat.ofHom f.toRingHom)))) |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.RepresentationTheory.Theta.Geometric.ParameterBaseChange |