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 Mathlib.RingTheory.Smooth.StandardSmoothCotangent |
| 2 | |
| 3 | /-! # Standard Smooth Dimension -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Foundations.Scheme.StandardSmoothDimension.Algebraic |
| 6 | |
| 7 | /-! |
| 8 | # Intrinsic dimension of standard smooth presentations |
| 9 | |
| 10 | Finite submersive presentations of a nontrivial algebra have equal dimension: |
| 11 | that dimension is the rank of its actual module of Kähler differentials. The |
| 12 | same dimension persists under principal localization and under nontrivial base |
| 13 | change. These comparisons provide algebraic dimension compatibility for charts. |
| 14 | -/ |
| 15 | |
| 16 | open scoped TensorProduct |
| 17 | |
| 18 | universe u v w t |
| 19 | |
| 20 | variable {R : Type u} {S : Type v} [CommRing R] [CommRing S] [Algebra R S] |
| 21 | |
| 22 | /-- The relative dimension of a nontrivial standard smooth algebra is unique. -/ |
| 23 | theorem standardSmooth_dimension_unique [Nontrivial S] (n m : ℕ) |
| 24 | [Algebra.IsStandardSmoothOfRelativeDimension n R S] |
| 25 | [Algebra.IsStandardSmoothOfRelativeDimension m R S] : n = m := by |
| 26 | apply Nat.cast_injective (R := Cardinal) |
| 27 | exact (Algebra.IsStandardSmoothOfRelativeDimension.rank_kaehlerDifferential |
| 28 | (R := R) (S := S) n).symm.trans |
| 29 | (Algebra.IsStandardSmoothOfRelativeDimension.rank_kaehlerDifferential |
| 30 | (R := R) (S := S) m) |
| 31 | |
| 32 | /-- Any finite submersive presentation computes the intrinsic relative dimension. -/ |
| 33 | theorem standardSmooth_dimension_eq_presentation [Nontrivial S] (n : ℕ) |
| 34 | [Algebra.IsStandardSmoothOfRelativeDimension n R S] |
| 35 | {ι : Type w} {σ : Type t} [Finite ι] [Finite σ] |
| 36 | (P : Algebra.SubmersivePresentation R S ι σ) : n = P.dimension := by |
| 37 | apply Nat.cast_injective (R := Cardinal) |
| 38 | exact (Algebra.IsStandardSmoothOfRelativeDimension.rank_kaehlerDifferential |
| 39 | (R := R) (S := S) n).symm.trans P.rank_kaehlerDifferential |
| 40 | |
| 41 | /-- Two finite submersive presentations of the same nontrivial algebra have equal dimension. -/ |
| 42 | theorem submersivePresentation_dimension_eq [Nontrivial S] |
| 43 | {ι : Type w} {σ : Type t} {κ τ : Type*} |
| 44 | [Finite ι] [Finite σ] [Finite κ] [Finite τ] |
| 45 | (P : Algebra.SubmersivePresentation R S ι σ) |
| 46 | (Q : Algebra.SubmersivePresentation R S κ τ) : P.dimension = Q.dimension := by |
| 47 | apply Nat.cast_injective (R := Cardinal) |
| 48 | exact P.rank_kaehlerDifferential.symm.trans Q.rank_kaehlerDifferential |
| 49 | |
| 50 | /-- Principal localization preserves a proved standard-smooth relative dimension. -/ |
| 51 | theorem standardSmoothDimension_localizationAway |
| 52 | {T : Type*} [CommRing T] [Algebra R T] [Algebra S T] [IsScalarTower R S T] |
| 53 | (n : ℕ) (r : S) [Algebra.IsStandardSmoothOfRelativeDimension n R S] |
| 54 | [IsLocalization.Away r T] : Algebra.IsStandardSmoothOfRelativeDimension n R T := by |
| 55 | let : Algebra.IsStandardSmoothOfRelativeDimension 0 S T := |
| 56 | Algebra.IsStandardSmoothOfRelativeDimension.localization_away r |
| 57 | simpa only [Nat.zero_add] using |
| 58 | (Algebra.IsStandardSmoothOfRelativeDimension.trans R S T (n := n) (m := 0)) |
| 59 | |
| 60 | /-- A presentation of a nonempty principal localization has the original presentation dimension. -/ |
| 61 | theorem submersivePresentation_dimension_localizationAway |
| 62 | {T : Type*} [CommRing T] [Nontrivial T] |
| 63 | [Algebra R T] [Algebra S T] [IsScalarTower R S T] |
| 64 | (r : S) [IsLocalization.Away r T] |
| 65 | {ι : Type w} {σ : Type t} {κ τ : Type*} |
| 66 | [Finite ι] [Finite σ] [Finite κ] [Finite τ] |
| 67 | (P : Algebra.SubmersivePresentation R S ι σ) |
| 68 | (Q : Algebra.SubmersivePresentation R T κ τ) : P.dimension = Q.dimension := by |
| 69 | let : Algebra.IsStandardSmoothOfRelativeDimension P.dimension R S := |
| 70 | P.isStandardSmoothOfRelativeDimension rfl |
| 71 | let : Algebra.IsStandardSmoothOfRelativeDimension P.dimension R T := |
| 72 | standardSmoothDimension_localizationAway (R := R) P.dimension r |
| 73 | exact standardSmooth_dimension_eq_presentation P.dimension Q |
| 74 | |
| 75 | /-- A presentation after nontrivial scalar base change has the original relative dimension. -/ |
| 76 | theorem submersivePresentation_dimension_baseChange |
| 77 | {T : Type*} [CommRing T] [Algebra R T] [Nontrivial (T ⊗[R] S)] |
| 78 | {ι : Type w} {σ : Type t} {κ τ : Type*} |
| 79 | [Finite ι] [Finite σ] [Finite κ] [Finite τ] |
| 80 | (P : Algebra.SubmersivePresentation R S ι σ) |
| 81 | (Q : Algebra.SubmersivePresentation T (T ⊗[R] S) κ τ) : |
| 82 | P.dimension = Q.dimension := by |
| 83 | let : Algebra.IsStandardSmoothOfRelativeDimension P.dimension R S := |
| 84 | P.isStandardSmoothOfRelativeDimension rfl |
| 85 | exact standardSmooth_dimension_eq_presentation P.dimension Q |
| 86 | |
| 87 | end OAI.AlgebraicGeometry.Foundations.Scheme.StandardSmoothDimension.Algebraic |