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 OAI.AlgebraicGeometry.HilbertScheme.Presentations.Flat.AlgebraKernelBaseChange |
| 2 | |
| 3 | /-! # Tensor Unit Kernel -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Flat.TensorUnitKernel |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The kernel of the unit map into a tensor product is the extension |
| 10 | of the kernel of the original coefficient map. -/ |
| 11 | |
| 12 | open TensorProduct |
| 13 | |
| 14 | universe u v w |
| 15 | variable (R : Type u) [CommRing R] |
| 16 | variable (A : Type v) [CommRing A] [Algebra R A] [Module.Flat R A] |
| 17 | variable (C : Type w) [CommRing C] [Algebra R C] |
| 18 | |
| 19 | theorem flat_tensor_unit_kernel : |
| 20 | RingHom.ker (Algebra.TensorProduct.includeLeft : A →ₐ[R] A ⊗[R] C) = |
| 21 | (RingHom.ker (algebraMap R C)).map (algebraMap R A) := by |
| 22 | let g : R →ₐ[R] C := Algebra.ofId R C |
| 23 | let e : A ⊗[R] R ≃ₐ[R] A := Algebra.TensorProduct.rid R R A |
| 24 | have he : e.toRingHom.comp |
| 25 | (Algebra.TensorProduct.includeRight : R →ₐ[R] A ⊗[R] R).toRingHom = |
| 26 | algebraMap R A := by |
| 27 | apply RingHom.ext |
| 28 | intro r |
| 29 | simp [e, Algebra.smul_def] |
| 30 | apply le_antisymm |
| 31 | · intro a ha |
| 32 | change a ⊗ₜ[R] (1 : C) = 0 at ha |
| 33 | have hz : a ⊗ₜ[R] (1 : R) ∈ |
| 34 | RingHom.ker (Algebra.TensorProduct.map (AlgHom.id R A) g) := by |
| 35 | change (Algebra.TensorProduct.map (AlgHom.id R A) g) (a ⊗ₜ[R] (1 : R)) = 0 |
| 36 | simpa only [Algebra.TensorProduct.map_tmul, AlgHom.id_apply, map_one] using ha |
| 37 | rw [AlgebraKernelBaseChange.flat_tensor_algebra_kernel A g] at hz |
| 38 | have hm := Ideal.mem_map_of_mem e.toRingHom hz |
| 39 | change e (a ⊗ₜ[R] (1 : R)) ∈ |
| 40 | ((RingHom.ker g.toRingHom).map |
| 41 | (Algebra.TensorProduct.includeRight : R →ₐ[R] A ⊗[R] R).toRingHom).map |
| 42 | e.toRingHom at hm |
| 43 | rw [Ideal.map_map, he] at hm |
| 44 | simpa only [e, g, Algebra.TensorProduct.rid_tmul, one_smul] using! hm |
| 45 | · apply Ideal.map_le_iff_le_comap.mpr |
| 46 | intro r hr |
| 47 | change (Algebra.TensorProduct.includeLeft : A →ₐ[R] A ⊗[R] C) |
| 48 | (algebraMap R A r) = 0 |
| 49 | change algebraMap R A r ⊗ₜ[R] (1 : C) = 0 |
| 50 | rw [Algebra.algebraMap_eq_smul_one, TensorProduct.smul_tmul, |
| 51 | Algebra.smul_def, mul_one, hr, TensorProduct.tmul_zero] |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Flat.TensorUnitKernel |