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.EquationThomClass |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.OpenRestriction |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.NormalPair.Differential |
| 4 | import OAI.AlgebraicGeometry.CycleClass.Thom.ExteriorImageCup |
| 5 | import OAI.AlgebraicGeometry.CycleClass.Thom.FixedNormalPair |
| 6 | |
| 7 | /-! # Image Invariant -/ |
| 8 | |
| 9 | namespace OAI |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | namespace AlgebraicGeometry.CycleClass.Thom.ImageInvariant.Constructions.RawThomNormal |
| 14 | |
| 15 | /-! In arbitrary complex ambient models, the actual Thom class of an equal-image immersion has the canonical normal restriction of the original immersion. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 18 | open scoped _root_.Manifold ContDiff |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.CycleClass.Thom.Degree.Constructions.ThomClass OAI.AlgebraicGeometry.CycleClass.Thom.GraphOpenImmersion.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.OpenImmersion.Constructions.Raw OAI.AlgebraicGeometry.CycleClass.Thom.OpenRestriction.Constructions.RawThom |
| 21 | open OAI.AlgebraicGeometry.CycleClass.Thom.EquationThomClass.Constructions.Raw OAI.AlgebraicGeometry.CycleClass.Thom.NormalPair.Differential.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.ExteriorImageCup.Constructions.Restriction |
| 22 | |
| 23 | set_option backward.isDefEq.respectTransparency false |
| 24 | set_option backward.isDefEq.respectTransparency.types false |
| 25 | |
| 26 | variable {M L N E W G : Type} [TopologicalSpace L] [TopologicalSpace N] |
| 27 | [NormedAddCommGroup E] [NormedSpace ℂ E] [NormedSpace ℝ E] |
| 28 | [NormedAddCommGroup W] [NormedSpace ℂ W] [FiniteDimensional ℂ W] [NormedSpace ℝ W] |
| 29 | [ChartedSpace W L] [IsManifold 𝓘(ℂ, W) ω L] |
| 30 | [NormedAddCommGroup G] [NormedSpace ℂ G] [FiniteDimensional ℂ G] |
| 31 | [ChartedSpace G N] [IsManifold 𝓘(ℂ, G) ω N] [MetrizableSpace N] |
| 32 | (f : M → N) (g : L → N) (hg : ContMDiff 𝓘(ℂ, W) 𝓘(ℂ, G) ω g) |
| 33 | (h : Set.range g = Set.range f) {p : ℕ} {x : M} (P : ComplexPoints.Analytic.NormalPairRecenter.ImmersionNormalPair E (Fin p → ℂ) f x) |
| 34 | |
| 35 | local instance : ChartedSpace G P.neighborhood := inferInstanceAs (ChartedSpace G P.openNeighborhood) |
| 36 | local instance : MetrizableSpace P.neighborhood := P.openNeighborhood.isOpenEmbedding'.isEmbedding.metrizableSpace |
| 37 | local instance : MetrizableSpace P.openNeighborhood := P.openNeighborhood.isOpenEmbedding'.isEmbedding.metrizableSpace |
| 38 | |
| 39 | omit [NormedSpace ℂ E] [NormedSpace ℝ E] [FiniteDimensional ℂ W] [NormedSpace ℝ W] |
| 40 | [IsManifold 𝓘(ℂ, W) ω L] [FiniteDimensional ℂ G] [IsManifold 𝓘(ℂ, G) ω N] [MetrizableSpace N] in |
| 41 | include h in |
| 42 | theorem restrictedRange_normal : Set.range (GraphOpenImmersion.Constructions.restrictedBase g hg P.openNeighborhood) = |
| 43 | (Subtype.val : P.neighborhood → N) ⁻¹' Set.range f := by |
| 44 | change Set.range ((P.openNeighborhood : Set N).restrictPreimage g) = _ |
| 45 | rw [Set.range_restrictPreimage, h] |
| 46 | rfl |
| 47 | |
| 48 | omit [TopologicalSpace L] [NormedSpace ℂ E] [NormedSpace ℝ E] [MetrizableSpace N] in |
| 49 | include h in |
| 50 | theorem normal_mapsTo : Set.MapsTo (Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of N) P.neighborhood) |
| 51 | P.relativeComplement (Set.range g)ᶜ := by |
| 52 | intro y hy |
| 53 | rwa [h] |
| 54 | |
| 55 | include h in |
| 56 | theorem ThomClass_normal_of_image |
| 57 | (hgi : ∀ y, Function.Injective (mfderiv 𝓘(ℂ, W) 𝓘(ℂ, G) g y)) (hgc : Topology.IsClosedEmbedding g) |
| 58 | (hp : Geometric.ComplexNormalAtlas.Cycles.complexImmersionCodimension W G = p) (hdim : Module.finrank ℂ W + p = Module.finrank ℂ G) |
| 59 | (hPd : P.ambientChart.MDifferentiable 𝓘(ℂ, G) 𝓘(ℂ, E × (Fin p → ℂ))) |
| 60 | (hPa : ContMDiffOn 𝓘(ℂ, G) 𝓘(ℂ, E × (Fin p → ℂ)) ω P.ambientChart P.ambientChart.source) : |
| 61 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of N) P.neighborhood) |
| 62 | (normal_mapsTo f g h P) (2 * p) (Degree.Constructions.ThomClass.complexThomClassInDegree g hg hgi hgc p hp) = P.rationalClassFin := by |
| 63 | let J := GraphOpenImmersion.Constructions.restrictedBase g hg P.openNeighborhood |
| 64 | have hzero (y : P.neighborhood) : y ∈ Set.range J ↔ P.normalCoordinate y = 0 := by |
| 65 | rw [restrictedRange_normal f g hg h P] |
| 66 | exact P.mem_range_iff y |
| 67 | have hr : (Set.range J)ᶜ = P.relativeComplement := by |
| 68 | rw [restrictedRange_normal f g hg h P] |
| 69 | rfl |
| 70 | have ho := OpenRestriction.Constructions.RawThom.ThomClass_open_restriction g hg hgi hgc P.openNeighborhood p hp |
| 71 | have heq := EquationThomClass.Constructions.Raw.equation_pullback_eq_Thom J (GraphOpenImmersion.Constructions.restrictedBase_analytic g hg P.openNeighborhood) |
| 72 | (OpenImmersion.Constructions.Raw.restrictedBase_differential_injective g hg P.openNeighborhood hgi) |
| 73 | (OpenImmersion.Constructions.Raw.restrictedBase_closedEmbedding g hg P.openNeighborhood hgc) p hp hdim P.normalCoordinate hzero |
| 74 | (NormalPair.Differential.Constructions.normalCoordinate_analytic (G := G) P hPa) (fun y => NormalPair.Differential.Constructions.normalCoordinate_submersion (G := G) P hPd (J y)) |
| 75 | have hs := ExteriorImageCup.Constructions.Restriction.relativeCohomologyMap_sourceCast (Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of N) P.neighborhood) hr |
| 76 | (OpenImmersion.Constructions.Raw.restriction_mapsTo g hg P.openNeighborhood) (normal_mapsTo f g h P) (2 * p) |
| 77 | (Degree.Constructions.ThomClass.complexThomClassInDegree g hg hgi hgc p hp) |
| 78 | have ht := ExteriorImageCup.Constructions.Restriction.relativeCohomologyMap_sourceCast P.normalCoordinate (B := ({0}ᶜ : Set (Fin p → ℂ))) hr |
| 79 | (fun y hy hz => hy ((hzero y).mpr hz)) P.normalCoordinate_mapsTo (2 * p) (Geometric.RationalLocalPurity.Cycles.complexNormalRationalDualClass p) |
| 80 | exact hs.symm.trans ((congrArg (fun a => eqToHom (congrArg |
| 81 | (fun A => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of P.neighborhood) A (2 * p)) hr) a) |
| 82 | (ho.trans heq.symm)).trans (ht.trans P.rationalClassFin_eq_normalPullback.symm)) |
| 83 | |
| 84 | end AlgebraicGeometry.CycleClass.Thom.ImageInvariant.Constructions.RawThomNormal |
| 85 | |
| 86 | namespace AlgebraicGeometry.CycleClass.Thom.ImageInvariant.Constructions.RawThom |
| 87 | |
| 88 | /-! Equal actual closed holomorphic images have equal canonical Thom classes in arbitrary finite-dimensional complex ambient models. -/ |
| 89 | |
| 90 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 91 | open scoped _root_.Manifold ContDiff |
| 92 | |
| 93 | open OAI.AlgebraicGeometry.CycleClass.Thom.Degree.Constructions.ThomClass OAI.AlgebraicGeometry.CycleClass.Thom.ImageInvariant.Constructions.RawThomNormal OAI.AlgebraicGeometry.CycleClass.Thom.FixedNormalPair.Constructions |
| 94 | |
| 95 | set_option backward.isDefEq.respectTransparency false |
| 96 | set_option backward.isDefEq.respectTransparency.types false |
| 97 | |
| 98 | theorem imageMapsTo {M L N : Type} [TopologicalSpace N] (f : M → N) (g : L → N) |
| 99 | (h : Set.range g = Set.range f) : Set.MapsTo (𝟙 (TopCat.of N)) (Set.range f)ᶜ (Set.range g)ᶜ := by |
| 100 | intro x hx |
| 101 | rwa [h] |
| 102 | |
| 103 | variable {M L N E W G : Type} [TopologicalSpace M] [TopologicalSpace L] [TopologicalSpace N] |
| 104 | [NormedAddCommGroup E] [NormedSpace ℂ E] [FiniteDimensional ℂ E] [NormedSpace ℝ E] |
| 105 | [ChartedSpace E M] [IsManifold 𝓘(ℂ, E) ω M] |
| 106 | [NormedAddCommGroup W] [NormedSpace ℂ W] [FiniteDimensional ℂ W] [NormedSpace ℝ W] |
| 107 | [ChartedSpace W L] [IsManifold 𝓘(ℂ, W) ω L] |
| 108 | [NormedAddCommGroup G] [NormedSpace ℂ G] [FiniteDimensional ℂ G] |
| 109 | [ChartedSpace G N] [IsManifold 𝓘(ℂ, G) ω N] [MetrizableSpace N] |
| 110 | |
| 111 | theorem ThomClass_eq_of_image (f : M → N) (hf : ContMDiff 𝓘(ℂ, E) 𝓘(ℂ, G) ω f) |
| 112 | (hfi : ∀ x, Function.Injective (mfderiv 𝓘(ℂ, E) 𝓘(ℂ, G) f x)) (hfc : Topology.IsClosedEmbedding f) |
| 113 | (g : L → N) (hg : ContMDiff 𝓘(ℂ, W) 𝓘(ℂ, G) ω g) |
| 114 | (hgi : ∀ x, Function.Injective (mfderiv 𝓘(ℂ, W) 𝓘(ℂ, G) g x)) (hgc : Topology.IsClosedEmbedding g) |
| 115 | (p : ℕ) (hfp : Geometric.ComplexNormalAtlas.Cycles.complexImmersionCodimension E G = p) (hgp : Geometric.ComplexNormalAtlas.Cycles.complexImmersionCodimension W G = p) |
| 116 | (hdim : Module.finrank ℂ W + p = Module.finrank ℂ G) (h : Set.range g = Set.range f) : |
| 117 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (𝟙 (TopCat.of N)) (imageMapsTo f g h) (2 * p) |
| 118 | (Degree.Constructions.ThomClass.complexThomClassInDegree g hg hgi hgc p hgp) = Degree.Constructions.ThomClass.complexThomClassInDegree f hf hfi hfc p hfp := by |
| 119 | classical |
| 120 | choose P hPd hPa _ using (fun x : M => FixedNormalPair.Constructions.exists_analytic_normalPair f hf hfi hfc.isEmbedding p hfp x) |
| 121 | apply Degree.Constructions.ThomClass.complexThomClassInDegree_unique f hf hfi hfc p hfp P hPd |
| 122 | intro x |
| 123 | let j := Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of N) (P x).neighborhood |
| 124 | have h₁ := ConcreteCategory.congr_hom |
| 125 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_comp (ModuleCat.of ℚ ℚ) j (𝟙 (TopCat.of N)) |
| 126 | (A := (P x).relativeComplement) (B := (Set.range f)ᶜ) (C := (Set.range g)ᶜ) |
| 127 | (fun _ hy => hy) (imageMapsTo f g h) (2 * p)) (Degree.Constructions.ThomClass.complexThomClassInDegree g hg hgi hgc p hgp) |
| 128 | have h₂ := ConcreteCategory.congr_hom |
| 129 | (ThomOpenRestriction.Constructions.pairMap_congr (Category.comp_id j) |
| 130 | (fun y hy => imageMapsTo f g h hy) (RawThomNormal.normal_mapsTo f g h (P x)) (2 * p)) |
| 131 | (Degree.Constructions.ThomClass.complexThomClassInDegree g hg hgi hgc p hgp) |
| 132 | exact h₁.trans (h₂.trans (RawThomNormal.ThomClass_normal_of_image f g hg h (P x) hgi hgc hgp hdim (hPd x) (hPa x))) |
| 133 | |
| 134 | end AlgebraicGeometry.CycleClass.Thom.ImageInvariant.Constructions.RawThom |
| 135 | |
| 136 | end |
| 137 | |
| 138 | end OAI |