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.RelativeTensorPoints |
| 2 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.AffineOverlap |
| 3 | |
| 4 | /-! # Analytic Scheme Families -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.Descent.CMVariety.AnalyticSchemeFamilies.Abelian.RelativeCharts |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Actual scheme morphisms preserve analytically varying affine point families |
| 12 | in the constructed coordinates. The algebra map on a principal neighborhood |
| 13 | is obtained from the scheme morphism and the target affine open immersion. |
| 14 | It is not supplied as an additional local comparison hypothesis. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry Set |
| 18 | open scoped Classical ContDiff _root_.Topology |
| 19 | |
| 20 | variable {E F : Type} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 21 | [NormedAddCommGroup F] [NormedSpace ℂ F] |
| 22 | {Y : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase} |
| 23 | |
| 24 | /-- Lift any of the constructed analytic model charts through the actual |
| 25 | affine open immersion, without a restriction on its coordinate index type. -/ |
| 26 | def nativeAffineChart (B : CommAlgCat ℂ) |
| 27 | (j : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ B ⟶ Y) [IsOpenImmersion j.left] |
| 28 | (e : OpenPartialHomeomorph (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) F) : |
| 29 | OpenPartialHomeomorph (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y) F := |
| 30 | e.lift_openEmbedding (AlgebraicGeometry.ComplexPoints.Analytic.SmoothSchemeManifold.isOpenEmbedding_affinePointMap B j) |
| 31 | |
| 32 | omit [NormedSpace ℂ F] in |
| 33 | /-- The actual chart-overlap domain is open, as follows from the native |
| 34 | point topology and the regular-function evaluation topology. -/ |
| 35 | theorem isOpen_schemeImage_affineChart_domain (A B : CommAlgCat ℂ) |
| 36 | (i : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A ⟶ Y) (j : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ B ⟶ Y) |
| 37 | [IsOpenImmersion j.left] |
| 38 | (e : OpenPartialHomeomorph (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) F) |
| 39 | (f : E → AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (U : Set E) (hU : IsOpen U) |
| 40 | (hf : ∀ a : A, ContDiffOn ℂ ω (fun z => f z a) U) : |
| 41 | IsOpen (U ∩ {z | AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i (f z) ∈ |
| 42 | (nativeAffineChart B j e).source}) := by |
| 43 | have hc := RegularRelativeCharts.Abelian.RelativeCharts.continuousOn_affinePoints_of_evaluations f U (fun a => (hf a).continuousOn) |
| 44 | exact ((AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.continuous_affinePointMap A i).continuousOn.comp hc |
| 45 | (mapsTo_univ _ _)).isOpen_inter_preimage hU (nativeAffineChart B j e).open_source |
| 46 | |
| 47 | /-- Any actual morphism from an affine scheme takes an analytic family |
| 48 | of algebra characters to an analytic coordinate family. Local algebra |
| 49 | factorizations and their neighborhoods are constructed from the morphism. -/ |
| 50 | theorem contDiffOn_schemeImage_in_affineChart (A B : CommAlgCat ℂ) |
| 51 | (i : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A ⟶ Y) (j : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ B ⟶ Y) |
| 52 | [IsOpenImmersion j.left] |
| 53 | (e : OpenPartialHomeomorph (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) F) |
| 54 | (he : RegularRelativeCharts.Abelian.RelativeCharts.HasAnalyticCoordinates e) |
| 55 | (f : E → AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (U : Set E) (hU : IsOpen U) |
| 56 | (hf : ∀ a : A, ContDiffOn ℂ ω (fun z => f z a) U) : |
| 57 | ContDiffOn ℂ ω |
| 58 | (fun z => nativeAffineChart B j e (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i (f z))) |
| 59 | (U ∩ {z | AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i (f z) ∈ |
| 60 | (nativeAffineChart B j e).source}) := by |
| 61 | intro z hz |
| 62 | obtain ⟨y, hy, hxy⟩ := hz.2 |
| 63 | obtain ⟨a, ha, h, _, hpoint⟩ := |
| 64 | AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.exists_affineLocalizationTransition A B i j (f z) ⟨y, hxy⟩ |
| 65 | let V := U ∩ {w | f w a ≠ 0} |
| 66 | have hV : IsOpen V := (hf a).continuousOn.isOpen_inter_preimage hU isOpen_ne |
| 67 | have hzV : z ∈ V := ⟨hz.1, ha⟩ |
| 68 | obtain ⟨fg, hfg, hreg⟩ := RelativeTensorPoints.Abelian.RelativeCharts.exists_analytic_localizedFamily a f U hf |
| 69 | (AlgebraicGeometry.Foundations.Scheme.LocalizationComplexPoints.Algebraic.localizePoint (f z) a ha) |
| 70 | let q : E → AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints B := fun w => (fg w).comp h |
| 71 | have hlocal (w : E) (hw : w ∈ V) : |
| 72 | fg w = AlgebraicGeometry.Foundations.Scheme.LocalizationComplexPoints.Algebraic.localizePoint (f w) a hw.2 := by |
| 73 | apply (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints.isOpenEmbedding_localizationRestriction a).injective |
| 74 | rw [hfg w hw] |
| 75 | exact (AlgebraicGeometry.Foundations.Scheme.LocalizationComplexPoints.Algebraic.localizePoint_comp (f w) a hw.2).symm |
| 76 | have hsame (w : E) (hw : w ∈ V) : |
| 77 | AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap B j (q w) = |
| 78 | AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i (f w) := by |
| 79 | change AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap B j ((fg w).comp h) = _ |
| 80 | rw [hlocal w hw] |
| 81 | exact hpoint ⟨f w, hw.2⟩ |
| 82 | have hqz : q z = y := |
| 83 | (AlgebraicGeometry.ComplexPoints.Analytic.SmoothSchemeManifold.isOpenEmbedding_affinePointMap B j).injective ((hsame z hzV).trans hxy.symm) |
| 84 | have hq : ContinuousOn q V := |
| 85 | RegularRelativeCharts.Abelian.RelativeCharts.continuousOn_affinePoints_of_evaluations q V (fun b => (hreg (h b)).continuousOn) |
| 86 | let W := V ∩ q ⁻¹' e.source |
| 87 | have hW : IsOpen W := hq.isOpen_inter_preimage hV e.open_source |
| 88 | have hzW : z ∈ W := ⟨hzV, (congrArg (fun b => b ∈ e.source) hqz).mpr hy⟩ |
| 89 | have hc : ContDiffAt ℂ ω (fun w => e (q w)) z := |
| 90 | (he E q V (fun b => hreg (h b))).contDiffAt (hW.mem_nhds hzW) |
| 91 | apply ContDiffAt.contDiffWithinAt |
| 92 | apply hc.congr_of_eventuallyEq |
| 93 | filter_upwards [hW.mem_nhds hzW] with w hw |
| 94 | rw [← hsame w hw.1] |
| 95 | exact OpenPartialHomeomorph.lift_openEmbedding_apply _ _ |
| 96 | |
| 97 | end |
| 98 | |
| 99 | end OAI.ArithmeticGeometry.Descent.CMVariety.AnalyticSchemeFamilies.Abelian.RelativeCharts |