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.ArithmeticGeometry.Descent.CMVariety.IntrinsicFiberCharts |
| 2 | import OAI.ArithmeticGeometry.Descent.CMVariety.AnalyticSchemeFamilies |
| 3 | import Mathlib.CategoryTheory.MorphismProperty.Limits |
| 4 | |
| 5 | /-! # Fiber Chart Projection -/ |
| 6 | |
| 7 | namespace OAI.ArithmeticGeometry.Descent.CMVariety.FiberChartProjection.Abelian.RelativeCharts |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! |
| 14 | Lift constructed affine relative product charts through genuine affine |
| 15 | open immersions to native scheme points. The actual projection identity |
| 16 | is proved from the commuting scheme diagram, then sliced on the actual |
| 17 | scheme base-change fiber. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.AlgebraicGeometry Set |
| 21 | open scoped Classical ContDiff |
| 22 | |
| 23 | variable {R A E F : Type} [CommRing R] [Algebra ℂ R] |
| 24 | [CommRing A] [Algebra ℂ A] [Algebra R A] [IsScalarTower ℂ R A] |
| 25 | [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 26 | [NormedAddCommGroup F] [NormedSpace ℂ F] |
| 27 | {X S : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase} {x : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A} |
| 28 | |
| 29 | /-- The actual smooth scheme morphism makes the affine relative algebra |
| 30 | smooth. This is derived from the affine open diagram and the spectrum |
| 31 | criterion, so algebra smoothness is not an additional family hypothesis. -/ |
| 32 | theorem algebraSmooth_of_nativeDiagram |
| 33 | (p : X ⟶ S) [Smooth p.left] |
| 34 | (b : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ R ⟶ S) [IsOpenImmersion b.left] |
| 35 | (i : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A ⟶ X) [IsOpenImmersion i.left] |
| 36 | (hi : i ≫ p = AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ R A (IsScalarTower.toAlgHom ℂ R A) ≫ b) : |
| 37 | Algebra.Smooth R A := by |
| 38 | let f := AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ R A (IsScalarTower.toAlgHom ℂ R A) |
| 39 | have heq : i.left ≫ p.left = f.left ≫ b.left := congrArg Over.Hom.left hi |
| 40 | have hcomp : Smooth (f.left ≫ b.left) := by |
| 41 | rw [← heq] |
| 42 | infer_instance |
| 43 | have hpb : IsPullback (𝟙 (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A).left) f.left |
| 44 | (f.left ≫ b.left) b.left := |
| 45 | IsPullback.of_horiz_isIso_mono ⟨by simp only [Category.id_comp]⟩ |
| 46 | have hsm : Smooth f.left := |
| 47 | MorphismProperty.IsStableUnderBaseChange.of_isPullback hpb hcomp |
| 48 | have hring : (algebraMap R A).Smooth := |
| 49 | (HasRingHomProperty.Spec_iff (P := @Smooth)).mp hsm |
| 50 | exact RingHom.smooth_algebraMap.mp hring |
| 51 | |
| 52 | /-- From smoothness of the genuine family and a standard-smooth affine |
| 53 | base chart, construct the relative presentation and product charts. -/ |
| 54 | theorem exists_relative_charts_from_smooth_scheme |
| 55 | {I Sigma : Type} [Fintype I] [Fintype Sigma] |
| 56 | (P : Algebra.SubmersivePresentation ℂ R I Sigma) |
| 57 | (p : X ⟶ S) [Smooth p.left] |
| 58 | (b : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ R ⟶ S) [IsOpenImmersion b.left] |
| 59 | (i : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A ⟶ X) [IsOpenImmersion i.left] |
| 60 | (hi : i ≫ p = AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ R A (IsScalarTower.toAlgHom ℂ R A) ≫ b) |
| 61 | (x : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) : |
| 62 | ∃ D : SmoothRelativeNeighborhoods.Abelian.RelativeCharts.RelativePresentationAt (R := R) x, |
| 63 | Nonempty (SmoothRelativeNeighborhoods.Abelian.RelativeCharts.CompatibleRelativeCharts (R := R) x |
| 64 | (Prod.fst : (AlgebraicGeometry.ComplexPoints.Analytic.JacobianRegularity.FreeCoordinates P.map → ℂ) × |
| 65 | (AlgebraicGeometry.ComplexPoints.Analytic.JacobianRegularity.FreeCoordinates D.presentation.map → ℂ) → (AlgebraicGeometry.ComplexPoints.Analytic.JacobianRegularity.FreeCoordinates P.map → ℂ))) := by |
| 66 | let : Algebra.Smooth R A := algebraSmooth_of_nativeDiagram p b i hi |
| 67 | exact RelativePointOpenness.Abelian.RelativeCharts.exists_smooth_relative_product_charts P x |
| 68 | |
| 69 | theorem nativeAffinePoint_base |
| 70 | (p : X ⟶ S) (b : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ R ⟶ S) (i : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A ⟶ X) |
| 71 | (hi : i ≫ p = AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ R A (IsScalarTower.toAlgHom ℂ R A) ≫ b) |
| 72 | (y : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) : |
| 73 | AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map p (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap (CommAlgCat.of ℂ A) i y) = |
| 74 | AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap (CommAlgCat.of ℂ R) b |
| 75 | (y.comp (IsScalarTower.toAlgHom ℂ R A)) := by |
| 76 | rw [← AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap_comp, hi] |
| 77 | exact AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap_comap (CommAlgCat.of ℂ R) (CommAlgCat.of ℂ A) |
| 78 | (IsScalarTower.toAlgHom ℂ R A) b y |
| 79 | |
| 80 | /-- Actual affine chart lifts intertwine the native scheme projection |
| 81 | with first-coordinate projection. No compatibility premise is added. -/ |
| 82 | theorem native_relative_chart_projection |
| 83 | (p : X ⟶ S) (b : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ R ⟶ S) [IsOpenImmersion b.left] |
| 84 | (i : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A ⟶ X) [IsOpenImmersion i.left] |
| 85 | (hi : i ≫ p = AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ R A (IsScalarTower.toAlgHom ℂ R A) ≫ b) |
| 86 | (C : SmoothRelativeNeighborhoods.Abelian.RelativeCharts.CompatibleRelativeCharts (R := R) x (Prod.fst : F × E → F)) |
| 87 | (q : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) |
| 88 | (hq : q ∈ (AnalyticSchemeFamilies.Abelian.RelativeCharts.nativeAffineChart (CommAlgCat.of ℂ A) i C.total).source) : |
| 89 | AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map p q ∈ (AnalyticSchemeFamilies.Abelian.RelativeCharts.nativeAffineChart (CommAlgCat.of ℂ R) b C.base).source ∧ |
| 90 | (AnalyticSchemeFamilies.Abelian.RelativeCharts.nativeAffineChart (CommAlgCat.of ℂ A) i C.total q).1 = |
| 91 | AnalyticSchemeFamilies.Abelian.RelativeCharts.nativeAffineChart (CommAlgCat.of ℂ R) b C.base (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map p q) := by |
| 92 | obtain ⟨y, hy, rfl⟩ := hq |
| 93 | have hb : y.comp (IsScalarTower.toAlgHom ℂ R A) ∈ C.base.source := by |
| 94 | simpa only [C.total.left_inv hy] using C.mapsTo _ (C.total.map_source hy) |
| 95 | have hp : (C.total y).1 = C.base (y.comp (IsScalarTower.toAlgHom ℂ R A)) := by |
| 96 | simpa only [C.total.left_inv hy] using (C.projection _ (C.total.map_source hy)).symm |
| 97 | rw [nativeAffinePoint_base p b i hi] |
| 98 | constructor |
| 99 | · exact ⟨y.comp (IsScalarTower.toAlgHom ℂ R A), hb, rfl⟩ |
| 100 | · change ((C.total.lift_openEmbedding (AlgebraicGeometry.ComplexPoints.Analytic.SmoothSchemeManifold.isOpenEmbedding_affinePointMap (CommAlgCat.of ℂ A) i)) |
| 101 | (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap (CommAlgCat.of ℂ A) i y)).1 = |
| 102 | (C.base.lift_openEmbedding (AlgebraicGeometry.ComplexPoints.Analytic.SmoothSchemeManifold.isOpenEmbedding_affinePointMap (CommAlgCat.of ℂ R) b)) |
| 103 | (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap (CommAlgCat.of ℂ R) b |
| 104 | (y.comp (IsScalarTower.toAlgHom ℂ R A))) |
| 105 | rw [OpenPartialHomeomorph.lift_openEmbedding_apply, |
| 106 | OpenPartialHomeomorph.lift_openEmbedding_apply] |
| 107 | exact hp |
| 108 | |
| 109 | /-- A constructed affine relative chart gives a chart on the actual |
| 110 | scheme fiber at its central point. Both directions agree with the native |
| 111 | total chart and the genuine fiber inclusion. -/ |
| 112 | theorem exists_schemeFiber_chart_from_relative |
| 113 | (p : X ⟶ S) (b : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ R ⟶ S) [IsOpenImmersion b.left] |
| 114 | (i : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A ⟶ X) [IsOpenImmersion i.left] |
| 115 | (hi : i ≫ p = AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ R A (IsScalarTower.toAlgHom ℂ R A) ≫ b) |
| 116 | (C : SmoothRelativeNeighborhoods.Abelian.RelativeCharts.CompatibleRelativeCharts (R := R) x (Prod.fst : F × E → F)) : |
| 117 | let q := AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap (CommAlgCat.of ℂ A) i x |
| 118 | let s := AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map p q |
| 119 | ∃ (q₀ : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (AbelianFamilyPoints.FamilyPoints.fiber p s)) |
| 120 | (c : OpenPartialHomeomorph (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (AbelianFamilyPoints.FamilyPoints.fiber p s)) E), |
| 121 | AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (AbelianFamilyPoints.FamilyPoints.fiberInclusion p s) q₀ = q ∧ q₀ ∈ c.source ∧ |
| 122 | (∀ y, c y = (AnalyticSchemeFamilies.Abelian.RelativeCharts.nativeAffineChart (CommAlgCat.of ℂ A) i C.total |
| 123 | (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (AbelianFamilyPoints.FamilyPoints.fiberInclusion p s) y)).2) ∧ |
| 124 | ∀ v ∈ c.target, |
| 125 | AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (AbelianFamilyPoints.FamilyPoints.fiberInclusion p s) (c.symm v) = |
| 126 | (AnalyticSchemeFamilies.Abelian.RelativeCharts.nativeAffineChart (CommAlgCat.of ℂ A) i C.total).symm |
| 127 | (AnalyticSchemeFamilies.Abelian.RelativeCharts.nativeAffineChart (CommAlgCat.of ℂ R) b C.base s, v) := by |
| 128 | dsimp only |
| 129 | let q := AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap (CommAlgCat.of ℂ A) i x |
| 130 | let s := AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map p q |
| 131 | let H := AbelianFamilyPoints.FamilyPoints.fiberHomeomorph p s |
| 132 | let q₀ := H.symm ⟨q, rfl⟩ |
| 133 | have hq₀ : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (AbelianFamilyPoints.FamilyPoints.fiberInclusion p s) q₀ = q := |
| 134 | congrArg Subtype.val (H.apply_symm_apply ⟨q, rfl⟩) |
| 135 | let e := AnalyticSchemeFamilies.Abelian.RelativeCharts.nativeAffineChart (CommAlgCat.of ℂ A) i C.total |
| 136 | let eb := AnalyticSchemeFamilies.Abelian.RelativeCharts.nativeAffineChart (CommAlgCat.of ℂ R) b C.base |
| 137 | have hq : q ∈ e.source := ⟨x, C.point, rfl⟩ |
| 138 | have hprojection := native_relative_chart_projection p b i hi C |
| 139 | have hb : s ∈ eb.source := (hprojection q hq).1 |
| 140 | have hinc : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (AbelianFamilyPoints.FamilyPoints.fiberInclusion p s) q₀ ∈ e.source := by |
| 141 | rw [hq₀] |
| 142 | exact hq |
| 143 | obtain ⟨c, hc, _, hf, hinv⟩ := IntrinsicFiberCharts.Abelian.FamilyPoints.exists_native_fiber_chart p s q₀ eb e hb hinc |
| 144 | (fun y hy => (hprojection y hy).1) (fun y hy => (hprojection y hy).2) |
| 145 | exact ⟨q₀, c, hq₀, hc, hf, hinv⟩ |
| 146 | |
| 147 | end |
| 148 | |
| 149 | /-! |
| 150 | The total relative chart has the specified base coordinate on every |
| 151 | actual point of the literal scheme fiber, including exponential images. |
| 152 | -/ |
| 153 | |
| 154 | open _root_.CategoryTheory _root_.AlgebraicGeometry Set |
| 155 | open scoped Classical |
| 156 | |
| 157 | variable {R A E F : Type} [CommRing R] [Algebra ℂ R] |
| 158 | [CommRing A] [Algebra ℂ A] [Algebra R A] [IsScalarTower ℂ R A] |
| 159 | [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 160 | [NormedAddCommGroup F] [NormedSpace ℂ F] |
| 161 | {X S : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase} {x : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A} |
| 162 | |
| 163 | theorem native_fiber_chart_base_coordinate |
| 164 | (p : X ⟶ S) (b : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ R ⟶ S) [IsOpenImmersion b.left] |
| 165 | (i : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A ⟶ X) [IsOpenImmersion i.left] |
| 166 | (hi : i ≫ p = AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ R A (IsScalarTower.toAlgHom ℂ R A) ≫ b) |
| 167 | (C : SmoothRelativeNeighborhoods.Abelian.RelativeCharts.CompatibleRelativeCharts (R := R) x (Prod.fst : F × E → F)) |
| 168 | (q : F) (hq : q ∈ C.base.target) |
| 169 | (z : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (AbelianFamilyPoints.FamilyPoints.fiber p |
| 170 | (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap (CommAlgCat.of ℂ R) b (C.base.symm q)))) |
| 171 | (hz : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (AbelianFamilyPoints.FamilyPoints.fiberInclusion p |
| 172 | (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap (CommAlgCat.of ℂ R) b (C.base.symm q))) z ∈ |
| 173 | (AnalyticSchemeFamilies.Abelian.RelativeCharts.nativeAffineChart (CommAlgCat.of ℂ A) i C.total).source) : |
| 174 | (AnalyticSchemeFamilies.Abelian.RelativeCharts.nativeAffineChart (CommAlgCat.of ℂ A) i C.total |
| 175 | (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (AbelianFamilyPoints.FamilyPoints.fiberInclusion p |
| 176 | (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap (CommAlgCat.of ℂ R) b (C.base.symm q))) z)).1 = q := by |
| 177 | let s := AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap (CommAlgCat.of ℂ R) b (C.base.symm q) |
| 178 | have hp : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map p |
| 179 | (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (AbelianFamilyPoints.FamilyPoints.fiberInclusion p s) z) = s := |
| 180 | (AbelianFamilyPoints.FamilyPoints.fiberHomeomorph p s z).property |
| 181 | have h := (native_relative_chart_projection p b i hi C _ hz).2 |
| 182 | rw [hp] at h |
| 183 | apply h.trans |
| 184 | change (C.base.lift_openEmbedding (AlgebraicGeometry.ComplexPoints.Analytic.SmoothSchemeManifold.isOpenEmbedding_affinePointMap (CommAlgCat.of ℂ R) b)) |
| 185 | (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap (CommAlgCat.of ℂ R) b (C.base.symm q)) = q |
| 186 | rw [OpenPartialHomeomorph.lift_openEmbedding_apply, C.base.right_inv hq] |
| 187 | |
| 188 | end |
| 189 | |
| 190 | end OAI.ArithmeticGeometry.Descent.CMVariety.FiberChartProjection.Abelian.RelativeCharts |