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.RepresentationTheory.Theta.Geometric.Affine.TestMaps |
| 2 | import OAI.RepresentationTheory.Theta.Geometric.SquareZero.Ideal |
| 3 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs |
| 4 | |
| 5 | /-! # Affine Factorization -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Theta.Geometric.SquareZero.AffineFactorization |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! An actual affine-scheme parameter constant modulo a square-zero |
| 12 | ideal factors through the associated split square-zero test. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs |
| 15 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 16 | |
| 17 | attribute [local instance] SquareZero.Ideal.idealCoefficientOppositeModule SquareZero.Ideal.idealCoefficientCentralScalar |
| 18 | |
| 19 | set_option backward.isDefEq.respectTransparency false in |
| 20 | theorem squareZero_affineTest_factorization |
| 21 | {R : Type} [CommRing R] [Algebra ℂ R] [Nontrivial R] |
| 22 | (I : Ideal R) (hI : I * I = ⊥) (X : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) [IsAffine X.left] |
| 23 | (r : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ R ⟶ X) (e : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) |
| 24 | (h : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ R (R ⧸ I) (Ideal.Quotient.mkₐ ℂ I) ≫ r = |
| 25 | toUnit (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ (R ⧸ I)) ≫ e) : |
| 26 | ∃ a : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ (TrivSqZeroExt ℂ I) ⟶ X, |
| 27 | AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ (TrivSqZeroExt ℂ I) R (SquareZero.Ideal.squareZeroIdealMap I hI) ≫ a = r := by |
| 28 | let f := (Affine.TestMaps.affineTestMapEquiv X R).symm r |
| 29 | let p := AlgebraicGeometry.Foundations.Scheme.AffineSchemeComplexPoints.affineNativePointEquiv X e |
| 30 | have hf : Affine.TestMaps.affineTestMapEquiv X R f = r := (Affine.TestMaps.affineTestMapEquiv X R).apply_symm_apply r |
| 31 | have hp : (AlgebraicGeometry.Foundations.Scheme.AffineSchemeComplexPoints.affineNativePointEquiv X).symm p = e := (AlgebraicGeometry.Foundations.Scheme.AffineSchemeComplexPoints.affineNativePointEquiv X).symm_apply_apply e |
| 32 | have hq : (Ideal.Quotient.mkₐ ℂ I).comp f = (Algebra.ofId ℂ (R ⧸ I)).comp p := by |
| 33 | apply (Affine.TestMaps.affineTestMapEquiv X (R ⧸ I)).injective |
| 34 | rw [← Affine.TestMaps.affineTestMapEquiv_comp, hf, Affine.TestMaps.affineTestMapEquiv_constant, hp] |
| 35 | exact h |
| 36 | obtain ⟨g, hg⟩ := SquareZero.Ideal.squareZeroIdeal_exists_factorization I hI f p (fun x => DFunLike.congr_fun hq x) |
| 37 | refine ⟨Affine.TestMaps.affineTestMapEquiv X (TrivSqZeroExt ℂ I) g, ?_⟩ |
| 38 | rw [Affine.TestMaps.affineTestMapEquiv_comp, hg] |
| 39 | exact hf |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.RepresentationTheory.Theta.Geometric.SquareZero.AffineFactorization |