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.RingTheory.TensorProduct.Maps |
| 2 | |
| 3 | /-! # Tensor Evaluation -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.TensorEvaluation.TestTransport |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Scalar formulas for evaluation of a tensor algebra, stated before |
| 10 | specializing either factor to a completed coefficient algebra. -/ |
| 11 | |
| 12 | open scoped TensorProduct |
| 13 | |
| 14 | variable {R A B C : Type*} [CommRing R] [CommRing A] [CommRing B] [CommRing C] |
| 15 | [Algebra R A] [Algebra R B] [Algebra R C] |
| 16 | |
| 17 | def tensorEvaluation (f : A →ₐ[R] C) (g : B →ₐ[R] C) : A ⊗[R] B →ₐ[R] C := |
| 18 | Algebra.TensorProduct.lift f g (fun _ _ => Commute.all _ _) |
| 19 | |
| 20 | theorem tensorEvaluation_tmul (f : A →ₐ[R] C) (g : B →ₐ[R] C) (a : A) (b : B) : |
| 21 | tensorEvaluation f g (a ⊗ₜ[R] b) = f a * g b := rfl |
| 22 | |
| 23 | theorem tensorEvaluation_smul (f : A →ₐ[R] C) (g : B →ₐ[R] C) (a : A) (x : A ⊗[R] B) : |
| 24 | tensorEvaluation f g (a • x) = f a * tensorEvaluation f g x := by |
| 25 | rw [Algebra.smul_def, map_mul] |
| 26 | congr 1 |
| 27 | change tensorEvaluation f g (a ⊗ₜ[R] 1) = f a |
| 28 | rw [tensorEvaluation_tmul, map_one, mul_one] |
| 29 | |
| 30 | end |
| 31 | |
| 32 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.TensorEvaluation.TestTransport |