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.Flat.Equalizer |
| 2 | import Mathlib.LinearAlgebra.TensorProduct.RightExactness |
| 3 | |
| 4 | /-! # Algebra Kernel Base Change -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Flat.AlgebraKernelBaseChange |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Flat scalar extension preserves the actual kernel ideal of an algebra |
| 11 | map, without a surjectivity assumption on that map. -/ |
| 12 | |
| 13 | open TensorProduct |
| 14 | |
| 15 | universe u v w z |
| 16 | variable {R : Type u} [CommRing R] |
| 17 | variable (A : Type v) [CommRing A] [Algebra R A] [Module.Flat R A] |
| 18 | variable {B : Type w} [CommRing B] [Algebra R B] |
| 19 | variable {C : Type z} [CommRing C] [Algebra R C] |
| 20 | |
| 21 | theorem flat_tensor_algebra_kernel (g : B →ₐ[R] C) : |
| 22 | RingHom.ker (Algebra.TensorProduct.map (AlgHom.id R A) g) = |
| 23 | (RingHom.ker g).map (Algebra.TensorProduct.includeRight : B →ₐ[R] A ⊗[R] B) := by |
| 24 | rw [← Submodule.restrictScalars_inj R] |
| 25 | have he : (RingHom.ker (Algebra.TensorProduct.map (AlgHom.id R A) g)).restrictScalars R = |
| 26 | LinearMap.ker (LinearMap.lTensor A g.toLinearMap) := rfl |
| 27 | rw [he, Ideal.map_includeRight_eq] |
| 28 | rw [(Module.Flat.lTensor_exact A g.toLinearMap.exact_subtype_ker_map).linearMap_ker_eq] |
| 29 | rfl |
| 30 | |
| 31 | end |
| 32 | |
| 33 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Flat.AlgebraKernelBaseChange |