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.AbelianModuli.HilbertConstruction.Relative.FiniteModuleFieldDetection |
| 2 | import Mathlib.RingTheory.TensorProduct.Basic |
| 3 | |
| 4 | /-! # Algebra Surjectivity Field Detection -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.AlgebraSurjectivityFieldDetection |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A finite algebra map is surjective if it is surjective after every |
| 11 | field-valued base change of the ground ring. The proof uses its finite |
| 12 | cokernel over the intermediate algebra, so no finiteness over the ground ring is assumed. -/ |
| 13 | open scoped TensorProduct |
| 14 | universe u |
| 15 | |
| 16 | theorem finiteAlgebraMap_surjective_of_field_baseChanges |
| 17 | (R S T : Type u) [CommRing R] [CommRing S] [CommRing T] |
| 18 | [Algebra R S] [Algebra S T] [Algebra R T] [IsScalarTower R S T] [Module.Finite S T] |
| 19 | (h : ∀ (K : Type u) [Field K] [Algebra R K], Function.Surjective |
| 20 | (Algebra.TensorProduct.map (AlgHom.id K K) (IsScalarTower.toAlgHom R S T))) : |
| 21 | Function.Surjective (algebraMap S T) := by |
| 22 | let φ := Algebra.linearMap S T |
| 23 | let C := T ⧸ φ.range |
| 24 | let q : T →ₗ[R] C := φ.range.mkQ.restrictScalars R |
| 25 | have hqφ : q.comp (IsScalarTower.toAlgHom R S T).toLinearMap = 0 := by |
| 26 | ext s |
| 27 | exact (Submodule.Quotient.mk_eq_zero φ.range).mpr ⟨s, rfl⟩ |
| 28 | have hC : Subsingleton C := Relative.FiniteModuleFieldDetection.finiteAlgebraModule_subsingleton_of_fieldTensors R S C (by |
| 29 | intro K _ _ |
| 30 | apply subsingleton_of_forall_eq 0 |
| 31 | intro x |
| 32 | obtain ⟨y, rfl⟩ := q.lTensor_surjective K |
| 33 | (show Function.Surjective q from φ.range.mkQ_surjective) x |
| 34 | obtain ⟨z, rfl⟩ := h K y |
| 35 | change (q.lTensor K) ((IsScalarTower.toAlgHom R S T).toLinearMap.lTensor K z) = 0 |
| 36 | rw [← LinearMap.lTensor_comp_apply, hqφ, LinearMap.lTensor_zero, LinearMap.zero_apply]) |
| 37 | intro t |
| 38 | have ht : φ.range.mkQ t = 0 := @Subsingleton.elim C hC _ _ |
| 39 | exact (Submodule.Quotient.mk_eq_zero φ.range).mp ht |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.AlgebraSurjectivityFieldDetection |