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.AffineProjective.Charts |
| 2 | |
| 3 | /-! # Base Maps -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.RelativeProjective.BaseMaps |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Explicit base morphisms of relative projective spaces, compatible with the affine coefficient charts. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {S T : Scheme.{u}} (f : T ⟶ S) (n : ℕ) |
| 16 | |
| 17 | def relativeProjectiveCoefficientProjection (S : Scheme.{u}) (n : ℕ) : |
| 18 | (Projective.ProjectivePresentations.projectiveSpaceOver S n).left ⟶ (Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) n).left := |
| 19 | pullback.fst (Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) n).hom S.toSpecΓ |
| 20 | |
| 21 | theorem relativeProjectiveCoefficientProjection_over (S : Scheme.{u}) (n : ℕ) : |
| 22 | relativeProjectiveCoefficientProjection S n ≫ (Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) n).hom = |
| 23 | (Projective.ProjectivePresentations.projectiveSpaceOver S n).hom ≫ S.toSpecΓ := pullback.condition |
| 24 | |
| 25 | theorem relativeProjectiveCoefficientProjection_isPullback (S : Scheme.{u}) (n : ℕ) : |
| 26 | IsPullback (relativeProjectiveCoefficientProjection S n) (Projective.ProjectivePresentations.projectiveSpaceOver S n).hom |
| 27 | (Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) n).hom S.toSpecΓ := IsPullback.of_hasPullback _ _ |
| 28 | |
| 29 | theorem relativeProjectiveCoefficientProjection_affine {S : Scheme.{u}} {R : CommRingCat.{u}} |
| 30 | (x : Spec R ⟶ S) (n : ℕ) : |
| 31 | AffineProjective.Charts.affineProjectiveChartMap x n ≫ relativeProjectiveCoefficientProjection S n = |
| 32 | Projective.CoefficientFunctoriality.polynomialProjectiveMap (AffineProjective.Charts.affinePointCoefficients x) n := AffineProjective.Charts.affineProjectiveChartMap_fst x n |
| 33 | |
| 34 | def relativeProjectiveBaseMap : (Projective.ProjectivePresentations.projectiveSpaceOver T n).left ⟶ (Projective.ProjectivePresentations.projectiveSpaceOver S n).left := |
| 35 | pullback.lift |
| 36 | (relativeProjectiveCoefficientProjection T n ≫ Projective.CoefficientFunctoriality.polynomialProjectiveMap f.appTop n) |
| 37 | ((Projective.ProjectivePresentations.projectiveSpaceOver T n).hom ≫ f) (by |
| 38 | rw [Category.assoc, Projective.CoefficientFunctoriality.polynomialProjectiveMap_over, ← Category.assoc, |
| 39 | relativeProjectiveCoefficientProjection_over, Category.assoc, ← Scheme.toSpecΓ_naturality, |
| 40 | ← Category.assoc]) |
| 41 | |
| 42 | theorem relativeProjectiveBaseMap_fst : |
| 43 | relativeProjectiveBaseMap f n ≫ relativeProjectiveCoefficientProjection S n = |
| 44 | relativeProjectiveCoefficientProjection T n ≫ Projective.CoefficientFunctoriality.polynomialProjectiveMap f.appTop n := |
| 45 | pullback.lift_fst _ _ _ |
| 46 | |
| 47 | theorem relativeProjectiveBaseMap_over : |
| 48 | relativeProjectiveBaseMap f n ≫ (Projective.ProjectivePresentations.projectiveSpaceOver S n).hom = (Projective.ProjectivePresentations.projectiveSpaceOver T n).hom ≫ f := |
| 49 | pullback.lift_snd _ _ _ |
| 50 | |
| 51 | theorem relativeProjectiveBaseMap_isPullback : |
| 52 | IsPullback (relativeProjectiveBaseMap f n) (Projective.ProjectivePresentations.projectiveSpaceOver T n).hom |
| 53 | (Projective.ProjectivePresentations.projectiveSpaceOver S n).hom f := by |
| 54 | have h := (relativeProjectiveCoefficientProjection_isPullback T n).paste_horiz |
| 55 | (Projective.CoefficientFunctoriality.polynomialProjectiveMap_isPullback f.appTop n) |
| 56 | rw [← Scheme.toSpecΓ_naturality f] at h |
| 57 | have houter : IsPullback (relativeProjectiveBaseMap f n ≫ |
| 58 | relativeProjectiveCoefficientProjection S n) |
| 59 | (Projective.ProjectivePresentations.projectiveSpaceOver T n).hom (Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) n).hom (f ≫ S.toSpecΓ) := by |
| 60 | rw [relativeProjectiveBaseMap_fst] |
| 61 | exact h |
| 62 | exact houter.of_right (relativeProjectiveBaseMap_over f n) |
| 63 | (relativeProjectiveCoefficientProjection_isPullback S n) |
| 64 | |
| 65 | theorem affinePointCoefficients_postcomp {R : CommRingCat.{u}} (x : Spec R ⟶ T) : |
| 66 | AffineProjective.Charts.affinePointCoefficients (x ≫ f) = f.appTop ≫ AffineProjective.Charts.affinePointCoefficients x := by |
| 67 | change (f.appTop ≫ x.appTop) ≫ (Scheme.ΓSpecIso R).hom = _ |
| 68 | exact Category.assoc _ _ _ |
| 69 | |
| 70 | theorem relativeProjectiveBaseMap_affine {R : CommRingCat.{u}} (x : Spec R ⟶ T) : |
| 71 | AffineProjective.Charts.affineProjectiveChartMap x n ≫ relativeProjectiveBaseMap f n = AffineProjective.Charts.affineProjectiveChartMap (x ≫ f) n := by |
| 72 | apply (relativeProjectiveCoefficientProjection_isPullback S n).hom_ext |
| 73 | · rw [Category.assoc, relativeProjectiveBaseMap_fst, ← Category.assoc, relativeProjectiveCoefficientProjection_affine, |
| 74 | ← Projective.CoefficientFunctoriality.polynomialProjectiveMap_comp, relativeProjectiveCoefficientProjection_affine, affinePointCoefficients_postcomp] |
| 75 | · |
| 76 | rw [Category.assoc, relativeProjectiveBaseMap_over, ← Category.assoc, AffineProjective.Charts.affineProjectiveChartMap_over, |
| 77 | Category.assoc, AffineProjective.Charts.affineProjectiveChartMap_over] |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.RelativeProjective.BaseMaps |