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.CoordinateMaps |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProjectiveChart.CoefficientNaturality |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AffineProjective.CoordinatesOver |
| 4 | |
| 5 | /-! # Normalized Coefficient Square -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.NormalizedCoefficientSquare |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Normalized affine projective coordinates commute with changes |
| 12 | of both the test ring and the ambient projective coefficient ring. -/ |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | universe u |
| 15 | variable {R A : Type u} [CommRing R] [CommRing A] {n : ℕ} |
| 16 | |
| 17 | theorem affineProjectiveCoordinateMap_targetCoefficient (φ : R →+* A) |
| 18 | (v : Fin (n + 1) → A) (i : Fin (n + 1)) (hi : v i = 1) : |
| 19 | letI := φ.toAlgebra |
| 20 | AffineProjective.CoordinateMaps.affineProjectiveCoordinateMap (.of A) A v i hi ≫ Projective.CoefficientFunctoriality.polynomialProjectiveMap (CommRingCat.ofHom φ) n = |
| 21 | AffineProjective.CoordinateMaps.affineProjectiveCoordinateMap (.of R) A v i hi := by |
| 22 | let := φ.toAlgebra |
| 23 | rw [AffineProjective.CoordinateMaps.affineProjectiveCoordinateMap_global, AffineProjective.CoordinateMaps.affineProjectiveCoordinateMap_global, |
| 24 | ProjectiveChart.CoefficientNaturality.projectiveChartMap_coefficientMap] |
| 25 | rfl |
| 26 | |
| 27 | theorem affineProjectiveCoordinateMap_coefficientSquare (φ : R →+* A) |
| 28 | (v : Fin (n + 1) → R) (i : Fin (n + 1)) (hi : v i = 1) : |
| 29 | Spec.map (CommRingCat.ofHom φ) ≫ AffineProjective.CoordinateMaps.affineProjectiveCoordinateMap (.of R) R v i hi = |
| 30 | AffineProjective.CoordinateMaps.affineProjectiveCoordinateMap (.of A) A (fun j => φ (v j)) i |
| 31 | ((congrArg φ hi).trans φ.map_one) ≫ Projective.CoefficientFunctoriality.polynomialProjectiveMap (CommRingCat.ofHom φ) n := by |
| 32 | let := φ.toAlgebra |
| 33 | rw [affineProjectiveCoordinateMap_targetCoefficient] |
| 34 | let ψ : R →ₐ[R] A := { __ := φ, commutes' := fun _ => rfl } |
| 35 | exact AffineProjective.CoordinateMaps.affineProjectiveCoordinateMap_natural (.of R) R ψ v i hi |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.NormalizedCoefficientSquare |