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.Acyclic.PositiveNaturality |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Acyclic.ResolutionZero |
| 3 | |
| 4 | /-! # Map Quasi Iso -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Acyclic.MapQuasiIso |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # IntegralComparison: an augmented comparison between actual acyclic resolutions remains a quasi-isomorphism on sections |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory |
| 15 | |
| 16 | open Abelian |
| 17 | |
| 18 | universe u v z t |
| 19 | |
| 20 | variable {C : Type u} [Category.{v} C] [Abelian C] [HasExt.{z} C] |
| 21 | (R : Type t) [CommRing R] [Linear R C] (X : C) |
| 22 | {K L : CochainComplex C ℕ} {Z W : C} |
| 23 | (ι : (CochainComplex.single₀ C).obj Z ⟶ K) (κ : (CochainComplex.single₀ C).obj W ⟶ L) |
| 24 | [QuasiIso ι] [QuasiIso κ] |
| 25 | (φ : K ⟶ L) (f : Z ⟶ W) (hφ : ι ≫ φ = (CochainComplex.single₀ C).map f ≫ κ) |
| 26 | |
| 27 | local notation "F" => OAI.NumberTheory.PadicHodge.IntegralComparison.Ext.ModuleFunctor.functor R X 0 |
| 28 | local notation "M" => CategoryTheory.Functor.map |
| 29 | (CategoryTheory.Functor.mapHomologicalComplex F (ComplexShape.up ℕ)) φ |
| 30 | local notation "aK" => OAI.NumberTheory.PadicHodge.IntegralComparison.Acyclic.ResolutionZero.Comparison.augmentation R X K ι |
| 31 | local notation "aL" => OAI.NumberTheory.PadicHodge.IntegralComparison.Acyclic.ResolutionZero.Comparison.augmentation R X L κ |
| 32 | |
| 33 | include hφ |
| 34 | |
| 35 | omit [QuasiIso ι] [QuasiIso κ] in |
| 36 | theorem augmentation : aK ≫ M = (CochainComplex.single₀ _).map ((F).map f) ≫ aL := by |
| 37 | apply (CochainComplex.fromSingle₀Equiv (Resolution.Comparison.complex R X L) ((F).obj Z)).injective |
| 38 | apply Subtype.ext |
| 39 | have h := Augmented.ResolutionCycleMaps.augmentation φ ι κ f hφ |
| 40 | have hm : (F).map (Augmented.ResolutionCycles.augmentation K ι) ≫ (F).map (φ.f 0) = |
| 41 | (F).map f ≫ (F).map (Augmented.ResolutionCycles.augmentation L κ) := by |
| 42 | rw [← (F).map_comp, ← h, (F).map_comp] |
| 43 | exact (congrArg (fun a => a ≫ (F).map (φ.f 0)) (ResolutionZero.Comparison.augmentation_zero R X K ι)).trans |
| 44 | (hm.trans (congrArg₂ (fun a b => a ≫ b) |
| 45 | (CochainComplex.single₀_map_f_zero ((F).map f)).symm |
| 46 | (ResolutionZero.Comparison.augmentation_zero R X L κ).symm)) |
| 47 | |
| 48 | theorem zero [IsIso f] : QuasiIsoAt M 0 := by |
| 49 | have hl : QuasiIsoAt ((CochainComplex.single₀ (ModuleCat.{z} R)).map ((F).map f) ≫ aL) 0 := |
| 50 | inferInstance |
| 51 | have : QuasiIsoAt (aK ≫ M) 0 := (augmentation R X ι κ φ f hφ).symm ▸ hl |
| 52 | exact quasiIsoAt_of_comp_left aK M 0 |
| 53 | |
| 54 | variable (hK : ∀ a q, Subsingleton (Ext.{z} X (K.X a) (q + 1))) |
| 55 | (hL : ∀ a q, Subsingleton (Ext.{z} X (L.X a) (q + 1))) |
| 56 | |
| 57 | include hK hL |
| 58 | |
| 59 | theorem positive [IsIso f] (n : ℕ) : QuasiIsoAt M (n + 1) := by |
| 60 | let eK : (((F).mapHomologicalComplex (ComplexShape.up ℕ)).obj K).homology (n + 1) ≅ |
| 61 | ModuleCat.of R (Ext.{z} X Z (n + 1)) := |
| 62 | Resolution.Comparison.positiveHomologyIso R X K ι hK n |
| 63 | let eL : (((F).mapHomologicalComplex (ComplexShape.up ℕ)).obj L).homology (n + 1) ≅ |
| 64 | ModuleCat.of R (Ext.{z} X W (n + 1)) := |
| 65 | Resolution.Comparison.positiveHomologyIso R X L κ hL n |
| 66 | let b : ModuleCat.of R (Ext.{z} X Z (n + 1)) ≅ ModuleCat.of R (Ext.{z} X W (n + 1)) := |
| 67 | (IntegralComparison.Ext.ModuleFunctor.functor R X (n + 1)).mapIso (asIso f) |
| 68 | have hn : HomologicalComplex.homologyMap M (n + 1) ≫ eL.hom = eK.hom ≫ b.hom := |
| 69 | PositiveNaturality.naturality R X ι κ hK hL φ f hφ n |
| 70 | have : IsIso (HomologicalComplex.homologyMap M (n + 1) ≫ eL.hom) := |
| 71 | hn.symm ▸ (inferInstance : IsIso (eK.hom ≫ b.hom)) |
| 72 | apply (quasiIsoAt_iff_isIso_homologyMap M (n + 1)).mpr |
| 73 | exact IsIso.of_isIso_comp_right _ eL.hom |
| 74 | |
| 75 | theorem quasiIso [IsIso f] : QuasiIso M := ⟨fun n => by |
| 76 | cases n with |
| 77 | | zero => exact MapQuasiIso.zero R X ι κ φ f hφ |
| 78 | | succ n => exact positive R X ι κ φ f hφ hK hL n⟩ |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Acyclic.MapQuasiIso |