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 | import Mathlib.RingTheory.Etale.Kaehler |
| 3 | import Mathlib.LinearAlgebra.Dimension.Constructions |
| 4 | |
| 5 | /-! # Differential Rank Localization -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Foundations.Scheme.DifferentialRankLocalization.Algebraic |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Presentation dimensions measured in a common localization |
| 13 | |
| 14 | The dimension of a submersive presentation can be computed after a nonzero |
| 15 | formally étale extension. In particular, affine charts of an integral scheme |
| 16 | can be compared in their common function field without presupposing their |
| 17 | dimensions are equal. |
| 18 | -/ |
| 19 | |
| 20 | open scoped TensorProduct |
| 21 | |
| 22 | universe u v w t z |
| 23 | |
| 24 | variable {R : Type u} {S : Type v} {T : Type w} |
| 25 | variable [CommRing R] [CommRing S] [CommRing T] |
| 26 | variable [Algebra R S] [Algebra R T] [Algebra S T] [IsScalarTower R S T] |
| 27 | variable [Nontrivial S] [Nontrivial T] |
| 28 | variable {ι : Type t} {σ : Type z} [Finite ι] [Finite σ] |
| 29 | |
| 30 | /-- The dimension of a submersive presentation is the rank of the differential |
| 31 | module after a nonzero formally étale extension. -/ |
| 32 | theorem submersive_dimension_eq_differential_finrank |
| 33 | [Algebra.FormallyEtale S T] (P : Algebra.SubmersivePresentation R S ι σ) : |
| 34 | P.dimension = Module.finrank T Ω[T⁄R] := by |
| 35 | let : Module.Free S Ω[S⁄R] := P.free_kaehlerDifferential |
| 36 | have hdim : Module.finrank S Ω[S⁄R] = P.dimension := |
| 37 | Module.finrank_eq_of_rank_eq P.rank_kaehlerDifferential |
| 38 | calc |
| 39 | P.dimension = Module.finrank S Ω[S⁄R] := hdim.symm |
| 40 | _ = Module.finrank T (T ⊗[S] Ω[S⁄R]) := Module.finrank_baseChange.symm |
| 41 | _ = Module.finrank T Ω[T⁄R] := |
| 42 | (KaehlerDifferential.tensorKaehlerEquivOfFormallyEtale R S T).finrank_eq |
| 43 | |
| 44 | /-- The preceding computation for any nonzero localization, including the |
| 45 | function field of a domain. -/ |
| 46 | theorem submersive_dimension_eq_localized_differential_finrank |
| 47 | (W : Submonoid S) [IsLocalization W T] |
| 48 | (P : Algebra.SubmersivePresentation R S ι σ) : |
| 49 | P.dimension = Module.finrank T Ω[T⁄R] := by |
| 50 | let : Algebra.FormallyEtale S T := Algebra.FormallyEtale.of_isLocalization W |
| 51 | exact submersive_dimension_eq_differential_finrank P |
| 52 | |
| 53 | /-- Specialization to a common fraction field. -/ |
| 54 | theorem submersive_dimension_eq_fraction_differential_finrank |
| 55 | [IsFractionRing S T] |
| 56 | (P : Algebra.SubmersivePresentation R S ι σ) : |
| 57 | P.dimension = Module.finrank T Ω[T⁄R] := |
| 58 | submersive_dimension_eq_localized_differential_finrank (nonZeroDivisors S) P |
| 59 | |
| 60 | /-- Standard smoothness itself therefore has the relative dimension measured |
| 61 | in any common fraction ring, independently of the chosen presentation. -/ |
| 62 | theorem standardSmooth_has_fraction_differential_dimension |
| 63 | [IsFractionRing S T] [Algebra.IsStandardSmooth R S] : |
| 64 | Algebra.IsStandardSmoothOfRelativeDimension (Module.finrank T Ω[T⁄R]) R S := by |
| 65 | obtain ⟨ι', σ', hσ, hι, ⟨P⟩⟩ := Algebra.IsStandardSmooth.out (R := R) (S := S) |
| 66 | let : Finite σ' := hσ |
| 67 | let : Finite ι' := hι |
| 68 | exact P.isStandardSmoothOfRelativeDimension |
| 69 | (submersive_dimension_eq_fraction_differential_finrank (T := T) P) |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.Foundations.Scheme.DifferentialRankLocalization.Algebraic |