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.SchemeDivisor.GysinOpen |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.AmbientInverse |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.ImageInvariant |
| 4 | |
| 5 | /-! # Gysin Ambient -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.SchemeDivisor.GysinAmbient.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual divisor Gysin class on a regular ambient open becomes the actual graph-image Thom class after a holomorphic ambient change of coordinates. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | open scoped _root_.Manifold ContDiff |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.ClosedImmersion.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.SchemeDivisor.Purity.Constructions |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.SchemeDivisor.Gysin.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.SchemeDivisor.ImageImmersion.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.SchemeDivisor.OpenImmersion.Constructions |
| 18 | open OAI.AlgebraicGeometry.CycleClass.Thom.SchemeDivisor.GysinOpen.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.AmbientInverse.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Degree.Constructions.ThomClass |
| 19 | open OAI.AlgebraicGeometry.CycleClass.Thom.Open.ImageComplement.Constructions.ThomAmbientTransport OAI.AlgebraicGeometry.CycleClass.Thom.NormalPair.TransportRestriction.Constructions |
| 20 | |
| 21 | set_option backward.isDefEq.respectTransparency false |
| 22 | set_option backward.isDefEq.respectTransparency.types false |
| 23 | |
| 24 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsIntegral X.left] [Smooth X.hom] [IsIntegral Y.left] [Smooth Y.hom] |
| 25 | [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)] |
| 26 | [AlgebraicGeometry.IsNoetherian X.left] |
| 27 | (i : X ⟶ Y) [IsClosedImmersion i.left] (z : {x : X.left // Order.coheight x = 1}) |
| 28 | (p : ℕ) (hp : Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom + p = |
| 29 | Betti.AffineDimension.Realization.functionFieldDifferentialDimension Y.hom) (U : Opens (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)) |
| 30 | (hR : ((Subtype.val : U → ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y) ⁻¹' Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (ImageImmersion.Constructions.regularDivisorMap i z))) = |
| 31 | (Subtype.val : U → ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y) ⁻¹' (Gysin.Constructions.divisorImageOpen i z : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y))ᶜ) |
| 32 | (a : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) |
| 33 | (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)) (Set.range (Scheme.ClosedImmersion.Constructions.schemeClosedImmersion i p hp).regularComplementInclusion)ᶜ) (2 * p)) |
| 34 | (ha : AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ (2 * p) a = (Scheme.ClosedImmersion.Constructions.schemeClosedImmersion i p hp).regularThomClass) |
| 35 | {N H : Type} [TopologicalSpace N] [NormedAddCommGroup H] [NormedSpace ℂ H] [FiniteDimensional ℂ H] |
| 36 | [ChartedSpace H N] [IsManifold 𝓘(ℂ, H) ω N] [MetrizableSpace N] |
| 37 | (e : U ≃ₜ N) |
| 38 | (he : ContMDiff 𝓘(ℂ, Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension Y.hom) → ℂ) 𝓘(ℂ, H) ω e) |
| 39 | (hei : ContMDiff 𝓘(ℂ, H) 𝓘(ℂ, Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension Y.hom) → ℂ) ω e.symm) |
| 40 | (hpg : Geometric.ComplexNormalAtlas.Cycles.complexImmersionCodimension |
| 41 | (Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension (Scheme.RegularSupport.Constructions.regularOver X (Purity.Constructions.primeSupport X z)).hom) → ℂ) H = p + 1) |
| 42 | |
| 43 | local instance : MetrizableSpace U := U.isOpenEmbedding'.isEmbedding.metrizableSpace |
| 44 | |
| 45 | theorem divisorGysinClass_ambient_Thom : |
| 46 | let Z := OpenImmersion.Constructions.divisorOpenImmersion i z p hp U hR |
| 47 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (Open.ImageComplement.Constructions.ThomAmbientTransport.transportedOpenMap U e) |
| 48 | (A := (Set.range (e ∘ Z.regularComplementInclusion))ᶜ) |
| 49 | (B := (Gysin.Constructions.divisorImageOpen i z : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y))) |
| 50 | (fun _ hy => OpenImmersion.Constructions.divisorOpenImmersion_mapsTo i z p hp U hR (AmbientInverse.Constructions.ambientInverseMapsTo Z.regularComplementInclusion e hy)) |
| 51 | (2 * (p + 1)) (Gysin.Constructions.divisorGysinClass i z p hp a ha) = |
| 52 | Degree.Constructions.ThomClass.complexThomClassInDegree (e ∘ Z.regularComplementInclusion) (he.comp Z.holomorphic) |
| 53 | (AmbientInverse.Constructions.transported_differential_injective (N := U) (G := Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension Y.hom) → ℂ) |
| 54 | Z.regularComplementInclusion e Z.holomorphic Z.differential_injective he hei) |
| 55 | (e.isClosedEmbedding.comp Z.closed) (p + 1) hpg := by |
| 56 | let Z := OpenImmersion.Constructions.divisorOpenImmersion i z p hp U hR |
| 57 | have hc := ConcreteCategory.congr_hom |
| 58 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_comp (ModuleCat.of ℚ ℚ) (NormalPair.TransportRestriction.Constructions.ambientTransportMap e.symm) |
| 59 | (Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)) (U : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y))) |
| 60 | (AmbientInverse.Constructions.ambientInverseMapsTo Z.regularComplementInclusion e) (OpenImmersion.Constructions.divisorOpenImmersion_mapsTo i z p hp U hR) |
| 61 | (2 * (p + 1))) (Gysin.Constructions.divisorGysinClass i z p hp a ha) |
| 62 | have ht := GysinOpen.Constructions.divisorGysinClass_open_Thom i z p hp U hR a ha |
| 63 | have heq := congrArg (fun b => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (NormalPair.TransportRestriction.Constructions.ambientTransportMap e.symm) |
| 64 | (AmbientInverse.Constructions.ambientInverseMapsTo Z.regularComplementInclusion e) (2 * (p + 1)) b) ht |
| 65 | have hn := AmbientInverse.Constructions.ThomClass_ambientInverse (N := U) (N' := N) |
| 66 | (E := Z.regularAnalyticModel) (G := Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension Y.hom) → ℂ) (H := H) |
| 67 | Z.regularComplementInclusion e Z.holomorphic Z.differential_injective Z.closed he hei |
| 68 | (p + 1) Z.regularComplement_complexImmersionCodimension hpg |
| 69 | exact hc.symm.trans (heq.trans hn) |
| 70 | |
| 71 | include he hei hpg in |
| 72 | theorem divisorGysinClass_ambient_Thom_of_image |
| 73 | {L F : Type} [TopologicalSpace L] [NormedAddCommGroup F] [NormedSpace ℂ F] |
| 74 | [FiniteDimensional ℂ F] [NormedSpace ℝ F] [ChartedSpace F L] [IsManifold 𝓘(ℂ, F) ω L] |
| 75 | (g : L → N) (hg : ContMDiff 𝓘(ℂ, F) 𝓘(ℂ, H) ω g) |
| 76 | (hgi : ∀ x, Function.Injective (mfderiv 𝓘(ℂ, F) 𝓘(ℂ, H) g x)) (hgc : Topology.IsClosedEmbedding g) |
| 77 | (hgp : Geometric.ComplexNormalAtlas.Cycles.complexImmersionCodimension F H = p + 1) |
| 78 | (himage : Set.range (e ∘ (OpenImmersion.Constructions.divisorOpenImmersion i z p hp U hR).regularComplementInclusion) = Set.range g) : |
| 79 | let Z := OpenImmersion.Constructions.divisorOpenImmersion i z p hp U hR |
| 80 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (Open.ImageComplement.Constructions.ThomAmbientTransport.transportedOpenMap U e) |
| 81 | (A := (Set.range g)ᶜ) (B := (Gysin.Constructions.divisorImageOpen i z : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y))) |
| 82 | (fun _ hy => OpenImmersion.Constructions.divisorOpenImmersion_mapsTo i z p hp U hR (AmbientInverse.Constructions.ambientInverseMapsTo Z.regularComplementInclusion e |
| 83 | (ImageInvariant.Constructions.RawThom.imageMapsTo g (e ∘ Z.regularComplementInclusion) himage hy))) |
| 84 | (2 * (p + 1)) (Gysin.Constructions.divisorGysinClass i z p hp a ha) = Degree.Constructions.ThomClass.complexThomClassInDegree g hg hgi hgc (p + 1) hgp := by |
| 85 | let Z := OpenImmersion.Constructions.divisorOpenImmersion i z p hp U hR |
| 86 | have hdim : Module.finrank ℂ Z.regularAnalyticModel + (p + 1) = Module.finrank ℂ H := by |
| 87 | change Module.finrank ℂ H - Module.finrank ℂ Z.regularAnalyticModel = p + 1 at hpg |
| 88 | omega |
| 89 | have hc := ConcreteCategory.congr_hom |
| 90 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_comp (ModuleCat.of ℚ ℚ) (𝟙 (TopCat.of N)) (Open.ImageComplement.Constructions.ThomAmbientTransport.transportedOpenMap U e) |
| 91 | (ImageInvariant.Constructions.RawThom.imageMapsTo g (e ∘ Z.regularComplementInclusion) himage) |
| 92 | (fun _ hy => OpenImmersion.Constructions.divisorOpenImmersion_mapsTo i z p hp U hR (AmbientInverse.Constructions.ambientInverseMapsTo Z.regularComplementInclusion e hy)) |
| 93 | (2 * (p + 1))) (Gysin.Constructions.divisorGysinClass i z p hp a ha) |
| 94 | simp only [Category.id_comp] at hc |
| 95 | have ht := congrArg (fun b => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (𝟙 (TopCat.of N)) |
| 96 | (ImageInvariant.Constructions.RawThom.imageMapsTo g (e ∘ Z.regularComplementInclusion) himage) (2 * (p + 1)) b) |
| 97 | (divisorGysinClass_ambient_Thom i z p hp U hR a ha e he hei hpg) |
| 98 | have hi := ImageInvariant.Constructions.RawThom.ThomClass_eq_of_image |
| 99 | (E := F) (W := Z.regularAnalyticModel) (G := H) g hg hgi hgc (e ∘ Z.regularComplementInclusion) |
| 100 | (he.comp Z.holomorphic) |
| 101 | (AmbientInverse.Constructions.transported_differential_injective (N := U) (G := Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension Y.hom) → ℂ) |
| 102 | Z.regularComplementInclusion e Z.holomorphic Z.differential_injective he hei) |
| 103 | (e.isClosedEmbedding.comp Z.closed) (p + 1) hgp hpg hdim himage |
| 104 | exact hc.symm.trans (ht.trans hi) |
| 105 | |
| 106 | end |
| 107 | |
| 108 | end OAI.AlgebraicGeometry.CycleClass.Thom.SchemeDivisor.GysinAmbient.Constructions |