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