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.HodgeConjecture.DegreeTwo.SheafComplexLift |
| 2 | |
| 3 | /-! # Singular Sheaf Pullback -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.SingularSheafPullback.Constructions |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Ordinary singular pullback induces a genuine map to the source's pushforward sheaf complex. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.TopologicalSpace Opposite |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | variable {R : Type} [Ring R] (M : ModuleCat.{0} R) |
| 16 | variable {X Y : TopCat.{0}} (f : Y ⟶ X) |
| 17 | |
| 18 | def openPreimageMap (U : Opens X) : TopCat.of ((Opens.map f).obj U) ⟶ TopCat.of U := |
| 19 | TopCat.ofHom ⟨fun y => ⟨f y.val, y.property⟩, |
| 20 | (f.hom.continuous.comp continuous_subtype_val).subtype_mk _⟩ |
| 21 | |
| 22 | theorem openPreimageMap_naturality {U W : Opens X} (i : U ⟶ W) : |
| 23 | openPreimageMap f U ≫ (Opens.toTopCat X).map i = |
| 24 | (Opens.toTopCat Y).map ((Opens.map f).map i) ≫ openPreimageMap f W := rfl |
| 25 | |
| 26 | theorem singularOpenPreimagePullback_naturality {U W : Opens X} (i : U ⟶ W) : |
| 27 | AlgebraicTopology.Cohomology.Singular.Functor.singularPullback M ((Opens.toTopCat X).map i) ≫ AlgebraicTopology.Cohomology.Singular.Functor.singularPullback M (openPreimageMap f U) = |
| 28 | AlgebraicTopology.Cohomology.Singular.Functor.singularPullback M (openPreimageMap f W) ≫ |
| 29 | AlgebraicTopology.Cohomology.Singular.Functor.singularPullback M ((Opens.toTopCat Y).map ((Opens.map f).map i)) := by |
| 30 | rw [← AlgebraicTopology.Cohomology.Singular.Functor.singularPullback_comp, ← AlgebraicTopology.Cohomology.Singular.Functor.singularPullback_comp, openPreimageMap_naturality] |
| 31 | |
| 32 | def singularOpenPreimageSheafMap (U : Opens X) : |
| 33 | AlgebraicTopology.Cohomology.Singular.Basic.singularCochains M (TopCat.of U) ⟶ AlgebraicTopology.Cohomology.Singular.OpenSheafComparison.singularSheafSections M Y ((Opens.map f).obj U) := |
| 34 | AlgebraicTopology.Cohomology.Singular.Functor.singularPullback M (openPreimageMap f U) ≫ |
| 35 | AlgebraicTopology.Cohomology.Singular.OpenSheafComparison.singularCochainsToOpenSheafSections M Y ((Opens.map f).obj U) |
| 36 | |
| 37 | theorem singularOpenPreimageSheafMap_naturality {U W : Opens X} (i : U ⟶ W) : |
| 38 | AlgebraicTopology.Cohomology.Singular.Functor.singularPullback M ((Opens.toTopCat X).map i) ≫ singularOpenPreimageSheafMap M f U = |
| 39 | singularOpenPreimageSheafMap M f W ≫ |
| 40 | AlgebraicTopology.Cohomology.Singular.OpenSheafComparison.singularSheafSectionsRestriction M Y ((Opens.map f).map i) := by |
| 41 | unfold singularOpenPreimageSheafMap |
| 42 | rw [← Category.assoc, singularOpenPreimagePullback_naturality, Category.assoc, |
| 43 | AlgebraicTopology.Cohomology.Singular.OpenSheafComparison.singularCochainsToOpenSheafSections_naturality, ← Category.assoc] |
| 44 | |
| 45 | instance sheafPushforward_additive : (TopCat.Sheaf.pushforward (ModuleCat.{0} R) f).Additive where |
| 46 | map_add := rfl |
| 47 | |
| 48 | def singularPushforwardSheafComplex : CochainComplex (TopCat.Sheaf (ModuleCat.{0} R) X) ℕ := |
| 49 | ((TopCat.Sheaf.pushforward (ModuleCat.{0} R) f).mapHomologicalComplex (ComplexShape.up ℕ)).obj |
| 50 | (AlgebraicTopology.Cohomology.Singular.SheafQuasiIso.sheafifiedCochainComplex (AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex M Y)) |
| 51 | |
| 52 | def singularSheafPullbackPresheafMap : AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex M X ⟶ |
| 53 | AlgebraicTopology.Cohomology.Singular.SheafSections.sheafUnderlyingCochainComplex (singularPushforwardSheafComplex M f) where |
| 54 | f n := |
| 55 | { app U := (singularOpenPreimageSheafMap M f U.unop).f n |
| 56 | naturality U W i := congrArg (fun g => g.f n) |
| 57 | (singularOpenPreimageSheafMap_naturality M f i.unop) } |
| 58 | comm' i j hij := by |
| 59 | apply NatTrans.ext |
| 60 | funext U |
| 61 | exact (singularOpenPreimageSheafMap M f U.unop).comm' i j hij |
| 62 | |
| 63 | def singularSheafPullbackMap : |
| 64 | AlgebraicTopology.Cohomology.Singular.SheafQuasiIso.sheafifiedCochainComplex (AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex M X) ⟶ singularPushforwardSheafComplex M f := |
| 65 | SheafComplexLift.Constructions.sheafComplexLift (singularSheafPullbackPresheafMap M f) |
| 66 | |
| 67 | theorem singularSheafPullbackMap_unit (U : Opens X) (n : ℕ) : |
| 68 | (AlgebraicTopology.Cohomology.Singular.OpenSheafComparison.singularCochainsToOpenSheafSections M X U).f n ≫ |
| 69 | ((singularSheafPullbackMap M f).f n).hom.app (op U) = |
| 70 | (AlgebraicTopology.Cohomology.Singular.Functor.singularPullback M (openPreimageMap f U)).f n ≫ |
| 71 | (AlgebraicTopology.Cohomology.Singular.OpenSheafComparison.singularCochainsToOpenSheafSections M Y ((Opens.map f).obj U)).f n := |
| 72 | NatTrans.congr_app (SheafComplexLift.Constructions.sheafComplexLift_unit (singularSheafPullbackPresheafMap M f) n) (op U) |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.SingularSheafPullback.Constructions |