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.CycleClass.Thom.Closed.ComplexImmersion |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Immersion.SupportedSourceCup |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.NormalSupportRelative |
| 4 | |
| 5 | /-! # Local Support Cup -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Immersion.LocalSupportCup.Constructions.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! The supported source–Thom isomorphism for any actual open complement inside a neighborhood. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.NormalSupportRelative.Constructions |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | |
| 20 | variable {V : Closed.ComplexImmersion.Constructions.ComplexManifold} {p : ℕ} (Z : Closed.ComplexImmersion.Constructions.ClosedComplexImmersion V p) |
| 21 | variable (a : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) |
| 22 | (TopCat.of Z.regularAmbientSpace) (Z.regularThomComplementOpen : Set Z.regularAmbientSpace)) (2 * p)) |
| 23 | variable (ha : AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ (2 * p) a = Z.regularThomClass) |
| 24 | |
| 25 | def regularSourceThomLocalSupportIso (U : Opens Z.regularAmbientSpace) (B : Opens U) (q : ℕ) : |
| 26 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) |
| 27 | (TopCat.of ((Opens.map (SourceSheaf.Constructions.Construction.regularSourceInclusionMap V Z)).obj U)) |
| 28 | ((HodgeConjecture.DegreeTwo.SingularSheafPullback.Constructions.openPreimageMap (SourceSheaf.Constructions.Construction.regularSourceInclusionMap V Z) U) ⁻¹' (B : Set U)) q ≅ |
| 29 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of U) |
| 30 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := TopCat.of Z.regularAmbientSpace) |
| 31 | (Z.regularThomComplementOpen : Set Z.regularAmbientSpace) U ∪ (B : Set U)) ((2 * p)+q) := |
| 32 | (eqToIso (congrArg (fun S => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) |
| 33 | (TopCat.of ((Opens.map (SourceSheaf.Constructions.Construction.regularSourceInclusionMap V Z)).obj U)) S q) |
| 34 | (HodgeConjecture.DegreeTwo.NormalSupportRelative.Constructions.localSupportAmbientOpen_source (X := TopCat.of Z.regularAmbientSpace) U B (SourceSheaf.Constructions.Construction.regularSourceInclusionMap V Z)))).symm ≪≫ |
| 35 | SupportedThomSource.Constructions.Construction.regularSourceThomSupportedRelativeIso Z a ha (HodgeConjecture.DegreeTwo.NormalSupportRelative.Constructions.localSupportAmbientOpen (X := TopCat.of Z.regularAmbientSpace) U B) U q ≪≫ |
| 36 | eqToIso (congrArg (fun S => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of U) S ((2 * p)+q)) |
| 37 | (HodgeConjecture.DegreeTwo.NormalSupportRelative.Constructions.localSupportAmbientOpen_union (X := TopCat.of Z.regularAmbientSpace) U B Z.regularThomComplementOpen)) |
| 38 | |
| 39 | end |
| 40 | |
| 41 | /-! The local-support source–Thom comparison is normalized by the actual two-support cup. -/ |
| 42 | |
| 43 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 44 | open OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.NormalSupportRelative.Constructions |
| 45 | |
| 46 | set_option backward.isDefEq.respectTransparency false |
| 47 | |
| 48 | theorem twoSupportCup_rightSupportEquality (X : TopCat.{0}) (A : Set X) {B B' : Set X} |
| 49 | (eB : B = B') (hA : IsOpen A) (hB : IsOpen B) (hB' : IsOpen B') (p q : ℕ) |
| 50 | (a : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X A p) : |
| 51 | ModuleCat.ofHom (HodgeConjecture.DegreeTwo.SupportCup.Constructions.twoSupportCohomologyCup X A B hA hB p q a) ≫ |
| 52 | (eqToIso (congrArg (fun S => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X (A ∪ S) (p+q)) eB)).hom = |
| 53 | (eqToIso (congrArg (fun S => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X S q) eB)).hom ≫ |
| 54 | ModuleCat.ofHom (HodgeConjecture.DegreeTwo.SupportCup.Constructions.twoSupportCohomologyCup X A B' hA hB' p q a) := by |
| 55 | subst B' |
| 56 | simp only [eqToIso_refl, Iso.refl_hom, Category.comp_id, Category.id_comp] |
| 57 | |
| 58 | theorem supportConjugateIso_cup {C : Type*} [Category C] {R R' S S' T T' : C} |
| 59 | (eR : R ≅ R') (eS : S ≅ S') (eT : T ≅ T') (e : S ≅ T) |
| 60 | (f : R ⟶ S) (f' : R' ⟶ S') (g : R ⟶ T) (g' : R' ⟶ T') |
| 61 | (hf : f ≫ eS.hom = eR.hom ≫ f') (hg : g ≫ eT.hom = eR.hom ≫ g') (he : f ≫ e.hom = g) : |
| 62 | f' ≫ (eS.symm ≪≫ e ≪≫ eT).hom = g' := by |
| 63 | apply (cancel_epi eR.hom).mp |
| 64 | simp only [Iso.trans_hom, Iso.symm_hom] |
| 65 | rw [← Category.assoc, ← hf, Category.assoc, Iso.hom_inv_id_assoc, ← Category.assoc, he, hg] |
| 66 | |
| 67 | variable {V : Closed.ComplexImmersion.Constructions.ComplexManifold} {p : ℕ} (Z : Closed.ComplexImmersion.Constructions.ClosedComplexImmersion V p) |
| 68 | variable (a : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) |
| 69 | (TopCat.of Z.regularAmbientSpace) (Z.regularThomComplementOpen : Set Z.regularAmbientSpace)) (2 * p)) |
| 70 | variable (ha : AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ (2 * p) a = Z.regularThomClass) |
| 71 | |
| 72 | theorem regularSourceThomLocalSupportIso_cup (U : Opens Z.regularAmbientSpace) (B : Opens U) (q : ℕ) : |
| 73 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (HodgeConjecture.DegreeTwo.SingularSheafPullback.Constructions.openPreimageMap (SourceSheaf.Constructions.Construction.regularSourceInclusionMap V Z) U) |
| 74 | (A := (HodgeConjecture.DegreeTwo.SingularSheafPullback.Constructions.openPreimageMap (SourceSheaf.Constructions.Construction.regularSourceInclusionMap V Z) U) ⁻¹' (B : Set U)) (B := (B : Set U)) |
| 75 | (fun _ hx => hx) q ≫ (regularSourceThomLocalSupportIso Z a ha U B q).hom = |
| 76 | ModuleCat.ofHom (HodgeConjecture.DegreeTwo.SupportCup.Constructions.twoSupportCohomologyCup (TopCat.of U) |
| 77 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := TopCat.of Z.regularAmbientSpace) |
| 78 | (Z.regularThomComplementOpen : Set Z.regularAmbientSpace) U) (B : Set U) |
| 79 | (Z.regularThomComplementOpen.isOpen.preimage continuous_subtype_val) B.isOpen (2 * p) q |
| 80 | (Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of Z.regularAmbientSpace) |
| 81 | (Z.regularThomComplementOpen : Set Z.regularAmbientSpace) U (2 * p) Z.regularThomClass)) := by |
| 82 | let f := SourceSheaf.Constructions.Construction.regularSourceInclusionMap V Z |
| 83 | let O := HodgeConjecture.DegreeTwo.NormalSupportRelative.Constructions.localSupportAmbientOpen (X := TopCat.of Z.regularAmbientSpace) U B |
| 84 | let eR := eqToIso (congrArg (fun S => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of U) S q) |
| 85 | (HodgeConjecture.DegreeTwo.NormalSupportRelative.Constructions.localSupportAmbientOpen_restriction (X := TopCat.of Z.regularAmbientSpace) U B)) |
| 86 | let eS := eqToIso (congrArg (fun S => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) |
| 87 | (TopCat.of ((Opens.map f).obj U)) S q) (HodgeConjecture.DegreeTwo.NormalSupportRelative.Constructions.localSupportAmbientOpen_source (X := TopCat.of Z.regularAmbientSpace) U B f)) |
| 88 | let eT := eqToIso (congrArg (fun S => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of U) S ((2 * p)+q)) |
| 89 | (HodgeConjecture.DegreeTwo.NormalSupportRelative.Constructions.localSupportAmbientOpen_union (X := TopCat.of Z.regularAmbientSpace) U B Z.regularThomComplementOpen)) |
| 90 | exact supportConjugateIso_cup eR eS eT (SupportedThomSource.Constructions.Construction.regularSourceThomSupportedRelativeIso Z a ha O U q) _ _ _ _ |
| 91 | (HodgeConjecture.DegreeTwo.NormalSupportRelative.Constructions.relativePairMap_supportEquality (HodgeConjecture.DegreeTwo.SingularSheafPullback.Constructions.openPreimageMap f U) |
| 92 | (HodgeConjecture.DegreeTwo.NormalSupportRelative.Constructions.localSupportAmbientOpen_source (X := TopCat.of Z.regularAmbientSpace) U B f) (HodgeConjecture.DegreeTwo.NormalSupportRelative.Constructions.localSupportAmbientOpen_restriction (X := TopCat.of Z.regularAmbientSpace) U B) |
| 93 | (fun _ hx => hx) (fun _ hx => hx) q) |
| 94 | (twoSupportCup_rightSupportEquality (TopCat.of U) |
| 95 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := TopCat.of Z.regularAmbientSpace) |
| 96 | (Z.regularThomComplementOpen : Set Z.regularAmbientSpace) U) |
| 97 | (HodgeConjecture.DegreeTwo.NormalSupportRelative.Constructions.localSupportAmbientOpen_restriction (X := TopCat.of Z.regularAmbientSpace) U B) |
| 98 | (Z.regularThomComplementOpen.isOpen.preimage continuous_subtype_val) |
| 99 | (O.isOpen.preimage continuous_subtype_val) B.isOpen (2 * p) q |
| 100 | (Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of Z.regularAmbientSpace) |
| 101 | (Z.regularThomComplementOpen : Set Z.regularAmbientSpace) U (2 * p) Z.regularThomClass)) |
| 102 | (SupportedSourceCup.Constructions.Construction.regularSourceThomSupportedRelativeIso_cup Z a ha O U q) |
| 103 | |
| 104 | end |
| 105 | |
| 106 | end OAI.AlgebraicGeometry.CycleClass.Thom.Immersion.LocalSupportCup.Constructions.Construction |