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 | import Mathlib.RingTheory.DualNumber |
| 3 | import Mathlib.Analysis.Calculus.FDeriv.Mul |
| 4 | import Mathlib.Analysis.Complex.Basic |
| 5 | |
| 6 | /-! # Tensor Evaluation -/ |
| 7 | |
| 8 | namespace OAI.RepresentationTheory.Theta.Geometric.Dual.TensorEvaluation |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Evaluation of a scalar-extended regular coefficient at a constant |
| 13 | dual-number point, including holomorphy of its infinitesimal coefficient. -/ |
| 14 | |
| 15 | open scoped TensorProduct |
| 16 | |
| 17 | variable {A : Type*} [CommRing A] [Algebra ℂ A] |
| 18 | |
| 19 | def dualTensorEvaluation (p : A →ₐ[ℂ] ℂ) : (DualNumber ℂ ⊗[ℂ] A) →ₐ[ℂ] DualNumber ℂ := |
| 20 | Algebra.TensorProduct.lift (AlgHom.id ℂ (DualNumber ℂ)) ((Algebra.ofId ℂ (DualNumber ℂ)).comp p) |
| 21 | (fun _ _ => Commute.all _ _) |
| 22 | |
| 23 | theorem dualTensorEvaluation_comp_left (p : A →ₐ[ℂ] ℂ) : |
| 24 | (dualTensorEvaluation p).comp Algebra.TensorProduct.includeLeft = AlgHom.id ℂ (DualNumber ℂ) := |
| 25 | Algebra.TensorProduct.lift_comp_includeLeft _ _ _ |
| 26 | |
| 27 | theorem dualTensorEvaluation_comp_right (p : A →ₐ[ℂ] ℂ) : |
| 28 | (dualTensorEvaluation p).comp Algebra.TensorProduct.includeRight = (Algebra.ofId ℂ (DualNumber ℂ)).comp p := |
| 29 | Algebra.TensorProduct.lift_comp_includeRight (AlgHom.id ℂ (DualNumber ℂ)) |
| 30 | ((Algebra.ofId ℂ (DualNumber ℂ)).comp p) (fun _ _ => Commute.all _ _) |
| 31 | |
| 32 | theorem dualTensorEvaluation_tmul_snd (p : A →ₐ[ℂ] ℂ) (c : DualNumber ℂ) (a : A) : |
| 33 | (dualTensorEvaluation p (c ⊗ₜ[ℂ] a)).snd = c.snd * p a := by |
| 34 | simp [dualTensorEvaluation, Algebra.TensorProduct.lift_tmul, |
| 35 | TrivSqZeroExt.algebraMap_eq_inl] |
| 36 | |
| 37 | theorem dualTensorEvaluation_tmul_fst (p : A →ₐ[ℂ] ℂ) (c : DualNumber ℂ) (a : A) : |
| 38 | (dualTensorEvaluation p (c ⊗ₜ[ℂ] a)).fst = c.fst * p a := by |
| 39 | simp [dualTensorEvaluation, Algebra.TensorProduct.lift_tmul, TrivSqZeroExt.algebraMap_eq_inl] |
| 40 | |
| 41 | theorem dualTensorEvaluation_snd_differentiable {V : Type*} |
| 42 | [NormedAddCommGroup V] [NormedSpace ℂ V] |
| 43 | (p : V → (A →ₐ[ℂ] ℂ)) (hp : ∀ a, Differentiable ℂ (fun z => p z a)) |
| 44 | (u : DualNumber ℂ ⊗[ℂ] A) : |
| 45 | Differentiable ℂ (fun z => (dualTensorEvaluation (p z) u).snd) := by |
| 46 | induction u using TensorProduct.inductionOn with |
| 47 | | tmul c a => |
| 48 | simpa only [dualTensorEvaluation_tmul_snd] using (hp a).const_mul c.snd |
| 49 | | add u v hu hv => |
| 50 | simpa only [map_add, TrivSqZeroExt.snd_add] using hu.fun_add hv |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.RepresentationTheory.Theta.Geometric.Dual.TensorEvaluation |