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.EmbeddingPullbackComposition |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ParameterLevelPointComparison |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.ParameterPullbackCoherence |
| 4 | |
| 5 | /-! # Parameter Pullback Compatibility -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.ParameterPullbackCompatibility.ProjectivePullback |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual parameter-pullback comparisons preserve the existing |
| 12 | projective embeddings. No new projective presentation is chosen. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | universe u |
| 16 | |
| 17 | variable {S : Scheme.{u}} {X : Over S} {n : ℕ} |
| 18 | |
| 19 | theorem parameterIso_embedding_left |
| 20 | (j : X ⟶ ProjectivePresentations.projectiveSpaceOver S n) {U T : Over S} (c : U ⟶ T) : |
| 21 | (Single.ParameterBaseChange.singleParameterBaseChangeIso c X).inv.left ≫ (EmbeddingPullbackComposition.ProjectivePullback.embedding j U.hom).left = |
| 22 | (EmbeddingPullbackComposition.ProjectivePullback.embedding (EmbeddingPullbackComposition.ProjectivePullback.embedding j T.hom) c.left).left := by |
| 23 | let e := (Single.ParameterBaseChange.singleParameterBaseChangeIso c X).inv |
| 24 | let i := EmbeddingPullbackComposition.ProjectivePullback.embedding j U.hom |
| 25 | let k := EmbeddingPullbackComposition.ProjectivePullback.embedding (EmbeddingPullbackComposition.ProjectivePullback.embedding j T.hom) c.left |
| 26 | let r := RelativeProjective.BaseMaps.relativeProjectiveBaseMap U.hom n |
| 27 | have hr : r = RelativeProjective.BaseMaps.relativeProjectiveBaseMap c.left n ≫ RelativeProjective.BaseMaps.relativeProjectiveBaseMap T.hom n := |
| 28 | (congrArg (fun b => RelativeProjective.BaseMaps.relativeProjectiveBaseMap b n) c.w.symm).trans |
| 29 | (RelativeProjective.BaseFunctoriality.relativeProjectiveBaseMap_comp T.hom c.left n) |
| 30 | have hi : i.left ≫ r = pullback.fst X.hom U.hom ≫ j.left := EmbeddingPullbackComposition.ProjectivePullback.embedding_baseMap j U.hom |
| 31 | have hk : k.left ≫ RelativeProjective.BaseMaps.relativeProjectiveBaseMap c.left n = |
| 32 | pullback.fst ((Over.pullback T.hom).obj X).hom c.left ≫ (EmbeddingPullbackComposition.ProjectivePullback.embedding j T.hom).left := |
| 33 | EmbeddingPullbackComposition.ProjectivePullback.embedding_baseMap (EmbeddingPullbackComposition.ProjectivePullback.embedding j T.hom) c.left |
| 34 | have he : e.left ≫ pullback.fst X.hom U.hom = |
| 35 | pullback.fst ((Over.pullback T.hom).obj X).hom c.left ≫ pullback.fst X.hom T.hom := |
| 36 | ParameterLevelPointComparison.singleParameterBaseChangeIso_inv_original_fst c X |
| 37 | apply (RelativeProjective.BaseMaps.relativeProjectiveBaseMap_isPullback U.hom n).hom_ext |
| 38 | · change (e.left ≫ i.left) ≫ r = k.left ≫ r |
| 39 | calc |
| 40 | (e.left ≫ i.left) ≫ r = e.left ≫ (i.left ≫ r) := Category.assoc _ _ _ |
| 41 | _ = e.left ≫ (pullback.fst X.hom U.hom ≫ j.left) := congrArg (fun z => e.left ≫ z) hi |
| 42 | _ = (e.left ≫ pullback.fst X.hom U.hom) ≫ j.left := (Category.assoc _ _ _).symm |
| 43 | _ = (pullback.fst ((Over.pullback T.hom).obj X).hom c.left ≫ |
| 44 | pullback.fst X.hom T.hom) ≫ j.left := congrArg (fun z => z ≫ j.left) he |
| 45 | _ = pullback.fst ((Over.pullback T.hom).obj X).hom c.left ≫ |
| 46 | ((EmbeddingPullbackComposition.ProjectivePullback.embedding j T.hom).left ≫ RelativeProjective.BaseMaps.relativeProjectiveBaseMap T.hom n) := by |
| 47 | rw [EmbeddingPullbackComposition.ProjectivePullback.embedding_baseMap, Category.assoc] |
| 48 | _ = (pullback.fst ((Over.pullback T.hom).obj X).hom c.left ≫ |
| 49 | (EmbeddingPullbackComposition.ProjectivePullback.embedding j T.hom).left) ≫ RelativeProjective.BaseMaps.relativeProjectiveBaseMap T.hom n := |
| 50 | (Category.assoc _ _ _).symm |
| 51 | _ = (k.left ≫ RelativeProjective.BaseMaps.relativeProjectiveBaseMap c.left n) ≫ RelativeProjective.BaseMaps.relativeProjectiveBaseMap T.hom n := |
| 52 | congrArg (fun z => z ≫ RelativeProjective.BaseMaps.relativeProjectiveBaseMap T.hom n) hk.symm |
| 53 | _ = k.left ≫ (RelativeProjective.BaseMaps.relativeProjectiveBaseMap c.left n ≫ RelativeProjective.BaseMaps.relativeProjectiveBaseMap T.hom n) := |
| 54 | Category.assoc _ _ _ |
| 55 | _ = k.left ≫ r := congrArg (fun z => k.left ≫ z) hr.symm |
| 56 | · exact (e ≫ i).w.trans k.w.symm |
| 57 | |
| 58 | theorem parameterIso_embedding |
| 59 | (j : X ⟶ ProjectivePresentations.projectiveSpaceOver S n) {U T : Over S} (c : U ⟶ T) : |
| 60 | (Single.ParameterBaseChange.singleParameterBaseChangeIso c X).inv ≫ EmbeddingPullbackComposition.ProjectivePullback.embedding j U.hom = |
| 61 | EmbeddingPullbackComposition.ProjectivePullback.embedding (EmbeddingPullbackComposition.ProjectivePullback.embedding j T.hom) c.left := by |
| 62 | apply Over.OverMorphism.ext |
| 63 | exact parameterIso_embedding_left j c |
| 64 | |
| 65 | theorem parameterPresentationIso_embedding_left |
| 66 | (P : ProjectivePresentations.ProjectivePresentation X) {U T : Over S} (c : U ⟶ T) : |
| 67 | (Single.ParameterBaseChange.singleParameterBaseChangeIso c X).inv.left ≫ (P.baseChange U.hom).embedding.left = |
| 68 | ((P.baseChange T.hom).baseChange c.left).embedding.left := |
| 69 | parameterIso_embedding_left P.embedding c |
| 70 | |
| 71 | theorem parameterPresentationIso_embedding |
| 72 | (P : ProjectivePresentations.ProjectivePresentation X) {U T : Over S} (c : U ⟶ T) : |
| 73 | (Single.ParameterBaseChange.singleParameterBaseChangeIso c X).inv ≫ (P.baseChange U.hom).embedding = |
| 74 | ((P.baseChange T.hom).baseChange c.left).embedding := by |
| 75 | apply Over.OverMorphism.ext |
| 76 | exact parameterIso_embedding_left P.embedding c |
| 77 | |
| 78 | private theorem groupPullbackCompIso_eq [GrpObj X] {T U : Scheme.{u}} |
| 79 | (f : T ⟶ S) (h : U ⟶ T) : |
| 80 | GroupPullbackComposition.groupPullbackCompIso X f h = (Over.pullbackComp h f).app X := by |
| 81 | apply Iso.ext |
| 82 | exact LineBundle.ParameterPullbackCoherence.groupPullbackCompIso_hom_eq X f h |
| 83 | |
| 84 | theorem groupComposition_embedding_left [GrpObj X] {T U : Scheme.{u}} |
| 85 | (j : X ⟶ ProjectivePresentations.projectiveSpaceOver S n) (f : T ⟶ S) (h : U ⟶ T) : |
| 86 | (GroupPullbackComposition.groupPullbackCompIso X f h).inv.left ≫ (EmbeddingPullbackComposition.ProjectivePullback.embedding j (h ≫ f)).left = |
| 87 | (EmbeddingPullbackComposition.ProjectivePullback.embedding (EmbeddingPullbackComposition.ProjectivePullback.embedding j f) h).left := by |
| 88 | have he := congrArg Over.Hom.left (congrArg Iso.inv (groupPullbackCompIso_eq (X := X) f h)) |
| 89 | exact (congrArg (fun a => a ≫ (EmbeddingPullbackComposition.ProjectivePullback.embedding j (h ≫ f)).left) he).trans |
| 90 | (congrArg Over.Hom.left (EmbeddingPullbackComposition.ProjectivePullback.embedding_comp j f h)) |
| 91 | |
| 92 | theorem groupComposition_embedding [GrpObj X] {T U : Scheme.{u}} |
| 93 | (j : X ⟶ ProjectivePresentations.projectiveSpaceOver S n) (f : T ⟶ S) (h : U ⟶ T) : |
| 94 | (GroupPullbackComposition.groupPullbackCompIso X f h).inv ≫ EmbeddingPullbackComposition.ProjectivePullback.embedding j (h ≫ f) = |
| 95 | EmbeddingPullbackComposition.ProjectivePullback.embedding (EmbeddingPullbackComposition.ProjectivePullback.embedding j f) h := by |
| 96 | apply Over.OverMorphism.ext |
| 97 | exact groupComposition_embedding_left j f h |
| 98 | |
| 99 | theorem groupPresentationComposition_embedding_left [GrpObj X] {T U : Scheme.{u}} |
| 100 | (P : ProjectivePresentations.ProjectivePresentation X) (f : T ⟶ S) (h : U ⟶ T) : |
| 101 | (GroupPullbackComposition.groupPullbackCompIso X f h).inv.left ≫ (P.baseChange (h ≫ f)).embedding.left = |
| 102 | ((P.baseChange f).baseChange h).embedding.left := |
| 103 | groupComposition_embedding_left P.embedding f h |
| 104 | |
| 105 | end |
| 106 | |
| 107 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.ParameterPullbackCompatibility.ProjectivePullback |