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.SupportedResolutionComparison |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Supported.SourceCohomology |
| 3 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Supported.CochainUnit |
| 4 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ClosedSourceRelativeMap |
| 5 | |
| 6 | /-! # Source Global Comparison -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Intrinsic.SourceGlobalComparison |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The native global Thom source model uses the same original relative source cochain comparison. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 15 | open OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ClosedSourceRelativeMap.Constructions |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | set_option backward.defeqAttrib.useBackward true |
| 20 | |
| 21 | variable {X Y : TopCat.{0}} (f : Y ⟶ X) (O : Opens X) |
| 22 | |
| 23 | theorem supportedSectionsCochainInclusion_eq_native |
| 24 | (K : CochainComplex (TopCat.Sheaf (ModuleCat.{0} ℚ) X) ℕ) : |
| 25 | Supported.CochainUnit.supportedSectionsCochainInclusion O ⊤ K = HodgeConjecture.DegreeTwo.ClosedSourceRelativeMap.Constructions.closedSupportSectionInclusion O ⊤ K := by |
| 26 | apply HomologicalComplex.Hom.ext |
| 27 | funext n |
| 28 | rfl |
| 29 | |
| 30 | theorem closedSourceSupportedSectionsIso_inv_inclusion : |
| 31 | (HodgeConjecture.DegreeTwo.ClosedSupportIs.Constructions.closedSourceSupportedSectionsIso f O ⊤).inv ≫ |
| 32 | HodgeConjecture.DegreeTwo.ClosedSourceRelativeMap.Constructions.closedSupportSectionInclusion O ⊤ (HodgeConjecture.DegreeTwo.SingularSheafPullback.Constructions.singularPushforwardSheafComplex (ModuleCat.of ℚ ℚ) f) = |
| 33 | CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSingularSheafSectionsInclusion (ModuleCat.of ℚ ℚ) Y ((Opens.map f).obj O) ⊤ := by |
| 34 | rw [← HodgeConjecture.DegreeTwo.ClosedSourceRelativeMap.Constructions.closedSourceSupportedSectionsIso_inclusion O ⊤ f, Iso.inv_hom_id_assoc] |
| 35 | rfl |
| 36 | |
| 37 | theorem relativeToSupportedSourceGlobalSections_native : |
| 38 | Supported.SourceCohomology.relativeToSupportedSourceGlobalSections (ModuleCat.of ℚ ℚ) f O ≫ |
| 39 | (Supported.DerivedComparison.supportedSectionsFunctorIso O ⊤ (HodgeConjecture.DegreeTwo.SingularSheafPullback.Constructions.singularPushforwardSheafComplex (ModuleCat.of ℚ ℚ) f)).hom = |
| 40 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeCochainPresheafTopIso (ModuleCat.of ℚ ℚ) Y (((Opens.map f).obj O) : Set Y)).inv ≫ |
| 41 | HodgeConjecture.DegreeTwo.ClosedSourceRelativeMap.Constructions.closedSourceRelativeToSupportedSections O ⊤ f := by |
| 42 | apply (cancel_mono (Supported.CochainUnit.supportedSectionsCochainInclusion O ⊤ |
| 43 | (HodgeConjecture.DegreeTwo.SingularSheafPullback.Constructions.singularPushforwardSheafComplex (ModuleCat.of ℚ ℚ) f))).mp |
| 44 | rw [Category.assoc, Supported.CochainUnit.supportedSectionsFunctorIso_inclusion, |
| 45 | Supported.SourceCohomology.relativeToSupportedSourceGlobalSections_inclusion] |
| 46 | rw [supportedSectionsCochainInclusion_eq_native] |
| 47 | change AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion (ModuleCat.of ℚ ℚ) Y (((Opens.map f).obj O) : Set Y) ≫ |
| 48 | AlgebraicTopology.Cohomology.Singular.LocallyZeroCochains.singularCochainsToSheafSections (ModuleCat.of ℚ ℚ) Y = |
| 49 | ((AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeCochainPresheafTopIso (ModuleCat.of ℚ ℚ) Y (((Opens.map f).obj O) : Set Y)).inv ≫ |
| 50 | (AlgebraicTopology.Cohomology.Singular.SupportedRelativeMap.relativeToSupportedSheafSections (ModuleCat.of ℚ ℚ) Y ((Opens.map f).obj O) ⊤ ≫ |
| 51 | (HodgeConjecture.DegreeTwo.ClosedSupportIs.Constructions.closedSourceSupportedSectionsIso f O ⊤).inv)) ≫ |
| 52 | HodgeConjecture.DegreeTwo.ClosedSourceRelativeMap.Constructions.closedSupportSectionInclusion O ⊤ (HodgeConjecture.DegreeTwo.SingularSheafPullback.Constructions.singularPushforwardSheafComplex (ModuleCat.of ℚ ℚ) f) |
| 53 | rw [Category.assoc, Category.assoc, closedSourceSupportedSectionsIso_inv_inclusion, |
| 54 | ← Category.assoc] |
| 55 | exact (AlgebraicTopology.Cohomology.Singular.SupportedRelativeComparison.relativeToSupportedSheafGlobalSections_inclusion (ModuleCat.of ℚ ℚ) Y ((Opens.map f).obj O)).symm |
| 56 | |
| 57 | variable [MetrizableSpace Y] |
| 58 | |
| 59 | theorem supportedSourceGlobalCohomologyIso_native (n : ℕ) : |
| 60 | (Supported.SourceCohomology.supportedSourceGlobalCohomologyIso f O n).symm ≪≫ |
| 61 | (HomologicalComplex.homologyFunctor _ (ComplexShape.up ℕ) n).mapIso |
| 62 | (Supported.DerivedComparison.supportedSectionsFunctorIso O ⊤ (HodgeConjecture.DegreeTwo.SingularSheafPullback.Constructions.singularPushforwardSheafComplex (ModuleCat.of ℚ ℚ) f)) = |
| 63 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeCohomologyPresheafTopIso (ModuleCat.of ℚ ℚ) Y (((Opens.map f).obj O) : Set Y) n).symm ≪≫ |
| 64 | (HodgeConjecture.DegreeTwo.ClosedSupportIs.Constructions.closedSourceSupportedRelativeCohomologyIso f O ⊤ n).symm := by |
| 65 | have := Supported.SourceCohomology.relativeToSupportedSourceGlobalSections_quasiIso f O |
| 66 | have hn : HomologicalComplex.homologyMap (HodgeConjecture.DegreeTwo.ClosedSourceRelativeMap.Constructions.closedSourceRelativeToSupportedSections O ⊤ f) n = |
| 67 | (HodgeConjecture.DegreeTwo.ClosedSupportIs.Constructions.closedSourceSupportedRelativeCohomologyIso f O ⊤ n).inv := by |
| 68 | apply (cancel_mono (HodgeConjecture.DegreeTwo.ClosedSupportIs.Constructions.closedSourceSupportedRelativeCohomologyIso f O ⊤ n).hom).mp |
| 69 | rw [HodgeConjecture.DegreeTwo.ClosedSourceRelativeMap.Constructions.closedSourceRelativeToSupportedSections_homology, Iso.inv_hom_id] |
| 70 | apply Iso.ext |
| 71 | change HomologicalComplex.homologyMap (Supported.SourceCohomology.relativeToSupportedSourceGlobalSections (ModuleCat.of ℚ ℚ) f O) n ≫ |
| 72 | HomologicalComplex.homologyMap |
| 73 | (Supported.DerivedComparison.supportedSectionsFunctorIso O ⊤ (HodgeConjecture.DegreeTwo.SingularSheafPullback.Constructions.singularPushforwardSheafComplex (ModuleCat.of ℚ ℚ) f)).hom n = |
| 74 | HomologicalComplex.homologyMap |
| 75 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeCochainPresheafTopIso (ModuleCat.of ℚ ℚ) Y (((Opens.map f).obj O) : Set Y)).inv n ≫ |
| 76 | (HodgeConjecture.DegreeTwo.ClosedSupportIs.Constructions.closedSourceSupportedRelativeCohomologyIso f O ⊤ n).inv |
| 77 | rw [← hn, ← HomologicalComplex.homologyMap_comp, ← HomologicalComplex.homologyMap_comp, |
| 78 | relativeToSupportedSourceGlobalSections_native] |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Intrinsic.SourceGlobalComparison |