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.AdicCompletion.Functoriality |
| 2 | |
| 3 | /-! # Adic Map Injectivity -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.PeriodInvariants.AdicMapInjectivity |
| 6 | |
| 7 | /-! # A map reflecting every adic filtration is injective on the actual completion -/ |
| 8 | |
| 9 | variable {R M N : Type*} [CommRing R] [AddCommGroup M] [AddCommGroup N] |
| 10 | [Module R M] [Module R N] (I : Ideal R) (f : M →ₗ[R] N) |
| 11 | (hf : ∀ n x, f x ∈ (I ^ n • ⊤ : Submodule R N) → x ∈ (I ^ n • ⊤ : Submodule R M)) |
| 12 | |
| 13 | include hf in |
| 14 | theorem quotient_injective (n : ℕ) : Function.Injective (f.reduceModIdeal (I ^ n)) := by |
| 15 | have hz : ∀ x, f.reduceModIdeal (I ^ n) x = 0 → x = 0 := by |
| 16 | intro x |
| 17 | induction x using Submodule.Quotient.induction_on with |
| 18 | | H x => |
| 19 | intro hx |
| 20 | rw [LinearMap.reduceModIdeal_apply, Submodule.Quotient.mk_eq_zero] at hx |
| 21 | rw [Submodule.Quotient.mk_eq_zero] |
| 22 | exact hf n x hx |
| 23 | intro x y h |
| 24 | apply sub_eq_zero.mp |
| 25 | apply hz |
| 26 | rw [map_sub, h, sub_self] |
| 27 | |
| 28 | include hf in |
| 29 | theorem completion_injective : Function.Injective (AdicCompletion.map I f) := by |
| 30 | intro x y h |
| 31 | apply AdicCompletion.ext |
| 32 | intro n |
| 33 | apply quotient_injective I f hf n |
| 34 | exact congrArg (fun z : AdicCompletion I N => z.val n) h |
| 35 | |
| 36 | end OAI.NumberTheory.PadicHodge.PeriodInvariants.AdicMapInjectivity |