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 Mathlib.CategoryTheory.Abelian.Injective.Resolution |
| 2 | |
| 3 | /-! # Injective First -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.InjectiveFirst.InjectiveFirstCycles |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # The first cycles of an injective resolution |
| 11 | |
| 12 | The augmentation identifies the original object with the kernel of the |
| 13 | surjection from degree zero onto the degree-one cycles. This packages the |
| 14 | initial part of the original injective resolution as a short exact sequence. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 18 | |
| 19 | universe u v |
| 20 | |
| 21 | variable {C : Type u} [Category.{v} C] [Abelian C] {F : C} (I : InjectiveResolution F) |
| 22 | |
| 23 | theorem augmentation_toCycles : I.ι.f 0 ≫ (I.cocomplex.sc' 0 1 2).toCycles = 0 := by |
| 24 | apply (cancel_mono (I.cocomplex.sc' 0 1 2).iCycles).mp |
| 25 | exact (Category.assoc _ _ _).trans |
| 26 | ((congrArg (fun f => I.ι.f 0 ≫ f) (I.cocomplex.sc' 0 1 2).toCycles_i).trans |
| 27 | (I.ι_f_zero_comp_complex_d.trans (zero_comp : |
| 28 | (0 : F ⟶ (I.cocomplex.sc' 0 1 2).cycles) ≫ (I.cocomplex.sc' 0 1 2).iCycles = 0).symm)) |
| 29 | |
| 30 | def shortComplex : ShortComplex C := |
| 31 | ShortComplex.mk (I.ι.f 0) (I.cocomplex.sc' 0 1 2).toCycles (augmentation_toCycles I) |
| 32 | |
| 33 | def comparison : shortComplex I ⟶ ShortComplex.mk _ _ I.ι_f_zero_comp_complex_d := |
| 34 | ShortComplex.Hom.mk (𝟙 _) (𝟙 _) (I.cocomplex.sc' 0 1 2).iCycles |
| 35 | ((Category.id_comp _).trans (Category.comp_id _).symm) |
| 36 | ((Category.id_comp _).trans (I.cocomplex.sc' 0 1 2).toCycles_i.symm) |
| 37 | |
| 38 | theorem shortExact : (shortComplex I).ShortExact := by |
| 39 | have hI : (I.cocomplex.sc' 0 1 2).Exact := |
| 40 | (I.cocomplex.exactAt_iff' 0 1 2 (by simp) (by simp)).mp (I.cocomplex_exactAt_succ 0) |
| 41 | have : Epi (I.cocomplex.sc' 0 1 2).toCycles := hI.epi_toCycles |
| 42 | refine { exact := ?_, mono_f := ?_, epi_g := ?_ } |
| 43 | · have : Epi (comparison I).τ₁ := by change Epi (𝟙 F); infer_instance |
| 44 | have : IsIso (comparison I).τ₂ := by change IsIso (𝟙 (I.cocomplex.X 0)); infer_instance |
| 45 | have : Mono (comparison I).τ₃ := by change Mono (I.cocomplex.sc' 0 1 2).iCycles; infer_instance |
| 46 | exact (ShortComplex.exact_iff_of_epi_of_isIso_of_mono (comparison I)).mpr I.exact₀ |
| 47 | · change Mono (I.ι.f 0) |
| 48 | infer_instance |
| 49 | · change Epi (I.cocomplex.sc' 0 1 2).toCycles |
| 50 | infer_instance |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.InjectiveFirst.InjectiveFirstCycles |