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.SchemeGraphAnalytic |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SchemeIntegralProper |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.Finite |
| 4 | |
| 5 | /-! # Affine Scheme Graph -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Finite.AffineSchemeGraph.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Every finite map to an affine complex scheme has an actual closed polynomial graph with a compact coordinate bound over a base neighborhood. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SchemeGraph.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SchemeGraphAnalytic.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.GraphBaseRestriction.Constructions |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | theorem exists_bounded_finite_graph {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsAffine Y.left] |
| 21 | [LocallyOfFiniteType Y.hom] (g : X ⟶ Y) [IsFinite g.left] (x : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y) : |
| 22 | letI : IsAffine X.left := isAffine_of_isAffineHom g.left |
| 23 | ∃ (n : ℕ) (f : MvPolynomial (Fin n) ℂ →ₐ[ℂ] Γ(X.left, ⊤)) |
| 24 | (U : Opens (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)) (K : Set (Fin n → ℂ)), |
| 25 | Function.Surjective f ∧ IsClosedImmersion (Affine.SchemeGraph.Constructions.globalGraphSchemeMap g f).left ∧ |
| 26 | x ∈ U ∧ IsCompact K ∧ |
| 27 | Topology.IsClosedEmbedding (GraphBaseRestriction.Constructions.restrictedGraph (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map g) |
| 28 | (Affine.SchemeGraphAnalytic.Constructions.globalGraphCoordinates f) (U : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y))) ∧ |
| 29 | Set.range (GraphBaseRestriction.Constructions.restrictedGraph (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map g) |
| 30 | (Affine.SchemeGraphAnalytic.Constructions.globalGraphCoordinates f) (U : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y))) ⊆ Set.univ ×ˢ K := by |
| 31 | let : IsAffine X.left := isAffine_of_isAffineHom g.left |
| 32 | let : LocallyOfFiniteType X.hom := by |
| 33 | rw [← g.w] |
| 34 | infer_instance |
| 35 | let : LocallyCompactSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y) := ComplexPoints.Analytic.FiniteTypeSchemeTopology.affineSchemePoints_locallyCompact Y |
| 36 | let : T2Space (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y) := (ComplexPoints.Analytic.AffineSchemePointTopology.affineNativePointHomeomorph Y).isEmbedding.t2Space |
| 37 | obtain ⟨n, f, hf, hscheme⟩ := Affine.SchemeGraph.Constructions.exists_globalGraphSchemeMap g |
| 38 | have hp := Affine.SchemeIntegralProper.Constructions.isProperMap_affine_integral g |
| 39 | obtain ⟨U, K, hx, hK, hbound⟩ := Affine.SchemeGraphAnalytic.Constructions.globalGraph_localBound g f hp x |
| 40 | exact ⟨n, f, U, K, hf, hscheme, hx, hK, |
| 41 | GraphBaseRestriction.Constructions.restrictedGraph_closedEmbedding (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map g) (Affine.SchemeGraphAnalytic.Constructions.globalGraphCoordinates f) |
| 42 | U (Affine.SchemeGraphAnalytic.Constructions.globalGraph_closedEmbedding g f hf), |
| 43 | GraphBaseRestriction.Constructions.restrictedGraph_bound (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map g) (Affine.SchemeGraphAnalytic.Constructions.globalGraphCoordinates f) U K hbound⟩ |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.CycleClass.Thom.Finite.AffineSchemeGraph.Constructions |