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.Scheme.SupportDetection |
| 2 | |
| 3 | /-! # Support Local Detection -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.SupportLocalDetection.Constructions |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! In the first possible supported degree, equality on an ambient |
| 10 | open follows from equality near every point of its closed support. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 13 | |
| 14 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.ClosedSupportSections.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.SectionEvaluation.Constructions |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | theorem restriction_eq_iff_pairMap {T : TopCat} (O : Set T) (P : Opens T) (S : Set P) |
| 20 | (he : S = AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := T) O P) |
| 21 | (hm : Set.MapsTo (Geometric.LocalHomology.Cycles.subspaceInclusion T (P : Set T)) S O) (d : ℕ) |
| 22 | (a b : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) T O d) : |
| 23 | Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) T O P d a = |
| 24 | Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) T O P d b ↔ |
| 25 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (Geometric.LocalHomology.Cycles.subspaceInclusion T (P : Set T)) hm d a = |
| 26 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (Geometric.LocalHomology.Cycles.subspaceInclusion T (P : Set T)) hm d b := by |
| 27 | cases he |
| 28 | rfl |
| 29 | |
| 30 | variable (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) [IsIntegral X.left] [Smooth X.hom] |
| 31 | [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] |
| 32 | (F : Closeds X.left) (c : ℕ) |
| 33 | (hc : ∀ Z : IrreducibleCloseds X.left, (Z : Set X.left) ⊆ F → |
| 34 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension Z X.hom + c ≤ Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.hom) |
| 35 | (G : Opens (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) |
| 36 | |
| 37 | local notation "T" => TopCat.of (OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) |
| 38 | local notation "O" => OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.SectionEvaluation.Constructions.analyticOpen X F.compl |
| 39 | |
| 40 | include hc in |
| 41 | theorem relativeClass_eq_on_open_of_local |
| 42 | (a b : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) T (O : Set T) (2 * c)) |
| 43 | (hloc : ∀ x : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X, x ∈ G → x ∉ O → |
| 44 | ∃ P : Opens (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X), x ∈ P ∧ |
| 45 | Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) T (O : Set T) P (2 * c) a = |
| 46 | Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) T (O : Set T) P (2 * c) b) : |
| 47 | Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) T (O : Set T) G (2 * c) a = |
| 48 | Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) T (O : Set T) G (2 * c) b := by |
| 49 | let S := ((Geometric.SupportStalkVanishes.Cohomology.supportedSingularSheafComplex (ModuleCat.of ℚ ℚ) T O).homology (2 * c)).obj |
| 50 | have hs : IsIso (Geometric.RelativeCohomologySections.Cycles.relativeCohomologySectionMap (ModuleCat.of ℚ ℚ) T O G (2 * c)) := |
| 51 | ClosedSupportSections.Constructions.closedSupportSectionMap_isIso X F c hc G |
| 52 | apply (ModuleCat.mono_iff_injective |
| 53 | (Geometric.RelativeCohomologySections.Cycles.relativeCohomologySectionMap (ModuleCat.of ℚ ℚ) T O G (2 * c))).mp inferInstance |
| 54 | have image (a' : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) T (O : Set T) (2 * c)) (P : Opens T) : |
| 55 | S.map (homOfLE (le_top : P ≤ ⊤)).op |
| 56 | (Geometric.RelativeCohomologySections.Cycles.relativeCohomologyGlobalSectionMap (ModuleCat.of ℚ ℚ) T O (2 * c) a') = |
| 57 | Geometric.RelativeCohomologySections.Cycles.relativeCohomologySectionMap (ModuleCat.of ℚ ℚ) T O P (2 * c) |
| 58 | (Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) T (O : Set T) P (2 * c) a') := |
| 59 | ConcreteCategory.congr_hom (Geometric.RelativeCohomologySections.Cycles.relativeCohomologyGlobalSectionMap_restrict (ModuleCat.of ℚ ℚ) T O P (2 * c)) a' |
| 60 | rw [← image a G, ← image b G] |
| 61 | apply Geometric.SupportedGerms.Cycles.supportedCohomologySection_ext_on_support (ModuleCat.of ℚ ℚ) T O G (2 * c) |
| 62 | intro x hxG hxO |
| 63 | obtain ⟨P, hxP, he⟩ := hloc x hxG hxO |
| 64 | have h := congrArg (Geometric.RelativeCohomologySections.Cycles.relativeCohomologySectionMap (ModuleCat.of ℚ ℚ) T O P (2 * c)) he |
| 65 | rw [← image a P, ← image b P] at h |
| 66 | have hg := congrArg (TopCat.Presheaf.germ S P x hxP) h |
| 67 | rw [TopCat.Presheaf.germ_res_apply, TopCat.Presheaf.germ_res_apply] at hg |
| 68 | rw [TopCat.Presheaf.germ_res_apply, TopCat.Presheaf.germ_res_apply] |
| 69 | exact hg |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.SupportLocalDetection.Constructions |