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.Basic |
| 2 | import Mathlib.LinearAlgebra.TensorProduct.Tower |
| 3 | import Mathlib.LinearAlgebra.Quotient.Defs |
| 4 | |
| 5 | /-! # Saturated Base -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.SaturatedBase.SaturatedBaseChange |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A submodule with flat quotient is detected before a faithful scalar extension. -/ |
| 12 | |
| 13 | open scoped TensorProduct |
| 14 | |
| 15 | variable {R S M : Type*} [CommRing R] [CommRing S] [Algebra R S] |
| 16 | [FaithfulSMul R S] [AddCommGroup M] [Module R M] |
| 17 | (P : Submodule R M) [Module.Flat R (M ⧸ P)] |
| 18 | |
| 19 | theorem one_tmul_mem_iff (x : M) : (1 : S) ⊗ₜ[R] x ∈ P.baseChange S ↔ x ∈ P := by |
| 20 | constructor |
| 21 | · rintro ⟨y, hy⟩ |
| 22 | have hz : (P.mkQ.baseChange S).comp (P.subtype.baseChange S) = 0 := by |
| 23 | rw [← LinearMap.baseChange_comp] |
| 24 | have h : P.mkQ.comp P.subtype = 0 := by |
| 25 | ext z |
| 26 | exact (Submodule.Quotient.mk_eq_zero P).mpr z.property |
| 27 | rw [h, LinearMap.baseChange_zero] |
| 28 | have ht : (1 : S) ⊗ₜ[R] P.mkQ x = 0 := by |
| 29 | rw [← LinearMap.baseChange_tmul, ← hy] |
| 30 | exact LinearMap.congr_fun hz y |
| 31 | apply (Submodule.Quotient.mk_eq_zero P).mp |
| 32 | exact (Module.Flat.tensorProduct_mk_injective (R := R) (S := S) (M := M ⧸ P)) |
| 33 | (ht.trans (map_zero (TensorProduct.mk R S (M ⧸ P) 1)).symm) |
| 34 | · exact P.tmul_mem_baseChange_of_mem 1 |
| 35 | |
| 36 | theorem equiv_mem_iff {N : Type*} [AddCommGroup N] [Module S N] |
| 37 | (e : S ⊗[R] M ≃ₗ[S] N) (Q : Submodule S N) |
| 38 | (hQ : (P.baseChange S).map e.toLinearMap = Q) (x : M) : |
| 39 | e ((1 : S) ⊗ₜ[R] x) ∈ Q ↔ x ∈ P := by |
| 40 | rw [← hQ] |
| 41 | constructor |
| 42 | · rintro ⟨y, hy, he⟩ |
| 43 | have he' := e.injective he |
| 44 | exact (one_tmul_mem_iff P x).mp (he' ▸ hy) |
| 45 | · intro hx |
| 46 | exact ⟨(1 : S) ⊗ₜ[R] x, (one_tmul_mem_iff P x).mpr hx, rfl⟩ |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.NumberTheory.PadicHodge.GeometricComparison.SaturatedBase.SaturatedBaseChange |