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.EtaCycles |
| 2 | |
| 3 | /-! # Eta Boundaries -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.PeriodInvariants.EtaBoundaries |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Boundaries after eta |
| 11 | |
| 12 | A scaled cycle becomes an eta boundary precisely when its original |
| 13 | cohomology class is killed by the scalar. This is the algebraic step |
| 14 | behind the torsion-removal formula for eta cohomology. |
| 15 | -/ |
| 16 | |
| 17 | universe u v |
| 18 | |
| 19 | open _root_.CategoryTheory OAI.NumberTheory.PadicHodge.PeriodInvariants.EtaComplex OAI.NumberTheory.PadicHodge.PeriodInvariants.EtaCycles |
| 20 | |
| 21 | variable {R : Type u} [CommRing R] (a : R) |
| 22 | |
| 23 | def toCycles (C : CochainComplex (ModuleCat.{v} R) ℕ) (n : ℕ) : |
| 24 | C.X n →ₗ[R] EtaCycles.cycles C (n + 1) := |
| 25 | (C.d n (n + 1)).hom.codRestrict _ (EtaComplex.d_squared C n) |
| 26 | |
| 27 | def etaToCycles (C : CochainComplex (ModuleCat.{v} R) ℕ) (n : ℕ) : |
| 28 | EtaComplex.term a C n →ₗ[R] EtaCycles.etaCycles a C (n + 1) := |
| 29 | (EtaComplex.differential a C n).codRestrict _ |
| 30 | (fun x => DFunLike.congr_fun (EtaComplex.differential_squared a C n) x) |
| 31 | |
| 32 | theorem scaleCycles_mem_boundary_iff (C : CochainComplex (ModuleCat.{v} R) ℕ) (n : ℕ) |
| 33 | (ha : IsSMulRegular (C.X (n + 1)) a) (x : EtaCycles.cycles C (n + 1)) : |
| 34 | EtaCycles.scaleCycles a C (n + 1) x ∈ LinearMap.range (etaToCycles a C n) ↔ |
| 35 | a • x ∈ LinearMap.range (toCycles C n) := by |
| 36 | constructor |
| 37 | · rintro ⟨b, hb⟩ |
| 38 | obtain ⟨⟨y, hy⟩, _⟩ := (EtaComplex.mem_term a C n b).mp b.property |
| 39 | have hb' : C.d n (n + 1) b = a ^ (n + 1) • (x : C.X (n + 1)) := |
| 40 | congrArg (fun z : EtaCycles.etaCycles a C (n + 1) => (z.val : C.X (n + 1))) hb |
| 41 | have hdy : C.d n (n + 1) y = a • (x : C.X (n + 1)) := by |
| 42 | apply ha.pow n |
| 43 | change a ^ n • C.d n (n + 1) y = a ^ n • (a • (x : C.X (n + 1))) |
| 44 | rw [← map_smul, hy, hb', pow_succ, mul_smul] |
| 45 | exact ⟨y, Subtype.ext hdy⟩ |
| 46 | · rintro ⟨y, hy⟩ |
| 47 | have hdy : C.d n (n + 1) y = a • (x : C.X (n + 1)) := |
| 48 | congrArg (fun z : EtaCycles.cycles C (n + 1) => (z : C.X (n + 1))) hy |
| 49 | have hb : a ^ n • y ∈ EtaComplex.term a C n := by |
| 50 | apply (EtaComplex.mem_term a C n _).mpr |
| 51 | refine ⟨⟨y, rfl⟩, ⟨x, ?_⟩⟩ |
| 52 | rw [map_smul, hdy, pow_succ, mul_smul] |
| 53 | refine ⟨⟨a ^ n • y, hb⟩, ?_⟩ |
| 54 | apply Subtype.ext |
| 55 | apply Subtype.ext |
| 56 | change C.d n (n + 1) (a ^ n • y) = a ^ (n + 1) • (x : C.X (n + 1)) |
| 57 | rw [map_smul, hdy, pow_succ, mul_smul] |
| 58 | |
| 59 | theorem scaleCycles_preserves_boundaries (C : CochainComplex (ModuleCat.{v} R) ℕ) (n : ℕ) |
| 60 | (ha : IsSMulRegular (C.X (n + 1)) a) : |
| 61 | LinearMap.range (toCycles C n) ≤ |
| 62 | (LinearMap.range (etaToCycles a C n)).comap (EtaCycles.scaleCycles a C (n + 1)) := by |
| 63 | intro x hx |
| 64 | exact (scaleCycles_mem_boundary_iff a C n ha x).mpr |
| 65 | ((LinearMap.range (toCycles C n)).smul_mem a hx) |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.NumberTheory.PadicHodge.PeriodInvariants.EtaBoundaries |