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.ComplexPoint.ClosedImmersion |
| 18 | import OAI.AlgebraicGeometry.ComplexPoint.Projective |
| 19 | import OAI.CategoryTheory.ConcreteCategory.Notation |
| 20 | |
| 21 | /-! # Projective Compact -/ |
| 22 | |
| 23 | namespace OAI.AlgebraicGeometry |
| 24 | |
| 25 | open _root_.AlgebraicGeometry |
| 26 | |
| 27 | /-! |
| 28 | # Analytic compactness of a projective complex scheme |
| 29 | |
| 30 | A projective presentation of a complex scheme is a closed immersion into scheme-theoretic |
| 31 | projective space. On complex points it therefore induces a closed topological embedding into the |
| 32 | complex points of projective space, which are analytically compact. |
| 33 | |
| 34 | Consequently the analytic complex points of any projective complex scheme form a compact space. |
| 35 | -/ |
| 36 | |
| 37 | open _root_.CategoryTheory Opposite _root_.TopologicalSpace _root_.Topology |
| 38 | |
| 39 | namespace ComplexPoint.ProjectiveCompact.ProjectiveSpace.Presentation |
| 40 | |
| 41 | /-- The immersion of a projective presentation, bundled over the complex base. -/ |
| 42 | noncomputable abbrev overImmersion {X : Scheme} {f : X ⟶ Spec ↧ℂ} |
| 43 | (P : Foundations.ProjectiveSpaceIs.ProjectiveSpace.Presentation f) : |
| 44 | Over.mk f ⟶ |
| 45 | Over.mk (Foundations.ProjectiveSpaceIs.ProjectiveSpace.toBase (Fin (P.ambientDimension + 1)) (Spec ↧ℂ)) := |
| 46 | Over.homMk P.immersion P.immersion_toBase |
| 47 | |
| 48 | /-- The continuous map on complex points induced by an explicit projective presentation. -/ |
| 49 | noncomputable def analyticImmersion {X : Scheme} {f : X ⟶ Spec ↧ℂ} |
| 50 | (P : Foundations.ProjectiveSpaceIs.ProjectiveSpace.Presentation f) : |
| 51 | @ContinuousMap (Basic.ComplexSchemePoint (Over.mk f)) |
| 52 | (Basic.ComplexSchemePoint (Over.mk (Foundations.ProjectiveSpaceIs.ProjectiveSpace.toBase (Fin (P.ambientDimension + 1)) (Spec ↧ℂ)))) |
| 53 | Basic.Point.analyticTopology Basic.Point.analyticTopology := |
| 54 | Basic.Point.continuousMap (overImmersion P) |
| 55 | |
| 56 | /-- The analytic map of an explicit projective presentation is a closed topological |
| 57 | embedding. -/ |
| 58 | lemma analyticImmersion_isClosedEmbedding {X : Scheme} {f : X ⟶ Spec ↧ℂ} |
| 59 | (P : Foundations.ProjectiveSpaceIs.ProjectiveSpace.Presentation f) : |
| 60 | @IsClosedEmbedding (Basic.ComplexSchemePoint (Over.mk f)) |
| 61 | (Basic.ComplexSchemePoint (Over.mk (Foundations.ProjectiveSpaceIs.ProjectiveSpace.toBase (Fin (P.ambientDimension + 1)) (Spec ↧ℂ)))) |
| 62 | Basic.Point.analyticTopology Basic.Point.analyticTopology (analyticImmersion P) := by |
| 63 | let : IsClosedImmersion (overImmersion P).left := P.isClosedImmersion |
| 64 | exact Basic.ComplexSchemePoint.isClosedEmbedding_map_of_closedImmersion (overImmersion P) |
| 65 | |
| 66 | /-- The analytic complex points of an explicit projective presentation form a compact space. -/ |
| 67 | theorem complexPoint_compactSpace {X : Scheme} {f : X ⟶ Spec ↧ℂ} |
| 68 | (P : Foundations.ProjectiveSpaceIs.ProjectiveSpace.Presentation f) : |
| 69 | @CompactSpace (Basic.ComplexSchemePoint (Over.mk f)) Basic.Point.analyticTopology := by |
| 70 | exact (analyticImmersion_isClosedEmbedding P).compactSpace |
| 71 | |
| 72 | end ComplexPoint.ProjectiveCompact.ProjectiveSpace.Presentation |
| 73 | |
| 74 | /-- The analytic complex points of a projective complex scheme form a compact space. -/ |
| 75 | noncomputable instance Foundations.ProjectiveSpaceIs.IsProjective.complexPoint_compactSpace {X : Over (Spec ↧ℂ)} |
| 76 | [h : Foundations.ProjectiveSpaceIs.IsProjective X.hom] : CompactSpace (ComplexPoint.Basic.ComplexSchemePoint X) := |
| 77 | ComplexPoint.ProjectiveCompact.ProjectiveSpace.Presentation.complexPoint_compactSpace |
| 78 | (Classical.choice h.nonempty_presentation) |
| 79 | |
| 80 | end OAI.AlgebraicGeometry |