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 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | https://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | This file has been modified. |
| 16 | -/ |
| 17 | import OAI.AlgebraicGeometry.Cycle.SupportEq |
| 18 | import OAI.AlgebraicGeometry.Cycle.ComponentDimension |
| 19 | import OAI.AlgebraicGeometry.Smooth.DimensionFormula |
| 20 | import OAI.CategoryTheory.ConcreteCategory.Notation |
| 21 | import Mathlib.AlgebraicGeometry.AlgClosed.Basic |
| 22 | import Mathlib.Analysis.Complex.Polynomial.Basic |
| 23 | |
| 24 | /-! # Component Normal -/ |
| 25 | |
| 26 | namespace OAI.AlgebraicGeometry.Cycle.ComponentNormal |
| 27 | |
| 28 | noncomputable section |
| 29 | |
| 30 | open _root_.AlgebraicGeometry |
| 31 | |
| 32 | /-! |
| 33 | # Smooth geometry of cycle components |
| 34 | |
| 35 | The reduced closure of a point in a smooth projective complex variety is an integral projective |
| 36 | scheme. This file records that its smooth locus is dense, that its smooth closed points are |
| 37 | dense, and that a smooth closed complex point can be chosen together with ambient étale |
| 38 | coordinates. |
| 39 | |
| 40 | For an ambient scheme smooth of relative dimension `d`, a component whose generic point has |
| 41 | coheight `p` has dimension at most `d - p`. The later module `Smooth.CatenaryDimension` upgrades |
| 42 | this bound to equality. A simultaneous coordinate normal form of exact codimension `p` is still |
| 43 | not asserted here. |
| 44 | -/ |
| 45 | |
| 46 | open _root_.CategoryTheory _root_.Topology _root_.TopologicalSpace |
| 47 | |
| 48 | variable (X : Over (Spec ↧ℂ)) |
| 49 | |
| 50 | /-- The smooth locus of a reduced cycle component is Zariski dense. -/ |
| 51 | lemma dense_cycleComponent_smoothLocus |
| 52 | [IsIntegral X.left] [Smooth X.hom] [Foundations.ProjectiveSpaceIs.IsProjective X.hom] (x : X.left) : |
| 53 | Dense |
| 54 | ((Support.cycleComponentι X.left x ≫ X.hom).smoothLocus : |
| 55 | Set (Support.cycleComponent X.left x)) := |
| 56 | (Support.cycleComponentι X.left x ≫ X.hom).dense_smoothLocus_of_perfectField |
| 57 | |
| 58 | /-- The smooth locus of an integral cycle component is irreducible. -/ |
| 59 | noncomputable instance cycleComponent_smoothLocus_irreducibleSpace |
| 60 | [IsIntegral X.left] [Smooth X.hom] [Foundations.ProjectiveSpaceIs.IsProjective X.hom] (x : X.left) : |
| 61 | IrreducibleSpace |
| 62 | (Support.cycleComponentι X.left x ≫ X.hom).smoothLocus := by |
| 63 | obtain ⟨y, hy⟩ := (dense_cycleComponent_smoothLocus X x).nonempty |
| 64 | let : Nonempty |
| 65 | (Support.cycleComponentι X.left x ≫ X.hom).smoothLocus := |
| 66 | ⟨⟨y, hy⟩⟩ |
| 67 | exact |
| 68 | (Support.cycleComponentι X.left x ≫ X.hom).smoothLocus.ι.isOpenEmbedding.irreducibleSpace |
| 69 | |
| 70 | /-- The scheme points that are both smooth and closed are dense in a reduced cycle component. -/ |
| 71 | lemma dense_cycleComponent_smooth_closedPoints |
| 72 | [IsIntegral X.left] [Smooth X.hom] [Foundations.ProjectiveSpaceIs.IsProjective X.hom] (x : X.left) : |
| 73 | Dense |
| 74 | (((Support.cycleComponentι X.left x ≫ X.hom).smoothLocus : |
| 75 | Set (Support.cycleComponent X.left x)) ∩ |
| 76 | closedPoints (Support.cycleComponent X.left x)) := by |
| 77 | let f := Support.cycleComponentι X.left x ≫ X.hom |
| 78 | let : JacobsonSpace (Support.cycleComponent X.left x) := |
| 79 | LocallyOfFiniteType.jacobsonSpace f |
| 80 | exact dense_iff_closure_eq.mpr ((JacobsonSpace.closure_inter_closedPoints_eq_closure |
| 81 | f.smoothLocus.2.isLocallyClosed).trans |
| 82 | (dense_iff_closure_eq.mp (dense_cycleComponent_smoothLocus X x))) |
| 83 | |
| 84 | /-- The reduced component of a point of coheight `p` in a smooth complex `d`-fold has |
| 85 | topological Krull dimension at most `d - p`. -/ |
| 86 | lemma topologicalKrullDim_cycleComponent_le_sub |
| 87 | [IsIntegral X.left] [Smooth X.hom] |
| 88 | [Foundations.ProjectiveSpaceIs.IsProjective X.hom] (x : X.left) {d p : ℕ} |
| 89 | [SmoothOfRelativeDimension d X.hom] (hx : Order.coheight x = p) : |
| 90 | topologicalKrullDim (Support.cycleComponent X.left x) ≤ d - p := by |
| 91 | rw [ComponentDimension.topologicalKrullDim_cycleComponent] |
| 92 | exact WithBot.coe_le_coe.mpr |
| 93 | (OAI.AlgebraicGeometry.Smooth.DimensionFormula.SmoothOfRelativeDimension.height_le_sub_of_coheight_eq |
| 94 | (f := X.hom) (d := d) x hx) |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.AlgebraicGeometry.Cycle.ComponentNormal |