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.IntersectSupportInclusion |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.SupportedThomRelative |
| 3 | |
| 4 | /-! # Intersect Support Relative Map -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.IntersectSupportRelativeMap.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The relative comparison for intersected supports retains the actual ambient relative cochains. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | variable {X : TopCat.{0}} (C O U : Opens X) |
| 17 | |
| 18 | def relativeToIntersectSupportSections : |
| 19 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) (TopCat.of U) |
| 20 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := X) ((C ⊔ O : Opens X) : Set X) U) ⟶ |
| 21 | GoodShiftFunctor.Constructions.functorCochainComplex (ClosedSupportIs.Constructions.closedSupportSectionFunctor O U) |
| 22 | (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSingularSheafComplex (ModuleCat.of ℚ ℚ) X C) := |
| 23 | AlgebraicTopology.Cohomology.Singular.SupportedRelativeMap.relativeToSupportedSheafSections (ModuleCat.of ℚ ℚ) X (C ⊔ O) U ≫ |
| 24 | (IntersectSupportComplex.Constructions.intersectSupportedSectionsIso C O U (SingularSheafZeroResolution.Constructions.rationalSingularSheafComplex X)).inv |
| 25 | |
| 26 | theorem relativeToIntersectSupportSections_inclusion : |
| 27 | relativeToIntersectSupportSections C O U ≫ |
| 28 | IntersectSupportInclusion.Constructions.intersectSupportSectionInclusion C O (SingularSheafZeroResolution.Constructions.rationalSingularSheafComplex X) U = |
| 29 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion (ModuleCat.of ℚ ℚ) (TopCat.of U) |
| 30 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := X) ((C ⊔ O : Opens X) : Set X) U) ≫ |
| 31 | AlgebraicTopology.Cohomology.Singular.OpenSheafComparison.singularCochainsToOpenSheafSections (ModuleCat.of ℚ ℚ) X U := by |
| 32 | unfold relativeToIntersectSupportSections |
| 33 | rw [Category.assoc, ← IntersectSupportInclusion.Constructions.intersectSupportedSectionsIso_inclusion, Iso.inv_hom_id_assoc] |
| 34 | exact AlgebraicTopology.Cohomology.Singular.SupportedRelativeMap.relativeToSupportedSheafSections_inclusion (ModuleCat.of ℚ ℚ) X (C ⊔ O) U |
| 35 | |
| 36 | variable [MetrizableSpace X] |
| 37 | |
| 38 | instance relativeToIntersectSupportSections_quasiIso : QuasiIso (relativeToIntersectSupportSections C O U) := by |
| 39 | have := AlgebraicTopology.Cohomology.Singular.SupportedRelativeComparison.quasiIso_relativeToSupportedSheafSections_of_metrizable ℚ X (C ⊔ O) U |
| 40 | unfold relativeToIntersectSupportSections |
| 41 | infer_instance |
| 42 | |
| 43 | theorem relativeToIntersectSupportSections_homology (n : ℕ) : |
| 44 | HomologicalComplex.homologyMap (relativeToIntersectSupportSections C O U) n ≫ |
| 45 | (SupportedThomRelative.Constructions.intersectSupportedRelativeCohomologyIso C O U n).hom = 𝟙 _ := by |
| 46 | have := AlgebraicTopology.Cohomology.Singular.SupportedRelativeComparison.quasiIso_relativeToSupportedSheafSections_of_metrizable ℚ X (C ⊔ O) U |
| 47 | change HomologicalComplex.homologyMap (AlgebraicTopology.Cohomology.Singular.SupportedRelativeMap.relativeToSupportedSheafSections (ModuleCat.of ℚ ℚ) X |
| 48 | (C ⊔ O) U ≫ (IntersectSupportComplex.Constructions.intersectSupportedSectionsIso C O U (SingularSheafZeroResolution.Constructions.rationalSingularSheafComplex X)).inv) n ≫ |
| 49 | (HomologicalComplex.homologyMap (IntersectSupportComplex.Constructions.intersectSupportedSectionsIso C O U (SingularSheafZeroResolution.Constructions.rationalSingularSheafComplex X)).hom n ≫ |
| 50 | (isoOfQuasiIsoAt (AlgebraicTopology.Cohomology.Singular.SupportedRelativeMap.relativeToSupportedSheafSections (ModuleCat.of ℚ ℚ) X (C ⊔ O) U) n).inv) = 𝟙 _ |
| 51 | rw [HomologicalComplex.homologyMap_comp, Category.assoc, ← Category.assoc |
| 52 | (HomologicalComplex.homologyMap (IntersectSupportComplex.Constructions.intersectSupportedSectionsIso C O U (SingularSheafZeroResolution.Constructions.rationalSingularSheafComplex X)).inv n), |
| 53 | ← HomologicalComplex.homologyMap_comp, Iso.inv_hom_id, HomologicalComplex.homologyMap_id, |
| 54 | Category.id_comp] |
| 55 | exact (isoOfQuasiIsoAt (AlgebraicTopology.Cohomology.Singular.SupportedRelativeMap.relativeToSupportedSheafSections (ModuleCat.of ℚ ℚ) X (C ⊔ O) U) n).hom_inv_id |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.IntersectSupportRelativeMap.Constructions |