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 |
| 2 | |
| 3 | /-! # Resolution Cycles -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Augmented.ResolutionCycles |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # IntegralComparison: canonical cycle short exact sequences of an augmented resolution |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 14 | |
| 15 | universe u v |
| 16 | |
| 17 | variable {C : Type u} [Category.{v} C] [Abelian C] |
| 18 | (K : CochainComplex C ℕ) {Z : C} (ι : (CochainComplex.single₀ C).obj Z ⟶ K) |
| 19 | |
| 20 | abbrev augmentation : Z ⟶ K.X 0 := ι.f 0 |
| 21 | |
| 22 | theorem augmentation_condition : augmentation K ι ≫ K.d 0 1 = 0 := |
| 23 | ((CochainComplex.fromSingle₀Equiv K Z) ι).property |
| 24 | |
| 25 | abbrev differentialSequence (n : ℕ) : ShortComplex C := |
| 26 | ShortComplex.mk (K.d n (n + 1)) (K.d (n + 1) (n + 2)) (K.d_comp_d n (n + 1) (n + 2)) |
| 27 | |
| 28 | abbrev initialSequence : ShortComplex C := |
| 29 | let T := differentialSequence K 0 |
| 30 | ShortComplex.mk (augmentation K ι) T.toCycles (by |
| 31 | rw [← cancel_mono T.iCycles, Category.assoc, T.toCycles_i, zero_comp] |
| 32 | exact augmentation_condition K ι) |
| 33 | |
| 34 | abbrev successiveSequence (n : ℕ) : ShortComplex C := |
| 35 | let T := differentialSequence K n |
| 36 | let T' := differentialSequence K (n + 1) |
| 37 | ShortComplex.mk T.iCycles T'.toCycles (by |
| 38 | rw [← cancel_mono T'.iCycles, Category.assoc, T'.toCycles_i, zero_comp] |
| 39 | exact T.iCycles_g) |
| 40 | |
| 41 | variable [QuasiIso ι] |
| 42 | |
| 43 | theorem augmentation_exact_and_mono : |
| 44 | (ShortComplex.mk (augmentation K ι) (K.d 0 1) (augmentation_condition K ι)).Exact ∧ Mono (augmentation K ι) := by |
| 45 | have h := (CochainComplex.quasiIsoAt₀_iff ι).mp (inferInstance : QuasiIsoAt ι 0) |
| 46 | rw [ShortComplex.quasiIso_iff_of_zeros] at h |
| 47 | · exact h |
| 48 | all_goals first | rfl | exact K.shape 0 0 (by simp) |
| 49 | |
| 50 | include ι in |
| 51 | theorem positive_exact (n : ℕ) : (differentialSequence K n).Exact := by |
| 52 | have h : K.ExactAt (n + 1) := |
| 53 | (quasiIsoAt_iff_exactAt ι (n + 1) (CochainComplex.exactAt_succ_single_obj _ _)).mp inferInstance |
| 54 | exact (K.exactAt_iff' n (n + 1) (n + 2) (by simp) (by simp)).mp h |
| 55 | |
| 56 | theorem initialSequence_shortExact : (initialSequence K ι).ShortExact := by |
| 57 | let T := differentialSequence K 0 |
| 58 | let A := initialSequence K ι |
| 59 | have haug := augmentation_exact_and_mono K ι |
| 60 | let : Mono (augmentation K ι) := haug.2 |
| 61 | have hker : IsLimit (KernelFork.ofι A.f A.zero) := |
| 62 | isKernelOfComp T.iCycles T.f haug.1.fIsKernel A.zero T.toCycles_i |
| 63 | have hA : A.Exact := ShortComplex.exact_of_f_is_kernel A hker |
| 64 | let : Epi A.g := (positive_exact K ι 0).epi_toCycles |
| 65 | exact { exact := hA } |
| 66 | |
| 67 | include ι in |
| 68 | theorem successiveSequence_shortExact (n : ℕ) : (successiveSequence K n).ShortExact := by |
| 69 | let T := differentialSequence K n |
| 70 | let T' := differentialSequence K (n + 1) |
| 71 | let A := successiveSequence K n |
| 72 | have hker : IsLimit (KernelFork.ofι A.f A.zero) := |
| 73 | isKernelOfComp T'.iCycles T'.f T.cyclesIsKernel A.zero T'.toCycles_i |
| 74 | have hA : A.Exact := ShortComplex.exact_of_f_is_kernel A hker |
| 75 | let : Epi A.g := (positive_exact K ι (n + 1)).epi_toCycles |
| 76 | exact { exact := hA } |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Augmented.ResolutionCycles |