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.PadicHodge.GeometricComparison.SemilinearCharpolyTo |
| 2 | |
| 3 | /-! # Equivalent Scalar Extension -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.EquivalentScalarExtension.ScalarExtension |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Scalar extension along an actual field equivalence is a semilinear equivalence. -/ |
| 10 | |
| 11 | open scoped TensorProduct |
| 12 | |
| 13 | variable {R S : Type*} [Field R] [Field S] [Algebra R S] |
| 14 | (σ : R ≃+* S) (hσ : algebraMap R S = σ.toRingHom) |
| 15 | (V : Type*) [AddCommGroup V] [Module R V] |
| 16 | |
| 17 | def unitMap : V →ₛₗ[σ.toRingHom] (S ⊗[R] V) where |
| 18 | toFun v := 1 ⊗ₜ[R] v |
| 19 | map_add' v w := TensorProduct.tmul_add 1 v w |
| 20 | map_smul' r v := by |
| 21 | change 1 ⊗ₜ[R] (r • v) = σ r • (1 ⊗ₜ[R] v) |
| 22 | have hr : σ r = algebraMap R S r := (DFunLike.congr_fun hσ r).symm |
| 23 | rw [hr, IsScalarTower.algebraMap_smul, TensorProduct.tmul_smul] |
| 24 | |
| 25 | theorem unitMap_bijective : Function.Bijective (unitMap σ hσ V) := by |
| 26 | constructor |
| 27 | · exact Module.Flat.tensorProduct_mk_injective (R := R) (S := S) (M := V) |
| 28 | · intro x |
| 29 | induction x using TensorProduct.inductionOn with |
| 30 | | tmul a v => |
| 31 | obtain ⟨r, rfl⟩ := σ.surjective a |
| 32 | refine ⟨r • v, ?_⟩ |
| 33 | rw [(unitMap σ hσ V).map_smulₛₗ] |
| 34 | change σ r • (1 ⊗ₜ[R] v) = σ r ⊗ₜ[R] v |
| 35 | rw [TensorProduct.smul_tmul', smul_eq_mul, mul_one] |
| 36 | | add x y hx hy => |
| 37 | obtain ⟨v, rfl⟩ := hx |
| 38 | obtain ⟨w, rfl⟩ := hy |
| 39 | exact ⟨v + w, (unitMap σ hσ V).map_add v w⟩ |
| 40 | |
| 41 | def equiv : V ≃ₛₗ[σ.toRingHom] (S ⊗[R] V) := |
| 42 | LinearEquiv.ofBijective (unitMap σ hσ V) (unitMap_bijective σ hσ V) |
| 43 | |
| 44 | theorem equiv_apply (v : V) : equiv σ hσ V v = 1 ⊗ₜ[R] v := rfl |
| 45 | |
| 46 | theorem equiv_naturality {W : Type*} [AddCommGroup W] [Module R W] |
| 47 | (f : V →ₗ[R] W) (v : V) : |
| 48 | equiv σ hσ W (f v) = f.baseChange S (equiv σ hσ V v) := rfl |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.NumberTheory.PadicHodge.GeometricComparison.EquivalentScalarExtension.ScalarExtension |