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.AbelianVariety.AnalyticGroup |
| 2 | import OAI.AlgebraicGeometry.AbelianVariety.PowerLie |
| 3 | import OAI.AlgebraicGeometry.Albanese.Construction.GeneratedClosed |
| 4 | import OAI.AlgebraicGeometry.Foundations.Scheme.SupportDimensionDrop |
| 5 | import OAI.AlgebraicGeometry.Betti.ProjectiveCohomology |
| 6 | import OAI.AlgebraicTopology.DeRham.Comparison.ProjectiveMaps |
| 7 | |
| 8 | /-! # Power Image -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.AbelianVariety.PowerImage.Constructions.ExteriorCohomology |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | open MonoidalCategory CartesianMonoidalCategory MonObj |
| 16 | open scoped _root_.CategoryTheory.MonObj _root_.Manifold ContDiff |
| 17 | |
| 18 | def abelianPowerMorphism (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (n : ℕ) : A.toOver ⟶ A.toOver := |
| 19 | (𝟙 A.toOver) ^ n |
| 20 | |
| 21 | theorem abelianPowerMorphism_point (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (n : ℕ) |
| 22 | (x : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints A.toOver) : |
| 23 | x ≫ abelianPowerMorphism A n = x ^ n := by |
| 24 | rw [abelianPowerMorphism, MonObj.comp_pow, Category.comp_id] |
| 25 | |
| 26 | instance abelianPowerMorphism_isProper (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (n : ℕ) : |
| 27 | IsProper (abelianPowerMorphism A n).left := by |
| 28 | have : IsProper A.toOver.hom := A.variety.presentation.projective.isProper |
| 29 | have : IsProper ((abelianPowerMorphism A n).left ≫ A.toOver.hom) := by |
| 30 | rw [Over.w] |
| 31 | infer_instance |
| 32 | exact IsProper.of_comp _ A.toOver.hom |
| 33 | |
| 34 | def abelianPowerSupport (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (n : ℕ) : IrreducibleCloseds A.carrier where |
| 35 | carrier := Set.range (abelianPowerMorphism A n).left |
| 36 | isIrreducible' := by |
| 37 | let : IsIntegral A.toOver.left := A.variety.property |
| 38 | change IsIrreducible (Set.range (abelianPowerMorphism A n).left : Set A.toOver.left) |
| 39 | simpa only [Set.image_univ] using |
| 40 | ((IrreducibleSpace.isIrreducible_univ A.toOver.left).image (abelianPowerMorphism A n).left |
| 41 | (abelianPowerMorphism A n).left.continuous.continuousOn) |
| 42 | isClosed' := (abelianPowerMorphism A n).left.isClosedMap.isClosed_range |
| 43 | |
| 44 | def abelianPowerPointSubgroup (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (n : ℕ) : |
| 45 | Subgroup (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints A.toOver) := (powMonoidHom n).range |
| 46 | |
| 47 | theorem abelianPowerSupport_point (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (n : ℕ) |
| 48 | (q : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints A.toOver) : |
| 49 | q.left (IsLocalRing.closedPoint ℂ) ∈ abelianPowerSupport A n ↔ |
| 50 | q ∈ abelianPowerPointSubgroup A n := by |
| 51 | let : LocallyOfFiniteType A.toOver.hom := |
| 52 | inferInstanceAs (LocallyOfFiniteType A.variety.structureMap) |
| 53 | have h := Albanese.Construction.ClosedPoints.pointMap_range_iff A.toOver A.toOver (abelianPowerMorphism A n) q |
| 54 | change (∃ p, p ≫ abelianPowerMorphism A n = q) ↔ |
| 55 | q.left (IsLocalRing.closedPoint ℂ) ∈ abelianPowerSupport A n at h |
| 56 | rw [← h] |
| 57 | simp only [abelianPowerMorphism_point, abelianPowerPointSubgroup, MonoidHom.mem_range, |
| 58 | powMonoidHom_apply] |
| 59 | |
| 60 | theorem abelianPowerSupport_smooth (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (n : ℕ) : |
| 61 | Smooth (CycleClass.Geometric.SupportFiniteType.supportStructureMap (abelianPowerSupport A n) A.variety.structureMap) := by |
| 62 | let Z := abelianPowerSupport A n |
| 63 | let W : Over Foundations.Scheme.ProjectiveSpace.complexBase := Over.mk (CycleClass.Geometric.SupportFiniteType.supportStructureMap Z A.variety.structureMap) |
| 64 | let i : W ⟶ A.toOver := Over.homMk (CycleClass.Geometric.GenericPoint.reducedSupportι Z) rfl |
| 65 | let : IsClosedImmersion i.left := inferInstanceAs (IsClosedImmersion (CycleClass.Geometric.GenericPoint.reducedSupportι Z)) |
| 66 | let : IsIntegral W.left := inferInstanceAs (IsIntegral (CycleClass.Geometric.GenericPoint.reducedSupportScheme Z)) |
| 67 | let : LocallyOfFiniteType W.hom := |
| 68 | inferInstanceAs (LocallyOfFiniteType (CycleClass.Geometric.SupportFiniteType.supportStructureMap Z A.variety.structureMap)) |
| 69 | let : LocallyOfFiniteType A.toOver.hom := |
| 70 | inferInstanceAs (LocallyOfFiniteType A.variety.structureMap) |
| 71 | apply Albanese.Construction.SubgroupScheme.closed_point_subgroup_smooth W A.toOver i (abelianPowerPointSubgroup A n) |
| 72 | intro q |
| 73 | rw [Albanese.Construction.ClosedPoints.pointMap_range_iff W A.toOver i q] |
| 74 | change q.left (IsLocalRing.closedPoint ℂ) ∈ Set.range (CycleClass.Geometric.GenericPoint.reducedSupportι Z) ↔ _ |
| 75 | rw [CycleClass.Geometric.GenericPoint.range_reducedSupportι] |
| 76 | exact abelianPowerSupport_point A n q |
| 77 | |
| 78 | def abelianPowerImageVariety (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (n : ℕ) : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety := |
| 79 | ⟨{ carrier := CycleClass.Geometric.GenericPoint.reducedSupportScheme (abelianPowerSupport A n) |
| 80 | structureMap := CycleClass.Geometric.SupportFiniteType.supportStructureMap (abelianPowerSupport A n) A.variety.structureMap |
| 81 | projective := A.variety.presentation.projective.reducedSupport (abelianPowerSupport A n) |
| 82 | smooth := abelianPowerSupport_smooth A n }, inferInstance⟩ |
| 83 | |
| 84 | def abelianPowerImageInclusion (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (n : ℕ) : |
| 85 | (abelianPowerImageVariety A n).toOver ⟶ A.toOver := |
| 86 | Over.homMk (CycleClass.Geometric.GenericPoint.reducedSupportι (abelianPowerSupport A n)) rfl |
| 87 | |
| 88 | instance abelianPowerImageInclusion_isClosedImmersion (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (n : ℕ) : |
| 89 | IsClosedImmersion (abelianPowerImageInclusion A n).left := |
| 90 | inferInstanceAs (IsClosedImmersion (CycleClass.Geometric.GenericPoint.reducedSupportι (abelianPowerSupport A n))) |
| 91 | |
| 92 | theorem abelianPowerMorphism_range_subset (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (n : ℕ) : |
| 93 | Set.range (abelianPowerMorphism A n).left ⊆ Set.range (abelianPowerImageInclusion A n).left := by |
| 94 | change Set.range (abelianPowerMorphism A n).left ⊆ |
| 95 | Set.range (CycleClass.Geometric.GenericPoint.reducedSupportι (abelianPowerSupport A n)) |
| 96 | intro x hx |
| 97 | exact (Set.ext_iff.mp (CycleClass.Geometric.GenericPoint.range_reducedSupportι (abelianPowerSupport A n)) x).mpr hx |
| 98 | |
| 99 | def abelianPowerImageFactor (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (n : ℕ) : |
| 100 | A.toOver ⟶ (abelianPowerImageVariety A n).toOver := by |
| 101 | let : IsIntegral A.toOver.left := A.variety.property |
| 102 | exact Albanese.Construction.GeneratedClosed.closedFactorOver (abelianPowerImageVariety A n).toOver A.toOver A.toOver |
| 103 | (abelianPowerImageInclusion A n) (abelianPowerMorphism A n) |
| 104 | (abelianPowerMorphism_range_subset A n) |
| 105 | |
| 106 | theorem abelianPowerImageFactor_comp (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (n : ℕ) : |
| 107 | abelianPowerImageFactor A n ≫ abelianPowerImageInclusion A n = abelianPowerMorphism A n := by |
| 108 | let : IsIntegral A.toOver.left := A.variety.property |
| 109 | exact Albanese.Construction.GeneratedClosed.closedFactorOver_comp (abelianPowerImageVariety A n).toOver A.toOver A.toOver |
| 110 | (abelianPowerImageInclusion A n) (abelianPowerMorphism A n) |
| 111 | (abelianPowerMorphism_range_subset A n) |
| 112 | |
| 113 | theorem abelianPowerImage_dimension (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (n : ℕ) : |
| 114 | (abelianPowerImageVariety A n).complexDimension = |
| 115 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension (abelianPowerSupport A n) A.variety.structureMap := |
| 116 | (abelianPowerImageVariety A n).complexDimension_eq_transcendenceDimension |
| 117 | |
| 118 | theorem abelianPowerImage_dimension_ge (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (n : ℕ) (hn : n ≠ 0) : |
| 119 | A.variety.complexDimension ≤ (abelianPowerImageVariety A n).complexDimension := by |
| 120 | let W := abelianPowerImageVariety A n |
| 121 | let b := ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (abelianPowerImageFactor A n) |
| 122 | let j := ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (abelianPowerImageInclusion A n) |
| 123 | have hb : ContMDiff 𝓘(ℝ, A.variety.analyticModel) 𝓘(ℝ, W.analyticModel) ∞ b := |
| 124 | Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety.real_contMDiff_map (V := A.variety) (W := W) |
| 125 | (abelianPowerImageFactor A n) ∞ |
| 126 | have hj : ContMDiff 𝓘(ℝ, W.analyticModel) 𝓘(ℝ, A.variety.analyticModel) ∞ j := |
| 127 | Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety.real_contMDiff_map (V := W) (W := A.variety) |
| 128 | (abelianPowerImageInclusion A n) ∞ |
| 129 | have he : j ∘ b = (fun x : A.variety.analyticSpace => x ^ n) := by |
| 130 | funext x |
| 131 | change (x ≫ abelianPowerImageFactor A n) ≫ abelianPowerImageInclusion A n = x ^ n |
| 132 | rw [Category.assoc, abelianPowerImageFactor_comp, abelianPowerMorphism_point] |
| 133 | have hd := mfderiv_comp (I := 𝓘(ℝ, A.variety.analyticModel)) (I' := 𝓘(ℝ, W.analyticModel)) |
| 134 | (I'' := 𝓘(ℝ, A.variety.analyticModel)) (1 : A.variety.analyticSpace) |
| 135 | (hj.mdifferentiableAt (by simp)) (hb.mdifferentiableAt (by simp)) |
| 136 | rw [he] at hd |
| 137 | let L : A.variety.analyticModel →L[ℝ] W.analyticModel := |
| 138 | mfderiv 𝓘(ℝ, A.variety.analyticModel) 𝓘(ℝ, W.analyticModel) b 1 |
| 139 | have hL : Function.Injective L := by |
| 140 | intro v w h |
| 141 | apply PowerLie.Constructions.ExteriorCohomology.mfderiv_pow_one_injective (E := A.variety.analyticModel) (G := A.variety.analyticSpace) n hn |
| 142 | have hv := congrArg (fun f : A.variety.analyticModel →L[ℝ] A.variety.analyticModel => f v) hd |
| 143 | have hw := congrArg (fun f : A.variety.analyticModel →L[ℝ] A.variety.analyticModel => f w) hd |
| 144 | exact hv.trans ((congrArg |
| 145 | (mfderiv 𝓘(ℝ, W.analyticModel) 𝓘(ℝ, A.variety.analyticModel) j (b 1)) h).trans hw.symm) |
| 146 | have hdim := LinearMap.finrank_le_finrank_of_injective (f := L.toLinearMap) hL |
| 147 | rw [A.variety.analyticModel_real_finrank, W.analyticModel_real_finrank] at hdim |
| 148 | change A.variety.complexDimension ≤ W.complexDimension |
| 149 | omega |
| 150 | |
| 151 | theorem abelianPowerSupport_eq_univ (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (n : ℕ) (hn : n ≠ 0) : |
| 152 | (abelianPowerSupport A n : Set A.carrier) = Set.univ := by |
| 153 | let Z : IrreducibleCloseds A.carrier := |
| 154 | ⟨Set.univ, IrreducibleSpace.isIrreducible_univ A.carrier, isClosed_univ⟩ |
| 155 | have he : abelianPowerSupport A n = Z := by |
| 156 | by_contra hne |
| 157 | have hlt : abelianPowerSupport A n < Z := |
| 158 | lt_of_le_of_ne (Set.subset_univ _) hne |
| 159 | have hdrop := Foundations.Scheme.SupportDimensionDrop.supportTranscendenceDimension_lt_of_lt |
| 160 | (abelianPowerSupport A n) Z A.variety.structureMap hlt |
| 161 | have htop := Foundations.Scheme.SupportDimension.supportTranscendenceDimension_le Z A.variety.structureMap |
| 162 | have hdim := abelianPowerImage_dimension_ge A n hn |
| 163 | rw [abelianPowerImage_dimension] at hdim |
| 164 | rw [← A.variety.complexDimension_eq_transcendenceDimension] at htop |
| 165 | omega |
| 166 | exact congrArg (fun W : IrreducibleCloseds A.carrier => (W : Set A.carrier)) he |
| 167 | |
| 168 | theorem abelianPoint_pow_surjective (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (n : ℕ) (hn : n ≠ 0) : |
| 169 | Function.Surjective (fun x : A.variety.analyticSpace => x ^ n) := by |
| 170 | intro q |
| 171 | have hq : q.left (IsLocalRing.closedPoint ℂ) ∈ abelianPowerSupport A n := by |
| 172 | exact (Set.ext_iff.mp (abelianPowerSupport_eq_univ A n hn) |
| 173 | (q.left (IsLocalRing.closedPoint ℂ))).mpr (Set.mem_univ _) |
| 174 | have hp := (abelianPowerSupport_point A n q).mp hq |
| 175 | exact hp |
| 176 | |
| 177 | theorem abelianPoint_connectedSpace (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) : |
| 178 | ConnectedSpace A.variety.analyticSpace := by |
| 179 | let : LocallyConnectedSpace A.variety.analyticSpace := |
| 180 | ChartedSpace.locallyConnectedSpace A.variety.analyticModel A.variety.analyticSpace |
| 181 | exact PowerLie.Constructions.ExteriorCohomology.connectedSpace_of_surjective_positive_powers (abelianPoint_pow_surjective A) |
| 182 | |
| 183 | end |
| 184 | |
| 185 | end OAI.AlgebraicGeometry.AbelianVariety.PowerImage.Constructions.ExteriorCohomology |