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.IntegralComparison.Augmented.ResolutionCycles |
| 2 | |
| 3 | /-! # Resolution To Injective -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Augmented.ResolutionToInjective |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # IntegralComparison: comparison from an actual augmented resolution to an injective resolution |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory |
| 14 | |
| 15 | universe u v |
| 16 | |
| 17 | variable {C : Type u} [Category.{v} C] [Abelian C] |
| 18 | (K : CochainComplex C ℕ) {Z Z' : C} (ι : (CochainComplex.single₀ C).obj Z ⟶ K) |
| 19 | [QuasiIso ι] (I : InjectiveResolution Z') (f : Z ⟶ Z') |
| 20 | |
| 21 | local notation "aK" => OAI.NumberTheory.PadicHodge.IntegralComparison.Augmented.ResolutionCycles.augmentation K ι |
| 22 | local notation "aI" => OAI.NumberTheory.PadicHodge.IntegralComparison.Augmented.ResolutionCycles.augmentation I.cocomplex I.ι |
| 23 | |
| 24 | private def zero : K.X 0 ⟶ I.cocomplex.X 0 := by |
| 25 | letI : Mono aK := (ResolutionCycles.augmentation_exact_and_mono K ι).2 |
| 26 | exact Injective.factorThru (f ≫ aI) aK |
| 27 | |
| 28 | private theorem zero_comm : aK ≫ zero K ι I f = f ≫ aI := by |
| 29 | let : Mono aK := (ResolutionCycles.augmentation_exact_and_mono K ι).2 |
| 30 | exact Injective.comp_factorThru (f ≫ aI) aK |
| 31 | |
| 32 | private def one : K.X 1 ⟶ I.cocomplex.X 1 := |
| 33 | (ResolutionCycles.augmentation_exact_and_mono K ι).1.descToInjective |
| 34 | (zero K ι I f ≫ I.cocomplex.d 0 1) (by |
| 35 | change aK ≫ zero K ι I f ≫ I.cocomplex.d 0 1 = 0 |
| 36 | exact (Category.assoc _ _ _).symm.trans |
| 37 | ((congrArg (fun a => a ≫ I.cocomplex.d 0 1) (zero_comm K ι I f)).trans |
| 38 | ((Category.assoc _ _ _).trans |
| 39 | ((congrArg (fun a => f ≫ a) (ResolutionCycles.augmentation_condition I.cocomplex I.ι)).trans |
| 40 | Limits.comp_zero)))) |
| 41 | |
| 42 | private theorem one_comm : K.d 0 1 ≫ one K ι I f = zero K ι I f ≫ I.cocomplex.d 0 1 := |
| 43 | (ResolutionCycles.augmentation_exact_and_mono K ι).1.comp_descToInjective _ _ |
| 44 | |
| 45 | private def step (i : ℕ) (a : K.X i ⟶ I.cocomplex.X i) |
| 46 | (b : K.X (i + 1) ⟶ I.cocomplex.X (i + 1)) |
| 47 | (h : K.d i (i + 1) ≫ b = a ≫ I.cocomplex.d i (i + 1)) : |
| 48 | Σ' c : K.X (i + 2) ⟶ I.cocomplex.X (i + 2), |
| 49 | K.d (i + 1) (i + 2) ≫ c = b ≫ I.cocomplex.d (i + 1) (i + 2) := |
| 50 | ⟨(ResolutionCycles.positive_exact K ι i).descToInjective |
| 51 | (b ≫ I.cocomplex.d (i + 1) (i + 2)) (by |
| 52 | change K.d i (i + 1) ≫ b ≫ I.cocomplex.d (i + 1) (i + 2) = 0 |
| 53 | rw [← Category.assoc, h, Category.assoc, I.cocomplex.d_comp_d, Limits.comp_zero]), |
| 54 | (ResolutionCycles.positive_exact K ι i).comp_descToInjective _ _⟩ |
| 55 | |
| 56 | def map : K ⟶ I.cocomplex := |
| 57 | CochainComplex.mkHom _ _ (zero K ι I f) (one K ι I f) (one_comm K ι I f).symm |
| 58 | (fun i ⟨a, b, h⟩ => ⟨(step K ι I i a b h.symm).1, (step K ι I i a b h.symm).2.symm⟩) |
| 59 | |
| 60 | theorem augmentation_zero : aK ≫ (ResolutionToInjective.map K ι I f).f 0 = f ≫ aI := zero_comm K ι I f |
| 61 | |
| 62 | theorem augmentation : ι ≫ ResolutionToInjective.map K ι I f = (CochainComplex.single₀ C).map f ≫ I.ι := by |
| 63 | apply (CochainComplex.fromSingle₀Equiv I.cocomplex Z).injective |
| 64 | apply Subtype.ext |
| 65 | exact (augmentation_zero K ι I f).trans |
| 66 | (congrArg (fun a => a ≫ aI) (CochainComplex.single₀_map_f_zero f)).symm |
| 67 | |
| 68 | theorem quasiIso [IsIso f] : QuasiIso (ResolutionToInjective.map K ι I f) := by |
| 69 | have : QuasiIso (ι ≫ ResolutionToInjective.map K ι I f) := by |
| 70 | rw [augmentation] |
| 71 | infer_instance |
| 72 | exact quasiIso_of_comp_left ι (ResolutionToInjective.map K ι I f) |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Augmented.ResolutionToInjective |