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.Quotient.AffineParameterPoints |
| 2 | |
| 3 | /-! # Spectrum Factorization -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Quotient.SpectrumFactorization |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The actual spectrum of a quotient represents unique affine |
| 10 | factorization through the closed subscheme defined by its ideal. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | variable (R : CommRingCat.{u}) (J : Ideal R) |
| 16 | |
| 17 | def quotientSpecInclusion : Spec (CommRingCat.of (R ⧸ J)) ⟶ Spec R := |
| 18 | Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk J)) |
| 19 | |
| 20 | instance quotientSpecInclusion_isClosedImmersion : IsClosedImmersion (quotientSpecInclusion R J) := |
| 21 | IsClosedImmersion.spec_of_surjective _ Ideal.Quotient.mk_surjective |
| 22 | |
| 23 | theorem quotientSpec_lift_iff (A : Type u) [CommRing A] (φ : R →+* A) : |
| 24 | (∃ g : Spec (CommRingCat.of A) ⟶ Spec (CommRingCat.of (R ⧸ J)), |
| 25 | g ≫ quotientSpecInclusion R J = Spec.map (CommRingCat.ofHom φ)) ↔ J ≤ RingHom.ker φ := by |
| 26 | let : Algebra R A := φ.toAlgebra |
| 27 | have he : (∃ g : Spec (CommRingCat.of A) ⟶ Spec (CommRingCat.of (R ⧸ J)), |
| 28 | g ≫ quotientSpecInclusion R J = Spec.map (CommRingCat.ofHom φ)) ↔ |
| 29 | Nonempty (Relative.AffinePoints.relativeAffineScheme R A ⟶ Relative.AffinePoints.relativeAffineScheme R (R ⧸ J)) := by |
| 30 | constructor |
| 31 | · rintro ⟨g, hg⟩ |
| 32 | exact ⟨Over.homMk g hg⟩ |
| 33 | · rintro ⟨g⟩ |
| 34 | exact ⟨g.left, g.w⟩ |
| 35 | exact he.trans (AffineParameterPoints.quotientRelativeAffineScheme_points_iff R J A) |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Quotient.SpectrumFactorization |