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 | /-! # Scalar Extension -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.WeakAdmissibility.ScalarExtension |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The canonical map extending a linear map to a larger scalar field. -/ |
| 10 | |
| 11 | open scoped TensorProduct |
| 12 | variable {R S D M : Type*} [Field R] [Field S] [Algebra R S] |
| 13 | [AddCommGroup D] [Module R D] [AddCommGroup M] [Module R M] [Module S M] |
| 14 | [IsScalarTower R S M] |
| 15 | |
| 16 | def extend (f : D →ₗ[R] M) : S ⊗[R] D →ₗ[S] M := |
| 17 | TensorProduct.AlgebraTensorModule.lift |
| 18 | { toFun := fun a => |
| 19 | { toFun := fun d => a • f d |
| 20 | map_add' := fun x y => by rw [map_add, smul_add] |
| 21 | map_smul' := fun c d => by |
| 22 | change a • f (c • d) = c • (a • f d) |
| 23 | rw [map_smul, smul_comm] } |
| 24 | map_add' := fun a b => LinearMap.ext fun d => add_smul a b (f d) |
| 25 | map_smul' := fun a b => LinearMap.ext fun d => mul_smul a b (f d) } |
| 26 | |
| 27 | theorem extend_tmul (f : D →ₗ[R] M) (a : S) (d : D) : extend f (a ⊗ₜ[R] d) = a • f d := rfl |
| 28 | |
| 29 | theorem extend_one_tmul (f : D →ₗ[R] M) (d : D) : extend f ((1 : S) ⊗ₜ[R] d) = f d := by |
| 30 | rw [extend_tmul, one_smul] |
| 31 | |
| 32 | end |
| 33 | |
| 34 | end OAI.NumberTheory.PadicHodge.WeakAdmissibility.ScalarExtension |