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.Projective.SubsetCone |
| 2 | import OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveSubscheme |
| 3 | import Mathlib.Topology.Connected.Clopen |
| 4 | |
| 5 | /-! # Analytic Connected -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Theta.Geometric.Projective.AnalyticConnected |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! A clopen analytic subset of an actual smooth integral projective |
| 14 | variety is cut out by a closed subset of its original scheme. -/ |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry Set |
| 18 | open scoped Classical _root_.Manifold |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveGraph.Constructions |
| 21 | |
| 22 | variable (X : AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (U : Set X.analyticSpace) |
| 23 | |
| 24 | theorem projectiveClopen_projective_equations (hU : IsClopen U) (hne : U.Nonempty) : |
| 25 | ∃ (Q : Finset (MvPolynomial (IntrinsicEmbedding.ProjectiveAmbientCoordinates X) ℂ)) (degree : Q → ℕ) |
| 26 | (hQ : ∀ q : Q, q.val.IsHomogeneous (degree q)), |
| 27 | IntrinsicEmbedding.projectiveNativeEmbedding X '' U = AlgebraicGeometry.Foundations.Scheme.ProjectiveZeroLocus.projectiveCommonZeroLocus (fun q : Q => q.val) degree hQ := by |
| 28 | obtain ⟨Q, hQ, hcone⟩ := SubsetCone.projectiveSubsetCone_homogeneous_equations X U hU hne |
| 29 | choose degree hdegree using fun q : Q => hQ q.val q.property |
| 30 | refine ⟨Q, degree, hdegree, ?_⟩ |
| 31 | ext p |
| 32 | have heq : p.rep ∈ AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (IntrinsicEmbedding.projectiveNativeEmbedding X '' U) ↔ |
| 33 | ∀ q ∈ Q, MvPolynomial.eval p.rep q = 0 := by |
| 34 | change p.rep ∈ SubsetCone.projectiveSubsetCone X U ↔ _ |
| 35 | rw [hcone] |
| 36 | rfl |
| 37 | rw [AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.mem_projectiveCone_iff _ p.rep p.rep_nonzero, p.mk_rep] at heq |
| 38 | rw [← p.mk_rep, AlgebraicGeometry.Foundations.Scheme.ProjectiveZeroLocus.mem_projectiveCommonZeroLocus_mk] |
| 39 | simpa only [p.mk_rep, Subtype.forall] using heq |
| 40 | |
| 41 | theorem projectiveClopen_exists_closed_support (hU : IsClopen U) : |
| 42 | ∃ Z : Set X.toOver.left, IsClosed Z ∧ |
| 43 | ∀ x : X.analyticSpace, x ∈ U ↔ x.left (⊥ : PrimeSpectrum ℂ) ∈ Z := by |
| 44 | by_cases hne : U.Nonempty |
| 45 | · obtain ⟨Q, degree, hQ, hzero⟩ := projectiveClopen_projective_equations X U hU hne |
| 46 | obtain ⟨Y, i, _, hi, _, himage⟩ := |
| 47 | AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveSubscheme.Constructions.Algebraization.exists_reduced_projective_subscheme_of_equations (fun q : Q => q.val) degree hQ |
| 48 | let : IsClosedImmersion i.left := hi |
| 49 | let P := X.presentation.projective |
| 50 | refine ⟨P.toOverHom.left ⁻¹' range i.left, |
| 51 | i.left.isClosedEmbedding.isClosed_range.preimage P.toOverHom.left.continuous, ?_⟩ |
| 52 | intro x |
| 53 | have hx : IntrinsicEmbedding.projectiveNativeEmbedding X x ∈ IntrinsicEmbedding.projectiveNativeEmbedding X '' U ↔ x ∈ U := |
| 54 | (IntrinsicEmbedding.projectiveNativeEmbedding_isClosedEmbedding X).injective.mem_set_image |
| 55 | rw [hzero] at hx |
| 56 | rw [← hx, ← himage] |
| 57 | have he : AlgebraicGeometry.Foundations.Scheme.ProjectiveComplexPoints.projectiveComplexPointsEquiv P.ambientDimension (IntrinsicEmbedding.projectiveNativeEmbedding X x) = |
| 58 | AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map P.toOverHom x := |
| 59 | (AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveScheme.projectiveSchemePointHomeomorph P.ambientDimension).apply_symm_apply _ |
| 60 | rw [he] |
| 61 | change AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map P.toOverHom x ∈ range (fun q => q ≫ i) ↔ _ |
| 62 | rw [AlgebraicGeometry.Foundations.Scheme.ImmersionComplexPoints.range_closedImmersion_complexPointMap] |
| 63 | rfl |
| 64 | · refine ⟨∅, isClosed_empty, ?_⟩ |
| 65 | intro x |
| 66 | simp only [not_nonempty_iff_eq_empty.mp hne, mem_empty_iff_false] |
| 67 | |
| 68 | end |
| 69 | |
| 70 | /-! Analytic connectedness of actual smooth integral projective varieties, |
| 71 | proved from homogeneous equations and the irreducibility of their schemes. -/ |
| 72 | |
| 73 | set_option backward.isDefEq.respectTransparency false |
| 74 | open _root_.CategoryTheory _root_.AlgebraicGeometry Set |
| 75 | open scoped Classical _root_.Manifold |
| 76 | |
| 77 | variable (X : AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 78 | |
| 79 | local instance connectedProjectiveIntegral : IsIntegral X.toOver.left := X.property |
| 80 | local instance connectedProjectiveSmooth : Smooth X.toOver.hom := X.presentation.smooth |
| 81 | |
| 82 | theorem projective_closed_support_eq_univ (Z : Set X.toOver.left) (hZ : IsClosed Z) |
| 83 | (hpoints : ∀ x : X.analyticSpace, x.left (⊥ : PrimeSpectrum ℂ) ∈ Z) : Z = univ := by |
| 84 | let : JacobsonSpace X.toOver.left := LocallyOfFiniteType.jacobsonSpace X.toOver.hom |
| 85 | have hclosed : closedPoints X.toOver.left ⊆ Z := by |
| 86 | intro z hz |
| 87 | let p : X.analyticSpace := Over.homMk (pointOfClosedPoint X.toOver.hom z hz) |
| 88 | (pointOfClosedPoint_comp X.toOver.hom z hz) |
| 89 | have hp : p.left (⊥ : PrimeSpectrum ℂ) = z := |
| 90 | pointOfClosedPoint_apply X.toOver.hom z hz _ |
| 91 | simpa only [hp] using hpoints p |
| 92 | apply univ_subset_iff.mp |
| 93 | rw [← closure_closedPoints] |
| 94 | exact hZ.closure_subset_iff.mpr hclosed |
| 95 | |
| 96 | theorem projective_analytic_clopen_trivial (U : Set X.analyticSpace) (hU : IsClopen U) : |
| 97 | U = ∅ ∨ U = univ := by |
| 98 | obtain ⟨Z, hZ, hZU⟩ := projectiveClopen_exists_closed_support X U hU |
| 99 | obtain ⟨W, hW, hWU⟩ := projectiveClopen_exists_closed_support X Uᶜ hU.compl |
| 100 | have hcover : Z ∪ W = univ := projective_closed_support_eq_univ X (Z ∪ W) (hZ.union hW) (by |
| 101 | intro x |
| 102 | by_cases hx : x ∈ U |
| 103 | · exact Or.inl ((hZU x).mp hx) |
| 104 | · exact Or.inr ((hWU x).mp hx)) |
| 105 | have hirr : IsPreirreducible (univ : Set X.toOver.left) := PreirreducibleSpace.isPreirreducible_univ |
| 106 | obtain h | h := isPreirreducible_iff_isClosed_union_isClosed.mp hirr Z W hZ hW (by rw [hcover]) |
| 107 | · right |
| 108 | exact eq_univ_iff_forall.mpr fun x => (hZU x).mpr (h (mem_univ _)) |
| 109 | · left |
| 110 | apply eq_empty_iff_forall_notMem.mpr |
| 111 | intro x hx |
| 112 | exact (hWU x).mpr (h (mem_univ _)) hx |
| 113 | |
| 114 | theorem projective_analytic_connected : ConnectedSpace X.analyticSpace := |
| 115 | connectedSpace_iff_clopen.mpr ⟨X.complexPoints_nonempty, projective_analytic_clopen_trivial X⟩ |
| 116 | |
| 117 | end |
| 118 | |
| 119 | end OAI.RepresentationTheory.Theta.Geometric.Projective.AnalyticConnected |