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.SectionsPullbackNormalization |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.HomologyExtNaturality |
| 3 | import OAI.AlgebraicGeometry.Comparison.Betti.Derived.DerivedSheafBetti |
| 4 | |
| 5 | /-! # Injective Hom Pullback -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Comparison.Betti.InjectiveHomPullback |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Pullback on actual Hom complexes has the expected coefficient formula. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 14 | |
| 15 | abbrev injectiveHomSectionsComplex (M : TopCat.{0}) : CochainComplex (ModuleCat.{0} ℂ) ℕ := |
| 16 | InjectiveHomologyExt.homSectionsComplex (C := ConstantSheafSections.ComplexSheaves M) (R := ℂ) |
| 17 | (SingularInjective.singularInjectiveResolution M) (ConstantSheafSections.standardConstantSheaf M) |
| 18 | |
| 19 | def injectiveHomSectionsIso (M : TopCat.{0}) : injectiveHomSectionsComplex M ≅ |
| 20 | ((TopologicalSheafPullback.globalSections M).mapHomologicalComplex (ComplexShape.up ℕ)).obj |
| 21 | (SingularInjective.singularInjectiveResolution M).cocomplex := |
| 22 | ConstantSheafSections.constantHomSectionsComplexIso |
| 23 | (show CochainComplex (ConstantSheafSections.ComplexSheaves M) ℕ from (SingularInjective.singularInjectiveResolution M).cocomplex) |
| 24 | |
| 25 | variable {M N : TopCat.{0}} (f : M ⟶ N) |
| 26 | |
| 27 | def injectiveHomSectionsPullback : injectiveHomSectionsComplex N ⟶ injectiveHomSectionsComplex M := |
| 28 | (injectiveHomSectionsIso N).hom ≫ TopologicalSheafPullback.injectiveSectionsPullback f ≫ (injectiveHomSectionsIso M).inv |
| 29 | |
| 30 | theorem injectiveHomSectionsPullback_f (n : ℕ) |
| 31 | (g : ConstantSheafSections.standardConstantSheaf N ⟶ |
| 32 | (show CochainComplex (ConstantSheafSections.ComplexSheaves N) ℕ from (SingularInjective.singularInjectiveResolution N).cocomplex).X n) : |
| 33 | (injectiveHomSectionsPullback f).f n g = |
| 34 | ((TopologicalSheafPullback.constantPullbackIso f).inv ≫ (TopologicalSheafPullback.sheafInverseImage f).map g) ≫ |
| 35 | (TopologicalSheafPullback.injectiveResolutionPullback f).f n := by |
| 36 | let A : ConstantSheafSections.ComplexSheaves N := (SingularInjective.singularInjectiveResolution N).cocomplex.X n |
| 37 | let B : ConstantSheafSections.ComplexSheaves M := (SingularInjective.singularInjectiveResolution M).cocomplex.X n |
| 38 | let p : (TopologicalSheafPullback.sheafInverseImage f).obj A ⟶ B := (TopologicalSheafPullback.injectiveResolutionPullback f).f n |
| 39 | have h₁ := ConstantSheafSections.constantHomSectionsLinearEquiv_symm_naturality |
| 40 | ((TopologicalSheafPullback.globalSectionPullback f).app A (ConstantSheafSections.constantHomSectionsLinearEquiv A g)) p |
| 41 | have h₂ := SectionsPullbackNormalization.constantHomSectionsLinearEquiv_symm_pullback f A (ConstantSheafSections.constantHomSectionsLinearEquiv A g) |
| 42 | erw [(ConstantSheafSections.constantHomSectionsLinearEquiv A).symm_apply_apply g] at h₂ |
| 43 | exact h₁.symm.trans (congrArg (fun k => k ≫ p) h₂) |
| 44 | |
| 45 | theorem injectiveHomSectionsPullback_sections : |
| 46 | TopologicalSheafPullback.injectiveSectionsPullback f ≫ (injectiveHomSectionsIso M).inv = |
| 47 | (injectiveHomSectionsIso N).inv ≫ injectiveHomSectionsPullback f := by |
| 48 | change _ = (injectiveHomSectionsIso N).inv ≫ |
| 49 | ((injectiveHomSectionsIso N).hom ≫ TopologicalSheafPullback.injectiveSectionsPullback f ≫ (injectiveHomSectionsIso M).inv) |
| 50 | exact ((injectiveHomSectionsIso N).inv_hom_id_assoc _).symm |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.Comparison.Betti.InjectiveHomPullback |