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 | |
| 3 | /-! # Compatible Sequence Equivalence -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.CompatibleSequenceEquivalence |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Componentwise linear equivalences commuting with transitions identify compatible inverse sequences. -/ |
| 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 | (e : ∀ n, M n ≃ₗ[R] N n) |
| 18 | (he : ∀ n x, e n (s n x) = t n (e (n + 1) x)) |
| 19 | |
| 20 | include he in |
| 21 | theorem compatible (x : ∀ n, M n) : |
| 22 | SequentialModuleDifference.difference R M s x = 0 ↔ |
| 23 | SequentialModuleDifference.difference R N t (fun n => e n (x n)) = 0 := by |
| 24 | rw [SequentialModuleDifference.difference_eq_zero_iff, |
| 25 | SequentialModuleDifference.difference_eq_zero_iff] |
| 26 | constructor |
| 27 | · intro h n |
| 28 | exact (he n (x (n + 1))).symm.trans (congrArg (e n) (h n)) |
| 29 | · intro h n |
| 30 | exact (e n).injective ((he n (x (n + 1))).trans (h n)) |
| 31 | |
| 32 | def equivalence : LinearMap.ker (SequentialModuleDifference.difference R M s) ≃ₗ[R] |
| 33 | LinearMap.ker (SequentialModuleDifference.difference R N t) where |
| 34 | toFun x := ⟨fun n => e n (x.val n), (compatible R M N s t e he x.val).mp x.property⟩ |
| 35 | invFun y := ⟨fun n => (e n).symm (y.val n), |
| 36 | (compatible R M N s t e he (fun n => (e n).symm (y.val n))).mpr (by |
| 37 | simpa only [LinearEquiv.apply_symm_apply, LinearMap.mem_ker] using y.property)⟩ |
| 38 | left_inv x := by |
| 39 | apply Subtype.ext |
| 40 | funext n |
| 41 | exact (e n).symm_apply_apply (x.val n) |
| 42 | right_inv y := by |
| 43 | apply Subtype.ext |
| 44 | funext n |
| 45 | exact (e n).apply_symm_apply (y.val n) |
| 46 | map_add' x y := by |
| 47 | apply Subtype.ext |
| 48 | funext n |
| 49 | exact (e n).map_add (x.val n) (y.val n) |
| 50 | map_smul' r x := by |
| 51 | apply Subtype.ext |
| 52 | funext n |
| 53 | exact (e n).map_smul r (x.val n) |
| 54 | |
| 55 | theorem equivalence_apply (x : LinearMap.ker (SequentialModuleDifference.difference R M s)) (n : ℕ) : |
| 56 | (equivalence R M N s t e he x).val n = e n (x.val n) := rfl |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.NumberTheory.PadicHodge.IntegralComparison.CompatibleSequenceEquivalence |