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.Comparison.Betti.ResolutionExactImage |
| 2 | |
| 3 | /-! # Resolution From Quasi Iso -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Comparison.Betti.ResolutionFromQuasiIso |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A proved quasi-isomorphic augmentation gives actual kernel and |
| 10 | positive exactness data for its nonnegative resolution. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.HomologicalComplex |
| 13 | |
| 14 | variable {C : Type*} [Category* C] [Abelian C] {Z : C} {K : CochainComplex C ℕ} |
| 15 | (α : (CochainComplex.single₀ C).obj Z ⟶ K) [QuasiIso α] |
| 16 | |
| 17 | omit [QuasiIso α] in |
| 18 | theorem augmentation_zero_comp : α.f 0 ≫ K.d 0 1 = 0 := by |
| 19 | rw [α.comm] |
| 20 | exact zero_comp |
| 21 | |
| 22 | def augmentation_kernel : IsLimit (KernelFork.ofι (α.f 0) (augmentation_zero_comp α)) := by |
| 23 | let S := K.sc' 0 0 1 |
| 24 | have hq : QuasiIsoAt α 0 := inferInstance |
| 25 | have hq' := (CochainComplex.quasiIsoAt₀_iff α).mp hq |
| 26 | have hi : IsIso (S.liftCycles (α.f 0) (augmentation_zero_comp α)) := |
| 27 | (ShortComplex.quasiIso_iff_isIso_liftCycles |
| 28 | ((shortComplexFunctor' C (.up ℕ) 0 0 1).map α) |
| 29 | (by rfl) (by rfl) (K.shape 0 0 (by decide))).mp hq' |
| 30 | let e := asIso (S.liftCycles (α.f 0) (augmentation_zero_comp α)) |
| 31 | refine IsLimit.ofIsoLimit S.cyclesIsKernel (Fork.ext e.symm ?_) |
| 32 | apply (cancel_epi e.hom).mp |
| 33 | change e.hom ≫ e.inv ≫ α.f 0 = e.hom ≫ S.iCycles |
| 34 | rw [e.hom_inv_id_assoc] |
| 35 | exact (S.liftCycles_i (α.f 0) (augmentation_zero_comp α)).symm |
| 36 | |
| 37 | def ofQuasiIsoAugmentation : ResolutionExactImage.Data Z where |
| 38 | complex := K |
| 39 | augmentation := α.f 0 |
| 40 | augmentation_d := augmentation_zero_comp α |
| 41 | isKernel := augmentation_kernel α |
| 42 | exact_succ n := (quasiIsoAt_iff_exactAt α (n + 1) |
| 43 | (exactAt_single_obj (.up ℕ) 0 Z (n + 1) (Nat.succ_ne_zero n))).mp inferInstance |
| 44 | |
| 45 | theorem ofQuasiIsoAugmentation_cochain : ResolutionExactImage.cochainAugmentation (ofQuasiIsoAugmentation α) = α := by |
| 46 | apply HomologicalComplex.Hom.ext |
| 47 | funext n |
| 48 | cases n with |
| 49 | | zero => |
| 50 | dsimp only [ResolutionExactImage.cochainAugmentation, ofQuasiIsoAugmentation] |
| 51 | exact CochainComplex.fromSingle₀Equiv_symm_apply_f_zero _ _ |
| 52 | | succ n => exact (isZero_single_obj_X (.up ℕ) 0 Z (n + 1) (Nat.succ_ne_zero n)).eq_of_src _ _ |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.Comparison.Betti.ResolutionFromQuasiIso |