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.Algebra.Module.Projective |
| 2 | import Mathlib.LinearAlgebra.TensorProduct.Tower |
| 3 | |
| 4 | /-! # Functional Lift -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.FunctionalLift |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Scalar-valued functionals on a coefficient extension of a projective module lift across a surjective coefficient map. The lifted functional agrees with the original one on the full tensor product. -/ |
| 11 | |
| 12 | open scoped TensorProduct |
| 13 | |
| 14 | universe u v w |
| 15 | |
| 16 | variable {R : Type u} [CommRing R] {K : Type v} [CommRing K] [Algebra R K] |
| 17 | variable {M : Type w} [AddCommGroup M] [Module R M] |
| 18 | |
| 19 | theorem scalarFunctional_exists_lift [Module.Projective R M] |
| 20 | (hs : Function.Surjective (algebraMap R K)) (f : K ⊗[R] M →ₗ[K] K) : |
| 21 | ∃ l : M →ₗ[R] R, ∀ x, algebraMap R K (l x) = f (1 ⊗ₜ[R] x) := by |
| 22 | let g := (f.restrictScalars R).comp (TensorProduct.mk R K M 1) |
| 23 | obtain ⟨l, hl⟩ := Module.projective_lifting_property (Algebra.linearMap R K) g hs |
| 24 | exact ⟨l, fun x => LinearMap.congr_fun hl x⟩ |
| 25 | |
| 26 | theorem scalarFunctional_lift_tensor_identity (f : K ⊗[R] M →ₗ[K] K) (l : M →ₗ[R] R) |
| 27 | (h : ∀ x, algebraMap R K (l x) = f (1 ⊗ₜ[R] x)) : |
| 28 | (TensorProduct.rid R K).toLinearMap.comp (l.lTensor K) = f.restrictScalars R := by |
| 29 | ext a x |
| 30 | change l x • a = f (a ⊗ₜ[R] x) |
| 31 | rw [Algebra.smul_def, h x, mul_comm] |
| 32 | have H := f.map_smul a (1 ⊗ₜ[R] x) |
| 33 | simpa only [TensorProduct.smul_tmul', smul_eq_mul, mul_one] using H.symm |
| 34 | |
| 35 | end |
| 36 | |
| 37 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.FunctionalLift |