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.GeometricComparison.FirstThree.ThreeComplex |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Module.TotalOneQuasiIso |
| 3 | import OAI.AlgebraicGeometry.Comparison.Betti.TotalExists |
| 4 | import Mathlib.Algebra.Category.ModuleCat.Colimits |
| 5 | |
| 6 | /-! # Mapped Total One -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.FirstThree.MappedTotalOne.FirstThreeMappedTotalHOne |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Retaining form degrees zero through two preserves H-one of the original |
| 13 | first-quadrant total after an additive row functor. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 16 | |
| 17 | universe u v a b |
| 18 | variable (R : Type u) [CommRing R] |
| 19 | {C : Type a} [Category.{b} C] [Preadditive C] [HasZeroObject C] |
| 20 | (G : C ⥤ CochainComplex (ModuleCat.{max u v} R) ℕ) [G.Additive] |
| 21 | (K : CochainComplex C ℕ) |
| 22 | |
| 23 | def bicomplexMap := (G.mapHomologicalComplex (.up ℕ)).map (ThreeComplex.FirstThreeComplex.projection K) |
| 24 | |
| 25 | theorem row_isIso (q : ℕ) (hq : q ≤ 2) : IsIso ((bicomplexMap R G K).f q) := by |
| 26 | have h : q = 0 ∨ q = 1 ∨ q = 2 := by omega |
| 27 | rcases h with rfl | rfl | rfl |
| 28 | all_goals |
| 29 | change IsIso (G.map (𝟙 _)) |
| 30 | infer_instance |
| 31 | |
| 32 | local instance colimits : HasColimitsOfSize.{0, 0} (ModuleCat.{max u v} R) := |
| 33 | ModuleCat.hasColimitsOfSize.{max u v, u, 0, 0} R |
| 34 | |
| 35 | def map := HomologicalComplex₂.total.map (bicomplexMap R G K) (.up ℕ) |
| 36 | |
| 37 | theorem quasiIsoAt : QuasiIsoAt (FirstThreeMappedTotalHOne.map R G K) 1 := by |
| 38 | let : IsIso ((bicomplexMap R G K).f 0) := row_isIso R G K 0 (by decide) |
| 39 | let : IsIso ((bicomplexMap R G K).f 1) := row_isIso R G K 1 (by decide) |
| 40 | let : IsIso ((bicomplexMap R G K).f 2) := row_isIso R G K 2 le_rfl |
| 41 | exact Module.TotalOneQuasiIso.ModuleTotalHOneQuasiIso.quasiIsoAt (bicomplexMap R G K) inferInstance inferInstance inferInstance |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.NumberTheory.PadicHodge.GeometricComparison.FirstThree.MappedTotalOne.FirstThreeMappedTotalHOne |