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.PeriodInvariants.AdicCompletionLinear |
| 2 | import OAI.NumberTheory.PadicHodge.PeriodInvariants.ScalarNullhomotopyEta |
| 3 | |
| 4 | /-! # Adic Completion Contraction -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.PeriodInvariants.AdicCompletionContraction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # Scalar contractions extend through adic completion of actual complexes -/ |
| 11 | |
| 12 | open _root_.CategoryTheory |
| 13 | |
| 14 | universe u |
| 15 | variable {R : Type u} [CommRing R] (I : Ideal R) (C : CochainComplex (ModuleCat.{u} R) ℕ) |
| 16 | |
| 17 | def complex : CochainComplex (ModuleCat.{u} R) ℕ := |
| 18 | ((AdicCompletionLinear.functor I).mapHomologicalComplex (.up ℕ)).obj C |
| 19 | |
| 20 | variable (h : ∀ n, C.X (n + 1) →ₗ[R] C.X n) (a : R) |
| 21 | (hzero : ∀ x, h 0 ((C.d 0 1).hom x) = a • x) |
| 22 | (hsucc : ∀ n x, h (n + 1) ((C.d (n + 1) (n + 1 + 1)).hom x) + |
| 23 | (C.d n (n + 1)).hom (h n x) = a • x) |
| 24 | |
| 25 | def contraction (n : ℕ) : (complex I C).X (n + 1) →ₗ[R] (complex I C).X n := |
| 26 | AdicCompletionLinear.map I (h n) |
| 27 | |
| 28 | include hzero in |
| 29 | theorem contraction_zero (x : (complex I C).X 0) : |
| 30 | contraction I C h 0 (((complex I C).d 0 1).hom x) = a • x := by |
| 31 | have he : (h 0).comp (C.d 0 1).hom = a • LinearMap.id := LinearMap.ext hzero |
| 32 | have hc := congrArg (AdicCompletionLinear.map I) he |
| 33 | rw [← AdicCompletionLinear.map_comp, AdicCompletionLinear.map_smul, |
| 34 | AdicCompletionLinear.map_id] at hc |
| 35 | exact LinearMap.congr_fun hc x |
| 36 | |
| 37 | include hsucc in |
| 38 | theorem contraction_succ (n : ℕ) (x : (complex I C).X (n + 1)) : |
| 39 | contraction I C h (n + 1) (((complex I C).d (n + 1) (n + 1 + 1)).hom x) + |
| 40 | ((complex I C).d n (n + 1)).hom (contraction I C h n x) = a • x := by |
| 41 | have he : (h (n + 1)).comp (C.d (n + 1) (n + 1 + 1)).hom + (C.d n (n + 1)).hom.comp (h n) = |
| 42 | a • LinearMap.id := LinearMap.ext (hsucc n) |
| 43 | have hc := congrArg (AdicCompletionLinear.map I) he |
| 44 | rw [AdicCompletionLinear.map_add, ← AdicCompletionLinear.map_comp, |
| 45 | ← AdicCompletionLinear.map_comp, AdicCompletionLinear.map_smul, |
| 46 | AdicCompletionLinear.map_id] at hc |
| 47 | exact LinearMap.congr_fun hc x |
| 48 | |
| 49 | include hzero hsucc in |
| 50 | theorem eta_homology_subsingleton (ha : ∀ n, IsSMulRegular ((complex I C).X n) a) (n : ℕ) : |
| 51 | Subsingleton ((EtaComplex.eta a (complex I C)).homology n) := |
| 52 | ScalarNullhomotopyEta.homology_subsingleton a (complex I C) (contraction I C h) |
| 53 | (contraction_zero I C h a hzero) (contraction_succ I C h a hsucc) ha n |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.NumberTheory.PadicHodge.PeriodInvariants.AdicCompletionContraction |