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.DivisorClass.Chern.Intrinsic.SourceGlobalComparison |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.NestedSupportedCochainUnit |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.IntersectSupportRelativeMap |
| 4 | |
| 5 | /-! # Intersect Global Comparison -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Intrinsic.IntersectGlobalComparison |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The native global Thom target uses the same original relative comparison for the intersected support. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 14 | open OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.IntersectSupportRelativeMap.Constructions |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | set_option backward.defeqAttrib.useBackward true |
| 19 | |
| 20 | def relativeRationalCochainCongr (X : TopCat.{0}) {A B : Set X} (h : A = B) : |
| 21 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X A ≅ AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X B := |
| 22 | eqToIso (congrArg (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X) h) |
| 23 | |
| 24 | theorem relativeRationalCochainCongr_inclusion (X : TopCat.{0}) {A B : Set X} (h : A = B) : |
| 25 | (relativeRationalCochainCongr X h).hom ≫ AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion (ModuleCat.of ℚ ℚ) X B = |
| 26 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion (ModuleCat.of ℚ ℚ) X A := by |
| 27 | subst B |
| 28 | exact Category.id_comp _ |
| 29 | |
| 30 | theorem relativeRationalCochainCongr_homology (X : TopCat.{0}) {A B : Set X} (h : A = B) (n : ℕ) : |
| 31 | HomologicalComplex.homologyMap (relativeRationalCochainCongr X h).hom n = |
| 32 | (AlgebraicTopology.Duality.Poincare.SupportCohomologyMayerVietoris.relativeRationalCohomologyCongr X h n).hom := by |
| 33 | subst B |
| 34 | exact HomologicalComplex.homologyMap_id _ _ |
| 35 | |
| 36 | variable {X : TopCat.{0}} (O C : Opens X) |
| 37 | |
| 38 | theorem supportUnion_comm : ((O ⊔ C) : Set X) = ((C ⊔ O) : Set X) := by rw [sup_comm] |
| 39 | |
| 40 | theorem intersectSupportedSectionsIso_inv_inclusion : |
| 41 | (HodgeConjecture.DegreeTwo.IntersectSupportComplex.Constructions.intersectSupportedSectionsIso C O ⊤ (HodgeConjecture.DegreeTwo.SingularSheafZeroResolution.Constructions.rationalSingularSheafComplex X)).inv ≫ |
| 42 | HodgeConjecture.DegreeTwo.IntersectSupportInclusion.Constructions.intersectSupportSectionInclusion C O (HodgeConjecture.DegreeTwo.SingularSheafZeroResolution.Constructions.rationalSingularSheafComplex X) ⊤ = |
| 43 | CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSingularSheafSectionsInclusion (ModuleCat.of ℚ ℚ) X (C ⊔ O) ⊤ := by |
| 44 | rw [← HodgeConjecture.DegreeTwo.IntersectSupportInclusion.Constructions.intersectSupportedSectionsIso_inclusion C O (HodgeConjecture.DegreeTwo.SingularSheafZeroResolution.Constructions.rationalSingularSheafComplex X) ⊤, |
| 45 | Iso.inv_hom_id_assoc] |
| 46 | rfl |
| 47 | |
| 48 | theorem relativeToNestedSupportedFunctorGlobalSections_native : |
| 49 | NestedSupportedCochainUnit.relativeToNestedSupportedFunctorGlobalSections O C = |
| 50 | (relativeRationalCochainCongr X (supportUnion_comm O C)).hom ≫ |
| 51 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeCochainPresheafTopIso (ModuleCat.of ℚ ℚ) X ((C ⊔ O) : Set X)).inv ≫ |
| 52 | HodgeConjecture.DegreeTwo.IntersectSupportRelativeMap.Constructions.relativeToIntersectSupportSections C O ⊤ := by |
| 53 | apply (cancel_mono (HodgeConjecture.DegreeTwo.IntersectSupportInclusion.Constructions.intersectSupportSectionInclusion C O (HodgeConjecture.DegreeTwo.SingularSheafZeroResolution.Constructions.rationalSingularSheafComplex X) ⊤)).mp |
| 54 | have hleft : NestedSupportedCochainUnit.relativeToNestedSupportedFunctorGlobalSections O C ≫ |
| 55 | HodgeConjecture.DegreeTwo.IntersectSupportInclusion.Constructions.intersectSupportSectionInclusion C O (HodgeConjecture.DegreeTwo.SingularSheafZeroResolution.Constructions.rationalSingularSheafComplex X) ⊤ = |
| 56 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion (ModuleCat.of ℚ ℚ) X ((O ⊔ C) : Set X) ≫ |
| 57 | AlgebraicTopology.Cohomology.Singular.LocallyZeroCochains.singularCochainsToSheafSections (ModuleCat.of ℚ ℚ) X := by |
| 58 | change NestedSupportedCochainUnit.relativeToNestedSupportedFunctorGlobalSections O C ≫ |
| 59 | (HodgeConjecture.DegreeTwo.ClosedSourceRelativeMap.Constructions.closedSupportSectionInclusion O ⊤ (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplex C (HodgeConjecture.DegreeTwo.SingularSheafZeroResolution.Constructions.rationalSingularSheafComplex X)) ≫ _) = _ |
| 60 | rw [← SourceGlobalComparison.supportedSectionsCochainInclusion_eq_native] |
| 61 | exact NestedSupportedCochainUnit.relativeToNestedSupportedFunctorGlobalSections_inclusion O C |
| 62 | rw [hleft] |
| 63 | have hright : ((AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeCochainPresheafTopIso (ModuleCat.of ℚ ℚ) X ((C ⊔ O) : Set X)).inv ≫ |
| 64 | HodgeConjecture.DegreeTwo.IntersectSupportRelativeMap.Constructions.relativeToIntersectSupportSections C O ⊤) ≫ |
| 65 | HodgeConjecture.DegreeTwo.IntersectSupportInclusion.Constructions.intersectSupportSectionInclusion C O (HodgeConjecture.DegreeTwo.SingularSheafZeroResolution.Constructions.rationalSingularSheafComplex X) ⊤ = |
| 66 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion (ModuleCat.of ℚ ℚ) X ((C ⊔ O) : Set X) ≫ |
| 67 | AlgebraicTopology.Cohomology.Singular.LocallyZeroCochains.singularCochainsToSheafSections (ModuleCat.of ℚ ℚ) X := by |
| 68 | change ((AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeCochainPresheafTopIso (ModuleCat.of ℚ ℚ) X ((C ⊔ O) : Set X)).inv ≫ |
| 69 | (AlgebraicTopology.Cohomology.Singular.SupportedRelativeMap.relativeToSupportedSheafSections (ModuleCat.of ℚ ℚ) X (C ⊔ O) ⊤ ≫ |
| 70 | (HodgeConjecture.DegreeTwo.IntersectSupportComplex.Constructions.intersectSupportedSectionsIso C O ⊤ (HodgeConjecture.DegreeTwo.SingularSheafZeroResolution.Constructions.rationalSingularSheafComplex X)).inv)) ≫ _ = _ |
| 71 | rw [Category.assoc, Category.assoc, intersectSupportedSectionsIso_inv_inclusion, ← Category.assoc] |
| 72 | exact AlgebraicTopology.Cohomology.Singular.SupportedRelativeComparison.relativeToSupportedSheafGlobalSections_inclusion (ModuleCat.of ℚ ℚ) X (C ⊔ O) |
| 73 | rw [Category.assoc, hright, ← Category.assoc, relativeRationalCochainCongr_inclusion] |
| 74 | |
| 75 | variable [MetrizableSpace X] |
| 76 | |
| 77 | theorem relativeNestedSupportedCohomologyIso_native (n : ℕ) : |
| 78 | NestedSupportedCochainUnit.relativeNestedSupportedCohomologyIso O C n = |
| 79 | AlgebraicTopology.Duality.Poincare.SupportCohomologyMayerVietoris.relativeRationalCohomologyCongr X (supportUnion_comm O C) n ≪≫ |
| 80 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeCohomologyPresheafTopIso (ModuleCat.of ℚ ℚ) X ((C ⊔ O) : Set X) n).symm ≪≫ |
| 81 | (HodgeConjecture.DegreeTwo.SupportedThomRelative.Constructions.intersectSupportedRelativeCohomologyIso C O ⊤ n).symm := by |
| 82 | have hn : HomologicalComplex.homologyMap (HodgeConjecture.DegreeTwo.IntersectSupportRelativeMap.Constructions.relativeToIntersectSupportSections C O ⊤) n = |
| 83 | (HodgeConjecture.DegreeTwo.SupportedThomRelative.Constructions.intersectSupportedRelativeCohomologyIso C O ⊤ n).inv := by |
| 84 | apply (cancel_mono (HodgeConjecture.DegreeTwo.SupportedThomRelative.Constructions.intersectSupportedRelativeCohomologyIso C O ⊤ n).hom).mp |
| 85 | rw [HodgeConjecture.DegreeTwo.IntersectSupportRelativeMap.Constructions.relativeToIntersectSupportSections_homology, Iso.inv_hom_id] |
| 86 | apply Iso.ext |
| 87 | rw [NestedSupportedCochainUnit.relativeNestedSupportedCohomologyIso_hom, relativeToNestedSupportedFunctorGlobalSections_native, |
| 88 | HomologicalComplex.homologyMap_comp, HomologicalComplex.homologyMap_comp, |
| 89 | relativeRationalCochainCongr_homology, hn] |
| 90 | rfl |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Intrinsic.IntersectGlobalComparison |