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.ClosedSourceRelativeMap |
| 2 | |
| 3 | /-! # Closed Support Relative Unit -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ClosedSupportRelativeUnit.Constructions |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The original relative cochains map to the closed-support functor through the actual sheafification unit. -/ |
| 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 | def relativeToClosedSupportSections : |
| 18 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) (TopCat.of U) |
| 19 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := X) (O : Set X) U) ⟶ |
| 20 | GoodShiftFunctor.Constructions.functorCochainComplex (ClosedSupportIs.Constructions.closedSupportSectionFunctor O U) (SingularSheafZeroResolution.Constructions.rationalSingularSheafComplex X) := |
| 21 | AlgebraicTopology.Cohomology.Singular.SupportedRelativeMap.relativeToSupportedSheafSections (ModuleCat.of ℚ ℚ) X O U ≫ |
| 22 | ((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 23 | (ClosedSupportIs.Constructions.closedSupportFunctorComplexIso O (SingularSheafZeroResolution.Constructions.rationalSingularSheafComplex X)).hom |
| 24 | |
| 25 | theorem relativeToClosedSupportSections_inclusion : |
| 26 | relativeToClosedSupportSections O U ≫ ClosedSourceRelativeMap.Constructions.closedSupportSectionInclusion O U (SingularSheafZeroResolution.Constructions.rationalSingularSheafComplex X) = |
| 27 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion (ModuleCat.of ℚ ℚ) (TopCat.of U) |
| 28 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := X) (O : Set X) U) ≫ |
| 29 | AlgebraicTopology.Cohomology.Singular.OpenSheafComparison.singularCochainsToOpenSheafSections (ModuleCat.of ℚ ℚ) X U := by |
| 30 | unfold relativeToClosedSupportSections ClosedSourceRelativeMap.Constructions.closedSupportSectionInclusion |
| 31 | rw [Category.assoc, ← Functor.map_comp, ClosedSupportIs.Constructions.closedSupportFunctorComplexIso_inclusion] |
| 32 | exact AlgebraicTopology.Cohomology.Singular.SupportedRelativeMap.relativeToSupportedSheafSections_inclusion (ModuleCat.of ℚ ℚ) X O U |
| 33 | |
| 34 | variable [MetrizableSpace X] |
| 35 | |
| 36 | instance relativeToClosedSupportSections_quasiIso : QuasiIso (relativeToClosedSupportSections O U) := by |
| 37 | have := AlgebraicTopology.Cohomology.Singular.SupportedRelativeComparison.quasiIso_relativeToSupportedSheafSections_of_metrizable ℚ X O U |
| 38 | unfold relativeToClosedSupportSections |
| 39 | infer_instance |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ClosedSupportRelativeUnit.Constructions |