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.Functor.HomologyEvaluation |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.NatIsoLocalNaturality |
| 3 | |
| 4 | /-! # Homology Local -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Functor.HomologyLocal.Comparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A local comparison on actual evaluated complexes induces the corresponding original homology-presheaf map. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory |
| 13 | |
| 14 | variable {C A : Type*} [Category* C] [Category* A] [Abelian A] |
| 15 | (K L : CochainComplex (C ⥤ A) ℕ) (n : ℕ) |
| 16 | |
| 17 | def map (c : C) (a : (HomologicalComplex.asFunctor K).obj c ⟶ (HomologicalComplex.asFunctor L).obj c) : |
| 18 | (K.homology n).obj c ⟶ (L.homology n).obj c := |
| 19 | (HomologyEvaluation.component K n c).inv ≫ HomologicalComplex.homologyMap a n ≫ |
| 20 | (HomologyEvaluation.component L n c).hom |
| 21 | |
| 22 | theorem naturality {c d : C} (f : c ⟶ d) |
| 23 | (a : (HomologicalComplex.asFunctor K).obj c ⟶ (HomologicalComplex.asFunctor L).obj c) |
| 24 | (b : (HomologicalComplex.asFunctor K).obj d ⟶ (HomologicalComplex.asFunctor L).obj d) |
| 25 | (h : HomologicalComplex.homologyMap (a ≫ (HomologicalComplex.asFunctor L).map f) n = |
| 26 | HomologicalComplex.homologyMap ((HomologicalComplex.asFunctor K).map f ≫ b) n) : |
| 27 | (K.homology n).map f ≫ Comparison.map K L n d b = Comparison.map K L n c a ≫ (L.homology n).map f := by |
| 28 | let H := HomologicalComplex.homologyFunctor A (.up ℕ) n |
| 29 | have hh : H.map ((HomologicalComplex.asFunctor K).map f) ≫ H.map b = |
| 30 | H.map a ≫ H.map ((HomologicalComplex.asFunctor L).map f) := |
| 31 | (H.map_comp _ _).symm.trans (h.symm.trans (H.map_comp _ _)) |
| 32 | have hs := NatIsoLocalNaturality.square (HomologyEvaluation.iso K n) |
| 33 | (HomologyEvaluation.iso L n) f (H.map a) (H.map b) hh |
| 34 | exact hs.trans |
| 35 | ((congrArg (fun t => (HomologyEvaluation.component K n c).inv ≫ t) |
| 36 | (Category.assoc _ _ ((L.homology n).map f)).symm).trans (Category.assoc _ _ _).symm) |
| 37 | |
| 38 | instance map_isIso (c : C) |
| 39 | (a : (HomologicalComplex.asFunctor K).obj c ⟶ (HomologicalComplex.asFunctor L).obj c) |
| 40 | [QuasiIsoAt a n] : IsIso (Comparison.map K L n c a) := by |
| 41 | dsimp only [Comparison.map] |
| 42 | infer_instance |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Functor.HomologyLocal.Comparison |