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.Linear.CoordinateSubstitution |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.GradedProjectiveIsomorphism |
| 3 | |
| 4 | /-! # Graded Linear Coordinate Isomorphism -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.GradedLinearCoordinateIsomorphism |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Invertible coefficient transformations induce genuine isomorphisms |
| 11 | of projective schemes, through their inverse graded polynomial maps. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | universe u v w |
| 14 | variable {R : Type (max u v w)} [CommRing R] {σ : Type v} {τ : Type w} |
| 15 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 16 | |
| 17 | def gradedLinearCoordinateMap (T : (σ →₀ R) →ₗ[R] (τ →₀ R)) : |
| 18 | MvPolynomial.homogeneousSubmodule σ R →+*ᵍ MvPolynomial.homogeneousSubmodule τ R where |
| 19 | __ := (Linear.CoordinateSubstitution.polynomialLinearSubstitution T).toRingHom |
| 20 | map_mem h := Linear.CoordinateSubstitution.polynomialLinearSubstitution_homogeneous T h |
| 21 | |
| 22 | theorem gradedLinearCoordinateMap_inverse (e : (σ →₀ R) ≃ₗ[R] (τ →₀ R)) : |
| 23 | (gradedLinearCoordinateMap.{u, w, v} e.symm.toLinearMap).comp (gradedLinearCoordinateMap.{u, v, w} e.toLinearMap) = |
| 24 | GradedRingHom.id (MvPolynomial.homogeneousSubmodule σ R) := by |
| 25 | have he : e.symm.toLinearMap.comp e.toLinearMap = LinearMap.id := by |
| 26 | apply LinearMap.ext |
| 27 | intro x |
| 28 | exact e.symm_apply_apply x |
| 29 | have h : (Linear.CoordinateSubstitution.polynomialLinearSubstitution e.symm.toLinearMap).comp |
| 30 | (Linear.CoordinateSubstitution.polynomialLinearSubstitution e.toLinearMap) = AlgHom.id R _ := by |
| 31 | rw [Linear.CoordinateSubstitution.polynomialLinearSubstitution_comp, he, Linear.CoordinateSubstitution.polynomialLinearSubstitution_id] |
| 32 | apply GradedRingHom.ext |
| 33 | intro p |
| 34 | exact AlgHom.congr_fun h p |
| 35 | |
| 36 | def linearCoordinateProjectiveIso (e : (σ →₀ R) ≃ₗ[R] (τ →₀ R)) : |
| 37 | Proj (MvPolynomial.homogeneousSubmodule σ R) ≅ Proj (MvPolynomial.homogeneousSubmodule τ R) := |
| 38 | GradedProjectiveIsomorphism.gradedProjectiveIso (MvPolynomial.homogeneousSubmodule σ R) (MvPolynomial.homogeneousSubmodule τ R) |
| 39 | (gradedLinearCoordinateMap.{u, v, w} e.toLinearMap) (gradedLinearCoordinateMap.{u, w, v} e.symm.toLinearMap) |
| 40 | (gradedLinearCoordinateMap_inverse.{u, w, v} e.symm) (gradedLinearCoordinateMap_inverse.{u, v, w} e) |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.GradedLinearCoordinateIsomorphism |