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.CechCone.TotalSquare |
| 2 | import Mathlib.Algebra.Homology.Functor |
| 3 | import Mathlib.Algebra.Homology.QuasiIso |
| 4 | |
| 5 | /-! # Cone Quasi Iso -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.ConeQuasiIso |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A genuine isomorphism square of presheaf-complex cones preserves |
| 12 | the quasi-isomorphism property of their original Čech augmentations. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 15 | |
| 16 | universe u v w z |
| 17 | variable {C : Type u} [Category.{v} C] [HasBinaryProducts C] |
| 18 | {A : Type w} [Category.{z} A] [Abelian A] [HasProducts.{0} A] [HasCoproducts.{0} A] |
| 19 | {ι : Type} [Finite ι] (U : ι → C) |
| 20 | {M N : CochainComplex A ℕ} {K L : CochainComplex (Cᵒᵖ ⥤ A) ℕ} |
| 21 | (α : ((Functor.const Cᵒᵖ).mapHomologicalComplex (.up ℕ)).obj M ⟶ K) |
| 22 | (β : ((Functor.const Cᵒᵖ).mapHomologicalComplex (.up ℕ)).obj N ⟶ L) |
| 23 | (e : M ≅ N) (t : K ≅ L) |
| 24 | (h : α ≫ t.hom = ((Functor.const Cᵒᵖ).mapHomologicalComplex (.up ℕ)).map e.hom ≫ β) |
| 25 | |
| 26 | local notation "D" => HomologicalComplex.complexOfFunctorsToFunctorToComplex |
| 27 | |
| 28 | def map := GeometricComparison.CechCone.Total.CechConeTotal.augmentation U ((D).obj K) M ((D).map α) |
| 29 | |
| 30 | include h in |
| 31 | omit [Finite ι] in |
| 32 | theorem square : ConeQuasiIso.map U α ≫ |
| 33 | (GeometricComparison.CechCone.TotalFunctor.CechConeTotalFunctor.functor U).map ((D).map t.hom) = e.hom ≫ ConeQuasiIso.map U β := by |
| 34 | apply GeometricComparison.CechCone.TotalSquare.CechConeTotalConeSquare.natural |
| 35 | exact (congrArg (D).map h).trans (by rw [Functor.map_comp]; rfl) |
| 36 | |
| 37 | omit [Finite ι] in |
| 38 | include h in |
| 39 | theorem quasiIso (hβ : QuasiIso (ConeQuasiIso.map U β)) : QuasiIso (ConeQuasiIso.map U α) := by |
| 40 | let ti := (GeometricComparison.CechCone.TotalFunctor.CechConeTotalFunctor.functor U).mapIso ((D).mapIso t) |
| 41 | have htq : QuasiIso ti.hom := by |
| 42 | change QuasiIso (((GeometricComparison.CechCone.TotalFunctor.CechConeTotalFunctor.functor U).mapIso ((D).mapIso t)).hom) |
| 43 | infer_instance |
| 44 | have ht : QuasiIso (ConeQuasiIso.map U α ≫ ti.hom) := by |
| 45 | rw [show ConeQuasiIso.map U α ≫ ti.hom = e.hom ≫ ConeQuasiIso.map U β from square U α β e t h] |
| 46 | exact quasiIso_comp e.hom (ConeQuasiIso.map U β) (hφ' := hβ) |
| 47 | exact (quasiIso_iff_comp_right (ConeQuasiIso.map U α) ti.hom (hφ' := htq)).mp ht |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.ConeQuasiIso |