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.HilbertScheme.Presentations.Relative.SegrePresentation |
| 2 | |
| 3 | /-! # Coefficient Map -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Segre.CoefficientMap.Core |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The coefficient map of the relative Segre presentation is the |
| 10 | affine Segre map applied to the two original coefficient maps. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | open _root_.CategoryTheory.MonoidalCategory |
| 14 | |
| 15 | universe u |
| 16 | variable {S : Scheme.{u}} {X Y : Over S} |
| 17 | variable (BX : Has.Core.ProjectivePresentation X) (BY : Has.Core.ProjectivePresentation Y) |
| 18 | |
| 19 | def segrePairCoefficientMap : (X ⨯ Y).left ⟶ |
| 20 | (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) BX.dimension ⊗ |
| 21 | AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) BY.dimension).left := |
| 22 | ((OverProductTensorComparison.overProductTensorIso X Y).hom ≫ (BX.toHilbertConstruction.embedding ⊗ₘ BY.toHilbertConstruction.embedding)).left ≫ |
| 23 | (Functor.Monoidal.μIso (Over.pullback S.toSpecΓ) |
| 24 | (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) BX.dimension) |
| 25 | (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) BY.dimension)).hom.left ≫ |
| 26 | pullback.fst _ S.toSpecΓ |
| 27 | |
| 28 | theorem segreProductPresentation_coefficientEmbedding : |
| 29 | (Relative.SegrePresentation.Core.segreProductPresentation BX BY).coefficientEmbedding = |
| 30 | segrePairCoefficientMap BX BY ≫ |
| 31 | (AbelianModuli.HilbertConstruction.Affine.SegreOver.affineSegreStandardEmbedding Γ(S, ⊤) BX.dimension BY.dimension).left := by |
| 32 | let a : X ⨯ Y ⟶ AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.projectiveSpaceOver S BX.dimension ⊗ |
| 33 | AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.projectiveSpaceOver S BY.dimension := |
| 34 | (OverProductTensorComparison.overProductTensorIso X Y).hom ≫ (BX.toHilbertConstruction.embedding ⊗ₘ BY.toHilbertConstruction.embedding) |
| 35 | let e : (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.projectiveSpaceOver S BX.dimension ⊗ |
| 36 | AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.projectiveSpaceOver S BY.dimension) ≅ |
| 37 | (Over.pullback S.toSpecΓ).obj (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) BX.dimension ⊗ |
| 38 | AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) BY.dimension) := Functor.Monoidal.μIso (Over.pullback S.toSpecΓ) |
| 39 | (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) BX.dimension) |
| 40 | (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) BY.dimension) |
| 41 | let k := AbelianModuli.HilbertConstruction.Affine.SegreOver.affineSegreStandardEmbedding Γ(S, ⊤) BX.dimension BY.dimension |
| 42 | let r := Hilbert.ConstructionProjectivePresentationComparison.Core.e33ProjectiveSpaceIso S (AbelianModuli.HilbertConstruction.Affine.SegreOver.segreProjectiveDimension.{u} BX.dimension BY.dimension) |
| 43 | let l : (Over.pullback S.toSpecΓ).obj |
| 44 | (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) BX.dimension ⊗ |
| 45 | AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) BY.dimension) ⟶ |
| 46 | AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.projectiveSpaceOver S (AbelianModuli.HilbertConstruction.Affine.SegreOver.segreProjectiveDimension.{u} BX.dimension BY.dimension) := |
| 47 | (Over.pullback S.toSpecΓ).map k |
| 48 | let pD : (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.projectiveSpaceOver S |
| 49 | (AbelianModuli.HilbertConstruction.Affine.SegreOver.segreProjectiveDimension.{u} BX.dimension BY.dimension)).left ⟶ _ := |
| 50 | pullback.fst _ S.toSpecΓ |
| 51 | let pA : ((Over.pullback S.toSpecΓ).obj |
| 52 | (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) BX.dimension ⊗ |
| 53 | AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) BY.dimension)).left ⟶ _ := |
| 54 | pullback.fst _ S.toSpecΓ |
| 55 | let qD : (Over.mk (Has.Core.projectiveSpaceProjection S |
| 56 | (AbelianModuli.HilbertConstruction.Affine.SegreOver.segreProjectiveDimension.{u} BX.dimension BY.dimension))).left ⟶ |
| 57 | (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) |
| 58 | (AbelianModuli.HilbertConstruction.Affine.SegreOver.segreProjectiveDimension.{u} BX.dimension BY.dimension)).left := |
| 59 | pullback.fst _ S.toSpecΓ |
| 60 | have hr : r.hom.left ≫ qD = pD := |
| 61 | Hilbert.ConstructionProjectivePresentationComparison.Core.e33ProjectiveSpaceIso_hom_fst S _ |
| 62 | have hl : l.left ≫ pD = pA ≫ k.left := pullback.lift_fst _ _ _ |
| 63 | change (((a.left ≫ e.hom.left ≫ l.left) ≫ r.hom.left) ≫ qD) = |
| 64 | (a.left ≫ e.hom.left ≫ pA) ≫ k.left |
| 65 | simp only [Category.assoc] |
| 66 | rw [hr, hl] |
| 67 | |
| 68 | theorem toHilbertConstruction_embedding_coefficient_fst : |
| 69 | BX.toHilbertConstruction.embedding.left ≫ |
| 70 | pullback.fst (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) BX.dimension).hom S.toSpecΓ = |
| 71 | BX.coefficientEmbedding := by |
| 72 | exact (Category.assoc BX.embedding (Hilbert.ConstructionProjectivePresentationComparison.Core.e33ProjectiveSpaceIso S BX.dimension).inv.left |
| 73 | (pullback.fst (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) BX.dimension).hom S.toSpecΓ)).trans |
| 74 | (congrArg (fun k => BX.embedding ≫ k) (Hilbert.ConstructionProjectivePresentationComparison.Core.e33ProjectiveSpaceIso_inv_fst S BX.dimension)) |
| 75 | |
| 76 | theorem segrePairCoefficientMap_fst : |
| 77 | segrePairCoefficientMap BX BY ≫ |
| 78 | (CartesianMonoidalCategory.fst |
| 79 | (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) BX.dimension) |
| 80 | (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) BY.dimension)).left = |
| 81 | (prod.fst : X ⨯ Y ⟶ X).left ≫ BX.coefficientEmbedding := by |
| 82 | let bx : X ⟶ AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.projectiveSpaceOver S BX.dimension := BX.toHilbertConstruction.embedding |
| 83 | let byy : Y ⟶ AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.projectiveSpaceOver S BY.dimension := BY.toHilbertConstruction.embedding |
| 84 | let a : X ⨯ Y ⟶ AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.projectiveSpaceOver S BX.dimension ⊗ |
| 85 | AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.projectiveSpaceOver S BY.dimension := |
| 86 | (OverProductTensorComparison.overProductTensorIso X Y).hom ≫ (bx ⊗ₘ byy) |
| 87 | let P := AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) BX.dimension |
| 88 | let Q := AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) BY.dimension |
| 89 | let e : (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.projectiveSpaceOver S BX.dimension ⊗ |
| 90 | AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.projectiveSpaceOver S BY.dimension) ≅ (Over.pullback S.toSpecΓ).obj (P ⊗ Q) := |
| 91 | Functor.Monoidal.μIso (Over.pullback S.toSpecΓ) P Q |
| 92 | let pA : ((Over.pullback S.toSpecΓ).obj (P ⊗ Q)).left ⟶ (P ⊗ Q).left := |
| 93 | pullback.fst _ S.toSpecΓ |
| 94 | let c := CartesianMonoidalCategory.fst P Q |
| 95 | let cr := CartesianMonoidalCategory.fst |
| 96 | (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.projectiveSpaceOver S BX.dimension) |
| 97 | (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.projectiveSpaceOver S BY.dimension) |
| 98 | let pX : (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.projectiveSpaceOver S BX.dimension).left ⟶ _ := |
| 99 | pullback.fst _ S.toSpecΓ |
| 100 | have he : e.hom.left ≫ pA ≫ c.left = cr.left ≫ pX := |
| 101 | Over.μ_pullback_left_fst_fst P Q |
| 102 | have ha : a ≫ cr = prod.fst ≫ bx := by |
| 103 | dsimp only [a, cr] |
| 104 | rw [Category.assoc, CartesianMonoidalCategory.tensorHom_fst, ← Category.assoc, |
| 105 | OverProductTensorComparison.overProductTensorIso_hom_fst] |
| 106 | have hal : a.left ≫ cr.left = (prod.fst : X ⨯ Y ⟶ X).left ≫ |
| 107 | bx.left := congrArg Over.Hom.left ha |
| 108 | have hc : bx.left ≫ pX = BX.coefficientEmbedding := |
| 109 | toHilbertConstruction_embedding_coefficient_fst BX |
| 110 | change (a.left ≫ e.hom.left ≫ pA) ≫ c.left = _ |
| 111 | rw [Category.assoc, Category.assoc, he, ← Category.assoc, hal, Category.assoc, hc] |
| 112 | rfl |
| 113 | |
| 114 | theorem segrePairCoefficientMap_snd : |
| 115 | segrePairCoefficientMap BX BY ≫ |
| 116 | (CartesianMonoidalCategory.snd |
| 117 | (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) BX.dimension) |
| 118 | (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) BY.dimension)).left = |
| 119 | (prod.snd : X ⨯ Y ⟶ Y).left ≫ BY.coefficientEmbedding := by |
| 120 | let bx : X ⟶ AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.projectiveSpaceOver S BX.dimension := BX.toHilbertConstruction.embedding |
| 121 | let byy : Y ⟶ AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.projectiveSpaceOver S BY.dimension := BY.toHilbertConstruction.embedding |
| 122 | let a : X ⨯ Y ⟶ AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.projectiveSpaceOver S BX.dimension ⊗ |
| 123 | AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.projectiveSpaceOver S BY.dimension := |
| 124 | (OverProductTensorComparison.overProductTensorIso X Y).hom ≫ (bx ⊗ₘ byy) |
| 125 | let P := AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) BX.dimension |
| 126 | let Q := AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) BY.dimension |
| 127 | let e : (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.projectiveSpaceOver S BX.dimension ⊗ |
| 128 | AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.projectiveSpaceOver S BY.dimension) ≅ (Over.pullback S.toSpecΓ).obj (P ⊗ Q) := |
| 129 | Functor.Monoidal.μIso (Over.pullback S.toSpecΓ) P Q |
| 130 | let pA : ((Over.pullback S.toSpecΓ).obj (P ⊗ Q)).left ⟶ (P ⊗ Q).left := |
| 131 | pullback.fst _ S.toSpecΓ |
| 132 | let c := CartesianMonoidalCategory.snd P Q |
| 133 | let cr := CartesianMonoidalCategory.snd |
| 134 | (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.projectiveSpaceOver S BX.dimension) |
| 135 | (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.projectiveSpaceOver S BY.dimension) |
| 136 | let pX : (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.projectiveSpaceOver S BY.dimension).left ⟶ _ := |
| 137 | pullback.fst _ S.toSpecΓ |
| 138 | have he : e.hom.left ≫ pA ≫ c.left = cr.left ≫ pX := |
| 139 | Over.μ_pullback_left_fst_snd P Q |
| 140 | have ha : a ≫ cr = prod.snd ≫ byy := by |
| 141 | dsimp only [a, cr] |
| 142 | rw [Category.assoc, CartesianMonoidalCategory.tensorHom_snd, ← Category.assoc, |
| 143 | OverProductTensorComparison.overProductTensorIso_hom_snd] |
| 144 | have hal : a.left ≫ cr.left = (prod.snd : X ⨯ Y ⟶ Y).left ≫ |
| 145 | byy.left := congrArg Over.Hom.left ha |
| 146 | have hc : byy.left ≫ pX = BY.coefficientEmbedding := |
| 147 | toHilbertConstruction_embedding_coefficient_fst BY |
| 148 | change (a.left ≫ e.hom.left ≫ pA) ≫ c.left = _ |
| 149 | rw [Category.assoc, Category.assoc, he, ← Category.assoc, hal, Category.assoc, hc] |
| 150 | rfl |
| 151 | |
| 152 | end |
| 153 | |
| 154 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Segre.CoefficientMap.Core |