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.GradedLinearCoordinateIsomorphism |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.SpaceReindex |
| 3 | |
| 4 | /-! # Linear Coordinate Isomorphism -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.LinearCoordinateIsomorphism |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Invertible coordinate transformations act on HilbertConstruction's actual standard |
| 11 | projective space over a coefficient spectrum and over an arbitrary base. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | universe u |
| 14 | variable {R : Type u} [CommRing R] (n : ℕ) |
| 15 | |
| 16 | def affineLinearCoordinateIso |
| 17 | (e : (Fin (n + 1) →₀ R) ≃ₗ[R] (Fin (n + 1) →₀ R)) : |
| 18 | Projective.ProjectivePresentations.affineProjectiveSpace R n ≅ Projective.ProjectivePresentations.affineProjectiveSpace R n := |
| 19 | Over.isoMk (GradedLinearCoordinateIsomorphism.linearCoordinateProjectiveIso e) (by |
| 20 | change (GradedLinearCoordinateIsomorphism.linearCoordinateProjectiveIso e).hom ≫ |
| 21 | (AlgebraicGeometry.Proj.toSpecZero (Projective.ProjectivePresentations.coordinateGrading R n) ≫ |
| 22 | Spec.map (CommRingCat.ofHom (Projective.ProjectivePresentations.degreeZeroConstants R n).toRingHom)) = _ |
| 23 | rw [Projective.SpaceReindex.degreeZeroConstants_eq_algebraMap] |
| 24 | exact Projective.MapOverBase.projectiveMap_over_base _ _ (GradedLinearCoordinateIsomorphism.gradedLinearCoordinateMap e.symm.toLinearMap) |
| 25 | (GradedProjectiveIsomorphism.gradedMap_irrelevant_of_inverse _ _ _ _ (GradedLinearCoordinateIsomorphism.gradedLinearCoordinateMap_inverse e)) |
| 26 | (fun r => (Linear.CoordinateSubstitution.polynomialLinearSubstitution e.symm.toLinearMap).commutes r)) |
| 27 | |
| 28 | def relativeLinearCoordinateIso (S : Scheme.{u}) |
| 29 | (e : (Fin (n + 1) →₀ Γ(S, ⊤)) ≃ₗ[Γ(S, ⊤)] (Fin (n + 1) →₀ Γ(S, ⊤))) : |
| 30 | Projective.ProjectivePresentations.projectiveSpaceOver S n ≅ Projective.ProjectivePresentations.projectiveSpaceOver S n := |
| 31 | (Over.pullback S.toSpecΓ).mapIso (affineLinearCoordinateIso n e) |
| 32 | |
| 33 | end |
| 34 | |
| 35 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.LinearCoordinateIsomorphism |