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.ExactComplexQuasiIso |
| 2 | import Mathlib.Algebra.Homology.HomotopyCategory.DegreewiseSplit |
| 3 | import Mathlib.Algebra.Homology.HomotopyCategory.MappingCocone |
| 4 | import Mathlib.Algebra.Homology.HomotopyCategory.ShiftSequence |
| 5 | import Mathlib.Algebra.Homology.HomologicalComplexAbelian |
| 6 | |
| 7 | /-! # Mapping Cone Quasi Iso -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.PeriodInvariants.MappingConeQuasiIso |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! # Commutative squares of quasi-isomorphisms induce quasi-isomorphisms of cones and cocones -/ |
| 14 | |
| 15 | open _root_.CategoryTheory |
| 16 | |
| 17 | attribute [local instance] Abelian.hasFiniteBiproducts |
| 18 | |
| 19 | universe u v |
| 20 | variable {C : Type u} [Category.{v} C] [Abelian C] |
| 21 | {K₁ L₁ K₂ L₂ : CochainComplex C ℤ} (φ₁ : K₁ ⟶ L₁) (φ₂ : K₂ ⟶ L₂) |
| 22 | (a : K₁ ⟶ K₂) (b : L₁ ⟶ L₂) (h : φ₁ ≫ b = a ≫ φ₂) |
| 23 | |
| 24 | def shortComplexMap : CochainComplex.mappingCone.triangleRotateShortComplex φ₁ ⟶ |
| 25 | CochainComplex.mappingCone.triangleRotateShortComplex φ₂ where |
| 26 | τ₁ := b |
| 27 | τ₂ := CochainComplex.mappingCone.map φ₁ φ₂ a b h |
| 28 | τ₃ := a⟦(1 : ℤ)⟧' |
| 29 | comm₁₂ := (CochainComplex.mappingCone.triangleMap φ₁ φ₂ a b h).comm₂.symm |
| 30 | comm₂₃ := (CochainComplex.mappingCone.triangleMap φ₁ φ₂ a b h).comm₃.symm |
| 31 | |
| 32 | theorem quasiIso_map (ha : QuasiIso a) (hb : QuasiIso b) : |
| 33 | QuasiIso (CochainComplex.mappingCone.map φ₁ φ₂ a b h) := by |
| 34 | have hS₁ := HomologicalComplex.shortExact_of_degreewise_shortExact |
| 35 | (CochainComplex.mappingCone.triangleRotateShortComplex φ₁) |
| 36 | (fun i => (CochainComplex.mappingCone.triangleRotateShortComplexSplitting φ₁ i).shortExact) |
| 37 | have hS₂ := HomologicalComplex.shortExact_of_degreewise_shortExact |
| 38 | (CochainComplex.mappingCone.triangleRotateShortComplex φ₂) |
| 39 | (fun i => (CochainComplex.mappingCone.triangleRotateShortComplexSplitting φ₂ i).shortExact) |
| 40 | exact ExactComplexQuasiIso.Short.middle (shortComplexMap φ₁ φ₂ a b h) hS₁ hS₂ hb |
| 41 | ((CochainComplex.quasiIso_shift_iff a 1).mpr ha) |
| 42 | |
| 43 | def coconeMap : CochainComplex.mappingCocone φ₁ ⟶ CochainComplex.mappingCocone φ₂ := |
| 44 | (CochainComplex.mappingCone.map φ₁ φ₂ a b h)⟦(-1 : ℤ)⟧' |
| 45 | |
| 46 | theorem quasiIso_coconeMap (ha : QuasiIso a) (hb : QuasiIso b) : |
| 47 | QuasiIso (coconeMap φ₁ φ₂ a b h) := |
| 48 | (CochainComplex.quasiIso_shift_iff _ (-1)).mpr (quasiIso_map φ₁ φ₂ a b h ha hb) |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.NumberTheory.PadicHodge.PeriodInvariants.MappingConeQuasiIso |