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.RingTheory.Ideal.Quotient.Operations |
| 3 | import Mathlib.RingTheory.TensorProduct.Basic |
| 4 | |
| 5 | /-! # Regular Tensor Base Change -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.RegularTensorBaseChange.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A regular equation with flat quotient remains regular after |
| 12 | arbitrary coefficient base change. -/ |
| 13 | |
| 14 | open TensorProduct |
| 15 | |
| 16 | variable (R A B : Type) [CommRing R] [CommRing A] [CommRing B] |
| 17 | [Algebra R A] [Algebra R B] (t : A) (ht : IsRegular t) |
| 18 | |
| 19 | include ht in |
| 20 | theorem regular_tensor_baseChange_of_flat_cokernel |
| 21 | {C : Type} [AddCommGroup C] [Module R C] [Module.Flat R C] |
| 22 | (q : A →ₗ[R] C) (hq : Function.Surjective q) |
| 23 | (hk : ∀ a, q a = 0 ↔ a ∈ Ideal.span {t}) : |
| 24 | IsRegular (1 ⊗ₜ[R] t : B ⊗[R] A) := by |
| 25 | let m : A →ₗ[R] A := LinearMap.mulLeft R t |
| 26 | have hm : Function.Injective m := ht.left |
| 27 | have hExact : Function.Exact m q := by |
| 28 | intro a |
| 29 | change q a = 0 ↔ ∃ b, t * b = a |
| 30 | rw [hk a, Ideal.mem_span_singleton] |
| 31 | simp only [dvd_def, eq_comm] |
| 32 | have hInj := LinearMap.lTensor_injective_of_exact_of_flat q hq m hm hExact B |
| 33 | have hMul (z : B ⊗[R] A) : m.lTensor B z = (1 ⊗ₜ[R] t) * z := by |
| 34 | induction z using TensorProduct.inductionOn with |
| 35 | | tmul b a => simp only [LinearMap.lTensor_tmul, m, LinearMap.mulLeft_apply, |
| 36 | Algebra.TensorProduct.tmul_mul_tmul, one_mul] |
| 37 | | add z w hz hw => rw [map_add, mul_add, hz, hw] |
| 38 | have hleft : IsLeftRegular (1 ⊗ₜ[R] t : B ⊗[R] A) := by |
| 39 | intro z w h |
| 40 | exact hInj ((hMul z).trans (h.trans (hMul w).symm)) |
| 41 | exact ⟨hleft, fun z w h => hleft ((mul_comm _ _).trans (h.trans (mul_comm _ _)))⟩ |
| 42 | |
| 43 | include ht in |
| 44 | theorem regular_tensor_baseChange [Module.Flat R (A ⧸ Ideal.span {t})] : |
| 45 | IsRegular (1 ⊗ₜ[R] t : B ⊗[R] A) := |
| 46 | regular_tensor_baseChange_of_flat_cokernel R A B t ht |
| 47 | (Ideal.Quotient.mkₐ R (Ideal.span {t})).toLinearMap Ideal.Quotient.mk_surjective |
| 48 | (fun _ => Ideal.Quotient.eq_zero_iff_mem) |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.Divisors.LineBundles.RegularTensorBaseChange.BundleCycles |