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.ProjectivePresentations |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure |
| 3 | |
| 4 | /-! # Projective Presentation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.ProjectivePresentation.Construction.ProjectivePresentationEmbedding |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An affine-base projective presentation as a closed immersion into |
| 11 | the polynomial Proj used by the cohomology complex. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | open OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | theorem base_eq (R : Type u) [CommRing R] (n : ℕ) : |
| 19 | (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace R n).hom = |
| 20 | SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := Fin (n + 1)) := by |
| 21 | unfold AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ |
| 22 | congr 2 |
| 23 | |
| 24 | variable {S : Scheme.{u}} (X : Over S) (P : AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation X) |
| 25 | |
| 26 | def map : X.left ⟶ Proj (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.coordinateGrading Γ(S, ⊤) P.dimension) := |
| 27 | P.embedding.left ≫ pullback.fst (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) P.dimension).hom S.toSpecΓ |
| 28 | |
| 29 | theorem map_base : map X P ≫ |
| 30 | SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := Γ(S, ⊤)) (σ := Fin (P.dimension + 1)) = |
| 31 | X.hom ≫ S.toSpecΓ := by |
| 32 | rw [← base_eq] |
| 33 | let e : X.left ⟶ pullback (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) P.dimension).hom S.toSpecΓ := |
| 34 | P.embedding.left |
| 35 | change e ≫ pullback.fst _ _ ≫ (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) P.dimension).hom = _ |
| 36 | rw [pullback.condition, ← Category.assoc] |
| 37 | exact congrArg (fun a => a ≫ S.toSpecΓ) (Over.w P.embedding) |
| 38 | |
| 39 | theorem closed [IsAffine S] : IsClosedImmersion (map X P) := by |
| 40 | let e : X.left ⟶ pullback (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) P.dimension).hom S.toSpecΓ := |
| 41 | P.embedding.left |
| 42 | have : IsClosedImmersion e := P.closedImmersion |
| 43 | have : IsIso (pullback.fst (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) P.dimension).hom S.toSpecΓ) := |
| 44 | inferInstance |
| 45 | change IsClosedImmersion (e ≫ pullback.fst (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) P.dimension).hom S.toSpecΓ) |
| 46 | infer_instance |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.ProjectivePresentation.Construction.ProjectivePresentationEmbedding |