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.ComplexPoints.Analytic.IntrinsicSmoothSchemeMaps |
| 2 | import Mathlib.RingTheory.TensorProduct.Maps |
| 3 | |
| 4 | /-! # Affine Families M -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.AffineFamiliesM.Constructions.AffineFamilies |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # DegreeTwo: regular families in native scheme charts |
| 12 | |
| 13 | A parameterized family of affine characters is analytic when every regular |
| 14 | function evaluates analytically. Actual maps of schemes preserve this |
| 15 | property in the native manifold charts, by localization and regular chart |
| 16 | coordinates. This applies to tensor-product families for group multiplication. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 20 | open scoped _root_.Manifold ContDiff _root_.Topology |
| 21 | |
| 22 | section |
| 23 | |
| 24 | open OAI.AlgebraicGeometry.ComplexPoints.Analytic.IntrinsicSmoothSchemeMaps |
| 25 | |
| 26 | variable {W : Type*} [NormedAddCommGroup W] [NormedSpace ℂ W] |
| 27 | {Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} |
| 28 | |
| 29 | omit [NormedSpace ℂ W] in |
| 30 | /-- The evaluation topology detects continuity at a single parameter. -/ |
| 31 | theorem continuousAt_of_eval (A : CommAlgCat ℂ) |
| 32 | (p : W → Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (w : W) |
| 33 | (hp : ∀ a : A, ContinuousAt (fun z => p z a) w) : ContinuousAt p w := by |
| 34 | apply Foundations.Scheme.AffineComplexPoints.affineComplexPoints.isInducing_coe.continuousAt_iff.mpr |
| 35 | exact continuousAt_pi.mpr hp |
| 36 | |
| 37 | /-- Regular-coordinate tests suffice for an affine family mapped into an |
| 38 | arbitrary regular chart on the target scheme. -/ |
| 39 | theorem contDiffAt_regularChart (A B : CommAlgCat ℂ) |
| 40 | (i : Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A ⟶ Y) (j : Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ B ⟶ Y) |
| 41 | [IsOpenImmersion j.left] {m : ℕ} |
| 42 | (c : OpenPartialHomeomorph (Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) (Fin m → ℂ)) |
| 43 | (hc : c ∈ ComplexPoints.Analytic.SmoothSchemeManifold.affineRegularAtlas B m) |
| 44 | (p : W → Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (w : W) (hp : ContinuousAt p w) |
| 45 | (heval : ∀ a : A, ContDiffAt ℂ ω (fun z => p z a) w) |
| 46 | (hw : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i (p w) ∈ |
| 47 | (ComplexPoints.Analytic.SmoothSchemeManifold.affineChartOnScheme B j c).source) : |
| 48 | ContDiffAt ℂ ω |
| 49 | (fun z => ComplexPoints.Analytic.SmoothSchemeManifold.affineChartOnScheme B j c (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i (p z))) w := by |
| 50 | have hD : ∀ᶠ z in 𝓝 w, |
| 51 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i (p z) ∈ (ComplexPoints.Analytic.SmoothSchemeManifold.affineChartOnScheme B j c).source := |
| 52 | ((ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.continuous_affinePointMap A i).continuousAt.comp hp).preimage_mem_nhds |
| 53 | ((ComplexPoints.Analytic.SmoothSchemeManifold.affineChartOnScheme B j c).open_source.mem_nhds hw) |
| 54 | apply contDiffAt_pi.mpr |
| 55 | intro k |
| 56 | obtain ⟨y, hy, hxy⟩ := hw |
| 57 | obtain ⟨a, ha, h, _hfac, hpoint⟩ := |
| 58 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.exists_affineLocalizationTransition A B i j (p w) ⟨y, hxy⟩ |
| 59 | let v : W → B → ℂ := fun z b => |
| 60 | p z (IsLocalization.Away.sec a (h b)).1 / |
| 61 | (p z a) ^ (IsLocalization.Away.sec a (h b)).2 |
| 62 | have hval (z : W) (hz : p z a ≠ 0) (b : B) : |
| 63 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineLocalizationTransition A B a h ⟨p z, hz⟩ b = v z b := |
| 64 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineLocalizationTransition_eval A B a h ⟨p z, hz⟩ b |
| 65 | have hvat (b : B) : ContDiffAt ℂ ω (fun z => v z b) w := |
| 66 | (heval (IsLocalization.Away.sec a (h b)).1).div |
| 67 | ((heval a).pow (IsLocalization.Away.sec a (h b)).2) (pow_ne_zero _ ha) |
| 68 | have hqw : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineLocalizationTransition A B a h ⟨p w, ha⟩ = y := |
| 69 | (ComplexPoints.Analytic.SmoothSchemeManifold.isOpenEmbedding_affinePointMap B j).injective ((hpoint _).trans hxy.symm) |
| 70 | obtain ⟨g, hg, hcoords⟩ := hc.2 |
| 71 | obtain ⟨b, r, hcoord⟩ := hcoords k |
| 72 | have hgw : v w g ≠ 0 := by |
| 73 | rw [← hval w ha g, hqw] |
| 74 | exact hg y hy |
| 75 | apply ((hvat b).div ((hvat g).pow r) (pow_ne_zero r hgw)).congr_of_eventuallyEq |
| 76 | have hna : ∀ᶠ z in 𝓝 w, p z a ≠ 0 := (heval a).continuousAt.eventually_ne ha |
| 77 | filter_upwards [hD, hna] with z hz hza |
| 78 | obtain ⟨yz, hyz, hxyz⟩ := hz |
| 79 | have hqz : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineLocalizationTransition A B a h ⟨p z, hza⟩ = yz := |
| 80 | (ComplexPoints.Analytic.SmoothSchemeManifold.isOpenEmbedding_affinePointMap B j).injective ((hpoint _).trans hxyz.symm) |
| 81 | have hqsource : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineLocalizationTransition A B a h |
| 82 | ⟨p z, hza⟩ ∈ c.source := hqz.symm ▸ hyz |
| 83 | rw [← hpoint ⟨p z, hza⟩, ComplexPoints.Analytic.SmoothSchemeManifold.affineChartOnScheme_apply, hcoord _ hqsource, |
| 84 | hval z hza b, hval z hza g] |
| 85 | rfl |
| 86 | |
| 87 | variable [IsIntegral Y.left] [Smooth Y.hom] |
| 88 | |
| 89 | /-- Evaluation-analytic affine families give analytic maps into the actual |
| 90 | native manifold of a smooth integral scheme. -/ |
| 91 | theorem contMDiffAt_native (A : CommAlgCat ℂ) (i : Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A ⟶ Y) |
| 92 | (p : W → Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (w : W) (hp : ContinuousAt p w) |
| 93 | (heval : ∀ a : A, ContDiffAt ℂ ω (fun z => p z a) w) : |
| 94 | ContMDiffAt (𝓘(ℂ, W)) |
| 95 | (𝓘(ℂ, Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension Y.hom) → ℂ)) ω |
| 96 | (fun z => ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i (p z)) w := by |
| 97 | let F := fun z => ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i (p z) |
| 98 | let N := Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension Y.hom) → ℂ |
| 99 | apply contMDiffAt_iff_target.mpr |
| 100 | refine ⟨(ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.continuous_affinePointMap A i).continuousAt.comp hp, ?_⟩ |
| 101 | have hc := chart_mem_atlas N (F w) |
| 102 | obtain ⟨U, hU, c, hc, he⟩ := hc |
| 103 | have hw : F w ∈ (ComplexPoints.Analytic.SmoothSchemeManifold.affineChartOnScheme (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra Y U) |
| 104 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenSchemeMap Y U hU) c).source := by |
| 105 | rw [← he] |
| 106 | exact mem_chart_source N (F w) |
| 107 | have h := contDiffAt_regularChart A (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra Y U) i |
| 108 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenSchemeMap Y U hU) c hc p w hp heval hw |
| 109 | have heq : (extChartAt (𝓘(ℂ, N)) (F w) : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y → N) = |
| 110 | ComplexPoints.Analytic.SmoothSchemeManifold.affineChartOnScheme (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra Y U) |
| 111 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affineOpenSchemeMap Y U hU) c := by |
| 112 | change (chartAt N (F w) : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y → N) = _ |
| 113 | rw [he] |
| 114 | rw [heq] |
| 115 | exact h.contMDiffAt |
| 116 | |
| 117 | end |
| 118 | |
| 119 | open _root_.CategoryTheory.CartesianMonoidalCategory _root_.CategoryTheory.MonoidalCategory |
| 120 | open scoped TensorProduct |
| 121 | |
| 122 | variable (A B : CommAlgCat ℂ) |
| 123 | |
| 124 | /-- A pair of affine complex points is an actual character of the tensor |
| 125 | product algebra. -/ |
| 126 | def tensorPoint (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (y : Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) : |
| 127 | Foundations.Scheme.AffineComplexPoints.affineComplexPoints (A ⊗[ℂ] B) := |
| 128 | Algebra.TensorProduct.lift x y (fun _ _ => Commute.all _ _) |
| 129 | |
| 130 | @[simp] |
| 131 | theorem tensorPoint_tmul (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (y : Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) |
| 132 | (a : A) (b : B) : tensorPoint A B x y (a ⊗ₜ[ℂ] b) = x a * y b := |
| 133 | Algebra.TensorProduct.lift_tmul _ _ _ _ _ |
| 134 | |
| 135 | /-- Tensoring characters is continuous for the actual evaluation topologies. -/ |
| 136 | theorem tensorPoint_continuous : |
| 137 | Continuous (fun p : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A × Foundations.Scheme.AffineComplexPoints.affineComplexPoints B => |
| 138 | tensorPoint A B p.1 p.2) := by |
| 139 | apply (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.continuous_iff _).mpr |
| 140 | intro t |
| 141 | induction t using TensorProduct.inductionOn with |
| 142 | | tmul a b => |
| 143 | simp only [tensorPoint_tmul] |
| 144 | exact (((Foundations.Scheme.AffineComplexPoints.affineComplexPoints.continuous_eval a).comp continuous_fst).mul |
| 145 | ((Foundations.Scheme.AffineComplexPoints.affineComplexPoints.continuous_eval b).comp continuous_snd)).congr fun _ => rfl |
| 146 | | add a b ha hb => |
| 147 | simp only [map_add] |
| 148 | exact (ha.add hb).congr fun _ => rfl |
| 149 | |
| 150 | /-- Every regular function on the tensor product evaluates analytically in |
| 151 | two evaluation-analytic families. -/ |
| 152 | theorem tensorPoint_contDiffAt_eval |
| 153 | {W : Type*} [NormedAddCommGroup W] [NormedSpace ℂ W] |
| 154 | (p : W → Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (q : W → Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) (w : W) |
| 155 | (hp : ∀ a, ContDiffAt ℂ ω (fun z => p z a) w) |
| 156 | (hq : ∀ b, ContDiffAt ℂ ω (fun z => q z b) w) (t : A ⊗[ℂ] B) : |
| 157 | ContDiffAt ℂ ω (fun z => tensorPoint A B (p z) (q z) t) w := by |
| 158 | induction t using TensorProduct.inductionOn with |
| 159 | | tmul a b => simpa only [tensorPoint_tmul] using (hp a).mul (hq b) |
| 160 | | add a b ha hb => simpa only [map_add] using ha.add hb |
| 161 | |
| 162 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} |
| 163 | |
| 164 | /-- The actual scheme map from a tensor algebra into a product of schemes. -/ |
| 165 | def affineTensorMap (i : Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A ⟶ X) |
| 166 | (j : Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ B ⟶ Y) : Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ (A ⊗[ℂ] B) ⟶ X ⊗ Y := |
| 167 | lift (Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ A (A ⊗[ℂ] B) Algebra.TensorProduct.includeLeft ≫ i) |
| 168 | (Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ B (A ⊗[ℂ] B) Algebra.TensorProduct.includeRight ≫ j) |
| 169 | |
| 170 | /-- The tensor-algebra family has exactly the intended pair of native |
| 171 | scheme-valued points. -/ |
| 172 | theorem affineTensorMap_apply (i : Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A ⟶ X) |
| 173 | (j : Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ B ⟶ Y) (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (y : Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) : |
| 174 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap (CommAlgCat.of ℂ (A ⊗[ℂ] B)) |
| 175 | (affineTensorMap A B i j) (tensorPoint A B x y) = |
| 176 | lift (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i x) |
| 177 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap B j y) := by |
| 178 | unfold ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap affineTensorMap |
| 179 | rw [comp_lift] |
| 180 | congr 1 |
| 181 | · rw [← Category.assoc, ← ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointEquiv_comap] |
| 182 | congr 2 |
| 183 | exact Algebra.TensorProduct.lift_comp_includeLeft _ _ _ |
| 184 | · rw [← Category.assoc, ← ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointEquiv_comap] |
| 185 | congr 2 |
| 186 | exact Algebra.TensorProduct.lift_comp_includeRight' _ _ _ |
| 187 | |
| 188 | end |
| 189 | |
| 190 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.AffineFamiliesM.Constructions.AffineFamilies |