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.Finite.InverseDifference |
| 2 | |
| 3 | /-! # Compatible Lifting -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.CompatibleLifting |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Finite kernels allow compatible inverse sequences to be lifted through levelwise linear maps. -/ |
| 10 | |
| 11 | universe u v w |
| 12 | |
| 13 | variable (R : Type u) [Ring R] (M : ℕ → Type v) (N : ℕ → Type w) |
| 14 | [∀ n, AddCommGroup (M n)] [∀ n, Module R (M n)] |
| 15 | [∀ n, AddCommGroup (N n)] [∀ n, Module R (N n)] |
| 16 | (s : ∀ n, M (n + 1) →ₗ[R] M n) (t : ∀ n, N (n + 1) →ₗ[R] N n) |
| 17 | (f : ∀ n, M n →ₗ[R] N n) |
| 18 | (hf : ∀ n x, f n (s n x) = t n (f (n + 1) x)) |
| 19 | |
| 20 | def kernelTransition (n : ℕ) : LinearMap.ker (f (n + 1)) →ₗ[R] LinearMap.ker (f n) where |
| 21 | toFun x := ⟨s n x.val, (hf n x.val).trans (by |
| 22 | have hx : f (n + 1) x.val = 0 := x.property |
| 23 | rw [hx, map_zero])⟩ |
| 24 | map_add' x y := Subtype.ext ((s n).map_add x.val y.val) |
| 25 | map_smul' r x := Subtype.ext ((s n).map_smul r x.val) |
| 26 | |
| 27 | include hf in |
| 28 | theorem exists_lift [∀ n, Finite (LinearMap.ker (f n))] |
| 29 | (y : ∀ n, N n) (hy : ∀ n, t n (y (n + 1)) = y n) |
| 30 | (hlift : ∀ n, ∃ x : M n, f n x = y n) : |
| 31 | ∃ x : ∀ n, M n, (∀ n, s n (x (n + 1)) = x n) ∧ ∀ n, f n (x n) = y n := by |
| 32 | classical |
| 33 | choose x hx using hlift |
| 34 | let d (n : ℕ) : LinearMap.ker (f n) := ⟨x n - s n (x (n + 1)), by |
| 35 | change f n (x n - s n (x (n + 1))) = 0 |
| 36 | rw [map_sub, hf, hx, hx, hy, sub_self]⟩ |
| 37 | obtain ⟨z, hz⟩ := InverseDifference.surjective R (fun n => LinearMap.ker (f n)) |
| 38 | (kernelTransition R M N s t f hf) d |
| 39 | refine ⟨fun n => x n - (z n).val, ?_, ?_⟩ |
| 40 | · intro n |
| 41 | have h : (z n).val - s n (z (n + 1)).val = x n - s n (x (n + 1)) := |
| 42 | congrArg Subtype.val (congrFun hz n) |
| 43 | rw [map_sub] |
| 44 | calc |
| 45 | s n (x (n + 1)) - s n (z (n + 1)).val = |
| 46 | x n - (x n - s n (x (n + 1))) - s n (z (n + 1)).val := by abel |
| 47 | _ = x n - ((z n).val - s n (z (n + 1)).val) - s n (z (n + 1)).val := by rw [h] |
| 48 | _ = x n - (z n).val := by abel |
| 49 | · intro n |
| 50 | have hz' : f n (z n).val = 0 := (z n).property |
| 51 | rw [map_sub, hx, hz', sub_zero] |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.CompatibleLifting |