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 OAI.NumberTheory.PadicHodge.IntegralComparison.SequentialModuleDifference |
| 2 | import Mathlib.LinearAlgebra.Pi |
| 3 | |
| 4 | /-! # Product Linear Difference -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProductLinearDifference |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # IntegralComparison: transporting a countable difference map through component equivalences |
| 12 | -/ |
| 13 | |
| 14 | universe u v w |
| 15 | |
| 16 | variable (R : Type u) [Ring R] (M : ℕ → Type v) (N : ℕ → Type w) |
| 17 | [∀ n, AddCommGroup (M n)] [∀ n, Module R (M n)] |
| 18 | [∀ n, AddCommGroup (N n)] [∀ n, Module R (N n)] |
| 19 | (e : ∀ n, M n ≃ₗ[R] N n) (t : ∀ n, M (n + 1) →ₗ[R] M n) |
| 20 | |
| 21 | def transition (n : ℕ) : N (n + 1) →ₗ[R] N n := |
| 22 | (e n).toLinearMap.comp ((t n).comp (e (n + 1)).symm.toLinearMap) |
| 23 | |
| 24 | def transport (d : (∀ n, M n) →ₗ[R] ∀ n, M n) : (∀ n, N n) →ₗ[R] ∀ n, N n := |
| 25 | (LinearEquiv.piCongrRight e).toLinearMap.comp |
| 26 | (d.comp (LinearEquiv.piCongrRight e).symm.toLinearMap) |
| 27 | |
| 28 | theorem transport_apply (d : (∀ n, M n) →ₗ[R] ∀ n, M n) |
| 29 | (hd : ∀ x n, d x n = x n - t n (x (n + 1))) (y : ∀ n, N n) (n : ℕ) : |
| 30 | transport R M N e d y n = y n - transition R M N e t n (y (n + 1)) := by |
| 31 | change e n (d (fun m => (e m).symm (y m)) n) = _ |
| 32 | rw [hd, map_sub, LinearEquiv.apply_symm_apply] |
| 33 | rfl |
| 34 | |
| 35 | theorem transport_eq (d : (∀ n, M n) →ₗ[R] ∀ n, M n) |
| 36 | (hd : ∀ x n, d x n = x n - t n (x (n + 1))) : |
| 37 | transport R M N e d = SequentialModuleDifference.difference R N (transition R M N e t) := by |
| 38 | apply LinearMap.ext |
| 39 | intro y |
| 40 | exact funext (transport_apply R M N e t d hd y) |
| 41 | |
| 42 | def compatible : Submodule R (∀ n, N n) := |
| 43 | LinearMap.ker (SequentialModuleDifference.difference R N (transition R M N e t)) |
| 44 | |
| 45 | theorem mem_compatible (y : ∀ n, N n) : y ∈ compatible R M N e t ↔ |
| 46 | ∀ n, transition R M N e t n (y (n + 1)) = y n := |
| 47 | SequentialModuleDifference.difference_eq_zero_iff R N (transition R M N e t) y |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProductLinearDifference |