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.AlgebraicGeometry.SheafCohomology.Cech.PositiveCycleHomology |
| 2 | import Mathlib.Algebra.Homology.HomotopyCategory.HomComplexCohomology |
| 3 | |
| 4 | /-! # Cycle Coordinates -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Abelian.CycleCoordinates |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual element representatives of abelian cohomology in integer-indexed complexes. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 13 | open _root_.CochainComplex _root_.CochainComplex.HomComplex |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | set_option backward.defeqAttrib.useBackward true |
| 18 | |
| 19 | universe u |
| 20 | variable (K : CochainComplex AddCommGrpCat.{u} ℤ) (n : ℤ) |
| 21 | |
| 22 | theorem abelianIntegerCycle_closed (x : K.X n) (hx : K.d n (n + 1) x = 0) : |
| 23 | x ∈ (K.sc n).g.hom.ker := by |
| 24 | change K.d n ((ComplexShape.up ℤ).next n) x = 0 |
| 25 | rw [(ComplexShape.up ℤ).next_eq' (show (ComplexShape.up ℤ).Rel n (n + 1) from rfl)] |
| 26 | exact hx |
| 27 | |
| 28 | def abelianIntegerCycles (x : K.X n) (hx : K.d n (n + 1) x = 0) : K.cycles n := |
| 29 | (K.sc n).abCyclesIso.inv ⟨x, abelianIntegerCycle_closed K n x hx⟩ |
| 30 | |
| 31 | theorem abelianIntegerCycles_i (x : K.X n) (hx : K.d n (n + 1) x = 0) : |
| 32 | K.iCycles n (abelianIntegerCycles K n x hx) = x := |
| 33 | (K.sc n).abCyclesIso_inv_apply_iCycles ⟨x, abelianIntegerCycle_closed K n x hx⟩ |
| 34 | |
| 35 | def abelianIntegerCycleClass (x : K.X n) (hx : K.d n (n + 1) x = 0) : K.homology n := |
| 36 | K.homologyπ n (abelianIntegerCycles K n x hx) |
| 37 | |
| 38 | variable {K} {L : CochainComplex AddCommGrpCat.{u} ℤ} |
| 39 | |
| 40 | theorem abelianIntegerCycles_map (f : K ⟶ L) (x : K.X n) (hx : K.d n (n + 1) x = 0) |
| 41 | (hy : L.d n (n + 1) (f.f n x) = 0) : |
| 42 | HomologicalComplex.cyclesMap f n (abelianIntegerCycles K n x hx) = |
| 43 | abelianIntegerCycles L n (f.f n x) hy := by |
| 44 | apply (AddCommGrpCat.mono_iff_injective (L.iCycles n)).mp inferInstance |
| 45 | have h := ConcreteCategory.congr_hom (HomologicalComplex.cyclesMap_i f n) |
| 46 | (abelianIntegerCycles K n x hx) |
| 47 | simpa only [ConcreteCategory.comp_apply, abelianIntegerCycles_i] using h |
| 48 | |
| 49 | theorem abelianIntegerCycleClass_map (f : K ⟶ L) (x : K.X n) (hx : K.d n (n + 1) x = 0) |
| 50 | (hy : L.d n (n + 1) (f.f n x) = 0) : |
| 51 | HomologicalComplex.homologyMap f n (abelianIntegerCycleClass K n x hx) = |
| 52 | abelianIntegerCycleClass L n (f.f n x) hy := by |
| 53 | have h := ConcreteCategory.congr_hom (HomologicalComplex.homologyπ_naturality f n) |
| 54 | (abelianIntegerCycles K n x hx) |
| 55 | simp only [ConcreteCategory.comp_apply, abelianIntegerCycles_map n f x hx hy] at h |
| 56 | exact h |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Abelian.CycleCoordinates |