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