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.Projective.ParameterPullbackCompatibility |
| 2 | |
| 3 | /-! # Parameter Map Naturality -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.ParameterMapNaturality.ProjectivePullback |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Naturality of the actual projective embeddings along parameter maps. |
| 10 | The comparison criterion uses the existing closed immersion to identify |
| 11 | morphisms; it does not choose a new presentation. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | universe u |
| 15 | |
| 16 | private theorem inverse_triangle {C : Type*} [Category* C] |
| 17 | {X Y Z : C} (e : X ≅ Y) (i : X ⟶ Z) (j : Y ⟶ Z) |
| 18 | (h : e.inv ≫ i = j) : e.hom ≫ j = i := by |
| 19 | rw [← h, e.hom_inv_id_assoc] |
| 20 | |
| 21 | private theorem square_of_recovered_triangle {C : Type*} [Category* C] |
| 22 | {A B D P Q : C} (e : A ≅ B) (f : A ⟶ D) (p : B ⟶ D) |
| 23 | (j : D ⟶ P) (k : B ⟶ Q) (i : A ⟶ Q) (r : Q ⟶ P) |
| 24 | (hf : e.hom ≫ p = f) (hk : k ≫ r = p ≫ j) (he : e.hom ≫ k = i) : |
| 25 | f ≫ j = i ≫ r := by |
| 26 | rw [← hf, Category.assoc, ← hk, ← Category.assoc, he] |
| 27 | |
| 28 | private theorem mappedEqualIndex_embedding {C D I : Type*} [Category* C] [Category* D] |
| 29 | (F : C ⥤ D) (X : I → C) (Y : D) (j : ∀ a, F.obj (X a) ⟶ Y) |
| 30 | {a b : I} (h : a = b) : |
| 31 | (F.mapIso (eqToIso (congrArg X h))).hom ≫ j b = j a := by |
| 32 | subst b |
| 33 | change F.map (𝟙 (X a)) ≫ j a = j a |
| 34 | exact (congrArg (fun k => k ≫ j a) (F.map_id (X a))).trans (Category.id_comp _) |
| 35 | |
| 36 | theorem parameterMap_embedding {S : Scheme.{u}} {X : Over S} {n : ℕ} |
| 37 | (j : X ⟶ ProjectivePresentations.projectiveSpaceOver S n) {U T : Over S} (c : U ⟶ T) : |
| 38 | Single.ParameterBaseChange.singleParameterBaseChangeMap c X ≫ (EmbeddingPullbackComposition.ProjectivePullback.embedding j T.hom).left = |
| 39 | (EmbeddingPullbackComposition.ProjectivePullback.embedding j U.hom).left ≫ RelativeProjective.BaseMaps.relativeProjectiveBaseMap c.left n := by |
| 40 | let e := (Over.forget U.left).mapIso (Single.ParameterBaseChange.singleParameterBaseChangeIso c X) |
| 41 | have he : e.hom ≫ (EmbeddingPullbackComposition.ProjectivePullback.embedding (EmbeddingPullbackComposition.ProjectivePullback.embedding j T.hom) c.left).left = |
| 42 | (EmbeddingPullbackComposition.ProjectivePullback.embedding j U.hom).left := |
| 43 | inverse_triangle e _ _ (ParameterPullbackCompatibility.ProjectivePullback.parameterIso_embedding_left j c) |
| 44 | exact square_of_recovered_triangle e (Single.ParameterBaseChange.singleParameterBaseChangeMap c X) |
| 45 | (pullback.fst ((Over.pullback T.hom).obj X).hom c.left) |
| 46 | (EmbeddingPullbackComposition.ProjectivePullback.embedding j T.hom).left (EmbeddingPullbackComposition.ProjectivePullback.embedding (EmbeddingPullbackComposition.ProjectivePullback.embedding j T.hom) c.left).left |
| 47 | (EmbeddingPullbackComposition.ProjectivePullback.embedding j U.hom).left (RelativeProjective.BaseMaps.relativeProjectiveBaseMap c.left n) |
| 48 | (Single.ParameterFunctoriality.singleParameterBaseChangeIso_hom_fst c X) |
| 49 | (EmbeddingPullbackComposition.ProjectivePullback.embedding_baseMap (EmbeddingPullbackComposition.ProjectivePullback.embedding j T.hom) c.left) he |
| 50 | |
| 51 | private theorem equalBase_embedding_left {S T : Scheme.{u}} {X : Over S} {n : ℕ} |
| 52 | (j : X ⟶ ProjectivePresentations.projectiveSpaceOver S n) {f g : T ⟶ S} (h : f = g) : |
| 53 | (eqToIso (congrArg (fun a => (Over.pullback a).obj X) h)).hom.left ≫ |
| 54 | (EmbeddingPullbackComposition.ProjectivePullback.embedding j g).left = (EmbeddingPullbackComposition.ProjectivePullback.embedding j f).left := |
| 55 | mappedEqualIndex_embedding (Over.forget T) (fun a : T ⟶ S => (Over.pullback a).obj X) |
| 56 | (ProjectivePresentations.projectiveSpaceOver T n).left (fun a => (EmbeddingPullbackComposition.ProjectivePullback.embedding j a).left) h |
| 57 | |
| 58 | theorem equalBase_embedding {S T : Scheme.{u}} {X : Over S} {n : ℕ} |
| 59 | (j : X ⟶ ProjectivePresentations.projectiveSpaceOver S n) {f g : T ⟶ S} (h : f = g) : |
| 60 | (eqToIso (congrArg (fun a => (Over.pullback a).obj X) h)).hom ≫ |
| 61 | EmbeddingPullbackComposition.ProjectivePullback.embedding j g = EmbeddingPullbackComposition.ProjectivePullback.embedding j f := by |
| 62 | apply Over.OverMorphism.ext |
| 63 | exact equalBase_embedding_left j h |
| 64 | |
| 65 | /-- The original projective embeddings determine the naturality of a |
| 66 | comparison between two parameterized families. -/ |
| 67 | theorem comparison_natural |
| 68 | {M N T U : Scheme.{u}} {X : Over M} {Y : Over N} {n : ℕ} |
| 69 | (j : X ⟶ ProjectivePresentations.projectiveSpaceOver M n) (k : Y ⟶ ProjectivePresentations.projectiveSpaceOver N n) |
| 70 | {x : T ⟶ M} {y : T ⟶ N} {x' : U ⟶ M} {y' : U ⟶ N} |
| 71 | (cx : Over.mk x' ⟶ Over.mk x) (cy : Over.mk y' ⟶ Over.mk y) |
| 72 | (hc : cx.left = cy.left) |
| 73 | (e : (Over.pullback x).obj X ≅ (Over.pullback y).obj Y) |
| 74 | (e' : (Over.pullback x').obj X ≅ (Over.pullback y').obj Y) |
| 75 | (he : e.hom ≫ EmbeddingPullbackComposition.ProjectivePullback.embedding k y = EmbeddingPullbackComposition.ProjectivePullback.embedding j x) |
| 76 | (he' : e'.hom ≫ EmbeddingPullbackComposition.ProjectivePullback.embedding k y' = EmbeddingPullbackComposition.ProjectivePullback.embedding j x') |
| 77 | [Mono (EmbeddingPullbackComposition.ProjectivePullback.embedding k y).left] : |
| 78 | Single.ParameterBaseChange.singleParameterBaseChangeMap cx X ≫ e.hom.left = |
| 79 | e'.hom.left ≫ Single.ParameterBaseChange.singleParameterBaseChangeMap cy Y := by |
| 80 | apply (cancel_mono (EmbeddingPullbackComposition.ProjectivePullback.embedding k y).left).mp |
| 81 | have h : e.hom.left ≫ (EmbeddingPullbackComposition.ProjectivePullback.embedding k y).left = (EmbeddingPullbackComposition.ProjectivePullback.embedding j x).left := |
| 82 | congrArg Over.Hom.left he |
| 83 | have h' : e'.hom.left ≫ (EmbeddingPullbackComposition.ProjectivePullback.embedding k y').left = (EmbeddingPullbackComposition.ProjectivePullback.embedding j x').left := |
| 84 | congrArg Over.Hom.left he' |
| 85 | calc |
| 86 | _ = Single.ParameterBaseChange.singleParameterBaseChangeMap cx X ≫ (EmbeddingPullbackComposition.ProjectivePullback.embedding j x).left := by |
| 87 | rw [Category.assoc, h] |
| 88 | _ = (EmbeddingPullbackComposition.ProjectivePullback.embedding j x').left ≫ RelativeProjective.BaseMaps.relativeProjectiveBaseMap cx.left n := |
| 89 | parameterMap_embedding j cx |
| 90 | _ = (EmbeddingPullbackComposition.ProjectivePullback.embedding j x').left ≫ RelativeProjective.BaseMaps.relativeProjectiveBaseMap cy.left n := |
| 91 | congrArg (fun q => (EmbeddingPullbackComposition.ProjectivePullback.embedding j x').left ≫ RelativeProjective.BaseMaps.relativeProjectiveBaseMap q n) hc |
| 92 | _ = e'.hom.left ≫ ((EmbeddingPullbackComposition.ProjectivePullback.embedding k y').left ≫ RelativeProjective.BaseMaps.relativeProjectiveBaseMap cy.left n) := |
| 93 | (congrArg (fun q => q ≫ RelativeProjective.BaseMaps.relativeProjectiveBaseMap cy.left n) h'.symm).trans |
| 94 | (Category.assoc _ _ _) |
| 95 | _ = _ := (congrArg (fun q => e'.hom.left ≫ q) |
| 96 | (parameterMap_embedding k cy).symm).trans (Category.assoc _ _ _).symm |
| 97 | |
| 98 | end |
| 99 | |
| 100 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.ParameterMapNaturality.ProjectivePullback |