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.Quotient |
| 2 | |
| 3 | /-! # Surjective Base Change -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.SurjectiveBaseChange |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The kernel of the canonical base-change map for a surjective coefficient algebra. -/ |
| 10 | |
| 11 | open scoped TensorProduct |
| 12 | |
| 13 | universe u v w |
| 14 | |
| 15 | variable {R : Type u} [CommRing R] (S : Type v) (A : Type w) |
| 16 | [CommRing S] [CommRing A] [Algebra R S] [Algebra R A] |
| 17 | (h : Function.Surjective (algebraMap R S)) |
| 18 | |
| 19 | def quotientEquiv : |
| 20 | (A ⧸ (RingHom.ker (algebraMap R S)).map (algebraMap R A)) ≃ₐ[R] S ⊗[R] A := |
| 21 | ((Algebra.TensorProduct.quotIdealMapEquivQuotTensor A (RingHom.ker (algebraMap R S))).restrictScalars R).trans |
| 22 | (Algebra.TensorProduct.congr |
| 23 | (Ideal.quotientKerAlgEquivOfSurjective (f := Algebra.ofId R S) h) (AlgEquiv.refl : A ≃ₐ[R] A)) |
| 24 | |
| 25 | theorem quotientEquiv_mk (a : A) : |
| 26 | quotientEquiv S A h (Ideal.Quotient.mk _ a) = 1 ⊗ₜ[R] a := by |
| 27 | change Algebra.TensorProduct.congr |
| 28 | (Ideal.quotientKerAlgEquivOfSurjective (f := Algebra.ofId R S) h) (AlgEquiv.refl : A ≃ₐ[R] A) |
| 29 | (1 ⊗ₜ[R] a) = _ |
| 30 | simp only [Algebra.TensorProduct.congr_apply, Algebra.TensorProduct.map_tmul, |
| 31 | map_one, AlgEquiv.coe_toAlgHom] |
| 32 | rfl |
| 33 | |
| 34 | include h in |
| 35 | theorem kernel : RingHom.ker (Algebra.TensorProduct.includeRight (R := R) (A := S) (B := A)).toRingHom = |
| 36 | (RingHom.ker (algebraMap R S)).map (algebraMap R A) := by |
| 37 | ext a |
| 38 | change (1 ⊗ₜ[R] a : S ⊗[R] A) = 0 ↔ a ∈ _ |
| 39 | rw [← quotientEquiv_mk S A h] |
| 40 | constructor |
| 41 | · intro ha |
| 42 | exact Ideal.Quotient.eq_zero_iff_mem.mp |
| 43 | ((quotientEquiv S A h).injective (ha.trans (map_zero (quotientEquiv S A h)).symm)) |
| 44 | · intro ha |
| 45 | rw [Ideal.Quotient.eq_zero_iff_mem.mpr ha] |
| 46 | exact map_zero _ |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.NumberTheory.PadicHodge.IntegralComparison.SurjectiveBaseChange |