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 | |
| 3 | /-! # Sheaf Purity -/ |
| 4 | |
| 5 | namespace OAI |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace AlgebraicGeometry.CycleClass.Thom.Immersion.SheafPurity.Constructions.Construction |
| 10 | |
| 11 | /-! The genuine regular-locus supported sheaf complex has cohomology in exactly its Thom degree. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | variable {V : Closed.ComplexImmersion.Constructions.ComplexManifold} {p : ℕ} (Z : Closed.ComplexImmersion.Constructions.ClosedComplexImmersion V p) |
| 18 | |
| 19 | theorem regularThomStalk_isZero_except (y : Z.regularAmbientSpace) (n : ℕ) (hn : n ≠ 2*p) : |
| 20 | IsZero ((AlgebraicTopology.Cohomology.Singular.SheafQuasiIso.sheafStalkCochainComplex Z.regularThomSheafComplex y).homology n) := by |
| 21 | by_cases hy : y ∈ Set.range Z.regularComplementInclusion |
| 22 | · obtain ⟨x,rfl⟩ := hy |
| 23 | apply (Z.regularFixedNormalPair x).supportedStalk_homology_isZero |
| 24 | Z.regularThomComplementOpen rfl n |
| 25 | simpa only [Module.finrank_fin_fun] using hn |
| 26 | · exact Geometric.SupportStalkVanishes.Cycles.supportedSingularSheaf_stalk_homology_isZero_of_mem |
| 27 | (X := TopCat.of Z.regularAmbientSpace) (ModuleCat.of ℚ ℚ) |
| 28 | Z.regularThomComplementOpen y hy n |
| 29 | |
| 30 | theorem regularThomSheaf_homology_isZero_except (n : ℕ) (hn : n ≠ 2*p) : |
| 31 | IsZero (Z.regularThomSheafComplex.homology n) := |
| 32 | Geometric.GlobalSupportPurity.Cycles.rationalSheafComplex_homology_isZero_of_stalk Z.regularThomSheafComplex n |
| 33 | (fun y => regularThomStalk_isZero_except Z y n hn) |
| 34 | |
| 35 | theorem regularThomSheaf_exactAt_except (n : ℕ) (hn : n ≠ 2*p) : |
| 36 | Z.regularThomSheafComplex.ExactAt n := |
| 37 | Geometric.GlobalSupportPurity.Cycles.rationalSheafComplex_exactAt_of_stalk_isZero Z.regularThomSheafComplex n |
| 38 | (fun y => regularThomStalk_isZero_except Z y n hn) |
| 39 | |
| 40 | end AlgebraicGeometry.CycleClass.Thom.Immersion.SheafPurity.Constructions.Construction |
| 41 | |
| 42 | namespace AlgebraicGeometry.CycleClass.Thom.Immersion.SheafPurity.Constructions.SupportDetection |
| 43 | |
| 44 | /-! A supported class in the Thom degree is determined on arbitrary |
| 45 | open neighborhoods covering the actual embedded source. -/ |
| 46 | |
| 47 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 48 | |
| 49 | open OAI.AlgebraicGeometry.CycleClass.Thom.Closed.ComplexImmersion.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Immersion.SheafPurity.Constructions.Construction |
| 50 | |
| 51 | set_option backward.isDefEq.respectTransparency false |
| 52 | set_option backward.isDefEq.respectTransparency.types false |
| 53 | set_option backward.defeqAttrib.useBackward true |
| 54 | |
| 55 | variable {V : Closed.ComplexImmersion.Constructions.ComplexManifold} {p : ℕ} (Z : Closed.ComplexImmersion.Constructions.ClosedComplexImmersion V p) |
| 56 | |
| 57 | theorem relativeClass_eq_of_neighborhoods |
| 58 | (U : Z.regularAnalyticSpace → Opens V.analyticSpace) |
| 59 | (hU : ∀ z, Z.regularComplementInclusion z ∈ U z) |
| 60 | (a b : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) V.analyticSpace |
| 61 | (Set.range Z.regularComplementInclusion)ᶜ (2 * p)) |
| 62 | (hab : ∀ z, Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) V.analyticSpace |
| 63 | (Set.range Z.regularComplementInclusion)ᶜ (U z) (2 * p) a = |
| 64 | Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) V.analyticSpace |
| 65 | (Set.range Z.regularComplementInclusion)ᶜ (U z) (2 * p) b) : a = b := by |
| 66 | let O := Z.regularThomComplementOpen |
| 67 | let S := (Z.regularThomSheafComplex.homology (2 * p)).obj |
| 68 | have hi : IsIso (Geometric.RelativeCohomologySections.Cycles.relativeCohomologyGlobalSectionMap (ModuleCat.of ℚ ℚ) V.analyticSpace O (2 * p)) := |
| 69 | Geometric.ComplexThom.Cycles.relativeCohomologyGlobalSectionMap_isIso V.analyticSpace O (2 * p) |
| 70 | (fun y n hn => Construction.regularThomStalk_isZero_except Z y n (ne_of_lt hn)) |
| 71 | apply (ModuleCat.mono_iff_injective |
| 72 | (Geometric.RelativeCohomologySections.Cycles.relativeCohomologyGlobalSectionMap (ModuleCat.of ℚ ℚ) V.analyticSpace O (2 * p))).mp inferInstance |
| 73 | apply Geometric.SupportedGerms.Cycles.supportedCohomologySection_ext_on_support (ModuleCat.of ℚ ℚ) V.analyticSpace O ⊤ (2 * p) |
| 74 | intro y _ hy |
| 75 | have hyr : y ∈ Set.range Z.regularComplementInclusion := not_not.mp hy |
| 76 | obtain ⟨z, rfl⟩ := hyr |
| 77 | have image (c : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) V.analyticSpace (O : Set V.analyticSpace) (2 * p)) : |
| 78 | S.map (homOfLE (le_top : U z ≤ ⊤)).op |
| 79 | (Geometric.RelativeCohomologySections.Cycles.relativeCohomologyGlobalSectionMap (ModuleCat.of ℚ ℚ) V.analyticSpace O (2 * p) c) = |
| 80 | Geometric.RelativeCohomologySections.Cycles.relativeCohomologySectionMap (ModuleCat.of ℚ ℚ) V.analyticSpace O (U z) (2 * p) |
| 81 | (Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) V.analyticSpace (O : Set V.analyticSpace) (U z) (2 * p) c) := |
| 82 | ConcreteCategory.congr_hom |
| 83 | (Geometric.RelativeCohomologySections.Cycles.relativeCohomologyGlobalSectionMap_restrict (ModuleCat.of ℚ ℚ) V.analyticSpace O (U z) (2 * p)) c |
| 84 | have he : S.map (homOfLE (le_top : U z ≤ ⊤)).op |
| 85 | (Geometric.RelativeCohomologySections.Cycles.relativeCohomologyGlobalSectionMap (ModuleCat.of ℚ ℚ) V.analyticSpace O (2 * p) a) = |
| 86 | S.map (homOfLE (le_top : U z ≤ ⊤)).op |
| 87 | (Geometric.RelativeCohomologySections.Cycles.relativeCohomologyGlobalSectionMap (ModuleCat.of ℚ ℚ) V.analyticSpace O (2 * p) b) := by |
| 88 | rw [image a, image b] |
| 89 | exact congrArg (Geometric.RelativeCohomologySections.Cycles.relativeCohomologySectionMap (ModuleCat.of ℚ ℚ) V.analyticSpace O (U z) (2 * p)) (hab z) |
| 90 | have hg := congrArg (TopCat.Presheaf.germ S (U z) (Z.regularComplementInclusion z) (hU z)) he |
| 91 | rw [TopCat.Presheaf.germ_res_apply, TopCat.Presheaf.germ_res_apply] at hg |
| 92 | exact hg |
| 93 | |
| 94 | end AlgebraicGeometry.CycleClass.Thom.Immersion.SheafPurity.Constructions.SupportDetection |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI |