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.HilbertScheme.Presentations.Polynomial.ProjectiveRenaming |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Relative.GrassmannianProjectivity |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Has |
| 4 | |
| 5 | /-! # Projective Coordinate Iso -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Relative.ProjectiveCoordinateIso.PolynomialProjective |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Reindexing a finite projective coordinate set produces the exact |
| 12 | relative projective space used by the Presentations statement. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | variable {σ : Type u} {d : ℕ} (S : Scheme.{u}) (e : σ ≃ Fin (d + 1)) |
| 18 | |
| 19 | def relativeProjectiveCoordinateMap : GrassmannianProjectivity.PolynomialProjective.relativeProjectiveSpace σ S ⟶ Has.Core.projectiveSpace S d := |
| 20 | pullback.map (Projective.Flatness.GradedHilbert.projectiveStructureMap (Polynomial.Dehomogenization.PolynomialProjective.polynomialGrading σ Γ(S, ⊤))) S.toSpecΓ |
| 21 | (Has.Core.projectiveSpaceMap Γ(S, ⊤) d) S.toSpecΓ |
| 22 | (Polynomial.ProjectiveRenaming.PolynomialProjective.polynomialProjectiveCoordinateIso (R := Γ(S, ⊤)) e).hom (𝟙 S) (𝟙 _) |
| 23 | (by rw [Category.comp_id]; exact (Polynomial.ProjectiveRenaming.PolynomialProjective.polynomialProjectiveCoordinateIso_over e).symm) |
| 24 | (by rw [Category.comp_id, Category.id_comp]) |
| 25 | |
| 26 | instance relativeProjectiveCoordinateMap_isIso : IsIso (relativeProjectiveCoordinateMap S e) := by |
| 27 | unfold relativeProjectiveCoordinateMap |
| 28 | exact pullback.map_isIso _ _ _ _ _ _ _ _ _ |
| 29 | |
| 30 | def relativeProjectiveCoordinateIso : GrassmannianProjectivity.PolynomialProjective.relativeProjectiveSpace σ S ≅ Has.Core.projectiveSpace S d := |
| 31 | asIso (relativeProjectiveCoordinateMap S e) |
| 32 | |
| 33 | theorem relativeProjectiveCoordinateIso_over : |
| 34 | (relativeProjectiveCoordinateIso S e).hom ≫ Has.Core.projectiveSpaceProjection S d = |
| 35 | GrassmannianProjectivity.PolynomialProjective.relativeProjectiveSpaceProjection σ S := by |
| 36 | change pullback.lift _ _ _ ≫ pullback.snd _ _ = _ |
| 37 | exact (pullback.lift_snd _ _ _).trans (Category.comp_id _) |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Relative.ProjectiveCoordinateIso.PolynomialProjective |