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.ClosedSupportRelativeUnit |
| 2 | |
| 3 | /-! # Supported Source Pullback -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.SupportedSourcePullback.Constructions |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The supported source pullback is the actual pullback of relative singular cochains. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | variable {X : TopCat.{0}} (O U : Opens X) |
| 16 | |
| 17 | theorem closedSupportSectionInclusion_naturality |
| 18 | {K L : CochainComplex (TopCat.Sheaf (ModuleCat.{0} ℚ) X) ℕ} (g : K ⟶ L) : |
| 19 | ((ClosedSupportIs.Constructions.closedSupportSectionFunctor O U).mapHomologicalComplex (ComplexShape.up ℕ)).map g ≫ |
| 20 | ClosedSourceRelativeMap.Constructions.closedSupportSectionInclusion O U L = |
| 21 | ClosedSourceRelativeMap.Constructions.closedSupportSectionInclusion O U K ≫ |
| 22 | ((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U).mapHomologicalComplex (ComplexShape.up ℕ)).map g := by |
| 23 | change ((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 24 | (((ClosedSupportIs.Constructions.closedSupportSheafFunctor O).mapHomologicalComplex (ComplexShape.up ℕ)).map g) ≫ |
| 25 | ((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U).mapHomologicalComplex (ComplexShape.up ℕ)).map (ClosedSupportIs.Constructions.closedSupportCochainInclusion O L) = _ |
| 26 | rw [← Functor.map_comp, ClosedSupportComparison.Constructions.closedSupportCochainInclusion_naturality, Functor.map_comp] |
| 27 | rfl |
| 28 | |
| 29 | variable {Y : TopCat.{0}} (f : Y ⟶ X) |
| 30 | |
| 31 | def relativeSourcePullbackMap : |
| 32 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) (TopCat.of U) |
| 33 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := X) (O : Set X) U) ⟶ |
| 34 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) (TopCat.of ((Opens.map f).obj U)) |
| 35 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := Y) (((Opens.map f).obj O : Opens Y) : Set Y) ((Opens.map f).obj U)) := |
| 36 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochainsMap (ModuleCat.of ℚ ℚ) (SingularSheafPullback.Constructions.openPreimageMap f U) (fun _ hx => hx) |
| 37 | |
| 38 | theorem relativeSourcePullbackMap_sections : |
| 39 | ClosedSupportRelativeUnit.Constructions.relativeToClosedSupportSections O U ≫ |
| 40 | ((ClosedSupportIs.Constructions.closedSupportSectionFunctor O U).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 41 | (SingularSheafPullback.Constructions.singularSheafPullbackMap (ModuleCat.of ℚ ℚ) f) = |
| 42 | relativeSourcePullbackMap O U f ≫ ClosedSourceRelativeMap.Constructions.closedSourceRelativeToSupportedSections O U f := by |
| 43 | apply (cancel_mono (ClosedSourceRelativeMap.Constructions.closedSupportSectionInclusion O U |
| 44 | (SingularSheafPullback.Constructions.singularPushforwardSheafComplex (ModuleCat.of ℚ ℚ) f))).mp |
| 45 | rw [Category.assoc, closedSupportSectionInclusion_naturality, ← Category.assoc, |
| 46 | ClosedSupportRelativeUnit.Constructions.relativeToClosedSupportSections_inclusion, Category.assoc, ClosedSourceResolution.Constructions.singularSheafPullback_sections_unit, |
| 47 | ← Category.assoc, Category.assoc (relativeSourcePullbackMap O U f), |
| 48 | ClosedSourceRelativeMap.Constructions.closedSourceRelativeToSupportedSections_inclusion, ← Category.assoc] |
| 49 | exact congrArg (fun g => g ≫ AlgebraicTopology.Cohomology.Singular.OpenSheafComparison.singularCochainsToOpenSheafSections (ModuleCat.of ℚ ℚ) Y ((Opens.map f).obj U)) |
| 50 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion_naturality (ModuleCat.of ℚ ℚ) (SingularSheafPullback.Constructions.openPreimageMap f U) (fun _ hx => hx)).symm |
| 51 | |
| 52 | variable [MetrizableSpace Y] |
| 53 | |
| 54 | theorem relativeSourcePullbackMap_cohomology (n : ℕ) : |
| 55 | HomologicalComplex.homologyMap (ClosedSupportRelativeUnit.Constructions.relativeToClosedSupportSections O U) n ≫ |
| 56 | HomologicalComplex.homologyMap |
| 57 | (((ClosedSupportIs.Constructions.closedSupportSectionFunctor O U).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 58 | (SingularSheafPullback.Constructions.singularSheafPullbackMap (ModuleCat.of ℚ ℚ) f)) n ≫ |
| 59 | (ClosedSupportIs.Constructions.closedSourceSupportedRelativeCohomologyIso f O U n).hom = |
| 60 | HomologicalComplex.homologyMap (relativeSourcePullbackMap O U f) n := by |
| 61 | rw [← Category.assoc, ← HomologicalComplex.homologyMap_comp, relativeSourcePullbackMap_sections, |
| 62 | HomologicalComplex.homologyMap_comp, Category.assoc, ClosedSourceRelativeMap.Constructions.closedSourceRelativeToSupportedSections_homology, |
| 63 | Category.comp_id] |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.SupportedSourcePullback.Constructions |