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 |
| 2 | |
| 3 | /-! # Semilinear Base Change -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.PeriodInvariants.SemilinearBaseChange |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Scalar extension of semilinear operators |
| 11 | |
| 12 | When the two scalar endomorphisms commute with the algebra map, their |
| 13 | tensor product acts semilinearly over the larger scalar ring. |
| 14 | -/ |
| 15 | |
| 16 | open scoped TensorProduct |
| 17 | |
| 18 | variable {R S M : Type*} [CommRing R] [CommRing S] [Algebra R S] |
| 19 | [AddCommGroup M] [Module R M] |
| 20 | variable (σ : R →+* R) (τ : S →+* S) |
| 21 | (h : ∀ r, τ (algebraMap R S r) = algebraMap R S (σ r)) |
| 22 | |
| 23 | def coefficientMap : S →ₛₗ[σ] S where |
| 24 | toFun := τ |
| 25 | map_add' := map_add τ |
| 26 | map_smul' r x := by |
| 27 | rw [Algebra.smul_def, Algebra.smul_def, map_mul, h] |
| 28 | |
| 29 | def baseChange (F : M →ₛₗ[σ] M) : S ⊗[R] M →ₛₗ[τ] S ⊗[R] M where |
| 30 | toFun := TensorProduct.map (coefficientMap σ τ h) F |
| 31 | map_add' := map_add (TensorProduct.map (coefficientMap σ τ h) F) |
| 32 | map_smul' s z := by |
| 33 | induction z using TensorProduct.inductionOn with |
| 34 | | tmul a x => |
| 35 | change TensorProduct.map (coefficientMap σ τ h) F (s • (a ⊗ₜ[R] x)) = |
| 36 | τ s • TensorProduct.map (coefficientMap σ τ h) F (a ⊗ₜ[R] x) |
| 37 | simp only [TensorProduct.smul_tmul', TensorProduct.map_tmul] |
| 38 | change τ (s * a) ⊗ₜ[R] F x = (τ s * τ a) ⊗ₜ[R] F x |
| 39 | rw [map_mul] |
| 40 | | add z z' hz hz' => simp only [smul_add, map_add, hz, hz'] |
| 41 | |
| 42 | theorem baseChange_tmul (F : M →ₛₗ[σ] M) (s : S) (x : M) : |
| 43 | baseChange σ τ h F (s ⊗ₜ[R] x) = τ s ⊗ₜ[R] F x := rfl |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.NumberTheory.PadicHodge.PeriodInvariants.SemilinearBaseChange |