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 | /- |
| 2 | Derived from AINTLIB: |
| 3 | projects/ModularCurves/ModularCurves/ForMathlib/SheafDerivedGlobalSections.lean |
| 4 | The upstream AINTLIB repository is licensed under Apache 2.0. |
| 5 | This file has been modified. |
| 6 | -/ |
| 7 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ExtInjectiveHomology |
| 8 | |
| 9 | /-! # Ext Represented Homology -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ExtRepresentedHomology.DerivedSections |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Abelian _root_.CategoryTheory.Abelian.Ext |
| 16 | universe v u |
| 17 | variable {C : Type u} [Category.{v} C] [Abelian C] |
| 18 | variable {G : C ⥤ AddCommGrpCat.{v}} [G.Additive] |
| 19 | variable {Z F : C} |
| 20 | |
| 21 | def homComplexHomologyAddEquivSections |
| 22 | (e : ∀ X : C, (Z ⟶ X) ≃+ ↑(G.obj X)) |
| 23 | (he : ∀ {X Y : C} (f : Z ⟶ X) (g : X ⟶ Y), |
| 24 | e Y (f ≫ g) = G.map g (e X f)) |
| 25 | (R : InjectiveResolution F) (n : ℕ) : |
| 26 | ↑((((CochainComplex.singleFunctor C 0).obj Z).HomComplex R.cochainComplex).homology n) ≃+ |
| 27 | ↑(((G.mapHomologicalComplex (.up ℤ)).obj R.cochainComplex).homology n) := |
| 28 | ((HomologicalComplex.homologyFunctor AddCommGrpCat.{v} (.up ℤ) n).mapIso |
| 29 | (RepresentedCochainSections.DerivedSections.homComplexIsoSections e he R.cochainComplex)).addCommGroupIsoToAddEquiv |
| 30 | |
| 31 | lemma homComplexHomologyAddEquivSections_naturality |
| 32 | (e : ∀ X : C, (Z ⟶ X) ≃+ ↑(G.obj X)) |
| 33 | (he : ∀ {X Y : C} (a : Z ⟶ X) (b : X ⟶ Y), |
| 34 | e Y (a ≫ b) = G.map b (e X a)) |
| 35 | {F' : C} (R : InjectiveResolution F) (R' : InjectiveResolution F') |
| 36 | (g : F ⟶ F') (φ : InjectiveResolution.Hom R R' g) (n : ℕ) |
| 37 | (x : ↑((((CochainComplex.singleFunctor C 0).obj Z).HomComplex |
| 38 | R.cochainComplex).homology n)) : |
| 39 | homComplexHomologyAddEquivSections e he R' n |
| 40 | (((HomologicalComplex.homologyFunctor AddCommGrpCat.{v} (.up ℤ) n).map |
| 41 | (RepresentedCochainNaturality.DerivedSections.homComplexPostcomp φ.hom')).hom x) = |
| 42 | ((HomologicalComplex.homologyFunctor AddCommGrpCat.{v} (.up ℤ) n).map |
| 43 | ((G.mapHomologicalComplex (.up ℤ)).map φ.hom')).hom |
| 44 | (homComplexHomologyAddEquivSections e he R n x) := by |
| 45 | let H := HomologicalComplex.homologyFunctor AddCommGrpCat.{v} (.up ℤ) n |
| 46 | have h := congrArg H.map (RepresentedCochainNaturality.DerivedSections.homComplexIsoSections_naturality e he φ.hom') |
| 47 | rw [Functor.map_comp, Functor.map_comp] at h |
| 48 | have hx := ConcreteCategory.congr_hom h x |
| 49 | change (H.map (RepresentedCochainSections.DerivedSections.homComplexIsoSections e he R'.cochainComplex).hom).hom |
| 50 | ((H.map (RepresentedCochainNaturality.DerivedSections.homComplexPostcomp φ.hom')).hom x) = |
| 51 | (H.map ((G.mapHomologicalComplex (.up ℤ)).map φ.hom')).hom |
| 52 | ((H.map (RepresentedCochainSections.DerivedSections.homComplexIsoSections e he R.cochainComplex).hom).hom x) |
| 53 | exact hx |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ExtRepresentedHomology.DerivedSections |