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.RepresentationTheory.Theta.Geometric.PointNaturality |
| 2 | import OAI.RepresentationTheory.Theta.Geometric.JetOpenNaturality |
| 3 | |
| 4 | /-! # Open Naturality -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Geometric.OpenNaturality |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Geometric tangent naturality through a common affine open follows |
| 13 | from actual infinitesimal lifting and scalar extension of the derivative. -/ |
| 14 | |
| 15 | open scoped TensorProduct |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | variable (F : Type) [Field F] [Algebra ℂ F] |
| 19 | {Y : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase} (A B C : CommAlgCat ℂ) |
| 20 | [Algebra.Smooth ℂ A] [Algebra.Smooth ℂ B] [Algebra.Smooth ℂ C] |
| 21 | (i : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A ⟶ Y) (j : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ B ⟶ Y) |
| 22 | [IsOpenImmersion j.left] |
| 23 | (g : A →ₐ[ℂ] C) (h : B →ₐ[ℂ] C) |
| 24 | [IsOpenImmersion (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ A C g).left] |
| 25 | (hfac : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ B C h ≫ j = |
| 26 | AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ A C g ≫ i) |
| 27 | {n m l : ℕ} |
| 28 | (e : OpenPartialHomeomorph (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (Fin n → ℂ)) |
| 29 | (f : OpenPartialHomeomorph (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) (Fin m → ℂ)) |
| 30 | (k : OpenPartialHomeomorph (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints C) (Fin l → ℂ)) |
| 31 | (he : e ∈ AlgebraicGeometry.ComplexPoints.Analytic.SmoothSchemeManifold.affineRegularAtlas A n) (hf : f ∈ AlgebraicGeometry.ComplexPoints.Analytic.SmoothSchemeManifold.affineRegularAtlas B m) |
| 32 | (hk : k ∈ AlgebraicGeometry.ComplexPoints.Analytic.SmoothSchemeManifold.affineRegularAtlas C l) |
| 33 | (x : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints C) (hx : x ∈ k.source) |
| 34 | (hex : x.comp g ∈ e.source) (hfx : x.comp h ∈ f.source) |
| 35 | |
| 36 | omit B [Algebra.Smooth ℂ B] i j h hfac f hf hfx in |
| 37 | theorem exists_geometricChartLift (v : F ⊗[ℂ] (Fin n → ℂ)) : |
| 38 | ∃ u : F ⊗[ℂ] (Fin l → ℂ), |
| 39 | (PointCharts.pointChartGeometricEquiv F k hk x hx u).val ≫ AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ A C g = |
| 40 | (PointCharts.pointChartGeometricEquiv F e he (x.comp g) hex v).val := by |
| 41 | have hp : ExtendedComplexPoints.extendedComplexPoint F (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointEquiv A (x.comp g)) = |
| 42 | ExtendedComplexPoints.extendedComplexPoint F (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointEquiv C x) ≫ AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ A C g := |
| 43 | (congrArg (fun p : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A) => ExtendedComplexPoints.extendedComplexPoint F p) |
| 44 | (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointEquiv_comap g x)).trans (Category.assoc _ _ _).symm |
| 45 | let t : TangentSources.extendedSchemeTangentPoints ℂ F (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A) |
| 46 | (ExtendedComplexPoints.extendedComplexPoint F (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointEquiv C x) ≫ AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ A C g) := |
| 47 | ⟨(PointCharts.pointChartGeometricEquiv F e he (x.comp g) hex v).val, |
| 48 | (PointCharts.pointChartGeometricEquiv F e he (x.comp g) hex v).property.trans hp⟩ |
| 49 | let z := (TangentSources.extendedTangentNeighborhoodEquiv ℂ F _ _ |
| 50 | (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ A C g) (ExtendedComplexPoints.extendedComplexPoint F (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointEquiv C x))).symm t |
| 51 | obtain ⟨u, hu⟩ := (PointCharts.pointChartGeometricEquiv F k hk x hx).surjective z |
| 52 | refine ⟨u, ?_⟩ |
| 53 | have hzu := congrArg (fun q : TangentSources.extendedSchemeTangentPoints ℂ F (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ C) |
| 54 | (ExtendedComplexPoints.extendedComplexPoint F (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointEquiv C x)) => q.val) hu |
| 55 | have hz := congrArg (fun q : TangentSources.extendedSchemeTangentPoints ℂ F (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A) |
| 56 | (ExtendedComplexPoints.extendedComplexPoint F (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointEquiv C x) ≫ AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ A C g) => q.val) |
| 57 | ((TangentSources.extendedTangentNeighborhoodEquiv ℂ F _ _ (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ A C g) |
| 58 | (ExtendedComplexPoints.extendedComplexPoint F (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointEquiv C x))).apply_symm_apply t) |
| 59 | exact (congrArg (fun q : LieFieldTests.extendedDualTest ℂ F ⟶ AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ C => |
| 60 | q ≫ AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ A C g) hzu).trans hz |
| 61 | |
| 62 | include hfac he hf hk hx hex hfx |
| 63 | |
| 64 | theorem pointChartGeometric_openFactorization (v : F ⊗[ℂ] (Fin n → ℂ)) : |
| 65 | (PointCharts.pointChartGeometricEquiv F f hf (x.comp h) hfx |
| 66 | ((fderiv ℂ (fun z => AlgebraicGeometry.ComplexPoints.Analytic.SmoothSchemeManifold.affineChartOnScheme B j f |
| 67 | (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i (e.symm z))) (e (x.comp g))).toLinearMap.baseChange F v)).val ≫ j = |
| 68 | (PointCharts.pointChartGeometricEquiv F e he (x.comp g) hex v).val ≫ i := by |
| 69 | obtain ⟨u, hu⟩ := exists_geometricChartLift F A C g e k he hk x hx hex v |
| 70 | have hGu : (fderiv ℂ (fun z => e ((k.symm z).comp g)) (k x)).toLinearMap.baseChange F u = v := by |
| 71 | apply (PointCharts.pointChartGeometricEquiv F e he (x.comp g) hex).injective |
| 72 | apply Subtype.ext |
| 73 | exact (PointNaturality.pointChartGeometric_naturality F g k e hk he x hx hex u).trans hu |
| 74 | have hdu : (fderiv ℂ (fun z => f ((k.symm z).comp h)) (k x)).toLinearMap.baseChange F u = |
| 75 | (fderiv ℂ (fun z => AlgebraicGeometry.ComplexPoints.Analytic.SmoothSchemeManifold.affineChartOnScheme B j f |
| 76 | (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i (e.symm z))) (e (x.comp g))).toLinearMap.baseChange F |
| 77 | ((fderiv ℂ (fun z => e ((k.symm z).comp g)) (k x)).toLinearMap.baseChange F u) := by |
| 78 | clear hu hGu |
| 79 | induction u using TensorProduct.inductionOn with |
| 80 | | add u w hu hw => simp only [map_add, hu, hw] |
| 81 | | tmul c w => |
| 82 | simp only [LinearMap.baseChange_tmul] |
| 83 | exact congrArg (fun z : Fin m → ℂ => c ⊗ₜ[ℂ] z) |
| 84 | (JetOpenNaturality.regularChart_factorization_derivative A B C i j g h hfac e f k he hf hk x hx hex hfx w) |
| 85 | rw [hGu] at hdu |
| 86 | rw [← hdu, PointNaturality.pointChartGeometric_naturality F h k f hk hf x hx hfx u, |
| 87 | Category.assoc, hfac, ← Category.assoc, hu] |
| 88 | |
| 89 | end |
| 90 | |
| 91 | /-! On an arbitrary affine chart overlap, extended tangent coordinates |
| 92 | commute with the actual scheme morphism. -/ |
| 93 | |
| 94 | open scoped TensorProduct |
| 95 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 96 | |
| 97 | variable (F : Type) [Field F] [Algebra ℂ F] |
| 98 | {Y : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase} (A B : CommAlgCat ℂ) |
| 99 | [IsDomain A] [Algebra.Smooth ℂ A] [Algebra.Smooth ℂ B] |
| 100 | (i : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A ⟶ Y) (j : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ B ⟶ Y) |
| 101 | [IsOpenImmersion j.left] {n m : ℕ} |
| 102 | (e : OpenPartialHomeomorph (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (Fin n → ℂ)) |
| 103 | (f : OpenPartialHomeomorph (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) (Fin m → ℂ)) |
| 104 | (he : e ∈ AlgebraicGeometry.ComplexPoints.Analytic.SmoothSchemeManifold.affineRegularAtlas A n) (hf : f ∈ AlgebraicGeometry.ComplexPoints.Analytic.SmoothSchemeManifold.affineRegularAtlas B m) |
| 105 | (x : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (hx : x ∈ e.source) |
| 106 | (y : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) (hy : y ∈ f.source) |
| 107 | (hxy : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap B j y = |
| 108 | AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i x) |
| 109 | |
| 110 | include he hf hx hy hxy |
| 111 | |
| 112 | theorem pointChartGeometric_schemeMap (v : F ⊗[ℂ] (Fin n → ℂ)) : |
| 113 | (PointCharts.pointChartGeometricEquiv F f hf y hy |
| 114 | ((fderiv ℂ (fun z => AlgebraicGeometry.ComplexPoints.Analytic.SmoothSchemeManifold.affineChartOnScheme B j f |
| 115 | (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i (e.symm z))) (e x)).toLinearMap.baseChange F v)).val ≫ j = |
| 116 | (PointCharts.pointChartGeometricEquiv F e he x hx v).val ≫ i := by |
| 117 | obtain ⟨a, ha, h, hfac, hpoint⟩ := |
| 118 | AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.exists_affineLocalizationTransition A B i j x ⟨y, hxy⟩ |
| 119 | let C := CommAlgCat.of ℂ (Localization.Away a) |
| 120 | let g : A →ₐ[ℂ] C := Algebra.algHom ℂ A (Localization.Away a) |
| 121 | let z : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints C := AlgebraicGeometry.Foundations.Scheme.LocalizationComplexPoints.Algebraic.localizePoint x a ha |
| 122 | have hxz : z.comp g = x := AlgebraicGeometry.Foundations.Scheme.LocalizationComplexPoints.Algebraic.localizePoint_comp x a ha |
| 123 | have hyz : z.comp h = y := |
| 124 | (AlgebraicGeometry.ComplexPoints.Analytic.SmoothSchemeManifold.isOpenEmbedding_affinePointMap B j).injective ((hpoint ⟨x, ha⟩).trans hxy.symm) |
| 125 | have ha0 : a ≠ 0 := by intro h; apply ha; rw [h, map_zero] |
| 126 | let : IsDomain C := Localization.Away.isDomain ha0 |
| 127 | let : Algebra.Smooth A C := Algebra.Smooth.of_isLocalization_Away a |
| 128 | let : Algebra.Smooth ℂ C := Algebra.Smooth.comp ℂ A C |
| 129 | let : IsOpenImmersion (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ A C g).left := by |
| 130 | change IsOpenImmersion (Spec.map (CommRingCat.ofHom (algebraMap A (Localization.Away a)))) |
| 131 | infer_instance |
| 132 | obtain ⟨k, hk, hzk⟩ := AlgebraicGeometry.ComplexPoints.Analytic.SmoothSchemeManifold.exists_smoothDomain_affineRegularChart z |
| 133 | have hex : z.comp g ∈ e.source := hxz.symm ▸ hx |
| 134 | have hfy : z.comp h ∈ f.source := hyz.symm ▸ hy |
| 135 | have ht := pointChartGeometric_openFactorization F A B C i j g h hfac |
| 136 | e f k he hf hk z hzk hex hfy v |
| 137 | have hv := congrArg (fun w : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A => |
| 138 | (fderiv ℂ (fun t => AlgebraicGeometry.ComplexPoints.Analytic.SmoothSchemeManifold.affineChartOnScheme B j f |
| 139 | (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i (e.symm t))) (e w)).toLinearMap.baseChange F v) hxz |
| 140 | have hleft := PointCharts.pointChartGeometricEquiv_congr F f hf (z.comp h) hfy y hy hyz _ _ hv |
| 141 | have hright := PointCharts.pointChartGeometricEquiv_congr F e he (z.comp g) hex x hx hxz v v rfl |
| 142 | exact (congrArg (fun t : LieFieldTests.extendedDualTest ℂ F ⟶ AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ B => t ≫ j) hleft).symm.trans |
| 143 | (ht.trans (congrArg (fun t : LieFieldTests.extendedDualTest ℂ F ⟶ AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A => t ≫ i) hright)) |
| 144 | |
| 145 | end |
| 146 | |
| 147 | end OAI.RepresentationTheory.Theta.Geometric.OpenNaturality |