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.AlgebraicGeometry.Comparison.Betti.InjectiveHomPullback |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.ExtExactFunctorNaturality |
| 3 | |
| 4 | /-! # Injective Ext Pullback -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.InjectiveExtPullback |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual Hom-complex pullback computes exact inverse image on Ext. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Abelian _root_.TopologicalSpace |
| 13 | |
| 14 | attribute [local instance] AlgebraicTopology.Cohomology.Singular.StalkExactnessAt.stalkModulesForget₂PreservesFilteredColimits |
| 15 | AlgebraicTopology.Cohomology.Singular.StalkExactnessAt.stalkModulesForgetPreservesFilteredColimits InjectiveFlasque.complexModuleLimits |
| 16 | |
| 17 | abbrev locallyConstantCoefficients (M : TopCat.{0}) : ConstantSheafSections.ComplexSheaves M := AlgebraicTopology.DeRham.Comparison.LocallyConstantSheaf.locallyConstantSheaf M |
| 18 | |
| 19 | def complexInjectiveResolution (M : TopCat.{0}) : InjectiveResolution (locallyConstantCoefficients M) := |
| 20 | SingularInjective.singularInjectiveResolution M |
| 21 | |
| 22 | variable {M N : TopCat.{0}} (f : M ⟶ N) |
| 23 | |
| 24 | def locallyConstantExtPullback (n : ℕ) |
| 25 | (a : Ext.{1} (ConstantSheafSections.standardConstantSheaf N) (locallyConstantCoefficients N) n) : |
| 26 | Ext.{1} (ConstantSheafSections.standardConstantSheaf M) (locallyConstantCoefficients M) n := |
| 27 | (Ext.mk₀ (TopologicalSheafPullback.constantPullbackIso f).inv).comp |
| 28 | ((a.mapExactFunctor (TopologicalSheafPullback.sheafInverseImage f)).comp (Ext.mk₀ (TopologicalSheafPullback.locallyConstantPullbackIso f).hom) |
| 29 | (add_zero n)) (zero_add n) |
| 30 | |
| 31 | theorem injectiveResolutionPullback_augmentation_zero : |
| 32 | (TopologicalSheafPullback.sheafInverseImage f).map ((SingularInjective.singularInjectiveResolution N).ι.f 0) ≫ |
| 33 | (TopologicalSheafPullback.injectiveResolutionPullback f).f 0 = |
| 34 | (TopologicalSheafPullback.locallyConstantPullbackIso f).hom ≫ (SingularInjective.singularInjectiveResolution M).ι.f 0 := by |
| 35 | let I : InjectiveResolution (AlgebraicTopology.DeRham.Comparison.LocallyConstantSheaf.locallyConstantSheaf N : ConstantSheafSections.ComplexSheaves N) := SingularInjective.singularInjectiveResolution N |
| 36 | let J : InjectiveResolution (AlgebraicTopology.DeRham.Comparison.LocallyConstantSheaf.locallyConstantSheaf M : ConstantSheafSections.ComplexSheaves M) := SingularInjective.singularInjectiveResolution M |
| 37 | have h := congrArg (fun k => k.f 0) (TopologicalSheafPullback.injectiveResolutionPullback_normalization f) |
| 38 | change ((TopologicalSheafPullback.locallyConstantPullbackIso f).inv ≫ (TopologicalSheafPullback.sheafInverseImage f).map (I.ι.f 0)) ≫ |
| 39 | (TopologicalSheafPullback.injectiveResolutionPullback f).f 0 = J.ι.f 0 at h |
| 40 | exact (TopologicalSheafPullback.locallyConstantPullbackIso f).inv_comp_eq.mp |
| 41 | ((Category.assoc (TopologicalSheafPullback.locallyConstantPullbackIso f).inv ((TopologicalSheafPullback.sheafInverseImage f).map (I.ι.f 0)) |
| 42 | ((TopologicalSheafPullback.injectiveResolutionPullback f).f 0)).symm.trans h) |
| 43 | |
| 44 | theorem locallyConstantExtPullback_extMk (n : ℕ) |
| 45 | (g : (InjectiveHomPullback.injectiveHomSectionsComplex N).X n) |
| 46 | (hg : (InjectiveHomPullback.injectiveHomSectionsComplex N).d n (n + 1) g = 0) : |
| 47 | locallyConstantExtPullback f n (InjectiveResolution.extMk.{1} (C := ConstantSheafSections.ComplexSheaves N) |
| 48 | (complexInjectiveResolution N) g (n + 1) rfl hg) = |
| 49 | InjectiveResolution.extMk.{1} (C := ConstantSheafSections.ComplexSheaves M) (complexInjectiveResolution M) |
| 50 | ((InjectiveHomPullback.injectiveHomSectionsPullback f).f n g) (n + 1) rfl |
| 51 | (CochainClasses.Homology.cochain_map_closed (InjectiveHomPullback.injectiveHomSectionsPullback f) n g hg) := by |
| 52 | let I := complexInjectiveResolution N |
| 53 | let J := complexInjectiveResolution M |
| 54 | let F : ConstantSheafSections.ComplexSheaves N ⥤ ConstantSheafSections.ComplexSheaves M := TopologicalSheafPullback.sheafInverseImage f |
| 55 | let φ : (F.mapHomologicalComplex (ComplexShape.up ℕ)).obj I.cocomplex ⟶ J.cocomplex := |
| 56 | TopologicalSheafPullback.injectiveResolutionPullback f |
| 57 | have hφ : F.map (I.ι.f 0) ≫ φ.f 0 = (TopologicalSheafPullback.locallyConstantPullbackIso f).hom ≫ J.ι.f 0 := |
| 58 | injectiveResolutionPullback_augmentation_zero f |
| 59 | have hF := ExtExactFunctorNaturality.mapExactFunctor_extMk.{1, 1} (C := ConstantSheafSections.ComplexSheaves N) (D := ConstantSheafSections.ComplexSheaves M) |
| 60 | F I J φ (TopologicalSheafPullback.locallyConstantPullbackIso f).hom hφ g hg |
| 61 | have hp := InjectiveResolution.mk₀_comp_extMk.{1} (C := ConstantSheafSections.ComplexSheaves M) J (F.map g ≫ φ.f n) (n + 1) rfl |
| 62 | (ExtExactFunctorNaturality.resolutionMapCocycle_closed F I J φ g hg) (TopologicalSheafPullback.constantPullbackIso f).inv |
| 63 | change (Ext.mk₀ (TopologicalSheafPullback.constantPullbackIso f).inv).comp |
| 64 | (((InjectiveResolution.extMk.{1} (C := ConstantSheafSections.ComplexSheaves N) I g (n + 1) rfl hg).mapExactFunctor F).comp |
| 65 | (Ext.mk₀ (TopologicalSheafPullback.locallyConstantPullbackIso f).hom) (add_zero n)) (zero_add n) = _ |
| 66 | rw [hF] |
| 67 | refine hp.trans ?_ |
| 68 | congr 1 |
| 69 | exact (Category.assoc _ _ _).symm.trans (InjectiveHomPullback.injectiveHomSectionsPullback_f f n g).symm |
| 70 | |
| 71 | def injectiveHomologyExtEquiv (M : TopCat.{0}) (n : ℕ) : |
| 72 | (InjectiveHomPullback.injectiveHomSectionsComplex M).homology n ≃ₗ[ℂ] |
| 73 | Ext.{1} (ConstantSheafSections.standardConstantSheaf M) (locallyConstantCoefficients M) n := |
| 74 | InjectiveHomologyExt.homologyExtLinearEquiv (C := ConstantSheafSections.ComplexSheaves M) (R := ℂ) (complexInjectiveResolution M) n |
| 75 | |
| 76 | theorem injectiveHomologyExtEquiv_class (M : TopCat.{0}) (n : ℕ) |
| 77 | (g : (InjectiveHomPullback.injectiveHomSectionsComplex M).X n) |
| 78 | (hg : (InjectiveHomPullback.injectiveHomSectionsComplex M).d n (n + 1) g = 0) : |
| 79 | injectiveHomologyExtEquiv M n (CochainClasses.Homology.cochainClass (InjectiveHomPullback.injectiveHomSectionsComplex M) n g hg) = |
| 80 | InjectiveResolution.extMk.{1} (C := ConstantSheafSections.ComplexSheaves M) (complexInjectiveResolution M) |
| 81 | g (n + 1) rfl hg := |
| 82 | HomologyExtNaturality.homologyExtLinearEquiv_class (C := ConstantSheafSections.ComplexSheaves M) (R := ℂ) |
| 83 | (complexInjectiveResolution M) n g hg |
| 84 | |
| 85 | theorem injectiveHomologyExtEquiv_pullback (n : ℕ) (a : (InjectiveHomPullback.injectiveHomSectionsComplex N).homology n) : |
| 86 | injectiveHomologyExtEquiv M n |
| 87 | (HomologicalComplex.homologyMap (InjectiveHomPullback.injectiveHomSectionsPullback f) n a) = |
| 88 | locallyConstantExtPullback f n (injectiveHomologyExtEquiv N n a) := by |
| 89 | obtain ⟨g, hg, rfl⟩ := CochainClasses.Homology.cochainClass_surjective (InjectiveHomPullback.injectiveHomSectionsComplex N) n a |
| 90 | rw [CochainClasses.Homology.cochainClass_naturality (InjectiveHomPullback.injectiveHomSectionsPullback f) n g hg, |
| 91 | injectiveHomologyExtEquiv_class M n, injectiveHomologyExtEquiv_class N n] |
| 92 | exact (locallyConstantExtPullback_extMk f n g hg).symm |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI.AlgebraicGeometry.Comparison.Betti.InjectiveExtPullback |