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.RingTheory.TranscendenceDegreeKrullDimension |
| 21 | |
| 22 | import HodgeConjecture.Lemmas.AlgebraicGeometry.Cycle.Component.Dimension |
| 23 | import HodgeConjecture.Lemmas.AlgebraicGeometry.ComplexPoint.SmoothCoordinates |
| 24 | import HodgeConjecture.Lemmas.AlgebraicGeometry.Smooth.DimensionFormula |
| 25 | import HodgeConjecture.Lemmas.AlgebraicGeometry.Smooth.PointwiseDimension |
| 26 | import HodgeConjecture.Mathlib.CategoryTheory.ConcreteCategory.Notation |
| 27 | import HodgeConjecture.Mathlib.Algebra.PolynomialCatenary |
| 28 | import Mathlib.RingTheory.KrullDimension.Field |
| 29 | import Mathlib.RingTheory.KrullDimension.Polynomial |
| 30 | import Mathlib.RingTheory.NoetherNormalization |
| 31 | import Mathlib.RingTheory.Unramified.LocalStructure |
| 32 | |
| 33 | namespace OAI.AlgebraicGeometry.Smooth.CatenaryDimension |
| 34 | |
| 35 | open _root_.RingHom |
| 36 | |
| 37 | /-! |
| 38 | # Catenary dimension formulas for smooth complex schemes |
| 39 | |
| 40 | This file proves the arbitrary-dimensional pointwise dimension formula for smooth complex |
| 41 | schemes. Its commutative-algebra bridge is |
| 42 | `HodgeConjecture.Lemmas.RingTheory.TranscendenceDegreeKrullDimension`, which compares quotient |
| 43 | dimensions under a quasi-finite map of finite-type algebras, using Noether normalization and the |
| 44 | finite extension of residue fields. |
| 45 | |
| 46 | Applied to the étale polynomial coordinates of a standard-smooth algebra, the bridge transfers |
| 47 | the arbitrary-prime polynomial dimension formula. An affine neighborhood then supplies enough |
| 48 | specialization chains to prove `height x + coheight x = d` at every point of a smooth complex |
| 49 | `d`-fold. Consequently, the reduced closure of a point of coheight `p` has dimension `d - p`. |
| 50 | -/ |
| 51 | |
| 52 | noncomputable section |
| 53 | |
| 54 | open _root_.CategoryTheory _root_.Ideal _root_.MvPolynomial _root_.Topology |
| 55 | |
| 56 | namespace RingHom |
| 57 | open _root_.RingHom |
| 58 | |
| 59 | /-- For every prime of a standard-smooth complex algebra of relative dimension `d`, its height |
| 60 | plus the dimension of its quotient is `d`. -/ |
| 61 | lemma IsStandardSmoothOfRelativeDimension.height_add_ringKrullDim_quotient_eq_complex |
| 62 | {S : Type} [CommRing S] {f : ℂ →+* S} {d : ℕ} |
| 63 | (hf : f.IsStandardSmoothOfRelativeDimension d) |
| 64 | (P : Ideal S) [P.IsPrime] : |
| 65 | (↑P.height : WithBot ℕ∞) + ringKrullDim (S ⧸ P) = d := by |
| 66 | obtain ⟨g, hgC, hg⟩ := hf.exists_etale_mvPolynomial |
| 67 | let : Algebra ℂ S := f.toAlgebra |
| 68 | let : Algebra (MvPolynomial (Fin d) ℂ) S := g.toAlgebra |
| 69 | let : IsScalarTower ℂ (MvPolynomial (Fin d) ℂ) S := |
| 70 | IsScalarTower.of_algebraMap_eq' hgC.symm |
| 71 | let : Algebra.Etale (MvPolynomial (Fin d) ℂ) S := |
| 72 | RingHom.etale_algebraMap.mp hg |
| 73 | let : Algebra.FiniteType ℂ S := |
| 74 | Algebra.FiniteType.trans (R := ℂ) (S := MvPolynomial (Fin d) ℂ) |
| 75 | (A := S) inferInstance inferInstance |
| 76 | have hheight : P.height = (P.under (MvPolynomial (Fin d) ℂ)).height := |
| 77 | _root_.OAI.Algebra.RingTheory.SmoothKrullDimension.QuasiFinite.height_eq_height_under P |
| 78 | have hquot : ringKrullDim (S ⧸ P) = |
| 79 | ringKrullDim (MvPolynomial (Fin d) ℂ ⧸ P.under (MvPolynomial (Fin d) ℂ)) := |
| 80 | _root_.OAI.Algebra.RingTheory.TranscendenceDegreeKrullDimension.QuasiFinite.ringKrullDim_quotient_eq |
| 81 | (k := ℂ) (R := MvPolynomial (Fin d) ℂ) P |
| 82 | rw [hheight, hquot] |
| 83 | exact _root_.OAI.Algebra.Foundations.PolynomialCatenaryT.PolynomialCatenary.MvPolynomial.height_add_ringKrullDim_quotient_eq_fin |
| 84 | (P.under (MvPolynomial (Fin d) ℂ)) |
| 85 | |
| 86 | end RingHom |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.AlgebraicGeometry.Smooth.CatenaryDimension |