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.CycleClass.Thom.SmoothAffineGlobalCoordinates |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Finite.TypeCharacters |
| 3 | import OAI.AlgebraicGeometry.Betti.ProjectiveCohomology |
| 4 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.FiniteTypeSchemeTopology |
| 5 | import OAI.AlgebraicGeometry.Foundations.Scheme.OpenFunctionField |
| 6 | import Mathlib.RingTheory.Kaehler.Polynomial |
| 7 | |
| 8 | /-! # Etale Coordinate Dimension -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.EtaleCoordinateDimension.Constructions |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! The number of etale polynomial coordinates is the actual smooth |
| 15 | dimension. The equality follows from the base-change theorem for |
| 16 | Kahler differentials and the native affine dimension comparison. -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.CycleClass.Thom.SmoothAffineGlobalCoordinates.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Finite.TypeCharacters.Constructions |
| 21 | |
| 22 | set_option backward.isDefEq.respectTransparency false |
| 23 | set_option backward.isDefEq.respectTransparency.types false |
| 24 | |
| 25 | theorem etale_generic_rank (A : Type) [CommRing A] [IsDomain A] [Algebra ℂ A] |
| 26 | (n : ℕ) [Algebra (MvPolynomial (Fin n) ℂ) A] [IsScalarTower ℂ (MvPolynomial (Fin n) ℂ) A] |
| 27 | [Algebra.FormallyEtale (MvPolynomial (Fin n) ℂ) A] : Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ A = n := by |
| 28 | let P := MvPolynomial (Fin n) ℂ |
| 29 | let q : PrimeSpectrum A := ⟨⊥, inferInstance⟩ |
| 30 | have hfin : Module.finrank P Ω[P⁄ℂ] = n := by |
| 31 | simpa only [Fintype.card_fin] using Module.finrank_eq_card_basis (KaehlerDifferential.mvPolynomialBasis ℂ (Fin n)) |
| 32 | calc |
| 33 | Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ A = Module.rankAtStalk Ω[A⁄ℂ] q := rfl |
| 34 | _ = Module.rankAtStalk Ω[P⁄ℂ] (q.comap (algebraMap P A)) := |
| 35 | Module.rankAtStalk_isBaseChange (KaehlerDifferential.isBaseChange_of_formallyEtale ℂ P A) q |
| 36 | _ = Module.finrank P Ω[P⁄ℂ] := by simp |
| 37 | _ = n := hfin |
| 38 | |
| 39 | theorem affine_coordinate_dimension (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) [IsAffine X.left] [IsIntegral X.left] [Smooth X.hom] |
| 40 | (n : ℕ) [Algebra (MvPolynomial (Fin n) ℂ) Γ(X.left, ⊤)] |
| 41 | [IsScalarTower ℂ (MvPolynomial (Fin n) ℂ) Γ(X.left, ⊤)] |
| 42 | [Algebra.FormallyEtale (MvPolynomial (Fin n) ℂ) Γ(X.left, ⊤)] : |
| 43 | Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom = n := by |
| 44 | let : Algebra.FiniteType ℂ Γ(X.left, ⊤) := ComplexPoints.Analytic.FiniteTypeSchemeTopology.affineOverGamma_finiteType X |
| 45 | obtain ⟨χ, _⟩ := Finite.TypeCharacters.Constructions.exists_character_ne_zero ℂ Γ(X.left, ⊤) 1 one_ne_zero |
| 46 | have h := SmoothAffineGlobalCoordinates.Constructions.affineNative_modelDimension X ((ComplexPoints.Analytic.AffineSchemePointTopology.affineNativePointHomeomorph X).symm χ) |
| 47 | exact h.trans (etale_generic_rank Γ(X.left, ⊤) n) |
| 48 | |
| 49 | theorem open_coordinate_dimension (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) |
| 50 | [IsAffine X.left] [IsIntegral X.left] [Smooth X.hom] |
| 51 | (j : X ⟶ V.toOver) [IsOpenImmersion j.left] |
| 52 | (n : ℕ) [Algebra (MvPolynomial (Fin n) ℂ) Γ(X.left, ⊤)] |
| 53 | [IsScalarTower ℂ (MvPolynomial (Fin n) ℂ) Γ(X.left, ⊤)] |
| 54 | [Algebra.FormallyEtale (MvPolynomial (Fin n) ℂ) Γ(X.left, ⊤)] : n = V.complexDimension := by |
| 55 | let : IsIntegral V.toOver.left := inferInstanceAs (IsIntegral V.carrier) |
| 56 | have hx := affine_coordinate_dimension X n |
| 57 | have hd := Foundations.Scheme.OpenFunctionField.schemeTranscendenceDimension_openImmersion j.left V.structureMap |
| 58 | have hj : j.left ≫ V.structureMap = X.hom := j.w |
| 59 | rw [hj, Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension_eq_functionFieldDifferentialDimension] at hd |
| 60 | rw [← Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety.complexDimension_eq_transcendenceDimension V] at hd |
| 61 | exact hx.symm.trans hd |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.CycleClass.Thom.EtaleCoordinateDimension.Constructions |