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.AffinePoints |
| 2 | |
| 3 | /-! # Affine Algebra Points -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Relative.AffineAlgebraPoints |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Algebra-valued points of an affine spectrum, before specializing its coefficient rings. -/ |
| 10 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 11 | universe u |
| 12 | variable (R : CommRingCat.{u}) (C : Type u) [CommRing C] [Algebra R C] |
| 13 | variable (A : Type u) [CommRing A] [Algebra R A] |
| 14 | |
| 15 | def relativeAffineAlgebraPoint |
| 16 | (x : AffinePoints.relativeAffineScheme R C ⟶ AffinePoints.relativeAffineScheme R A) : A →ₐ[R] C := |
| 17 | (AffinePoints.relativeAffineGlobalEquiv R C).symm.toAlgHom.comp (AffinePoints.relativeAffinePointEquiv R A _ x) |
| 18 | |
| 19 | theorem relativeAffineAlgebraPoint_postcomp |
| 20 | {B : Type u} [CommRing B] [Algebra R B] (φ : A →ₐ[R] B) |
| 21 | (x : AffinePoints.relativeAffineScheme R C ⟶ AffinePoints.relativeAffineScheme R B) : |
| 22 | relativeAffineAlgebraPoint R C A (x ≫ (algSpec R).map (CommAlgCat.ofHom φ).op) = |
| 23 | (relativeAffineAlgebraPoint R C B x).comp φ := by |
| 24 | ext a |
| 25 | exact congrArg (fun ρ => (AffinePoints.relativeAffineGlobalEquiv R C).symm (ρ a)) |
| 26 | (AffinePoints.relativeAffinePointEquiv_postcomp R A φ x) |
| 27 | |
| 28 | end |
| 29 | |
| 30 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Relative.AffineAlgebraPoints |