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 | |
| 16 | This file has been modified. |
| 17 | -/ |
| 18 | |
| 19 | import HodgeConjecture.Lemmas.AlgebraicGeometry.Cycle.Support |
| 20 | import HodgeConjecture.Lemmas.AlgebraicGeometry.Cycle.Component.Dimension |
| 21 | import HodgeConjecture.Lemmas.AlgebraicGeometry.Smooth.DimensionFormula |
| 22 | import HodgeConjecture.Mathlib.CategoryTheory.ConcreteCategory.Notation |
| 23 | import Mathlib.AlgebraicGeometry.AlgClosed.Basic |
| 24 | import Mathlib.Analysis.Complex.Polynomial.Basic |
| 25 | |
| 26 | namespace OAI.AlgebraicGeometry.Cycle.ComponentNormal |
| 27 | |
| 28 | open _root_.AlgebraicGeometry |
| 29 | |
| 30 | /-! |
| 31 | # Smooth geometry of cycle components |
| 32 | |
| 33 | The reduced closure of a point in a smooth projective complex variety is an integral projective |
| 34 | scheme. This file records that its smooth locus is dense, that its smooth closed points are |
| 35 | dense, and that a smooth closed complex point can be chosen together with ambient étale |
| 36 | coordinates. |
| 37 | |
| 38 | For an ambient scheme smooth of relative dimension `d`, a component whose generic point has |
| 39 | coheight `p` has dimension at most `d - p`. The later module `Smooth.CatenaryDimension` upgrades |
| 40 | this bound to equality. A simultaneous coordinate normal form of exact codimension `p` is still |
| 41 | not asserted here. |
| 42 | -/ |
| 43 | |
| 44 | noncomputable section |
| 45 | |
| 46 | open _root_.CategoryTheory _root_.Topology _root_.TopologicalSpace |
| 47 | |
| 48 | section |
| 49 | |
| 50 | variable (X : Over (Spec ↧ℂ)) |
| 51 | |
| 52 | /-- The smooth locus of a reduced cycle component is Zariski dense. -/ |
| 53 | lemma dense_cycleComponent_smoothLocus |
| 54 | [IsIntegral X.left] [Smooth X.hom] [_root_.OAI.AlgebraicGeometry.Foundations.ProjectiveSpaceIs.IsProjective X.hom] (x : X.left) : |
| 55 | Dense |
| 56 | ((_root_.OAI.AlgebraicGeometry.Cycle.Support.cycleComponentι X.left x ≫ X.hom).smoothLocus : |
| 57 | Set (_root_.OAI.AlgebraicGeometry.Cycle.Support.cycleComponent X.left x)) := |
| 58 | (_root_.OAI.AlgebraicGeometry.Cycle.Support.cycleComponentι X.left x ≫ X.hom).dense_smoothLocus_of_perfectField |
| 59 | |
| 60 | /-- The smooth locus of an integral cycle component is irreducible. -/ |
| 61 | noncomputable instance cycleComponent_smoothLocus_irreducibleSpace |
| 62 | [IsIntegral X.left] [Smooth X.hom] [_root_.OAI.AlgebraicGeometry.Foundations.ProjectiveSpaceIs.IsProjective X.hom] (x : X.left) : |
| 63 | IrreducibleSpace |
| 64 | (_root_.OAI.AlgebraicGeometry.Cycle.Support.cycleComponentι X.left x ≫ X.hom).smoothLocus := by |
| 65 | obtain ⟨y, hy⟩ := (dense_cycleComponent_smoothLocus X x).nonempty |
| 66 | let : Nonempty |
| 67 | (_root_.OAI.AlgebraicGeometry.Cycle.Support.cycleComponentι X.left x ≫ X.hom).smoothLocus := |
| 68 | ⟨⟨y, hy⟩⟩ |
| 69 | exact |
| 70 | (_root_.OAI.AlgebraicGeometry.Cycle.Support.cycleComponentι X.left x ≫ X.hom).smoothLocus.ι.isOpenEmbedding.irreducibleSpace |
| 71 | |
| 72 | /-- The scheme points that are both smooth and closed are dense in a reduced cycle component. -/ |
| 73 | lemma dense_cycleComponent_smooth_closedPoints |
| 74 | [IsIntegral X.left] [Smooth X.hom] [_root_.OAI.AlgebraicGeometry.Foundations.ProjectiveSpaceIs.IsProjective X.hom] (x : X.left) : |
| 75 | Dense |
| 76 | (((_root_.OAI.AlgebraicGeometry.Cycle.Support.cycleComponentι X.left x ≫ X.hom).smoothLocus : |
| 77 | Set (_root_.OAI.AlgebraicGeometry.Cycle.Support.cycleComponent X.left x)) ∩ |
| 78 | closedPoints (_root_.OAI.AlgebraicGeometry.Cycle.Support.cycleComponent X.left x)) := by |
| 79 | let f := _root_.OAI.AlgebraicGeometry.Cycle.Support.cycleComponentι X.left x ≫ X.hom |
| 80 | let : JacobsonSpace (_root_.OAI.AlgebraicGeometry.Cycle.Support.cycleComponent X.left x) := |
| 81 | LocallyOfFiniteType.jacobsonSpace f |
| 82 | exact dense_iff_closure_eq.mpr ((JacobsonSpace.closure_inter_closedPoints_eq_closure |
| 83 | f.smoothLocus.2.isLocallyClosed).trans |
| 84 | (dense_iff_closure_eq.mp (dense_cycleComponent_smoothLocus X x))) |
| 85 | |
| 86 | /-- The reduced component of a point of coheight `p` in a smooth complex `d`-fold has |
| 87 | topological Krull dimension at most `d - p`. -/ |
| 88 | lemma topologicalKrullDim_cycleComponent_le_sub |
| 89 | [IsIntegral X.left] [Smooth X.hom] |
| 90 | [_root_.OAI.AlgebraicGeometry.Foundations.ProjectiveSpaceIs.IsProjective X.hom] (x : X.left) {d p : ℕ} |
| 91 | [SmoothOfRelativeDimension d X.hom] (hx : Order.coheight x = p) : |
| 92 | topologicalKrullDim (_root_.OAI.AlgebraicGeometry.Cycle.Support.cycleComponent X.left x) ≤ d - p := by |
| 93 | rw [_root_.OAI.AlgebraicGeometry.Cycle.ComponentDimension.topologicalKrullDim_cycleComponent] |
| 94 | exact WithBot.coe_le_coe.mpr |
| 95 | (_root_.OAI.AlgebraicGeometry.Smooth.DimensionFormula.SmoothOfRelativeDimension.height_le_sub_of_coheight_eq |
| 96 | (f := X.hom) (d := d) x hx) |
| 97 | |
| 98 | end |
| 99 | |
| 100 | end |
| 101 | |
| 102 | end OAI.AlgebraicGeometry.Cycle.ComponentNormal |