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.IntrinsicSmoothSchemeManifold |
| 2 | import Mathlib.Geometry.Manifold.ContMDiff.NormedSpace |
| 3 | |
| 4 | /-! # Intrinsic Smooth Scheme Maps -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexPoints.Analytic.IntrinsicSmoothSchemeMaps |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Analyticity of actual morphisms of smooth complex schemes |
| 12 | |
| 13 | Every morphism over the complex base induces its genuine map on scheme-valued |
| 14 | complex points. On overlapping affine charts it is described by an algebra |
| 15 | map into a principal localization. Its regular coordinate evaluations are |
| 16 | therefore analytic, yielding complex and real manifold smoothness. |
| 17 | -/ |
| 18 | |
| 19 | open scoped ContDiff _root_.Manifold _root_.Topology |
| 20 | open _root_.CategoryTheory _root_.AlgebraicGeometry ChartedSpace |
| 21 | |
| 22 | section AffineMap |
| 23 | |
| 24 | variable {Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} |
| 25 | |
| 26 | /-- An actual map from an affine complex scheme is analytic in regular source |
| 27 | coordinates and any regular chart on an affine open in the target. -/ |
| 28 | theorem contDiffOn_affineMap_regularCharts (A B : CommAlgCat ℂ) |
| 29 | (i : Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A ⟶ Y) (j : Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ B ⟶ Y) |
| 30 | [IsOpenImmersion j.left] {n m : ℕ} |
| 31 | (e : OpenPartialHomeomorph (Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (Fin n → ℂ)) |
| 32 | (f : OpenPartialHomeomorph (Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) (Fin m → ℂ)) |
| 33 | (he : e ∈ SmoothSchemeManifold.affineRegularAtlas A n) (hf : f ∈ SmoothSchemeManifold.affineRegularAtlas B m) : |
| 34 | ContDiffOn ℂ ω |
| 35 | (fun z => SmoothSchemeManifold.affineChartOnScheme B j f (SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i (e.symm z))) |
| 36 | (e.target ∩ {z | SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i (e.symm z) ∈ |
| 37 | (SmoothSchemeManifold.affineChartOnScheme B j f).source}) := by |
| 38 | let D := e.target ∩ {z | SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i (e.symm z) ∈ |
| 39 | (SmoothSchemeManifold.affineChartOnScheme B j f).source} |
| 40 | have hD : IsOpen D := e.isOpen_inter_preimage_symm |
| 41 | ((SmoothSchemeManifold.affineChartOnScheme B j f).open_source.preimage |
| 42 | (SchemePointHomeomorphs.schemeComplexPoints.continuous_affinePointMap A i)) |
| 43 | apply contDiffOn_pi.mpr |
| 44 | intro k z hz |
| 45 | have hez : z ∈ e.target := hz.1 |
| 46 | have hzimage : SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i (e.symm z) ∈ |
| 47 | SchemePointHomeomorphs.schemeComplexPoints.affinePointMap B j '' f.source := hz.2 |
| 48 | obtain ⟨y, hy, hxy⟩ := hzimage |
| 49 | obtain ⟨a, ha, h, _hfac, hpoint⟩ := |
| 50 | SchemePointHomeomorphs.schemeComplexPoints.exists_affineLocalizationTransition A B i j (e.symm z) ⟨y, hxy⟩ |
| 51 | let v : (Fin n → ℂ) → B → ℂ := fun w b => |
| 52 | e.symm w (IsLocalization.Away.sec a (h b)).1 / |
| 53 | (e.symm w a) ^ (IsLocalization.Away.sec a (h b)).2 |
| 54 | have hval (w : Fin n → ℂ) (hw : e.symm w a ≠ 0) (b : B) : |
| 55 | SchemePointHomeomorphs.schemeComplexPoints.affineLocalizationTransition A B a h ⟨e.symm w, hw⟩ b = |
| 56 | v w b := |
| 57 | SchemePointHomeomorphs.schemeComplexPoints.affineLocalizationTransition_eval A B a h ⟨e.symm w, hw⟩ b |
| 58 | have hvat (b : B) : ContDiffAt ℂ ω (fun w => v w b) z := |
| 59 | ((he.1 (IsLocalization.Away.sec a (h b)).1).contDiffAt |
| 60 | (e.open_target.mem_nhds hez)).div |
| 61 | (((he.1 a).contDiffAt (e.open_target.mem_nhds hez)).pow |
| 62 | (IsLocalization.Away.sec a (h b)).2) |
| 63 | (pow_ne_zero _ ha) |
| 64 | have hqz : SchemePointHomeomorphs.schemeComplexPoints.affineLocalizationTransition A B a h |
| 65 | ⟨e.symm z, ha⟩ = y := |
| 66 | (SmoothSchemeManifold.isOpenEmbedding_affinePointMap B j).injective ((hpoint _).trans hxy.symm) |
| 67 | obtain ⟨g, hg, hcoords⟩ := hf.2 |
| 68 | obtain ⟨b, r, hcoord⟩ := hcoords k |
| 69 | have hgz : v z g ≠ 0 := by |
| 70 | rw [← hval z ha g, hqz] |
| 71 | exact hg y hy |
| 72 | have hquot := (hvat b).div ((hvat g).pow r) (pow_ne_zero r hgz) |
| 73 | apply ContDiffAt.contDiffWithinAt |
| 74 | apply hquot.congr_of_eventuallyEq |
| 75 | have hna : ∀ᶠ w in 𝓝 z, e.symm w a ≠ 0 := |
| 76 | ((he.1 a).contDiffAt (e.open_target.mem_nhds hez)).continuousAt.eventually_ne ha |
| 77 | filter_upwards [hD.mem_nhds hz, hna] with w hw hwa |
| 78 | have hwimage : SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i (e.symm w) ∈ |
| 79 | SchemePointHomeomorphs.schemeComplexPoints.affinePointMap B j '' f.source := hw.2 |
| 80 | obtain ⟨yw, hyw, hxyw⟩ := hwimage |
| 81 | have hqw : SchemePointHomeomorphs.schemeComplexPoints.affineLocalizationTransition A B a h |
| 82 | ⟨e.symm w, hwa⟩ = yw := |
| 83 | (SmoothSchemeManifold.isOpenEmbedding_affinePointMap B j).injective ((hpoint _).trans hxyw.symm) |
| 84 | have hqsource : SchemePointHomeomorphs.schemeComplexPoints.affineLocalizationTransition A B a h |
| 85 | ⟨e.symm w, hwa⟩ ∈ f.source := hqw.symm ▸ hyw |
| 86 | rw [← hpoint ⟨e.symm w, hwa⟩, SmoothSchemeManifold.affineChartOnScheme_apply, hcoord _ hqsource, |
| 87 | hval w hwa b, hval w hwa g] |
| 88 | rfl |
| 89 | |
| 90 | end AffineMap |
| 91 | |
| 92 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} |
| 93 | |
| 94 | /-- An actual scheme morphism is analytic between arbitrary members of the |
| 95 | proved native regular atlases on its source and target. -/ |
| 96 | theorem contDiffOn_schemeMap_regularCharts (φ : X ⟶ Y) {n m : ℕ} |
| 97 | (c : OpenPartialHomeomorph (SchemePointHomeomorphs.schemeComplexPoints X) (Fin n → ℂ)) |
| 98 | (d : OpenPartialHomeomorph (SchemePointHomeomorphs.schemeComplexPoints Y) (Fin m → ℂ)) |
| 99 | (hc : c ∈ IntrinsicSmoothSchemeManifold.schemeRegularAtlas X n) (hd : d ∈ IntrinsicSmoothSchemeManifold.schemeRegularAtlas Y m) : |
| 100 | ContDiffOn ℂ ω (fun z => d (SchemePointHomeomorphs.schemeComplexPoints.map φ (c.symm z))) |
| 101 | (c.target ∩ {z | SchemePointHomeomorphs.schemeComplexPoints.map φ (c.symm z) ∈ d.source}) := by |
| 102 | obtain ⟨U, hU, e, he, rfl⟩ := hc |
| 103 | obtain ⟨V, hV, f, hf, rfl⟩ := hd |
| 104 | have htarget : (SmoothSchemeManifold.affineChartOnScheme (SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X U) |
| 105 | (SchemePointHomeomorphs.schemeComplexPoints.affineOpenSchemeMap X U hU) e).target = e.target := rfl |
| 106 | simpa only [SchemePointHomeomorphs.schemeComplexPoints.affinePointMap_comp, SmoothSchemeManifold.affineChartOnScheme_symm_apply, |
| 107 | htarget] using |
| 108 | contDiffOn_affineMap_regularCharts |
| 109 | (SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra X U) |
| 110 | (SchemePointHomeomorphs.schemeComplexPoints.affineOpenAlgebra Y V) |
| 111 | (SchemePointHomeomorphs.schemeComplexPoints.affineOpenSchemeMap X U hU ≫ φ) |
| 112 | (SchemePointHomeomorphs.schemeComplexPoints.affineOpenSchemeMap Y V hV) e f he hf |
| 113 | |
| 114 | variable [IsIntegral X.left] [Smooth X.hom] [IsIntegral Y.left] [Smooth Y.hom] |
| 115 | |
| 116 | local notation "ModelX" => (Fin (OAI.AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) → ℂ) |
| 117 | local notation "ModelY" => (Fin (OAI.AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension Y.hom) → ℂ) |
| 118 | |
| 119 | /-- The map on native complex points is analytic in the preferred native |
| 120 | manifold charts. -/ |
| 121 | theorem contDiffOn_nativeScheme_map_charts (φ : X ⟶ Y) |
| 122 | (x : SchemePointHomeomorphs.schemeComplexPoints X) (y : SchemePointHomeomorphs.schemeComplexPoints Y) : |
| 123 | ContDiffOn ℂ ω |
| 124 | (fun z => chartAt ModelY y (SchemePointHomeomorphs.schemeComplexPoints.map φ ((chartAt ModelX x).symm z))) |
| 125 | ((chartAt ModelX x).target ∩ |
| 126 | {z | SchemePointHomeomorphs.schemeComplexPoints.map φ ((chartAt ModelX x).symm z) ∈ |
| 127 | (chartAt ModelY y).source}) := |
| 128 | contDiffOn_schemeMap_regularCharts φ _ _ |
| 129 | (chart_mem_atlas ModelX x) (chart_mem_atlas ModelY y) |
| 130 | |
| 131 | /-- Every actual morphism of integral smooth complex schemes induces an |
| 132 | analytic map on their constructed native complex-point manifolds. -/ |
| 133 | theorem contMDiff_nativeScheme_map (φ : X ⟶ Y) (r : ℕ∞ω) : |
| 134 | ContMDiff (𝓘(ℂ, ModelX)) (𝓘(ℂ, ModelY)) r (SchemePointHomeomorphs.schemeComplexPoints.map φ) := by |
| 135 | apply contMDiff_iff.mpr |
| 136 | refine ⟨SchemePointHomeomorphs.schemeComplexPoints.continuous_map φ, ?_⟩ |
| 137 | intro x y |
| 138 | simpa only [extChartAt_coe, extChartAt_coe_symm, extChartAt_source, |
| 139 | extChartAt_target, modelWithCornersSelf_coe, modelWithCornersSelf_coe_symm, |
| 140 | Function.comp_id, Function.id_comp, Set.preimage_id, Set.range_id, |
| 141 | Set.inter_univ, Function.comp_def, id_eq, Set.preimage, |
| 142 | Set.mem_ofPred_eq, Set.ofPred_mem_eq] |
| 143 | using (contDiffOn_nativeScheme_map_charts φ x y).of_le (show r ≤ ω from le_top) |
| 144 | |
| 145 | /-- The same native morphism is smooth on the underlying real manifolds used |
| 146 | for complex-valued differential forms. -/ |
| 147 | theorem real_contMDiff_nativeScheme_map (φ : X ⟶ Y) (r : ℕ∞ω) : |
| 148 | ContMDiff (𝓘(ℝ, ModelX)) (𝓘(ℝ, ModelY)) r (SchemePointHomeomorphs.schemeComplexPoints.map φ) := by |
| 149 | apply contMDiff_iff.mpr |
| 150 | refine ⟨SchemePointHomeomorphs.schemeComplexPoints.continuous_map φ, ?_⟩ |
| 151 | intro x y |
| 152 | simpa only [extChartAt_coe, extChartAt_coe_symm, extChartAt_source, |
| 153 | extChartAt_target, modelWithCornersSelf_coe, modelWithCornersSelf_coe_symm, |
| 154 | Function.comp_id, Function.id_comp, Set.preimage_id, Set.range_id, |
| 155 | Set.inter_univ, Function.comp_def, id_eq, Set.preimage, |
| 156 | Set.mem_ofPred_eq, Set.ofPred_mem_eq] |
| 157 | using ((contDiffOn_nativeScheme_map_charts φ x y).of_le |
| 158 | (show r ≤ ω from le_top)).restrict_scalars ℝ |
| 159 | |
| 160 | end |
| 161 | |
| 162 | end OAI.AlgebraicGeometry.ComplexPoints.Analytic.IntrinsicSmoothSchemeMaps |