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.RegularSectionCharts |
| 2 | import OAI.ArithmeticGeometry.Descent.CMVariety.RelativeTensorPoints |
| 3 | |
| 4 | /-! # Relative Product Maps -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.Descent.CMVariety |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Actual pairs of points in smooth relative product coordinates. Both points |
| 12 | lie over the same base point by the proved coordinate projection identity. |
| 13 | They therefore construct genuine characters of the relative tensor product, |
| 14 | with analytic evaluation of all its regular functions. |
| 15 | -/ |
| 16 | |
| 17 | open Set |
| 18 | open scoped Classical ContDiff TensorProduct |
| 19 | |
| 20 | variable {R A E F : Type} [CommRing R] [Algebra ℂ R] |
| 21 | [CommRing A] [Algebra ℂ A] [Algebra R A] [IsScalarTower ℂ R A] |
| 22 | [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 23 | [NormedAddCommGroup F] [NormedSpace ℂ F] |
| 24 | {x : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A} |
| 25 | |
| 26 | /-- The actual open domain of two points with a common base coordinate. -/ |
| 27 | def SmoothRelativeNeighborhoods.Abelian.RelativeCharts.CompatibleRelativeCharts.pairDomain |
| 28 | (C : SmoothRelativeNeighborhoods.Abelian.RelativeCharts.CompatibleRelativeCharts (R := R) x (Prod.fst : F × E → F)) : Set (F × (E × E)) := |
| 29 | {z | (z.1, z.2.1) ∈ C.total.target ∧ (z.1, z.2.2) ∈ C.total.target} |
| 30 | |
| 31 | theorem SmoothRelativeNeighborhoods.Abelian.RelativeCharts.CompatibleRelativeCharts.pairDomain_isOpen |
| 32 | (C : SmoothRelativeNeighborhoods.Abelian.RelativeCharts.CompatibleRelativeCharts (R := R) x (Prod.fst : F × E → F)) : |
| 33 | IsOpen C.pairDomain := |
| 34 | (C.total.open_target.preimage (continuous_fst.prodMk continuous_snd.fst)).inter |
| 35 | (C.total.open_target.preimage (continuous_fst.prodMk continuous_snd.snd)) |
| 36 | |
| 37 | theorem SmoothRelativeNeighborhoods.Abelian.RelativeCharts.CompatibleRelativeCharts.pair_base_eq |
| 38 | (C : SmoothRelativeNeighborhoods.Abelian.RelativeCharts.CompatibleRelativeCharts (R := R) x (Prod.fst : F × E → F)) |
| 39 | (z : F × (E × E)) (hz : z ∈ C.pairDomain) : |
| 40 | (C.total.symm (z.1, z.2.1)).comp (IsScalarTower.toAlgHom ℂ R A) = |
| 41 | (C.total.symm (z.1, z.2.2)).comp (IsScalarTower.toAlgHom ℂ R A) := by |
| 42 | apply C.base.injOn (C.mapsTo _ hz.1) (C.mapsTo _ hz.2) |
| 43 | rw [C.projection _ hz.1, C.projection _ hz.2] |
| 44 | |
| 45 | /-- Construct the actual relative fiber-product family from the two inverse |
| 46 | product charts, proving all regular-function evaluations analytic. -/ |
| 47 | theorem SmoothRelativeNeighborhoods.Abelian.RelativeCharts.CompatibleRelativeCharts.exists_pairPointFamily |
| 48 | (C : SmoothRelativeNeighborhoods.Abelian.RelativeCharts.CompatibleRelativeCharts (R := R) x (Prod.fst : F × E → F)) : |
| 49 | ∃ f : F × (E × E) → AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints (A ⊗[R] A), |
| 50 | (∀ z ∈ C.pairDomain, ∀ a b, |
| 51 | f z (a ⊗ₜ[R] b) = C.total.symm (z.1, z.2.1) a * |
| 52 | C.total.symm (z.1, z.2.2) b) ∧ |
| 53 | ∀ t : A ⊗[R] A, ContDiffOn ℂ ω (fun z => f z t) C.pairDomain := by |
| 54 | apply RelativeTensorPoints.Abelian.RelativeCharts.exists_analytic_relativeTensorFamily |
| 55 | (fun z => C.total.symm (z.1, z.2.1)) (fun z => C.total.symm (z.1, z.2.2)) |
| 56 | C.pairDomain C.pair_base_eq |
| 57 | · intro a |
| 58 | exact (C.regularTotal a).comp |
| 59 | (contDiffOn_fst.prodMk contDiffOn_snd.fst) (fun _ hz => hz.1) |
| 60 | · intro a |
| 61 | exact (C.regularTotal a).comp |
| 62 | (contDiffOn_fst.prodMk contDiffOn_snd.snd) (fun _ hz => hz.2) |
| 63 | · exact RelativeTensorPoints.Abelian.RelativeCharts.relativeTensorPoint x x rfl |
| 64 | |
| 65 | /-- In normalized coordinates the genuine section gives a pair throughout |
| 66 | the constructed base neighborhood. -/ |
| 67 | theorem RegularSectionCharts.Abelian.RelativeCharts.SectionNormalizedCharts.section_mem_pairDomain {s : A →ₐ[ℂ] R} |
| 68 | (N : RegularSectionCharts.Abelian.RelativeCharts.SectionNormalizedCharts (E := E) (F := F) x s) |
| 69 | (z : F) (hz : z ∈ N.neighborhood) : (z, (0, 0)) ∈ N.charts.pairDomain := by |
| 70 | have h := N.charts.total.map_source (N.sectionPoint z hz) |
| 71 | rw [N.sectionZero z hz] at h |
| 72 | exact ⟨h, h⟩ |
| 73 | |
| 74 | theorem RegularSectionCharts.Abelian.RelativeCharts.SectionNormalizedCharts.pairPointFamily_center {s : A →ₐ[ℂ] R} |
| 75 | (N : RegularSectionCharts.Abelian.RelativeCharts.SectionNormalizedCharts (E := E) (F := F) x s) |
| 76 | (f : F × (E × E) → AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints (A ⊗[R] A)) |
| 77 | (hf : ∀ z ∈ N.charts.pairDomain, ∀ a b, |
| 78 | f z (a ⊗ₜ[R] b) = N.charts.total.symm (z.1, z.2.1) a * |
| 79 | N.charts.total.symm (z.1, z.2.2) b) : |
| 80 | f (N.charts.base (x.comp (IsScalarTower.toAlgHom ℂ R A)), (0, 0)) = |
| 81 | RelativeTensorPoints.Abelian.RelativeCharts.relativeTensorPoint x x rfl := by |
| 82 | let z₀ := N.charts.base (x.comp (IsScalarTower.toAlgHom ℂ R A)) |
| 83 | have hc : N.charts.total.symm (z₀, 0) = x := by |
| 84 | rw [← N.center_coordinates, N.charts.total.left_inv N.charts.point] |
| 85 | have hz : (z₀, (0, 0)) ∈ N.charts.pairDomain := N.section_mem_pairDomain _ N.center |
| 86 | apply AlgHom.ext |
| 87 | intro t |
| 88 | induction t using TensorProduct.inductionOn with |
| 89 | | tmul a b => |
| 90 | have ht := hf (z₀, (0, 0)) hz a b |
| 91 | change f (z₀, (0, 0)) (a ⊗ₜ[R] b) = _ |
| 92 | simpa only [hc, RelativeTensorPoints.Abelian.RelativeCharts.relativeTensorPoint_tmul] using ht |
| 93 | | add a b ha hb => simp only [map_add, ha, hb] |
| 94 | |
| 95 | /-- An actual algebra-map image of a relative pair varies analytically in |
| 96 | the normalized coordinates, wherever the image belongs to the chart. -/ |
| 97 | theorem RegularSectionCharts.Abelian.RelativeCharts.SectionNormalizedCharts.pairMap_contDiffOn {s : A →ₐ[ℂ] R} |
| 98 | (N : RegularSectionCharts.Abelian.RelativeCharts.SectionNormalizedCharts (E := E) (F := F) x s) |
| 99 | (f : F × (E × E) → AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints (A ⊗[R] A)) |
| 100 | (hf : ∀ t : A ⊗[R] A, ContDiffOn ℂ ω (fun z => f z t) N.charts.pairDomain) |
| 101 | (m : A →ₐ[ℂ] (A ⊗[R] A)) : |
| 102 | ContDiffOn ℂ ω (fun z => N.charts.total ((f z).comp m)) |
| 103 | (N.charts.pairDomain ∩ {z | (f z).comp m ∈ N.charts.total.source}) := |
| 104 | N.forwardTotal _ (fun z => (f z).comp m) N.charts.pairDomain (fun a => hf (m a)) |
| 105 | |
| 106 | /-- For an algebra map defined on a principal neighborhood of the relative |
| 107 | fiber product, construct an actual open coordinate neighborhood where its |
| 108 | point map is analytic. The localization and chart domains are obtained |
| 109 | from regular evaluation, rather than assumed analytic neighborhoods. -/ |
| 110 | theorem RegularSectionCharts.Abelian.RelativeCharts.SectionNormalizedCharts.exists_localized_pairMap {s : A →ₐ[ℂ] R} |
| 111 | (N : RegularSectionCharts.Abelian.RelativeCharts.SectionNormalizedCharts (E := E) (F := F) x s) |
| 112 | (f : F × (E × E) → AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints (A ⊗[R] A)) |
| 113 | (hf : ∀ t : A ⊗[R] A, ContDiffOn ℂ ω (fun z => f z t) N.charts.pairDomain) |
| 114 | (z₀ : F × (E × E)) (hz₀ : z₀ ∈ N.charts.pairDomain) |
| 115 | (g : A ⊗[R] A) (hg : f z₀ g ≠ 0) |
| 116 | (m : A →ₐ[ℂ] Localization.Away g) |
| 117 | (hm : (AlgebraicGeometry.Foundations.Scheme.LocalizationComplexPoints.Algebraic.localizePoint (f z₀) g hg).comp m ∈ N.charts.total.source) : |
| 118 | ∃ (W : Set (F × (E × E))) |
| 119 | (fg : F × (E × E) → AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints (Localization.Away g)), |
| 120 | IsOpen W ∧ z₀ ∈ W ∧ W ⊆ N.charts.pairDomain ∧ |
| 121 | (∀ z ∈ W, AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints.localizationRestriction g (fg z) = f z) ∧ |
| 122 | (∀ z ∈ W, (fg z).comp m ∈ N.charts.total.source) ∧ |
| 123 | ContDiffOn ℂ ω (fun z => N.charts.total ((fg z).comp m)) W := by |
| 124 | let V := N.charts.pairDomain ∩ {z | f z g ≠ 0} |
| 125 | have hV : IsOpen V := |
| 126 | (hf g).continuousOn.isOpen_inter_preimage N.charts.pairDomain_isOpen isOpen_ne |
| 127 | have hzV : z₀ ∈ V := ⟨hz₀, hg⟩ |
| 128 | let p₀ := AlgebraicGeometry.Foundations.Scheme.LocalizationComplexPoints.Algebraic.localizePoint (f z₀) g hg |
| 129 | obtain ⟨fg, hfg, hreg⟩ := RelativeTensorPoints.Abelian.RelativeCharts.exists_analytic_localizedFamily g f N.charts.pairDomain hf p₀ |
| 130 | have hfg₀ : fg z₀ = p₀ := by |
| 131 | apply (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints.isOpenEmbedding_localizationRestriction g).injective |
| 132 | rw [hfg z₀ hzV] |
| 133 | exact (AlgebraicGeometry.Foundations.Scheme.LocalizationComplexPoints.Algebraic.localizePoint_comp (f z₀) g hg).symm |
| 134 | let q : F × (E × E) → AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A := fun z => (fg z).comp m |
| 135 | have hq : ContinuousOn q V := |
| 136 | RegularRelativeCharts.Abelian.RelativeCharts.continuousOn_affinePoints_of_evaluations q V (fun a => (hreg (m a)).continuousOn) |
| 137 | let W := V ∩ q ⁻¹' N.charts.total.source |
| 138 | have hW : IsOpen W := hq.isOpen_inter_preimage hV N.charts.total.open_source |
| 139 | have hzW : z₀ ∈ W := by |
| 140 | refine ⟨hzV, ?_⟩ |
| 141 | change (fg z₀).comp m ∈ N.charts.total.source |
| 142 | rw [hfg₀] |
| 143 | exact hm |
| 144 | exact ⟨W, fg, hW, hzW, fun _ hz => hz.1.1, |
| 145 | fun z hz => hfg z hz.1, fun _ hz => hz.2, |
| 146 | N.forwardTotal _ q V (fun a => hreg (m a))⟩ |
| 147 | |
| 148 | end |
| 149 | |
| 150 | end OAI.ArithmeticGeometry.Descent.CMVariety |