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.Normalization.Principal |
| 2 | |
| 3 | /-! # Principal Zero -/ |
| 4 | |
| 5 | namespace OAI |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace AlgebraicGeometry.CycleClass.Thom.Normalization.PrincipalZero.Constructions.BoundaryUnion |
| 10 | |
| 11 | /-! A single actual algebraic closed exceptional set works for the entire |
| 12 | finite normalization divisor and has strictly higher ambient codimension. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.AmbientMap.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.AmbientTopology.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.AmbientPurity.Constructions |
| 17 | Principal.Constructions NormalizationDivisor.Boundary.Constructions |
| 18 | |
| 19 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (W : IrreducibleCloseds V.carrier) |
| 20 | (g : (Geometric.GenericPoint.reducedSupportScheme W).functionField) (hg : g ≠ 0) |
| 21 | |
| 22 | local instance : Smooth (AmbientMap.Constructions.smoothNormalizationOver V W).hom := AmbientMap.Constructions.smoothNormalization_smooth V W |
| 23 | local instance : Fintype (Principal.Constructions.DivisorPoint V W g hg) := Fintype.ofFinite _ |
| 24 | |
| 25 | def commonBoundary : Closeds V.carrier := |
| 26 | ⟨(AmbientPurity.Constructions.normalizationExceptionalClosed V W : Set V.carrier) ∪ |
| 27 | ⋃ z : Principal.Constructions.DivisorPoint V W g hg, (NormalizationDivisor.Boundary.Constructions.omittedBoundary V W ⟨z.val, z.property.1⟩ : Set V.carrier), |
| 28 | (AmbientPurity.Constructions.normalizationExceptionalClosed V W).isClosed.union (isClosed_iUnion_of_finite fun z => |
| 29 | (NormalizationDivisor.Boundary.Constructions.omittedBoundary V W ⟨z.val, z.property.1⟩).isClosed)⟩ |
| 30 | |
| 31 | theorem commonBoundary_codimension (A : IrreducibleCloseds V.carrier) |
| 32 | (hA : (A : Set V.carrier) ⊆ commonBoundary V W g hg) : |
| 33 | Geometric.DimensionCycles.dimensionCodimension V W + 1 < Geometric.DimensionCycles.dimensionCodimension V A := by |
| 34 | have hη := A.isIrreducible.isGenericPoint_genericPoint A.isClosed |
| 35 | have hx := hA hη.mem |
| 36 | rcases hx with hx | hx |
| 37 | · have hsub : (A : Set V.carrier) ⊆ AmbientPurity.Constructions.normalizationExceptionalClosed V W := by |
| 38 | rw [← hη.def] |
| 39 | exact closure_minimal (Set.singleton_subset_iff.mpr hx) (AmbientPurity.Constructions.normalizationExceptionalClosed V W).isClosed |
| 40 | have h := AmbientPurity.Constructions.normalizationExceptional_codimension V W A hsub |
| 41 | omega |
| 42 | · obtain ⟨z, hz⟩ := Set.mem_iUnion.mp hx |
| 43 | apply NormalizationDivisor.Boundary.Constructions.omittedBoundary_codimension V W ⟨z.val, z.property.1⟩ A |
| 44 | rw [← hη.def] |
| 45 | exact closure_minimal (Set.singleton_subset_iff.mpr hz) (NormalizationDivisor.Boundary.Constructions.omittedBoundary V W ⟨z.val, z.property.1⟩).isClosed |
| 46 | |
| 47 | def commonOpen : Opens V.analyticSpace := ProperImage.CompactProjection.Constructions.Construction.algebraicComplementOpen V (commonBoundary V W g hg) |
| 48 | |
| 49 | theorem commonOpen_subset_ambient : |
| 50 | (commonOpen V W g hg : Set V.analyticSpace) ⊆ ProperImage.AnalyticRestriction.Constructions.Construction.schemeAnalyticOpen V.toOver (AmbientMap.Constructions.ambientOpen V W) := by |
| 51 | intro x hx hbad |
| 52 | exact hx (Or.inl hbad) |
| 53 | |
| 54 | theorem commonOpen_subset_divisor (z : Principal.Constructions.DivisorPoint V W g hg) : |
| 55 | (commonOpen V W g hg : Set V.analyticSpace) ⊆ |
| 56 | ProperImage.CompactProjection.Constructions.Construction.algebraicComplementOpen V (NormalizationDivisor.Boundary.Constructions.omittedBoundary V W ⟨z.val, z.property.1⟩) := by |
| 57 | intro x hx hbad |
| 58 | exact hx (Or.inr (Set.mem_iUnion.mpr ⟨z, hbad⟩)) |
| 59 | |
| 60 | theorem commonOpen_cohomologyRestriction_isIso : |
| 61 | IsIso (AlgebraicTopology.Cohomology.Singular.RelativeSequence.subspaceCohomologyRestriction (ModuleCat.of ℚ ℚ) (TopCat.of V.analyticSpace) |
| 62 | (commonOpen V W g hg : Set V.analyticSpace) |
| 63 | ((Geometric.DimensionCycles.dimensionCodimension V W + 1) + (Geometric.DimensionCycles.dimensionCodimension V W + 1))) := |
| 64 | ProperImage.ClosedSupportPurity.Constructions.Construction.closedComplement_cohomologyRestriction_isIso V (commonBoundary V W g hg) (Geometric.DimensionCycles.dimensionCodimension V W + 1) |
| 65 | (commonBoundary_codimension V W g hg) |
| 66 | |
| 67 | end AlgebraicGeometry.CycleClass.Thom.Normalization.PrincipalZero.Constructions.BoundaryUnion |
| 68 | |
| 69 | namespace AlgebraicGeometry.CycleClass.Thom.Normalization.PrincipalZero |
| 70 | section |
| 71 | |
| 72 | /-! Every retained compact trace of the actual ambient normalized |
| 73 | principal cycle vanishes, by the original rational-function boundary. -/ |
| 74 | |
| 75 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 76 | |
| 77 | set_option backward.isDefEq.respectTransparency false |
| 78 | set_option backward.isDefEq.respectTransparency.types false |
| 79 | |
| 80 | namespace Constructions.Trace |
| 81 | |
| 82 | open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.AmbientMap.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.AmbientTopology.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.PrincipalBoundary.Constructions |
| 83 | Principal.Constructions BoundaryUnion NormalizationDivisor.Trace.Constructions |
| 84 | NormalizationDivisor.Boundary.Constructions.CompactSupport SchemeDivisor.Trace.Constructions.Class |
| 85 | |
| 86 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (W : IrreducibleCloseds V.carrier) |
| 87 | (g : (Geometric.GenericPoint.reducedSupportScheme W).functionField) (hg : g ≠ 0) |
| 88 | |
| 89 | local instance : Smooth (AmbientMap.Constructions.smoothNormalizationOver V W).hom := AmbientMap.Constructions.smoothNormalization_smooth V W |
| 90 | local instance : MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (AmbientMap.Constructions.smoothNormalizationOver V W)) := AmbientTopology.Constructions.smoothNormalization_metrizable V W |
| 91 | local instance : Fintype (Principal.Constructions.DivisorPoint V W g hg) := Fintype.ofFinite _ |
| 92 | |
| 93 | theorem normalizedPrincipalCycle_trace_zero |
| 94 | (n : ℕ) (hp : 2 + n = 2 * Betti.AffineDimension.Realization.functionFieldDifferentialDimension (AmbientMap.Constructions.smoothNormalizationOver V W).hom) |
| 95 | (hq : (Geometric.DimensionCycles.dimensionCodimension V W + 1) + (Geometric.DimensionCycles.dimensionCodimension V W + 1) + n = 2 * V.complexDimension) |
| 96 | (L : Compacts V.analyticSpace) (hL : (L : Set V.analyticSpace) ⊆ BoundaryUnion.commonOpen V W g hg) |
| 97 | (b : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of V.analyticSpace) (L : Set V.analyticSpace)ᶜ n) : |
| 98 | Geometric.RelativeChainD.Cycles.relativeUniversalCoefficientEquiv ℚ (TopCat.of V.analyticSpace) (L : Set V.analyticSpace)ᶜ n b |
| 99 | (HomologicalComplex.homologyMap |
| 100 | (Geometric.RelativeScalarChains.Cycles.relativeScalarChainProjection ℚ (TopCat.of V.analyticSpace) (L : Set V.analyticSpace)ᶜ) n |
| 101 | ((V.poincareDuality ((Geometric.DimensionCycles.dimensionCodimension V W + 1) + (Geometric.DimensionCycles.dimensionCodimension V W + 1)) n hq).hom |
| 102 | (V.geometricCycleClassMap (Geometric.DimensionCycles.dimensionCodimension V W + 1) (Principal.Constructions.normalizedPrincipalCycle V W g hg)))) = 0 := by |
| 103 | let S := AmbientMap.Constructions.smoothNormalizationOver V W |
| 104 | let p := Geometric.DimensionCycles.dimensionCodimension V W + 1 |
| 105 | have hLO := hL.trans (BoundaryUnion.commonOpen_subset_ambient V W g hg) |
| 106 | let bS := AlgebraicTopology.Duality.Poincare.CompactSupportCohomology.compactSupportCohomologyι (ModuleCat.of ℚ ℚ) (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints S)) |
| 107 | ⟨ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (PrincipalBoundary.Constructions.fullAmbientMap V W) ⁻¹' (L : Set V.analyticSpace), NormalizationDivisor.Boundary.Constructions.CompactSupport.fullAmbientMap_compactPreimage V W L hLO⟩ n |
| 108 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map (PrincipalBoundary.Constructions.fullAmbientMap V W)) |
| 109 | (A := (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (PrincipalBoundary.Constructions.fullAmbientMap V W) ⁻¹' (L : Set V.analyticSpace))ᶜ) |
| 110 | (B := (L : Set V.analyticSpace)ᶜ) (fun _ hx => hx) n b) |
| 111 | let sourceEval : AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints S)) 2 →ₗ[ℚ] ℚ := |
| 112 | (LinearMap.applyₗ' ℚ bS).comp |
| 113 | (AlgebraicTopology.Duality.Poincare.CompactSupportDualCohomology.compactSupportEvaluation (Betti.AffineDimension.Realization.functionFieldDifferentialDimension S.hom) (M := ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints S) 2 n hp) |
| 114 | let targetEval : V.rationalCohomology (p + p) →ₗ[ℚ] ℚ := |
| 115 | (Geometric.RelativeChainD.Cycles.relativeUniversalCoefficientEquiv ℚ (TopCat.of V.analyticSpace) (L : Set V.analyticSpace)ᶜ n b).comp |
| 116 | ((HomologicalComplex.homologyMap |
| 117 | (Geometric.RelativeScalarChains.Cycles.relativeScalarChainProjection ℚ (TopCat.of V.analyticSpace) (L : Set V.analyticSpace)ᶜ) n).hom.comp |
| 118 | (V.poincareDuality (p + p) n hq).hom.hom) |
| 119 | have hz := congrArg sourceEval (SchemeDivisor.Trace.Constructions.Class.principal_absolute_sum_zero S (PrincipalBoundary.Constructions.normalizedUnitRepresentative V W g hg) |
| 120 | (PrincipalBoundary.Constructions.normalizedFunction_ne_zero V W g hg)) |
| 121 | simp only [map_sum, map_smul, map_zero] at hz |
| 122 | have hterm (z : Principal.Constructions.DivisorPoint V W g hg) : |
| 123 | sourceEval (SchemeDivisor.Trace.Constructions.Class.absoluteDivisorClass S ⟨z.val, z.property.1⟩) = |
| 124 | ((PrincipalBoundary.Constructions.fullAmbientMap V W).left.residueDegree z.val : ℚ) • |
| 125 | targetEval (NormalizationDivisor.Image.Constructions.imageCycleSupport V W ⟨z.val, z.property.1⟩).geometricCycleClass := |
| 126 | NormalizationDivisor.Trace.Constructions.normalization_divisor_compactTrace V W ⟨z.val, z.property.1⟩ n hp hq L hLO |
| 127 | (hL.trans (BoundaryUnion.commonOpen_subset_divisor V W g hg z)) b |
| 128 | change targetEval (V.geometricCycleClassMap p (Principal.Constructions.normalizedPrincipalCycle V W g hg)) = 0 |
| 129 | rw [Principal.Constructions.normalizedPrincipalCycle, map_sum, map_sum] |
| 130 | refine Eq.trans (Finset.sum_congr rfl ?_) hz |
| 131 | intro z _ |
| 132 | rw [map_smul, Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety.geometricCycleClassMap_single, map_smul, map_smul] |
| 133 | exact congrArg (fun a => ((AmbientMap.Constructions.smoothNormalizationOver V W).left.ord (PrincipalBoundary.Constructions.normalizedFunction V W g) z.val : ℚ) • a) |
| 134 | (hterm z).symm |
| 135 | |
| 136 | end Constructions.Trace |
| 137 | |
| 138 | end |
| 139 | |
| 140 | /-! The exact principal cycle obtained from the actual normalization has |
| 141 | zero independently defined ambient geometric cohomology class. -/ |
| 142 | |
| 143 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 144 | |
| 145 | set_option backward.isDefEq.respectTransparency false |
| 146 | set_option backward.isDefEq.respectTransparency.types false |
| 147 | |
| 148 | namespace Constructions.Class |
| 149 | |
| 150 | open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.AmbientMap.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.AmbientTopology.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.Principal.Constructions |
| 151 | BoundaryUnion Trace |
| 152 | |
| 153 | /-- The genuine relative cohomology tests detect a relative rational |
| 154 | homology class, by field universal coefficients and linear dual separation. -/ |
| 155 | theorem relativeHomology_eq_zero_of_tests (X : TopCat.{0}) (A : Set X) (n : ℕ) |
| 156 | (a : Geometric.RelativeScalarChains.Cycles.relativeScalarHomology ℚ X A n) |
| 157 | (ha : ∀ b : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X A n, |
| 158 | Geometric.RelativeChainD.Cycles.relativeUniversalCoefficientEquiv ℚ X A n b a = 0) : a = 0 := by |
| 159 | apply (Module.forall_dual_apply_eq_zero_iff ℚ a).mp |
| 160 | intro f |
| 161 | obtain ⟨b, rfl⟩ := (Geometric.RelativeChainD.Cycles.relativeUniversalCoefficientEquiv ℚ X A n).surjective f |
| 162 | exact ha b |
| 163 | |
| 164 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (W : IrreducibleCloseds V.carrier) |
| 165 | (g : (Geometric.GenericPoint.reducedSupportScheme W).functionField) (hg : g ≠ 0) |
| 166 | |
| 167 | local instance : Smooth (AmbientMap.Constructions.smoothNormalizationOver V W).hom := AmbientMap.Constructions.smoothNormalization_smooth V W |
| 168 | |
| 169 | theorem normalizedPrincipalCycle_geometricClass_zero : |
| 170 | V.geometricCycleClassMap (Geometric.DimensionCycles.dimensionCodimension V W + 1) (Principal.Constructions.normalizedPrincipalCycle V W g hg) = 0 := by |
| 171 | let p := Geometric.DimensionCycles.dimensionCodimension V W + 1 |
| 172 | let a := V.geometricCycleClassMap p (Principal.Constructions.normalizedPrincipalCycle V W g hg) |
| 173 | by_cases hp : p ≤ V.complexDimension |
| 174 | · let n := 2 * (V.complexDimension - p) |
| 175 | have hq : (p + p) + n = 2 * V.complexDimension := ProperImage.Reduction.Constructions.sourceComplementDegree V p hp |
| 176 | have hs : 2 + n = 2 * Betti.AffineDimension.Realization.functionFieldDifferentialDimension (AmbientMap.Constructions.smoothNormalizationOver V W).hom := by |
| 177 | have hd := AmbientTopology.Constructions.smoothNormalization_dimension V W |
| 178 | rw [Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension_eq_functionFieldDifferentialDimension] at hd |
| 179 | have hw := Geometric.DimensionCycles.supportDimension_add_dimensionCodimension V W |
| 180 | rw [← V.complexDimension_eq_transcendenceDimension] at hw |
| 181 | dsimp only [p, n] at hp ⊢ |
| 182 | omega |
| 183 | apply (V.poincareDuality (p + p) n hq).toLinearEquiv.injective |
| 184 | change (V.poincareDuality (p + p) n hq).hom a = (V.poincareDuality (p + p) n hq).hom 0 |
| 185 | rw [map_zero] |
| 186 | apply ProperImage.CompactProjection.Constructions.Construction.ordinaryHomology_eq_of_compactProjections_outside_closed V (BoundaryUnion.commonBoundary V W g hg) p n hq |
| 187 | (BoundaryUnion.commonBoundary_codimension V W g hg) _ 0 |
| 188 | intro L hL |
| 189 | rw [map_zero] |
| 190 | apply relativeHomology_eq_zero_of_tests (TopCat.of V.analyticSpace) (L : Set V.analyticSpace)ᶜ n |
| 191 | intro b |
| 192 | exact Trace.normalizedPrincipalCycle_trace_zero V W g hg n hs hq L hL b |
| 193 | · exact ProperImage.Reduction.Constructions.sourceCohomology_eq_zero V p (Nat.lt_of_not_ge hp) a |
| 194 | |
| 195 | end Constructions.Class |
| 196 | |
| 197 | end AlgebraicGeometry.CycleClass.Thom.Normalization.PrincipalZero |
| 198 | |
| 199 | end |
| 200 | |
| 201 | end OAI |