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 Completion Semilinear -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.PeriodInvariants.AdicCompletionSemilinear |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! # Semilinear maps on adic completions -/ |
| 10 | |
| 11 | variable {R S M N : Type*} [CommRing R] [CommRing S] |
| 12 | [AddCommGroup M] [Module R M] [AddCommGroup N] [Module S N] |
| 13 | (σ : R →+* S) (I : Ideal R) (J : Ideal S) (hIJ : Ideal.map σ I ≤ J) |
| 14 | |
| 15 | include hIJ in |
| 16 | theorem preserves_powers (n : ℕ) (f : M →ₛₗ[σ] N) : |
| 17 | I ^ n • (⊤ : Submodule R M) ≤ (J ^ n • (⊤ : Submodule S N)).comap f := by |
| 18 | intro x hx |
| 19 | refine Submodule.smul_induction_on hx (fun r hr m _ => ?_) (fun x y hx hy => ?_) |
| 20 | · change f (r • m) ∈ J ^ n • (⊤ : Submodule S N) |
| 21 | rw [map_smulₛₗ] |
| 22 | apply Submodule.smul_mem_smul _ Submodule.mem_top |
| 23 | have hpow : Ideal.map σ (I ^ n) ≤ J ^ n := by |
| 24 | rw [Ideal.map_pow] |
| 25 | exact pow_le_pow_left' hIJ n |
| 26 | exact hpow (Ideal.mem_map_of_mem σ hr) |
| 27 | · change f (x + y) ∈ J ^ n • (⊤ : Submodule S N) |
| 28 | rw [map_add] |
| 29 | exact Submodule.add_mem _ hx hy |
| 30 | |
| 31 | def reduce (f : M →ₛₗ[σ] N) (n : ℕ) : |
| 32 | M ⧸ (I ^ n • (⊤ : Submodule R M)) →ₛₗ[σ] |
| 33 | N ⧸ (J ^ n • (⊤ : Submodule S N)) := |
| 34 | Submodule.mapQ _ _ f (preserves_powers σ I J hIJ n f) |
| 35 | |
| 36 | theorem transition_reduce (f : M →ₛₗ[σ] N) {m n : ℕ} (h : m ≤ n) |
| 37 | (x : M ⧸ (I ^ n • (⊤ : Submodule R M))) : |
| 38 | AdicCompletion.transitionMap J N h (reduce σ I J hIJ f n x) = |
| 39 | reduce σ I J hIJ f m (AdicCompletion.transitionMap I M h x) := by |
| 40 | induction x using Submodule.Quotient.induction_on with |
| 41 | | H x => rfl |
| 42 | |
| 43 | def map (f : M →ₛₗ[σ] N) : AdicCompletion I M →ₛₗ[σ] AdicCompletion J N where |
| 44 | toFun x := ⟨fun n => reduce σ I J hIJ f n (x.val n), fun {m n} h => |
| 45 | (transition_reduce σ I J hIJ f h (x.val n)).trans |
| 46 | (congrArg (reduce σ I J hIJ f m) (x.property h))⟩ |
| 47 | map_add' x y := by |
| 48 | apply AdicCompletion.ext |
| 49 | intro n |
| 50 | exact map_add (reduce σ I J hIJ f n) (x.val n) (y.val n) |
| 51 | map_smul' r x := by |
| 52 | apply AdicCompletion.ext |
| 53 | intro n |
| 54 | exact map_smulₛₗ (reduce σ I J hIJ f n) r (x.val n) |
| 55 | |
| 56 | theorem map_of (f : M →ₛₗ[σ] N) (x : M) : |
| 57 | AdicCompletionSemilinear.map σ I J hIJ f (AdicCompletion.of I M x) = AdicCompletion.of J N (f x) := rfl |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.NumberTheory.PadicHodge.PeriodInvariants.AdicCompletionSemilinear |