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.CycleClass.Thom.Affine.GraphRingMap |
| 2 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.ClosedImmersion |
| 4 | |
| 5 | /-! # Graph Scheme -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Affine.GraphScheme.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The surjective tensor coordinate map defines a genuine closed immersion over the complex base, with its specified projections. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped TensorProduct |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.CycleClass.Thom.Affine.GraphRingMap.Constructions |
| 17 | |
| 18 | variable {R S A : Type} [CommRing R] [CommRing S] [CommRing A] |
| 19 | [Algebra ℂ R] [Algebra ℂ S] [Algebra ℂ A] |
| 20 | |
| 21 | theorem affineSpec_comp (h : R →ₐ[ℂ] S) (f : S →ₐ[ℂ] A) : |
| 22 | Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ S A f ≫ Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ R S h = |
| 23 | Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ R A (f.comp h) := by |
| 24 | apply Over.OverMorphism.ext |
| 25 | change Spec.map (CommRingCat.ofHom f.toRingHom) ≫ |
| 26 | Spec.map (CommRingCat.ofHom h.toRingHom) = _ |
| 27 | rw [← Spec.map_comp] |
| 28 | rfl |
| 29 | |
| 30 | def graphSchemeMap (h : R →ₐ[ℂ] A) (f : S →ₐ[ℂ] A) : |
| 31 | Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A ⟶ Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ (R ⊗[ℂ] S) := |
| 32 | Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ (R ⊗[ℂ] S) A (GraphRingMap.Constructions.graphRingMap h f) |
| 33 | |
| 34 | theorem graphSchemeMap_closedImmersion (h : R →ₐ[ℂ] A) (f : S →ₐ[ℂ] A) |
| 35 | (hf : Function.Surjective f) : IsClosedImmersion (graphSchemeMap h f).left := |
| 36 | IsClosedImmersion.spec_of_surjective _ (GraphRingMap.Constructions.graphRingMap_surjective h f hf) |
| 37 | |
| 38 | theorem graphSchemeMap_left (h : R →ₐ[ℂ] A) (f : S →ₐ[ℂ] A) : |
| 39 | graphSchemeMap h f ≫ |
| 40 | Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ R (R ⊗[ℂ] S) Algebra.TensorProduct.includeLeft = |
| 41 | Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ R A h := by |
| 42 | rw [graphSchemeMap, affineSpec_comp, GraphRingMap.Constructions.graphRingMap_left] |
| 43 | |
| 44 | theorem graphSchemeMap_right (h : R →ₐ[ℂ] A) (f : S →ₐ[ℂ] A) : |
| 45 | graphSchemeMap h f ≫ |
| 46 | Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ S (R ⊗[ℂ] S) Algebra.TensorProduct.includeRight = |
| 47 | Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ S A f := by |
| 48 | rw [graphSchemeMap, affineSpec_comp, GraphRingMap.Constructions.graphRingMap_right] |
| 49 | |
| 50 | theorem graphSchemeMap_point (h : R →ₐ[ℂ] A) (f : S →ₐ[ℂ] A) |
| 51 | (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) : |
| 52 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (graphSchemeMap h f) (ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointEquiv A x) = |
| 53 | ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointEquiv (R ⊗[ℂ] S) (x.comp (GraphRingMap.Constructions.graphRingMap h f)) := |
| 54 | (ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointEquiv_comap (GraphRingMap.Constructions.graphRingMap h f) x).symm |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.CycleClass.Thom.Affine.GraphScheme.Constructions |