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.ConstantSection.ComplexNaturality |
| 2 | |
| 3 | /-! # Complex Quasi Iso -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ConstantSection.ComplexQuasiIso |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Quasi-isomorphism transport through the canonical section map is proved |
| 10 | before specializing either coefficient complex. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory |
| 13 | |
| 14 | private theorem source_iso {A : Type*} [Category A] [Abelian A] |
| 15 | {K L T : CochainComplex A ℕ} (u : K ⟶ L) (f : K ⟶ T) (g : L ⟶ T) |
| 16 | (h : f = u ≫ g) (hu : IsIso u) : QuasiIso f ↔ QuasiIso g := by |
| 17 | let := hu |
| 18 | rw [h] |
| 19 | exact quasiIso_iff_comp_left _ _ |
| 20 | |
| 21 | private theorem transported_square {C : Type*} [Category C] {A A' K L I : C} |
| 22 | (u : A ⟶ A') (a : A ⟶ K) (b : A' ⟶ L) (t : K ≅ L) (g : K ⟶ I) |
| 23 | (h : a ≫ t.hom = u ≫ b) : u ≫ (b ≫ t.inv ≫ g) = a ≫ g := by |
| 24 | calc |
| 25 | _ = (u ≫ b) ≫ t.inv ≫ g := by simp only [Category.assoc] |
| 26 | _ = (a ≫ t.hom) ≫ t.inv ≫ g := by rw [h] |
| 27 | _ = _ := by simp only [Category.assoc, Iso.hom_inv_id_assoc] |
| 28 | |
| 29 | universe u v w z |
| 30 | variable {C : Type u} [Category.{v} C] (R : Type w) [CommRing R] |
| 31 | (J : GrothendieckTopology C) [HasSheafify J (ModuleCat.{w} R)] |
| 32 | [HasExt.{max w z} (Sheaf J (ModuleCat.{w} R))] |
| 33 | {D D' : CochainComplex (ModuleCat.{w} R) ℕ} |
| 34 | {K K' : CochainComplex (Sheaf J (ModuleCat.{w} R)) ℕ} |
| 35 | (e : D ≅ D') (g : K ⟶ K') |
| 36 | (a : ((constantSheaf J (ModuleCat.{w} R)).mapHomologicalComplex (.up ℕ)).obj D ⟶ K) |
| 37 | (a' : ((constantSheaf J (ModuleCat.{w} R)).mapHomologicalComplex (.up ℕ)).obj D' ⟶ K') |
| 38 | (hc : ((constantSheaf J (ModuleCat.{w} R)).mapHomologicalComplex (.up ℕ)).map e.hom ≫ a' = a ≫ g) |
| 39 | |
| 40 | abbrev naturality := source_iso _ _ _ |
| 41 | (ComplexNaturality.naturality.{u,v,w,z} R J e.hom g a a' hc) |
| 42 | ((((ModuleCat.uliftFunctor.{z,w} R).mapHomologicalComplex (.up ℕ)).mapIso e).isIso_hom) |
| 43 | |
| 44 | variable {L : CochainComplex (Sheaf J (ModuleCat.{w} R)) ℕ} |
| 45 | (t : K ≅ L) |
| 46 | (b : ((constantSheaf J (ModuleCat.{w} R)).mapHomologicalComplex (.up ℕ)).obj D' ⟶ L) |
| 47 | (h : a ≫ t.hom = |
| 48 | ((constantSheaf J (ModuleCat.{w} R)).mapHomologicalComplex (.up ℕ)).map e.hom ≫ b) |
| 49 | |
| 50 | abbrev transported := naturality R J e g a (b ≫ t.inv ≫ g) |
| 51 | (transported_square _ a b t g h) |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ConstantSection.ComplexQuasiIso |