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.AffineGraphAmbient |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.SmoothAffineGlobalCoordinates |
| 3 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.FiniteTypeSchemeTopology |
| 4 | |
| 5 | /-! # Scheme Graph -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SchemeGraph.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! An actual map between affine complex schemes admits a genuine polynomial graph factorization over its prescribed target. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped TensorProduct |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.CycleClass.Thom.Affine.GraphScheme.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.AffineGraphAmbient.Constructions.Scheme OAI.AlgebraicGeometry.CycleClass.Thom.Affine.PresentationImmersion.Constructions |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | |
| 21 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsAffine X.left] [IsAffine Y.left] |
| 22 | (g : X ⟶ Y) {n : ℕ} (f : MvPolynomial (Fin n) ℂ →ₐ[ℂ] Γ(X.left, ⊤)) |
| 23 | |
| 24 | def globalGraphSchemeMap : X ⟶ Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ (Γ(Y.left, ⊤) ⊗[ℂ] MvPolynomial (Fin n) ℂ) := |
| 25 | (Foundations.Scheme.AffineSchemeComplexPoints.affineOverIso X).hom ≫ GraphScheme.Constructions.graphSchemeMap (ComplexPoints.Analytic.AffineSchemePointTopology.affineCoordinateHom g) f |
| 26 | |
| 27 | theorem globalGraphSchemeMap_closedImmersion (hf : Function.Surjective f) : |
| 28 | IsClosedImmersion (globalGraphSchemeMap g f).left := by |
| 29 | let : IsClosedImmersion (GraphScheme.Constructions.graphSchemeMap (ComplexPoints.Analytic.AffineSchemePointTopology.affineCoordinateHom g) f).left := |
| 30 | GraphScheme.Constructions.graphSchemeMap_closedImmersion (ComplexPoints.Analytic.AffineSchemePointTopology.affineCoordinateHom g) f hf |
| 31 | change IsClosedImmersion ((Foundations.Scheme.AffineSchemeComplexPoints.affineOverIso X).hom.left ≫ (GraphScheme.Constructions.graphSchemeMap (ComplexPoints.Analytic.AffineSchemePointTopology.affineCoordinateHom g) f).left) |
| 32 | infer_instance |
| 33 | |
| 34 | theorem globalGraphSchemeMap_projection : |
| 35 | globalGraphSchemeMap g f ≫ |
| 36 | Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ Γ(Y.left, ⊤) (Γ(Y.left, ⊤) ⊗[ℂ] MvPolynomial (Fin n) ℂ) |
| 37 | Algebra.TensorProduct.includeLeft ≫ (Foundations.Scheme.AffineSchemeComplexPoints.affineOverIso Y).inv = g := by |
| 38 | rw [globalGraphSchemeMap, Category.assoc, ← Category.assoc (GraphScheme.Constructions.graphSchemeMap _ _), |
| 39 | GraphScheme.Constructions.graphSchemeMap_left, ComplexPoints.Analytic.AffineSchemePointTopology.affineAlgHomOverSpecEquiv_affineCoordinateHom] |
| 40 | simp only [Category.assoc, Iso.hom_inv_id_assoc, |
| 41 | Iso.hom_inv_id, Category.comp_id] |
| 42 | |
| 43 | theorem globalGraphSchemeMap_point (x : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) : |
| 44 | AffineGraphAmbient.Constructions.Scheme.schemeGraphHomeomorph Γ(Y.left, ⊤) n (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (globalGraphSchemeMap g f) x) = |
| 45 | (ComplexPoints.Analytic.AffineSchemePointTopology.affineNativePointHomeomorph Y (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map g x), |
| 46 | PresentationImmersion.Constructions.presentationCoordinates f (ComplexPoints.Analytic.AffineSchemePointTopology.affineNativePointHomeomorph X x)) := by |
| 47 | change AffineGraphAmbient.Constructions.Scheme.schemeGraphHomeomorph Γ(Y.left, ⊤) n |
| 48 | (x ≫ ((Foundations.Scheme.AffineSchemeComplexPoints.affineOverIso X).hom ≫ GraphScheme.Constructions.graphSchemeMap (ComplexPoints.Analytic.AffineSchemePointTopology.affineCoordinateHom g) f)) = _ |
| 49 | rw [← Category.assoc, ← ComplexPoints.Analytic.AffineSchemePointTopology.affineSchemePointEquiv_affineNativePointHomeomorph X x] |
| 50 | exact (AffineGraphAmbient.Constructions.Scheme.schemeGraphHomeomorph_graph Γ(Y.left, ⊤) n (ComplexPoints.Analytic.AffineSchemePointTopology.affineCoordinateHom g) f |
| 51 | (ComplexPoints.Analytic.AffineSchemePointTopology.affineNativePointHomeomorph X x)).trans |
| 52 | (congrArg (fun a => (a, PresentationImmersion.Constructions.presentationCoordinates f (ComplexPoints.Analytic.AffineSchemePointTopology.affineNativePointHomeomorph X x))) |
| 53 | (ComplexPoints.Analytic.AffineSchemePointTopology.affineNativePointHomeomorph_map g x).symm) |
| 54 | |
| 55 | theorem exists_globalGraphSchemeMap [LocallyOfFiniteType X.hom] : |
| 56 | ∃ (n : ℕ) (f : MvPolynomial (Fin n) ℂ →ₐ[ℂ] Γ(X.left, ⊤)), |
| 57 | Function.Surjective f ∧ IsClosedImmersion (globalGraphSchemeMap g f).left := by |
| 58 | let : Algebra.FiniteType ℂ Γ(X.left, ⊤) := ComplexPoints.Analytic.FiniteTypeSchemeTopology.affineOverGamma_finiteType X |
| 59 | obtain ⟨n, f, hf⟩ := |
| 60 | (Algebra.FiniteType.iff_quotient_mvPolynomial'' (R := ℂ) (S := Γ(X.left, ⊤))).mp inferInstance |
| 61 | exact ⟨n, f, hf, globalGraphSchemeMap_closedImmersion g f hf⟩ |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SchemeGraph.Constructions |