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 | import OAI.AlgebraicGeometry.Foundations.Scheme.SmoothDomainDimension |
| 2 | import Mathlib.Basic.Complex.Basic |
| 3 | |
| 4 | /-! # Point Differential Rank -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Affine.PointDifferentialRank |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual cotangent fiber at a complex point of a smooth affine domain has the native chart dimension. -/ |
| 11 | |
| 12 | open scoped TensorProduct |
| 13 | |
| 14 | variable {A : Type} [CommRing A] [Algebra ℂ A] |
| 15 | |
| 16 | abbrev affinePointDifferentialFiber (x : A →ₐ[ℂ] ℂ) := |
| 17 | let _ : Algebra A ℂ := x.toRingHom.toAlgebra |
| 18 | ℂ ⊗[A] KaehlerDifferential ℂ A |
| 19 | |
| 20 | theorem affinePointDifferentialFiber_finrank [IsDomain A] [Algebra.Smooth ℂ A] (x : A →ₐ[ℂ] ℂ) : |
| 21 | Module.finrank ℂ (affinePointDifferentialFiber x) = Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ A := by |
| 22 | let : Algebra A ℂ := x.toRingHom.toAlgebra |
| 23 | let p : PrimeSpectrum ℂ := ⟨⊥, inferInstance⟩ |
| 24 | have h := Module.rankAtStalk_baseChange (R := A) (M := KaehlerDifferential ℂ A) p |
| 25 | have hg := Foundations.Scheme.SmoothDomainDimension.Algebraic.kaehler_rankAtStalk_eq_generic (R := ℂ) (S := A) (p.comap (algebraMap A ℂ)) |
| 26 | simpa using h.trans hg |
| 27 | |
| 28 | end |
| 29 | |
| 30 | end OAI.AlgebraicGeometry.Comparison.Betti.Affine.PointDifferentialRank |