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.Algebra.Homology.Augment |
| 2 | import Mathlib.CategoryTheory.Abelian.Projective.Resolution |
| 3 | import Mathlib.Algebra.Homology.ShortComplex.ShortExact |
| 4 | |
| 5 | /-! # Resolution Augment -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.ResolutionAugment |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Attach a projective middle term to a resolution of the kernel in a |
| 12 | short exact sequence. This constructs the next bounded resolution without |
| 13 | assuming a derived-functor vanishing theorem. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 18 | |
| 19 | universe u v |
| 20 | |
| 21 | variable {C : Type u} [Category.{v} C] [Abelian C] |
| 22 | (S : ShortComplex C) (hS : S.ShortExact) |
| 23 | (Q : ProjectiveResolution S.X₁) |
| 24 | |
| 25 | def complex : ChainComplex C ℕ := |
| 26 | Q.complex.augment (Q.π.f 0 ≫ S.f) (by rw [← Category.assoc, Q.complex_d_comp_π_f_zero, zero_comp]) |
| 27 | |
| 28 | include hS in |
| 29 | theorem complex_exact_zero : |
| 30 | (ShortComplex.mk ((ResolutionAugment.complex S Q).d 1 0) S.g (by simp [ResolutionAugment.complex])).Exact := by |
| 31 | let T := ShortComplex.mk ((ResolutionAugment.complex S Q).d 1 0) S.g (by simp [ResolutionAugment.complex]) |
| 32 | let φ : T ⟶ S := |
| 33 | { τ₁ := Q.π.f 0, τ₂ := 𝟙 _, τ₃ := 𝟙 _ |
| 34 | comm₁₂ := by simp [T, ResolutionAugment.complex] |
| 35 | comm₂₃ := by simp [T, ResolutionAugment.complex] } |
| 36 | exact (ShortComplex.exact_iff_of_epi_of_isIso_of_mono φ).mpr hS.exact |
| 37 | |
| 38 | include hS in |
| 39 | theorem complex_exact_succ (n : ℕ) : (ResolutionAugment.complex S Q).ExactAt (n + 1) := by |
| 40 | rw [HomologicalComplex.exactAt_iff' _ (n + 2) (n + 1) n (by simp) (by simp)] |
| 41 | cases n with |
| 42 | | zero => |
| 43 | let T := ShortComplex.mk (Q.complex.d 1 0) (Q.π.f 0) Q.complex_d_comp_π_f_zero |
| 44 | let U := (ResolutionAugment.complex S Q).sc' 2 1 0 |
| 45 | let φ : T ⟶ U := |
| 46 | { τ₁ := 𝟙 _, τ₂ := 𝟙 _, τ₃ := S.f |
| 47 | comm₁₂ := by simp [T, U, ResolutionAugment.complex] |
| 48 | comm₂₃ := by simp [T, U, ResolutionAugment.complex] } |
| 49 | let : Mono S.f := hS.mono_f |
| 50 | exact (ShortComplex.exact_iff_of_epi_of_isIso_of_mono φ).mp Q.exact₀ |
| 51 | | succ n => |
| 52 | simpa only [ResolutionAugment.complex, HomologicalComplex.sc', HomologicalComplex.shortComplexFunctor', |
| 53 | ChainComplex.augment_d_succ_succ] using Q.exact_succ n |
| 54 | |
| 55 | variable [Projective S.X₂] |
| 56 | |
| 57 | def resolution : ProjectiveResolution S.X₃ where |
| 58 | complex := ResolutionAugment.complex S Q |
| 59 | projective n := by |
| 60 | cases n with |
| 61 | | zero => exact inferInstanceAs (Projective S.X₂) |
| 62 | | succ n => exact Q.projective n |
| 63 | π := (ChainComplex.toSingle₀Equiv _ _).symm ⟨S.g, by simp [ResolutionAugment.complex]⟩ |
| 64 | quasiIso := ⟨fun n => by |
| 65 | cases n with |
| 66 | | zero => |
| 67 | rw [ChainComplex.quasiIsoAt₀_iff, ShortComplex.quasiIso_iff_of_zeros'] |
| 68 | · refine (ShortComplex.exact_and_epi_g_iff_of_iso ?_).mpr |
| 69 | ⟨complex_exact_zero S hS Q, hS.epi_g⟩ |
| 70 | exact ShortComplex.isoMk (Iso.refl _) (Iso.refl _) (Iso.refl _) |
| 71 | (by simp [ResolutionAugment.complex]) (by simp) |
| 72 | all_goals rfl |
| 73 | | succ n => |
| 74 | rw [quasiIsoAt_iff_exactAt'] |
| 75 | · exact complex_exact_succ S hS Q n |
| 76 | · exact ChainComplex.exactAt_succ_single_obj _ n⟩ |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.ResolutionAugment |