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.IntersectionTheory.ProjectionFormula.ChainToCochain |
| 2 | import Mathlib.CategoryTheory.Limits.Preserves.Shapes.Zero |
| 3 | |
| 4 | /-! # Map Extend -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.MapExtend |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An additive module functor commutes with extending a complex by zero. |
| 11 | This identifies the cochain tensor columns with the original chain-complex |
| 12 | computations used for Tor. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 18 | |
| 19 | variable (R : Type) [CommRing R] (G : ModuleCat.{0} R ⥤ ModuleCat.{0} R) [G.Additive] |
| 20 | {I J : Type} {c : ComplexShape I} {c' : ComplexShape J} |
| 21 | (K : HomologicalComplex (ModuleCat.{0} R) c) |
| 22 | |
| 23 | def optionIso (i : Option I) : |
| 24 | HomologicalComplex.extend.X ((G.mapHomologicalComplex c).obj K) i ≅ |
| 25 | G.obj (HomologicalComplex.extend.X K i) := |
| 26 | match i with |
| 27 | | none => G.mapZeroObject.symm |
| 28 | | some _ => Iso.refl _ |
| 29 | |
| 30 | theorem option_comm (i j : Option I) : |
| 31 | (optionIso R G K i).hom ≫ G.map (HomologicalComplex.extend.d K i j) = |
| 32 | HomologicalComplex.extend.d ((G.mapHomologicalComplex c).obj K) i j ≫ |
| 33 | (optionIso R G K j).hom := by |
| 34 | cases i <;> cases j <;> |
| 35 | simp [optionIso, HomologicalComplex.extend.d] |
| 36 | |
| 37 | def iso (e : c.Embedding c') : |
| 38 | ((G.mapHomologicalComplex c).obj K).extend e ≅ |
| 39 | (G.mapHomologicalComplex c').obj (K.extend e) := |
| 40 | HomologicalComplex.Hom.isoOfComponents (fun i => optionIso R G K (e.r i)) |
| 41 | (fun i j _ => option_comm R G K (e.r i) (e.r j)) |
| 42 | |
| 43 | def cochainIso (K : ChainComplex (ModuleCat.{0} R) ℕ) : |
| 44 | ChainToCochain.cochain R ((G.mapHomologicalComplex (.down ℕ)).obj K) ≅ |
| 45 | (G.mapHomologicalComplex (.up ℤ)).obj (ChainToCochain.cochain R K) := |
| 46 | iso R G K (ComplexShape.embeddingUpIntLE 0) |
| 47 | |
| 48 | def cochainHomologyIso (K : ChainComplex (ModuleCat.{0} R) ℕ) (n : ℕ) : |
| 49 | ((G.mapHomologicalComplex (.up ℤ)).obj (ChainToCochain.cochain R K)).homology (-(n : ℤ)) ≅ |
| 50 | ((G.mapHomologicalComplex (.down ℕ)).obj K).homology n := |
| 51 | HomologicalComplex.homologyMapIso (cochainIso R G K).symm (-(n : ℤ)) ≪≫ |
| 52 | ChainToCochain.homologyIso R ((G.mapHomologicalComplex (.down ℕ)).obj K) n |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.MapExtend |