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.Relative.ProjectiveCoordinateIso |
| 2 | |
| 3 | /-! # Coordinate Projective Presentation -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Finite.CoordinateProjectivePresentation.PolynomialProjective |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A closed embedding in relative projective space with an arbitrary |
| 10 | nonempty finite coordinate set gives the exact Presentations projective presentation. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | variable {S : Scheme.{u}} {σ : Type u} [Fintype σ] [Nonempty σ] |
| 16 | |
| 17 | def projectivePresentationOfFiniteCoordinates (X : Over S) |
| 18 | (i : X.left ⟶ Relative.GrassmannianProjectivity.PolynomialProjective.relativeProjectiveSpace σ S) [IsClosedImmersion i] |
| 19 | (hi : i ≫ Relative.GrassmannianProjectivity.PolynomialProjective.relativeProjectiveSpaceProjection σ S = X.hom) : Has.Core.ProjectivePresentation X := by |
| 20 | let d := Fintype.card σ - 1 |
| 21 | have hc : Fintype.card σ = d + 1 := (Nat.sub_add_cancel (Nat.succ_le_of_lt Fintype.card_pos)).symm |
| 22 | let e : σ ≃ Fin (d + 1) := Fintype.equivFinOfCardEq hc |
| 23 | refine ⟨d, i ≫ (Relative.ProjectiveCoordinateIso.PolynomialProjective.relativeProjectiveCoordinateIso S e).hom, inferInstance, ?_⟩ |
| 24 | rw [Category.assoc, Relative.ProjectiveCoordinateIso.PolynomialProjective.relativeProjectiveCoordinateIso_over] |
| 25 | exact hi |
| 26 | |
| 27 | end |
| 28 | |
| 29 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Finite.CoordinateProjectivePresentation.PolynomialProjective |