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.NumberTheory.ArithmeticGroups.Lattices.SmoothDerivationExtension |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.CharZeroFieldSmooth |
| 3 | |
| 4 | /-! # Differential Constants -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.DifferentialConstants.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! In a characteristic-zero field extension, an element killed by all |
| 11 | base-field derivations is algebraic over the base. Over an algebraically |
| 12 | closed base it is a constant. -/ |
| 13 | |
| 14 | open scoped Classical |
| 15 | |
| 16 | theorem transcendental_exists_derivation_eq_one |
| 17 | {k K : Type*} [Field k] [CharZero k] [Field K] [Algebra k K] |
| 18 | {x : K} (hx : Transcendental k x) : ∃ D : Derivation k K K, D x = 1 := by |
| 19 | let f : Polynomial k →ₐ[k] K := Polynomial.aeval x |
| 20 | let : Algebra (Polynomial k) K := f.toRingHom.toAlgebra |
| 21 | let : IsScalarTower k (Polynomial k) K := |
| 22 | IsScalarTower.of_algebraMap_eq (fun c => (f.commutes c).symm) |
| 23 | let : FaithfulSMul (Polynomial k) K := |
| 24 | (faithfulSMul_iff_algebraMap_injective (Polynomial k) K).mpr |
| 25 | (transcendental_iff_injective.mp hx) |
| 26 | let : Algebra (FractionRing (Polynomial k)) K := FractionRing.liftAlgebra (Polynomial k) K |
| 27 | let : IsScalarTower (Polynomial k) (FractionRing (Polynomial k)) K := |
| 28 | FractionRing.isScalarTower_liftAlgebra (Polynomial k) K |
| 29 | let : Algebra.FormallySmooth (Polynomial k) (FractionRing (Polynomial k)) := |
| 30 | Algebra.FormallySmooth.of_isLocalization (nonZeroDivisors (Polynomial k)) |
| 31 | let : Algebra.FormallySmooth (FractionRing (Polynomial k)) K := |
| 32 | CharZeroFieldSmooth.Construction.charZero_field_extension_formallySmooth _ _ |
| 33 | let : Algebra.FormallySmooth (Polynomial k) K := |
| 34 | Algebra.FormallySmooth.comp (Polynomial k) (FractionRing (Polynomial k)) K |
| 35 | obtain ⟨D, hD⟩ := SmoothDerivationExtension.Construction.exists_derivation_extension_of_formallySmooth (Polynomial.mkDerivation k (1 : K)) |
| 36 | refine ⟨D, ?_⟩ |
| 37 | have he : algebraMap (Polynomial k) K Polynomial.X = x := Polynomial.aeval_X x |
| 38 | have hh := hD Polynomial.X |
| 39 | rwa [he, Polynomial.mkDerivation_X] at hh |
| 40 | |
| 41 | theorem algebraic_of_all_derivations_zero |
| 42 | {k K : Type*} [Field k] [CharZero k] [Field K] [Algebra k K] |
| 43 | (x : K) (hx : ∀ D : Derivation k K K, D x = 0) : IsAlgebraic k x := by |
| 44 | by_contra h |
| 45 | obtain ⟨D, hD⟩ := transcendental_exists_derivation_eq_one h |
| 46 | exact one_ne_zero (hD.symm.trans (hx D)) |
| 47 | |
| 48 | theorem constant_of_all_derivations_zero |
| 49 | {k K : Type*} [Field k] [CharZero k] [IsAlgClosed k] [Field K] [Algebra k K] |
| 50 | (x : K) (hx : ∀ D : Derivation k K K, D x = 0) : |
| 51 | ∃ c : k, algebraMap k K c = x := by |
| 52 | have h := algebraic_of_all_derivations_zero x hx |
| 53 | let L := IntermediateField.adjoin k {x} |
| 54 | let : FiniteDimensional k L := IntermediateField.adjoin.finiteDimensional h.isIntegral |
| 55 | let y : L := ⟨x, IntermediateField.subset_adjoin k {x} (Set.mem_singleton x)⟩ |
| 56 | obtain ⟨c, hc⟩ := (IsAlgClosed.algebraMap_bijective_of_isIntegral (k := k) (K := L)).surjective y |
| 57 | exact ⟨c, congrArg (fun z : L => z.val) hc⟩ |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.NumberTheory.ArithmeticGroups.Lattices.DifferentialConstants.Construction |