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.PrimeSectionPair |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RationalComplementVanishing |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.OpenComplementPurity |
| 4 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.RelativeLocalDetection |
| 5 | |
| 6 | /-! # Rational Divisor Neighborhood -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RationalDivisorNeighborhood |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Compare the actual rational-function boundary with the existing divisor |
| 13 | cycle class on algebraic neighborhoods, using native complex normal charts. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | open scoped _root_.Manifold ContDiff |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.SectionEvaluation.Constructions |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | set_option backward.defeqAttrib.useBackward true |
| 21 | |
| 22 | namespace Constructions |
| 23 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.SchemeDivisor.Purity.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.SchemeDivisor.Module.Constructions |
| 24 | SupportedNormalRestriction.Constructions PrimeSectionPair.Constructions RationalRegularNormal.Constructions RationalComplementVanishing.Constructions |
| 25 | RationalBoundary.Constructions.Restriction OpenComplementPurity.Constructions HodgeConjecture.DegreeTwo.RelativeLocalDetection.Constructions |
| 26 | |
| 27 | theorem exists_rational_comparison_on_regular_support |
| 28 | {X : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsIntegral X.left] [Smooth X.hom] |
| 29 | [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] |
| 30 | {g : X.left.functionField} (D : RationalFunctionBoundary.Constructions.Principal.RationalUnitRepresentative X.left g) |
| 31 | (z : {x : X.left // Order.coheight x = 1}) |
| 32 | (hO : (SectionEvaluation.Constructions.analyticOpen X D.domain : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) ⊆ |
| 33 | (Set.range (RegularSupport.Constructions.supportInclusion X (SchemeDivisor.Purity.Constructions.primeSupport X z)))ᶜ) |
| 34 | (U : X.left.Opens) [Nonempty U] (hU : IsAffineOpen U) |
| 35 | (p b c : Γ(X.left, U)) (hp : p ≠ 0) |
| 36 | (v : Γ(X.left, U)ˣ) (m : ℤ) (hm : m ≠ 0) |
| 37 | (he : g = |
| 38 | X.left.germToFunctionField U v * (X.left.germToFunctionField U p) ^ m) |
| 39 | (hsm : letI := Foundations.Scheme.SpecScalarTransport.specSectionScalarAlgebra X.hom U |
| 40 | Algebra.Smooth ℂ (Localization.Away (Ideal.Quotient.mk (Ideal.span {p}) b))) |
| 41 | (hsupp : ∀ y : SectionEvaluation.Constructions.analyticOpen X U, |
| 42 | SectionEvaluation.Constructions.sectionEvaluationOn X U c y ≠ 0 → |
| 43 | (SectionEvaluation.Constructions.sectionEvaluationOn X U p y = 0 ↔ y.val ∈ Set.range (RegularSupport.Constructions.supportInclusion X (SchemeDivisor.Purity.Constructions.primeSupport X z)))) |
| 44 | (x : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (RegularSupport.Constructions.regularOver X (SchemeDivisor.Purity.Constructions.primeSupport X z))) |
| 45 | (hxU : (RegularSupport.Constructions.regularInclusion X (SchemeDivisor.Purity.Constructions.primeSupport X z)) x ∈ SectionEvaluation.Constructions.analyticOpen X U) |
| 46 | (hxb : SectionEvaluation.Constructions.sectionEvaluationOn X U b ⟨(RegularSupport.Constructions.regularInclusion X (SchemeDivisor.Purity.Constructions.primeSupport X z)) x, hxU⟩ ≠ 0) |
| 47 | (hxc : SectionEvaluation.Constructions.sectionEvaluationOn X U c ⟨(RegularSupport.Constructions.regularInclusion X (SchemeDivisor.Purity.Constructions.primeSupport X z)) x, hxU⟩ ≠ 0) : |
| 48 | ∃ W : Opens (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X), (RegularSupport.Constructions.regularInclusion X (SchemeDivisor.Purity.Constructions.primeSupport X z)) x ∈ W ∧ |
| 49 | Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) |
| 50 | (SectionEvaluation.Constructions.analyticOpen X D.domain : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) W 2 |
| 51 | (RationalBoundary.Constructions.Restriction.rationalGlobalBoundary X D) = |
| 52 | Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) |
| 53 | (SectionEvaluation.Constructions.analyticOpen X D.domain : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) W 2 |
| 54 | (m • (RationalRegularNormal.Constructions.cycleWithUnitComplement X z D hO)) := by |
| 55 | obtain ⟨P, hPU, hmd, _, _, hcoord, _⟩ := |
| 56 | PrimeSectionPair.Constructions.exists_prime_section_fixedNormalPair X z U hU p b c hp hsm hsupp x hxU hxb hxc |
| 57 | let k := SupportedNormalRestriction.Constructions.regularPairAmbientMap X z x P |
| 58 | have hg : Topology.IsOpenEmbedding k := |
| 59 | (RegularSupport.Constructions.regularAmbientOpen X (SchemeDivisor.Purity.Constructions.primeSupport X z)).isOpenEmbedding'.comp P.openNeighborhood.isOpenEmbedding' |
| 60 | let O : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) := SectionEvaluation.Constructions.analyticOpen X D.domain |
| 61 | have hclass : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) k |
| 62 | (A := k ⁻¹' O) (fun _ hy => hy) 2 (RationalBoundary.Constructions.Restriction.rationalGlobalBoundary X D) = |
| 63 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) k |
| 64 | (A := k ⁻¹' O) (fun _ hy => hy) 2 |
| 65 | (m • (RationalRegularNormal.Constructions.cycleWithUnitComplement X z D hO)) := by |
| 66 | rw [map_zsmul] |
| 67 | exact RationalRegularNormal.Constructions.rationalGlobalBoundary_regularNormal X z D U x P hPU hO p hp v m hm he hmd hcoord |
| 68 | obtain ⟨W, hW, hcompare⟩ := HodgeConjecture.DegreeTwo.RelativeLocalDetection.Constructions.relativeClass_eq_on_openEmbedding_range |
| 69 | (ModuleCat.of ℚ ℚ) (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) O 2 k hg |
| 70 | (RationalBoundary.Constructions.Restriction.rationalGlobalBoundary X D) |
| 71 | (m • (RationalRegularNormal.Constructions.cycleWithUnitComplement X z D hO)) hclass |
| 72 | refine ⟨W, ?_, hcompare⟩ |
| 73 | rw [← SetLike.mem_coe, hW] |
| 74 | exact ⟨⟨(RegularSupport.Constructions.regularComplementInclusion X (SchemeDivisor.Purity.Constructions.primeSupport X z)) x, P.point_mem_neighborhood⟩, rfl⟩ |
| 75 | |
| 76 | section OffSupport |
| 77 | variable {X : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsIntegral X.left] [Smooth X.hom] |
| 78 | [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] |
| 79 | {g : X.left.functionField} |
| 80 | (D : RationalFunctionBoundary.Constructions.Principal.RationalUnitRepresentative X.left g) (z : {x : X.left // Order.coheight x = 1}) |
| 81 | (hO : (SectionEvaluation.Constructions.analyticOpen X D.domain : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) ⊆ |
| 82 | (Set.range (RegularSupport.Constructions.supportInclusion X (SchemeDivisor.Purity.Constructions.primeSupport X z)))ᶜ) |
| 83 | (U : X.left.Opens) [Nonempty U] |
| 84 | (p : Γ(X.left, U)) (hp : p ≠ 0) (v : Γ(X.left, U)ˣ) (m : ℤ) (hm : m ≠ 0) |
| 85 | (he : g = X.left.germToFunctionField U v * (X.left.germToFunctionField U p) ^ m) |
| 86 | include hp hm he |
| 87 | /-- Both actual global classes agree on an ambient neighborhood of each |
| 88 | point where the local parameter and the support are absent. -/ |
| 89 | theorem exists_rational_comparison_off_support |
| 90 | (y : SectionEvaluation.Constructions.analyticOpen X U) (hyp : SectionEvaluation.Constructions.sectionEvaluationOn X U p y ≠ 0) |
| 91 | (hyZ : y.val ∉ Set.range (RegularSupport.Constructions.supportInclusion X (SchemeDivisor.Purity.Constructions.primeSupport X z))) : |
| 92 | ∃ W : Opens (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X), y.val ∈ W ∧ |
| 93 | Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) |
| 94 | (SectionEvaluation.Constructions.analyticOpen X D.domain : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) W 2 |
| 95 | (RationalBoundary.Constructions.Restriction.rationalGlobalBoundary X D) = |
| 96 | Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) |
| 97 | (SectionEvaluation.Constructions.analyticOpen X D.domain : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) W 2 |
| 98 | (m • (RationalRegularNormal.Constructions.cycleWithUnitComplement X z D hO)) := by |
| 99 | let N : Opens (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) := |
| 100 | ⟨Subtype.val '' {w : SectionEvaluation.Constructions.analyticOpen X U | SectionEvaluation.Constructions.sectionEvaluationOn X U p w ≠ 0}, |
| 101 | (SectionEvaluation.Constructions.analyticOpen X U).isOpenEmbedding'.isOpenMap _ |
| 102 | (isOpen_ne.preimage (SectionEvaluation.Constructions.sectionEvaluationOn X U p).continuous)⟩ |
| 103 | let K : Opens (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) := |
| 104 | ⟨(Set.range (RegularSupport.Constructions.supportInclusion X (SchemeDivisor.Purity.Constructions.primeSupport X z)))ᶜ, (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isClosedEmbedding_map_of_isClosedImmersion (RegularSupport.Constructions.supportToAmbient X (SchemeDivisor.Purity.Constructions.primeSupport X z))).isClosed_range.isOpen_compl⟩ |
| 105 | let W := N ⊓ K |
| 106 | have hWU : W ≤ SectionEvaluation.Constructions.analyticOpen X U := by |
| 107 | rintro w ⟨⟨t, _, rfl⟩, _⟩ |
| 108 | exact t.property |
| 109 | have hWp : ∀ w : W, SectionEvaluation.Constructions.sectionEvaluationOn X U p ⟨w.val, hWU w.property⟩ ≠ 0 := by |
| 110 | intro w |
| 111 | obtain ⟨t, ht, htw⟩ := w.property.1 |
| 112 | have ht' : t = ⟨w.val, hWU w.property⟩ := Subtype.ext htw |
| 113 | exact ht' ▸ ht |
| 114 | refine ⟨W, ⟨⟨y, hyp, rfl⟩, hyZ⟩, ?_⟩ |
| 115 | rw [RationalComplementVanishing.Constructions.rationalGlobalBoundary_restrict_zero_of_parameter_nonzero X D U p hp v m hm he W hWU hWp, |
| 116 | map_zsmul, RationalComplementVanishing.Constructions.cycleWithUnitComplement_restrict_away X z D hO W |
| 117 | (fun _ hw => hw.2), smul_zero] |
| 118 | |
| 119 | end OffSupport |
| 120 | |
| 121 | theorem rationalGlobalBoundary_eq_supportedCycle_on_neighborhood |
| 122 | {X : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsIntegral X.left] [Smooth X.hom] |
| 123 | [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] |
| 124 | {g : X.left.functionField} (D : RationalFunctionBoundary.Constructions.Principal.RationalUnitRepresentative X.left g) |
| 125 | (z : {x : X.left // Order.coheight x = 1}) |
| 126 | (hO : (SectionEvaluation.Constructions.analyticOpen X D.domain : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) ⊆ |
| 127 | (Set.range (RegularSupport.Constructions.supportInclusion X (SchemeDivisor.Purity.Constructions.primeSupport X z)))ᶜ) |
| 128 | (U : X.left.Opens) [Nonempty U] (hU : IsAffineOpen U) |
| 129 | (p b c : Γ(X.left, U)) (hp : p ≠ 0) |
| 130 | (v : Γ(X.left, U)ˣ) (m : ℤ) (hm : m ≠ 0) |
| 131 | (he : g = |
| 132 | X.left.germToFunctionField U v * (X.left.germToFunctionField U p) ^ m) |
| 133 | (hsm : letI := Foundations.Scheme.SpecScalarTransport.specSectionScalarAlgebra X.hom U |
| 134 | Algebra.Smooth ℂ (Localization.Away (Ideal.Quotient.mk (Ideal.span {p}) b))) |
| 135 | (hsupp : ∀ y : SectionEvaluation.Constructions.analyticOpen X U, |
| 136 | SectionEvaluation.Constructions.sectionEvaluationOn X U c y ≠ 0 → |
| 137 | (SectionEvaluation.Constructions.sectionEvaluationOn X U p y = 0 ↔ y.val ∈ Set.range (RegularSupport.Constructions.supportInclusion X (SchemeDivisor.Purity.Constructions.primeSupport X z)))) |
| 138 | (W : X.left.Opens) (hWU : W ≤ U) |
| 139 | (hW : ∀ y : SectionEvaluation.Constructions.analyticOpen X W, |
| 140 | y.val ∈ (RegularSupport.Constructions.regularAmbientOpen X (SchemeDivisor.Purity.Constructions.primeSupport X z)) ∧ |
| 141 | SectionEvaluation.Constructions.sectionEvaluationOn X U b ⟨y.val, hWU y.property⟩ ≠ 0 ∧ |
| 142 | SectionEvaluation.Constructions.sectionEvaluationOn X U c ⟨y.val, hWU y.property⟩ ≠ 0) : |
| 143 | Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) |
| 144 | (SectionEvaluation.Constructions.analyticOpen X D.domain : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) |
| 145 | (SectionEvaluation.Constructions.analyticOpen X W) 2 (RationalBoundary.Constructions.Restriction.rationalGlobalBoundary X D) = |
| 146 | Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) |
| 147 | (SectionEvaluation.Constructions.analyticOpen X D.domain : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) |
| 148 | (SectionEvaluation.Constructions.analyticOpen X W) 2 |
| 149 | (m • (RationalRegularNormal.Constructions.cycleWithUnitComplement X z D hO)) := by |
| 150 | apply HodgeConjecture.DegreeTwo.RelativeLocalDetection.Constructions.relativeClass_restrict_eq_of_local_restrictions (ModuleCat.of ℚ ℚ) |
| 151 | (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) (SectionEvaluation.Constructions.analyticOpen X D.domain) |
| 152 | (SectionEvaluation.Constructions.analyticOpen X W) 2 |
| 153 | intro y hy _ |
| 154 | have hgood := hW ⟨y, hy⟩ |
| 155 | by_cases hyZ : y ∈ Set.range (RegularSupport.Constructions.supportInclusion X (SchemeDivisor.Purity.Constructions.primeSupport X z)) |
| 156 | · have hyr : (⟨y, hgood.1⟩ : (RegularSupport.Constructions.regularAmbientOpen X (SchemeDivisor.Purity.Constructions.primeSupport X z))) ∈ Set.range (RegularSupport.Constructions.regularComplementInclusion X (SchemeDivisor.Purity.Constructions.primeSupport X z)) := by |
| 157 | rw [RegularSupport.Constructions.regularComplementInclusion_range X (SchemeDivisor.Purity.Constructions.primeSupport X z)] |
| 158 | exact hyZ |
| 159 | obtain ⟨x, hx⟩ := hyr |
| 160 | have hxy : (RegularSupport.Constructions.regularInclusion X (SchemeDivisor.Purity.Constructions.primeSupport X z)) x = y := congrArg Subtype.val hx |
| 161 | subst y |
| 162 | exact exists_rational_comparison_on_regular_support D z hO U hU p b c hp |
| 163 | v m hm he hsm hsupp x (hWU hy) hgood.2.1 hgood.2.2 |
| 164 | · let yU : SectionEvaluation.Constructions.analyticOpen X U := ⟨y, hWU hy⟩ |
| 165 | have hyp : SectionEvaluation.Constructions.sectionEvaluationOn X U p yU ≠ 0 := |
| 166 | fun h => hyZ ((hsupp yU hgood.2.2).mp h) |
| 167 | exact exists_rational_comparison_off_support D z hO U p hp v m hm he yU hyp hyZ |
| 168 | |
| 169 | end Constructions |
| 170 | |
| 171 | end |
| 172 | |
| 173 | end OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RationalDivisorNeighborhood |