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.ClosedSupportSections |
| 2 | |
| 3 | /-! # Support Detection -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.SupportDetection |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Neighborhoods of all components in the minimum codimension retain |
| 12 | the actual supported cohomology in its first possible degree. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.SectionEvaluation.Constructions |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | set_option backward.defeqAttrib.useBackward true |
| 19 | |
| 20 | namespace Constructions.Neighborhoods |
| 21 | |
| 22 | variable (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) [IsIntegral X.left] [Smooth X.hom] |
| 23 | [AlgebraicGeometry.IsNoetherian X.left] (F : Closeds X.left) (c : ℕ) |
| 24 | |
| 25 | /-- Actual irreducible supports in the first possible codimension. -/ |
| 26 | abbrev MinimalSupport := |
| 27 | {Z : IrreducibleCloseds X.left // (Z : Set X.left) ⊆ F ∧ |
| 28 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension Z X.hom + c = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.hom} |
| 29 | |
| 30 | variable (hc : ∀ Z : IrreducibleCloseds X.left, (Z : Set X.left) ⊆ F → |
| 31 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension Z X.hom + c ≤ Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.hom) |
| 32 | (U : MinimalSupport X F c → X.left.Opens) |
| 33 | (hU : ∀ Z, irreducibleSetEquivPoints Z.val ∈ U Z) |
| 34 | |
| 35 | include hc hU in |
| 36 | omit [Smooth X.hom] [AlgebraicGeometry.IsNoetherian X.left] in |
| 37 | theorem omittedSupport_dimension (Z : IrreducibleCloseds X.left) |
| 38 | (hZ : (Z : Set X.left) ⊆ (F.compl ⊔ iSup U).compl) : |
| 39 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension Z X.hom + (c + 1) ≤ Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.hom := by |
| 40 | have hZF : (Z : Set X.left) ⊆ F := by |
| 41 | intro x hx |
| 42 | by_contra hxF |
| 43 | exact hZ hx (Or.inl hxF) |
| 44 | have hd := hc Z hZF |
| 45 | by_contra hn |
| 46 | have he : Foundations.Scheme.SupportDimension.supportTranscendenceDimension Z X.hom + c = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.hom := by omega |
| 47 | let T : MinimalSupport X F c := ⟨Z, hZF, he⟩ |
| 48 | have hz : irreducibleSetEquivPoints Z ∈ (Z : Set X.left) := |
| 49 | (Z.isIrreducible.isGenericPoint_genericPoint Z.isClosed).mem |
| 50 | exact hZ hz (Or.inr (Opens.mem_iSup.mpr ⟨T, hU T⟩)) |
| 51 | |
| 52 | variable [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] |
| 53 | local notation "T" => TopCat.of (OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) |
| 54 | |
| 55 | include hc hU in |
| 56 | theorem comparisonOpen_relativeRestriction_isIso : |
| 57 | IsIso (Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) T |
| 58 | (SectionEvaluation.Constructions.analyticOpen X F.compl : Set T) (SectionEvaluation.Constructions.analyticOpen X (F.compl ⊔ iSup U)) (2 * c)) := by |
| 59 | let G := F.compl ⊔ iSup U |
| 60 | have hG := omittedSupport_dimension X F c hc U hU |
| 61 | have hv (n : ℕ) (hn : n < 2 * (c + 1)) : |
| 62 | IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) T |
| 63 | (SectionEvaluation.Constructions.analyticOpen X G : Set T) n) := by |
| 64 | have h := ClosedSupportPurity.Constructions.closedSupport_cohomology_isZero X G.compl |
| 65 | (c + 1) hG n hn |
| 66 | rw [Opens.compl_compl] at h |
| 67 | exact h |
| 68 | exact Geometric.RelativeCochainTriple.Cohomology.relativeCohomologyTripleRestriction_isIso (ModuleCat.of ℚ ℚ) T |
| 69 | (SectionEvaluation.Constructions.analyticOpen X G : Set T) (SectionEvaluation.Constructions.analyticOpen X F.compl : Set T) |
| 70 | (fun _ hx => Or.inl hx) (2 * c) (hv (2 * c) (by omega)) (hv (2 * c + 1) (by omega)) |
| 71 | |
| 72 | end Constructions.Neighborhoods |
| 73 | |
| 74 | end |
| 75 | |
| 76 | /-! Supported classes in the first possible degree are detected on actual |
| 77 | algebraic neighborhoods of the minimum-codimension support components. -/ |
| 78 | |
| 79 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace Opposite |
| 80 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.SectionEvaluation.Constructions |
| 81 | set_option backward.isDefEq.respectTransparency false |
| 82 | set_option backward.isDefEq.respectTransparency.types false |
| 83 | set_option backward.defeqAttrib.useBackward true |
| 84 | |
| 85 | namespace Constructions |
| 86 | |
| 87 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.SupportDetection.Constructions.Neighborhoods OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.ClosedSupportSections.Constructions |
| 88 | |
| 89 | variable (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) [IsIntegral X.left] [Smooth X.hom] |
| 90 | [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] |
| 91 | (F : Closeds X.left) (c : ℕ) |
| 92 | (hc : ∀ Z : IrreducibleCloseds X.left, (Z : Set X.left) ⊆ F → |
| 93 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension Z X.hom + c ≤ Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.hom) |
| 94 | (U : Neighborhoods.MinimalSupport X F c → X.left.Opens) |
| 95 | (hU : ∀ Z, irreducibleSetEquivPoints Z.val ∈ U Z) |
| 96 | |
| 97 | local notation "T" => TopCat.of (OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) |
| 98 | local notation "O" => OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.SectionEvaluation.Constructions.analyticOpen X F.compl |
| 99 | |
| 100 | include hc hU in |
| 101 | theorem relativeClass_eq_of_component_neighborhoods |
| 102 | (a b : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) T (O : Set T) (2 * c)) |
| 103 | (hab : ∀ Z, Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) T (O : Set T) |
| 104 | (SectionEvaluation.Constructions.analyticOpen X (U Z)) (2 * c) a = |
| 105 | Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) T (O : Set T) |
| 106 | (SectionEvaluation.Constructions.analyticOpen X (U Z)) (2 * c) b) : a = b := by |
| 107 | let G : Opens T := SectionEvaluation.Constructions.analyticOpen X (F.compl ⊔ iSup U) |
| 108 | let S := ((Geometric.SupportStalkVanishes.Cohomology.supportedSingularSheafComplex (ModuleCat.of ℚ ℚ) T O).homology (2 * c)).obj |
| 109 | have hi : IsIso (Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) T (O : Set T) G (2 * c)) := |
| 110 | Neighborhoods.comparisonOpen_relativeRestriction_isIso X F c hc U hU |
| 111 | have hs : IsIso (Geometric.RelativeCohomologySections.Cycles.relativeCohomologySectionMap (ModuleCat.of ℚ ℚ) T O G (2 * c)) := |
| 112 | ClosedSupportSections.Constructions.closedSupportSectionMap_isIso X F c hc G |
| 113 | apply (ModuleCat.mono_iff_injective |
| 114 | (Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) T (O : Set T) G (2 * c))).mp inferInstance |
| 115 | apply (ModuleCat.mono_iff_injective |
| 116 | (Geometric.RelativeCohomologySections.Cycles.relativeCohomologySectionMap (ModuleCat.of ℚ ℚ) T O G (2 * c))).mp inferInstance |
| 117 | have image (a' : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) T (O : Set T) (2 * c)) |
| 118 | (V : Opens T) : |
| 119 | S.map (homOfLE (le_top : V ≤ ⊤)).op |
| 120 | (Geometric.RelativeCohomologySections.Cycles.relativeCohomologyGlobalSectionMap (ModuleCat.of ℚ ℚ) T O (2 * c) a') = |
| 121 | Geometric.RelativeCohomologySections.Cycles.relativeCohomologySectionMap (ModuleCat.of ℚ ℚ) T O V (2 * c) |
| 122 | (Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) T (O : Set T) V (2 * c) a') := |
| 123 | ConcreteCategory.congr_hom |
| 124 | (Geometric.RelativeCohomologySections.Cycles.relativeCohomologyGlobalSectionMap_restrict (ModuleCat.of ℚ ℚ) T O V (2 * c)) a' |
| 125 | rw [← image a G, ← image b G] |
| 126 | apply Geometric.SupportedGerms.Cycles.supportedCohomologySection_ext_on_support (ModuleCat.of ℚ ℚ) T O G (2 * c) |
| 127 | intro x hxG hxO |
| 128 | have hx : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying x ∈ iSup U := by |
| 129 | change ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying x ∈ F.compl ⊔ iSup U at hxG |
| 130 | exact hxG.resolve_left hxO |
| 131 | obtain ⟨Z, hZ⟩ := Opens.mem_iSup.mp hx |
| 132 | have hz' : x ∈ SectionEvaluation.Constructions.analyticOpen X (U Z) := hZ |
| 133 | have he : S.map (homOfLE (le_top : SectionEvaluation.Constructions.analyticOpen X (U Z) ≤ ⊤)).op |
| 134 | (Geometric.RelativeCohomologySections.Cycles.relativeCohomologyGlobalSectionMap (ModuleCat.of ℚ ℚ) T O (2 * c) a) = |
| 135 | S.map (homOfLE (le_top : SectionEvaluation.Constructions.analyticOpen X (U Z) ≤ ⊤)).op |
| 136 | (Geometric.RelativeCohomologySections.Cycles.relativeCohomologyGlobalSectionMap (ModuleCat.of ℚ ℚ) T O (2 * c) b) := by |
| 137 | rw [image a, image b, hab Z] |
| 138 | have hg := congrArg (TopCat.Presheaf.germ S (SectionEvaluation.Constructions.analyticOpen X (U Z)) x hz') he |
| 139 | rw [TopCat.Presheaf.germ_res_apply, TopCat.Presheaf.germ_res_apply] at hg |
| 140 | rw [TopCat.Presheaf.germ_res_apply, TopCat.Presheaf.germ_res_apply] |
| 141 | exact hg |
| 142 | |
| 143 | include hc hU in |
| 144 | theorem component_neighborhood_restriction_injective : |
| 145 | Function.Injective (fun a : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) T (O : Set T) (2 * c) => |
| 146 | fun Z : Neighborhoods.MinimalSupport X F c => |
| 147 | Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) T (O : Set T) |
| 148 | (SectionEvaluation.Constructions.analyticOpen X (U Z)) (2 * c) a) := by |
| 149 | intro a b hab |
| 150 | exact relativeClass_eq_of_component_neighborhoods X F c hc U hU a b (congrFun hab) |
| 151 | |
| 152 | end Constructions |
| 153 | |
| 154 | end |
| 155 | |
| 156 | end OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.SupportDetection |