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 | /- |
| 2 | Copyright 2026 The Formal Conjectures Authors. |
| 3 | Released under Apache 2.0 license as described in the file LICENSE. |
| 4 | This file has been modified. |
| 5 | -/ |
| 6 | import OAI.AlgebraicGeometry.Stratification.ClosedFiltration |
| 7 | import OAI.AlgebraicGeometry.Smooth.SingularLocusDimension |
| 8 | import OAI.Topology.Dimension.ClosedSubset |
| 9 | import Mathlib.Topology.NoetherianSpace |
| 10 | import OAI.AlgebraicGeometry.Stratification.AnalytificationIs |
| 11 | import OAI.AlgebraicGeometry.Smooth.AffineRelativeDimension |
| 12 | import OAI.AlgebraicGeometry.ComplexPoint.Open |
| 13 | import OAI.CategoryTheory.ConcreteCategory.Notation |
| 14 | |
| 15 | /-! # Component Singular Closed Filtration -/ |
| 16 | |
| 17 | namespace OAI.AlgebraicGeometry |
| 18 | |
| 19 | noncomputable section |
| 20 | |
| 21 | open _root_.AlgebraicGeometry |
| 22 | |
| 23 | /-! |
| 24 | # Ambient closed supports for singular-component localization induction |
| 25 | |
| 26 | The singular boundary of an integral cycle component carries its canonical finite reduced |
| 27 | smooth filtration, whose images are closed both algebraically and analytically in the ambient |
| 28 | variety, and whose successive differences are the complex-point images of smooth locally |
| 29 | closed strata. Their local relative dimensions are strictly below `d - p`, so their ambient |
| 30 | normal codimensions are at least `p + 1`. |
| 31 | -/ |
| 32 | |
| 33 | open _root_.CategoryTheory _root_.Topology _root_.TopologicalSpace |
| 34 | |
| 35 | variable (X : Over (Spec ↧ℂ)) |
| 36 | [IsIntegral X.left] [Smooth X.hom] [Foundations.ProjectiveSpaceIs.IsProjective X.hom] (x : X.left) |
| 37 | |
| 38 | /-- Let `X` be a smooth integral projective scheme over `ℂ` and let `Z` be the reduced closure of |
| 39 | the scheme point `x`. Start with `S₀ = Z_sing` and obtain `S_{k+1}` by removing the smooth locus |
| 40 | of the reduced scheme on `S_k`. This is the closed subset `S_k` of `Z`, for a natural number |
| 41 | `k`. -/ |
| 42 | abbrev Cycle.ComponentSingularClosedFiltration.cycleComponentSingularClosedFiltration (k : ℕ) : Closeds (Cycle.Support.cycleComponent X.left x) := |
| 43 | Stratification.Basic.reducedSmoothClosedFiltration (Cycle.Support.cycleComponentι X.left x ≫ X.hom) |
| 44 | (Stratification.Basic.singularLocusClosed (Cycle.Support.cycleComponentι X.left x ≫ X.hom)) k |
| 45 | |
| 46 | /-- Let `X` be a smooth integral projective scheme over `ℂ` and let `Z` be the reduced closure of |
| 47 | the scheme point `x`. Start with `S₀ = Z_sing` and obtain `S_{k+1}` by removing the smooth locus |
| 48 | of the reduced scheme on `S_k`. This is the image of `S_k` as a closed subset of the ambient |
| 49 | scheme `X`. -/ |
| 50 | def Cycle.ComponentSingularClosedFiltration.cycleComponentSingularAmbientClosedFiltration (k : ℕ) : Closeds X.left := |
| 51 | ⟨Cycle.Support.cycleComponentι X.left x '' (Cycle.ComponentSingularClosedFiltration.cycleComponentSingularClosedFiltration X x k : Set _), |
| 52 | (Cycle.Support.cycleComponentι X.left x).isClosedEmbedding.isClosedMap _ |
| 53 | (Cycle.ComponentSingularClosedFiltration.cycleComponentSingularClosedFiltration X x k).isClosed⟩ |
| 54 | |
| 55 | /-- Let `X` be a smooth integral projective scheme over `ℂ` and let `Z` be the reduced closure of |
| 56 | the scheme point `x`. Start with `S₀ = Z_sing` and obtain `S_{k+1}` by removing the smooth locus |
| 57 | of the reduced scheme on `S_k`. This is the analytically closed subset `S_k(ℂ) ⊆ X(ℂ)`, formed |
| 58 | by taking complex points whose underlying scheme points lie in `S_k`. -/ |
| 59 | def ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSingularAnalyticClosedFiltration (k : ℕ) : Closeds (ComplexPoint.Basic.ComplexSchemePoint X) := |
| 60 | ⟨ComplexPoint.Basic.Point.underlying ⁻¹' (Cycle.ComponentSingularClosedFiltration.cycleComponentSingularAmbientClosedFiltration X x k : Set X.left), |
| 61 | (Cycle.ComponentSingularClosedFiltration.cycleComponentSingularAmbientClosedFiltration X x k).isClosed.preimage |
| 62 | (ComplexPoint.Basic.ComplexSchemePoint.continuous_underlying_to_zariski X)⟩ |
| 63 | |
| 64 | /-- Let `X` be a smooth integral projective scheme over `ℂ` and let `Z` be the reduced closure of |
| 65 | the scheme point `x`. This is the smooth locus `Z_reg` as a scheme over `ℂ`, with structure |
| 66 | morphism induced by its inclusion in `Z` and then in `X`. -/ |
| 67 | abbrev ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSmoothLocusOver : Over (Spec ↧ℂ) := |
| 68 | Over.mk (((Cycle.Support.cycleComponentι X.left x ≫ X.hom).smoothLocus.ι ≫ |
| 69 | Cycle.Support.cycleComponentι X.left x) ≫ X.hom) |
| 70 | |
| 71 | instance ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSmoothLocusOver_locallyOfFiniteType : |
| 72 | LocallyOfFiniteType (ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSmoothLocusOver X x).hom := by |
| 73 | change LocallyOfFiniteType |
| 74 | (((Cycle.Support.cycleComponentι X.left x ≫ X.hom).smoothLocus.ι ≫ |
| 75 | Cycle.Support.cycleComponentι X.left x) ≫ X.hom) |
| 76 | rw [Category.assoc] |
| 77 | infer_instance |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry |