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.ChartJets |
| 2 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.IntrinsicSmoothSchemeMaps |
| 3 | |
| 4 | /-! # Jet Open Naturality -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Geometric.JetOpenNaturality |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! The derivative in scheme charts respects an actual affine factorization |
| 13 | through a common neighborhood. -/ |
| 14 | |
| 15 | open scoped ContDiff _root_.Topology |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry OAI.AlgebraicGeometry.ComplexPoints.Analytic.IntrinsicSmoothSchemeMaps |
| 17 | |
| 18 | variable {Y : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase} (A B C : CommAlgCat ℂ) |
| 19 | (i : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A ⟶ Y) (j : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ B ⟶ Y) |
| 20 | [IsOpenImmersion j.left] |
| 21 | (g : A →ₐ[ℂ] C) (h : B →ₐ[ℂ] C) |
| 22 | (hfac : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ B C h ≫ j = |
| 23 | AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ A C g ≫ i) |
| 24 | {n m l : ℕ} |
| 25 | (e : OpenPartialHomeomorph (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (Fin n → ℂ)) |
| 26 | (f : OpenPartialHomeomorph (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) (Fin m → ℂ)) |
| 27 | (k : OpenPartialHomeomorph (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints C) (Fin l → ℂ)) |
| 28 | (he : e ∈ AlgebraicGeometry.ComplexPoints.Analytic.SmoothSchemeManifold.affineRegularAtlas A n) (hf : f ∈ AlgebraicGeometry.ComplexPoints.Analytic.SmoothSchemeManifold.affineRegularAtlas B m) |
| 29 | (hk : k ∈ AlgebraicGeometry.ComplexPoints.Analytic.SmoothSchemeManifold.affineRegularAtlas C l) |
| 30 | (x : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints C) (hx : x ∈ k.source) |
| 31 | (hex : x.comp g ∈ e.source) (hfx : x.comp h ∈ f.source) |
| 32 | |
| 33 | include hfac |
| 34 | |
| 35 | omit [IsOpenImmersion j.left] in |
| 36 | theorem affineFactorization_point (z : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints C) : |
| 37 | AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap B j (z.comp h) = |
| 38 | AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i (z.comp g) := by |
| 39 | exact (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap_comap B C h j z).symm.trans |
| 40 | ((congrArg (fun q : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ C ⟶ Y => |
| 41 | AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap C q z) hfac).trans |
| 42 | (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap_comap A C g i z)) |
| 43 | |
| 44 | include he hf hk hx hex hfx |
| 45 | |
| 46 | theorem regularChart_factorization_derivative (v : Fin l → ℂ) : |
| 47 | fderiv ℂ (fun z => f ((k.symm z).comp h)) (k x) v = |
| 48 | fderiv ℂ (fun z => AlgebraicGeometry.ComplexPoints.Analytic.SmoothSchemeManifold.affineChartOnScheme B j f |
| 49 | (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i (e.symm z))) (e (x.comp g)) |
| 50 | (fderiv ℂ (fun z => e ((k.symm z).comp g)) (k x) v) := by |
| 51 | let F := fun z => AlgebraicGeometry.ComplexPoints.Analytic.SmoothSchemeManifold.affineChartOnScheme B j f |
| 52 | (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i (e.symm z)) |
| 53 | let G := fun z => e ((k.symm z).comp g) |
| 54 | let H := fun z => f ((k.symm z).comp h) |
| 55 | have hG : DifferentiableAt ℂ G (k x) := |
| 56 | (AlgebraicGeometry.ComplexPoints.Analytic.SmoothClosedImmersion.contDiffAt_affineChartComap g k e hk he x hx hex).differentiableAt (by simp) |
| 57 | have hGx : G (k x) = e (x.comp g) := by dsimp [G]; rw [k.left_inv hx] |
| 58 | have hD : IsOpen (e.target ∩ {z | AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i (e.symm z) ∈ |
| 59 | (AlgebraicGeometry.ComplexPoints.Analytic.SmoothSchemeManifold.affineChartOnScheme B j f).source}) := e.isOpen_inter_preimage_symm |
| 60 | ((AlgebraicGeometry.ComplexPoints.Analytic.SmoothSchemeManifold.affineChartOnScheme B j f).open_source.preimage |
| 61 | (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.continuous_affinePointMap A i)) |
| 62 | have hmem : e (x.comp g) ∈ e.target ∩ |
| 63 | {z | AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i (e.symm z) ∈ |
| 64 | (AlgebraicGeometry.ComplexPoints.Analytic.SmoothSchemeManifold.affineChartOnScheme B j f).source} := by |
| 65 | refine ⟨e.map_source hex, ?_⟩ |
| 66 | change AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i (e.symm (e (x.comp g))) ∈ |
| 67 | AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap B j '' f.source |
| 68 | rw [e.left_inv hex] |
| 69 | exact ⟨x.comp h, hfx, affineFactorization_point A B C i j g h hfac x⟩ |
| 70 | have hF : DifferentiableAt ℂ F (G (k x)) := by |
| 71 | rw [hGx] |
| 72 | exact ((AlgebraicGeometry.ComplexPoints.Analytic.IntrinsicSmoothSchemeMaps.contDiffOn_affineMap_regularCharts A B i j e f he hf).contDiffAt |
| 73 | (hD.mem_nhds hmem)).differentiableAt (by simp) |
| 74 | have heq : H =ᶠ[nhds (k x)] F ∘ G := by |
| 75 | filter_upwards [AlgebraicGeometry.ComplexPoints.Analytic.SmoothClosedImmersion.affineChartComap_neighborhood g k e x hx hex] with z hz |
| 76 | dsimp [F, G, H] |
| 77 | rw [e.left_inv hz.2, ← affineFactorization_point A B C i j g h hfac, |
| 78 | AlgebraicGeometry.ComplexPoints.Analytic.SmoothSchemeManifold.affineChartOnScheme_apply] |
| 79 | have hd := heq.fderiv_eq.trans (fderiv_comp (k x) hF hG) |
| 80 | rw [hGx] at hd |
| 81 | exact congrArg (fun d : (Fin l → ℂ) →L[ℂ] (Fin m → ℂ) => d v) hd |
| 82 | |
| 83 | end |
| 84 | |
| 85 | section |
| 86 | |
| 87 | /-! Tangent lifting along an actual affine open immersion turns the local |
| 88 | factorization calculation into naturality for every source tangent vector. -/ |
| 89 | |
| 90 | open _root_.CategoryTheory _root_.AlgebraicGeometry OAI.AlgebraicGeometry.ComplexPoints.Analytic.IntrinsicSmoothSchemeMaps |
| 91 | |
| 92 | variable {Y : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase} (A B C : CommAlgCat ℂ) |
| 93 | (i : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A ⟶ Y) (j : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ B ⟶ Y) |
| 94 | [IsOpenImmersion j.left] |
| 95 | (g : A →ₐ[ℂ] C) (h : B →ₐ[ℂ] C) |
| 96 | [IsOpenImmersion (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ A C g).left] |
| 97 | [Algebra.Smooth ℂ C] |
| 98 | (hfac : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ B C h ≫ j = |
| 99 | AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ A C g ≫ i) |
| 100 | {n m l : ℕ} |
| 101 | (e : OpenPartialHomeomorph (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (Fin n → ℂ)) |
| 102 | (f : OpenPartialHomeomorph (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) (Fin m → ℂ)) |
| 103 | (k : OpenPartialHomeomorph (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints C) (Fin l → ℂ)) |
| 104 | (he : e ∈ AlgebraicGeometry.ComplexPoints.Analytic.SmoothSchemeManifold.affineRegularAtlas A n) (hf : f ∈ AlgebraicGeometry.ComplexPoints.Analytic.SmoothSchemeManifold.affineRegularAtlas B m) |
| 105 | (hk : k ∈ AlgebraicGeometry.ComplexPoints.Analytic.SmoothSchemeManifold.affineRegularAtlas C l) |
| 106 | (x : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints C) (hx : x ∈ k.source) |
| 107 | (hex : x.comp g ∈ e.source) (hfx : x.comp h ∈ f.source) |
| 108 | |
| 109 | omit i j h hfac f hf hfx in |
| 110 | theorem exists_chartJet_lift (v : Fin n → ℂ) : |
| 111 | ∃ u : Fin l → ℂ, |
| 112 | ChartJets.regularChartSpecJet k hk x hx u ≫ AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ A C g = |
| 113 | ChartJets.regularChartSpecJet e he (x.comp g) hex v := by |
| 114 | let t : SchemeTangents.schemeTangentPoints (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A) |
| 115 | (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointEquiv C x ≫ AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ A C g) := |
| 116 | ⟨ChartJets.regularChartSpecJet e he (x.comp g) hex v, by |
| 117 | rw [ChartJets.regularChartSpecJet_origin] |
| 118 | exact AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointEquiv_comap g x⟩ |
| 119 | let z := (SchemeTangents.schemeTangentNeighborhoodEquiv _ _ |
| 120 | (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ A C g) (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointEquiv C x)).symm t |
| 121 | obtain ⟨u, hu⟩ := (ChartJets.regularChartSpecJetEquiv k hk x hx).surjective z |
| 122 | refine ⟨u, ?_⟩ |
| 123 | have hzu := congrArg (fun q : SchemeTangents.schemeTangentPoints (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ C) |
| 124 | (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointEquiv C x) => q.val) hu |
| 125 | have hz := congrArg (fun q : SchemeTangents.schemeTangentPoints (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A) |
| 126 | (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointEquiv C x ≫ AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ A C g) => q.val) |
| 127 | ((SchemeTangents.schemeTangentNeighborhoodEquiv _ _ |
| 128 | (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ A C g) (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointEquiv C x)).apply_symm_apply t) |
| 129 | exact (congrArg (fun q : AlgebraicGeometry.AbelianModuli.ReferenceFamily.LieRanks.dualNumberTest ℂ ⟶ AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ C => |
| 130 | q ≫ AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ A C g) hzu).trans hz |
| 131 | |
| 132 | include hfac he hf hk hx hex hfx |
| 133 | |
| 134 | theorem regularChartSpecJet_openFactorization (v : Fin n → ℂ) : |
| 135 | ChartJets.regularChartSpecJet f hf (x.comp h) hfx |
| 136 | (fderiv ℂ (fun z => AlgebraicGeometry.ComplexPoints.Analytic.SmoothSchemeManifold.affineChartOnScheme B j f |
| 137 | (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i (e.symm z))) (e (x.comp g)) v) ≫ j = |
| 138 | ChartJets.regularChartSpecJet e he (x.comp g) hex v ≫ i := by |
| 139 | obtain ⟨u, hu⟩ := exists_chartJet_lift A C g e k he hk x hx hex v |
| 140 | have hGu : fderiv ℂ (fun z => e ((k.symm z).comp g)) (k x) u = v := |
| 141 | ChartJets.regularChartSpecJet_injective e he (x.comp g) hex |
| 142 | ((ChartJets.regularChartSpecJet_naturality k hk x hx g e he hex u).trans hu) |
| 143 | have hdu := regularChart_factorization_derivative A B C i j g h hfac |
| 144 | e f k he hf hk x hx hex hfx u |
| 145 | rw [hGu] at hdu |
| 146 | rw [← hdu, ChartJets.regularChartSpecJet_naturality k hk x hx h f hf hfx u, Category.assoc, hfac, |
| 147 | ← Category.assoc, hu] |
| 148 | |
| 149 | end |
| 150 | |
| 151 | /-! Native affine charts commute with every actual scheme morphism. The |
| 152 | common affine factorization is supplied by its genuine open target chart. -/ |
| 153 | |
| 154 | open _root_.CategoryTheory _root_.AlgebraicGeometry OAI.AlgebraicGeometry.ComplexPoints.Analytic.IntrinsicSmoothSchemeMaps |
| 155 | |
| 156 | variable {Y : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase} (A B : CommAlgCat ℂ) |
| 157 | [IsDomain A] [Algebra.Smooth ℂ A] |
| 158 | (i : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A ⟶ Y) (j : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ B ⟶ Y) |
| 159 | [IsOpenImmersion j.left] {n m : ℕ} |
| 160 | (e : OpenPartialHomeomorph (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (Fin n → ℂ)) |
| 161 | (f : OpenPartialHomeomorph (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) (Fin m → ℂ)) |
| 162 | (he : e ∈ AlgebraicGeometry.ComplexPoints.Analytic.SmoothSchemeManifold.affineRegularAtlas A n) (hf : f ∈ AlgebraicGeometry.ComplexPoints.Analytic.SmoothSchemeManifold.affineRegularAtlas B m) |
| 163 | (x : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (hx : x ∈ e.source) |
| 164 | (y : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) (hy : y ∈ f.source) |
| 165 | (hxy : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap B j y = |
| 166 | AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i x) |
| 167 | |
| 168 | include he hf hx hy hxy |
| 169 | |
| 170 | theorem regularChartSpecJet_schemeMap (v : Fin n → ℂ) : |
| 171 | ChartJets.regularChartSpecJet f hf y hy |
| 172 | (fderiv ℂ (fun z => AlgebraicGeometry.ComplexPoints.Analytic.SmoothSchemeManifold.affineChartOnScheme B j f |
| 173 | (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i (e.symm z))) (e x) v) ≫ j = |
| 174 | ChartJets.regularChartSpecJet e he x hx v ≫ i := by |
| 175 | obtain ⟨a, ha, h, hfac, hpoint⟩ := |
| 176 | AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.exists_affineLocalizationTransition A B i j x ⟨y, hxy⟩ |
| 177 | let C := CommAlgCat.of ℂ (Localization.Away a) |
| 178 | let g : A →ₐ[ℂ] C := Algebra.algHom ℂ A (Localization.Away a) |
| 179 | let z : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints C := AlgebraicGeometry.Foundations.Scheme.LocalizationComplexPoints.Algebraic.localizePoint x a ha |
| 180 | have hxz : z.comp g = x := AlgebraicGeometry.Foundations.Scheme.LocalizationComplexPoints.Algebraic.localizePoint_comp x a ha |
| 181 | have hyz : z.comp h = y := |
| 182 | (AlgebraicGeometry.ComplexPoints.Analytic.SmoothSchemeManifold.isOpenEmbedding_affinePointMap B j).injective ((hpoint ⟨x, ha⟩).trans hxy.symm) |
| 183 | have ha0 : a ≠ 0 := by intro h; apply ha; rw [h, map_zero] |
| 184 | let : IsDomain C := Localization.Away.isDomain ha0 |
| 185 | let : Algebra.Smooth A C := Algebra.Smooth.of_isLocalization_Away a |
| 186 | let : Algebra.Smooth ℂ C := Algebra.Smooth.comp ℂ A C |
| 187 | let : IsOpenImmersion (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ A C g).left := by |
| 188 | change IsOpenImmersion (Spec.map (CommRingCat.ofHom (algebraMap A (Localization.Away a)))) |
| 189 | infer_instance |
| 190 | obtain ⟨k, hk, hzk⟩ := AlgebraicGeometry.ComplexPoints.Analytic.SmoothSchemeManifold.exists_smoothDomain_affineRegularChart z |
| 191 | have hex : z.comp g ∈ e.source := hxz.symm ▸ hx |
| 192 | have hfy : z.comp h ∈ f.source := hyz.symm ▸ hy |
| 193 | have ht := regularChartSpecJet_openFactorization A B C i j g h hfac |
| 194 | e f k he hf hk z hzk hex hfy v |
| 195 | simpa only [hxz, hyz] using ht |
| 196 | |
| 197 | end |
| 198 | |
| 199 | end OAI.RepresentationTheory.Theta.Geometric.JetOpenNaturality |