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.RegularRelativeCharts |
| 2 | import OAI.ArithmeticGeometry.Descent.CMVariety.RelativePointOpenness |
| 3 | import OAI.ArithmeticGeometry.Descent.CMVariety.SectionCoordinates |
| 4 | |
| 5 | /-! # Regular Section Charts -/ |
| 6 | |
| 7 | namespace OAI.ArithmeticGeometry.Descent.CMVariety |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | Normalize a genuine algebraic section in actual smooth relative charts. |
| 13 | The neighborhood is obtained from continuity; analyticity of the section |
| 14 | coordinates follows from its algebra homomorphism and the regular chart |
| 15 | formulas. Inverse-chart evaluation of regular functions remains analytic. |
| 16 | -/ |
| 17 | |
| 18 | open Set |
| 19 | open scoped Classical ContDiff |
| 20 | |
| 21 | variable {R A : Type} [CommRing R] [Algebra ℂ R] |
| 22 | [CommRing A] [Algebra ℂ A] [Algebra R A] [IsScalarTower ℂ R A] |
| 23 | |
| 24 | /-- A constructed neighborhood and relative chart in which the actual |
| 25 | algebraic section has zero fiber coordinate. -/ |
| 26 | structure RegularSectionCharts.Abelian.RelativeCharts.SectionNormalizedCharts |
| 27 | {E F : Type} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 28 | [NormedAddCommGroup F] [NormedSpace ℂ F] |
| 29 | (x : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (s : A →ₐ[ℂ] R) where |
| 30 | charts : SmoothRelativeNeighborhoods.Abelian.RelativeCharts.CompatibleRelativeCharts (R := R) x (Prod.fst : F × E → F) |
| 31 | onSection : (x.comp (IsScalarTower.toAlgHom ℂ R A)).comp s = x |
| 32 | neighborhood : Set F |
| 33 | isOpen : IsOpen neighborhood |
| 34 | center : charts.base (x.comp (IsScalarTower.toAlgHom ℂ R A)) ∈ neighborhood |
| 35 | withinBase : neighborhood ⊆ charts.base.target |
| 36 | sectionPoint : ∀ z ∈ neighborhood, |
| 37 | (charts.base.symm z).comp s ∈ charts.total.source |
| 38 | sectionZero : ∀ z ∈ neighborhood, |
| 39 | charts.total ((charts.base.symm z).comp s) = (z, 0) |
| 40 | forwardTotal : RegularRelativeCharts.Abelian.RelativeCharts.HasAnalyticCoordinates charts.total |
| 41 | |
| 42 | theorem SmoothRelativeNeighborhoods.Abelian.RelativeCharts.CompatibleRelativeCharts.normalizeSection |
| 43 | {E F : Type} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 44 | [NormedAddCommGroup F] [NormedSpace ℂ F] |
| 45 | {x : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A} |
| 46 | (C : SmoothRelativeNeighborhoods.Abelian.RelativeCharts.CompatibleRelativeCharts (R := R) x (Prod.fst : F × E → F)) |
| 47 | (s : A →ₐ[ℂ] R) |
| 48 | (hs : s.comp (IsScalarTower.toAlgHom ℂ R A) = AlgHom.id ℂ R) |
| 49 | (hx : (x.comp (IsScalarTower.toAlgHom ℂ R A)).comp s = x) |
| 50 | (hforward : RegularRelativeCharts.Abelian.RelativeCharts.HasAnalyticCoordinates C.total) |
| 51 | (hcoord : ContDiffOn ℂ ω (fun z => C.total ((C.base.symm z).comp s)) |
| 52 | (C.base.target ∩ {z | (C.base.symm z).comp s ∈ C.total.source})) : |
| 53 | Nonempty (RegularSectionCharts.Abelian.RelativeCharts.SectionNormalizedCharts (E := E) (F := F) x s) := by |
| 54 | let f : F → AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A := fun z => (C.base.symm z).comp s |
| 55 | let U := C.base.target ∩ f ⁻¹' C.total.source |
| 56 | have hf : ContinuousOn f C.base.target := |
| 57 | (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap s).continuous.continuousOn.comp |
| 58 | C.base.symm.continuousOn (mapsTo_univ _ _) |
| 59 | have hU : IsOpen U := hf.isOpen_inter_preimage C.base.open_target C.total.open_source |
| 60 | have hbase (z : F) (hz : z ∈ U) : (C.total (f z)).1 = z := by |
| 61 | have hp := C.projection (C.total (f z)) (C.total.map_source hz.2) |
| 62 | rw [C.total.left_inv hz.2] at hp |
| 63 | have hs' : (f z).comp (IsScalarTower.toAlgHom ℂ R A) = C.base.symm z := by |
| 64 | change ((C.base.symm z).comp s).comp (IsScalarTower.toAlgHom ℂ R A) = _ |
| 65 | rw [AlgHom.comp_assoc, hs, AlgHom.comp_id] |
| 66 | rw [hs', C.base.right_inv hz.1] at hp |
| 67 | exact hp.symm |
| 68 | let h : F → E := fun z => (C.total (f z)).2 |
| 69 | have hh : ContDiffOn ℂ ω h U := hcoord.snd |
| 70 | let shift := SectionCoordinates.Abelian.sectionShift U hU h hh.continuousOn |
| 71 | let en := C.total.trans shift |
| 72 | have hsection (z : F) (hz : z ∈ U) : |
| 73 | f z ∈ en.source ∧ en (f z) = (z, 0) := by |
| 74 | constructor |
| 75 | · refine ⟨hz.2, ?_⟩ |
| 76 | change (C.total (f z)).1 ∈ U ∧ (C.total (f z)).2 ∈ (univ : Set E) |
| 77 | exact ⟨(hbase z hz).symm ▸ hz, mem_univ _⟩ |
| 78 | · change ((C.total (f z)).1, |
| 79 | (C.total (f z)).2 - (C.total (f ((C.total (f z)).1))).2) = (z, 0) |
| 80 | rw [hbase z hz, sub_self] |
| 81 | let z₀ := C.base (x.comp (IsScalarTower.toAlgHom ℂ R A)) |
| 82 | have hf₀ : f z₀ = x := by |
| 83 | change (C.base.symm (C.base (x.comp (IsScalarTower.toAlgHom ℂ R A)))).comp s = x |
| 84 | rw [C.base.left_inv C.basePoint] |
| 85 | exact hx |
| 86 | have hz₀ : z₀ ∈ U := |
| 87 | ⟨C.base.map_source C.basePoint, |
| 88 | (congrArg (fun y => y ∈ C.total.source) hf₀).mpr C.point⟩ |
| 89 | have hshift := (SectionCoordinates.Abelian.sectionShift_contDiffOn U hU h hh).2 |
| 90 | let Cn : SmoothRelativeNeighborhoods.Abelian.RelativeCharts.CompatibleRelativeCharts (R := R) x (Prod.fst : F × E → F) := { |
| 91 | base := C.base |
| 92 | total := en |
| 93 | basePoint := C.basePoint |
| 94 | point := (congrArg (fun y => y ∈ en.source) hf₀).mp (hsection z₀ hz₀).1 |
| 95 | mapsTo := fun z hz => C.mapsTo (shift.symm z) hz.2 |
| 96 | projection := fun z hz => C.projection (shift.symm z) hz.2 |
| 97 | regularTotal := fun a => (C.regularTotal a).comp |
| 98 | (hshift.mono (fun _ hz => hz.1)) (fun _ hz => hz.2) |
| 99 | regularBase := C.regularBase } |
| 100 | exact ⟨{ |
| 101 | charts := Cn |
| 102 | onSection := hx |
| 103 | neighborhood := U |
| 104 | isOpen := hU |
| 105 | center := hz₀ |
| 106 | withinBase := inter_subset_left |
| 107 | sectionPoint := fun z hz => (hsection z hz).1 |
| 108 | sectionZero := fun z hz => (hsection z hz).2 |
| 109 | forwardTotal := hforward.trans shift (SectionCoordinates.Abelian.sectionShift_contDiffOn U hU h hh).1 }⟩ |
| 110 | |
| 111 | theorem RegularSectionCharts.Abelian.RelativeCharts.SectionNormalizedCharts.center_coordinates |
| 112 | {E F : Type} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 113 | [NormedAddCommGroup F] [NormedSpace ℂ F] |
| 114 | {x : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A} {s : A →ₐ[ℂ] R} |
| 115 | (N : RegularSectionCharts.Abelian.RelativeCharts.SectionNormalizedCharts (E := E) (F := F) x s) : |
| 116 | N.charts.total x = |
| 117 | (N.charts.base (x.comp (IsScalarTower.toAlgHom ℂ R A)), 0) := by |
| 118 | have h := N.sectionZero _ N.center |
| 119 | rw [N.charts.base.left_inv N.charts.basePoint, N.onSection] at h |
| 120 | exact h |
| 121 | |
| 122 | /-- An actual smooth relative algebra with an actual algebraic section |
| 123 | has local analytic product charts that send that section to zero. All |
| 124 | chart and section-regularity data are constructed from the algebra maps. -/ |
| 125 | theorem RegularSectionCharts.Abelian.RelativeCharts.exists_smooth_relative_section_charts |
| 126 | {I Sigma : Type} [Fintype I] [Fintype Sigma] |
| 127 | (P : Algebra.SubmersivePresentation ℂ R I Sigma) |
| 128 | [Algebra.Smooth R A] (x : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (s : A →ₐ[ℂ] R) |
| 129 | (hs : s.comp (IsScalarTower.toAlgHom ℂ R A) = AlgHom.id ℂ R) |
| 130 | (hx : (x.comp (IsScalarTower.toAlgHom ℂ R A)).comp s = x) : |
| 131 | ∃ D : SmoothRelativeNeighborhoods.Abelian.RelativeCharts.RelativePresentationAt (R := R) x, |
| 132 | Nonempty (RegularSectionCharts.Abelian.RelativeCharts.SectionNormalizedCharts |
| 133 | (E := AlgebraicGeometry.ComplexPoints.Analytic.JacobianRegularity.FreeCoordinates D.presentation.map → ℂ) |
| 134 | (F := AlgebraicGeometry.ComplexPoints.Analytic.JacobianRegularity.FreeCoordinates P.map → ℂ) x s) := by |
| 135 | obtain ⟨D, C, _, ht⟩ := RegularRelativeCharts.Abelian.RelativeCharts.exists_smooth_relative_regular_charts P x |
| 136 | let e := ComposedSmoothCharts.Abelian.RelativeCharts.productCoordinates P D.presentation |
| 137 | have he : (ComposedSmoothCharts.Abelian.RelativeCharts.baseProjection P D.presentation : _ → _) ∘ e.symm = Prod.fst := by |
| 138 | funext z |
| 139 | rw [Function.comp_apply, ← ComposedSmoothCharts.Abelian.RelativeCharts.productCoordinates_fst] |
| 140 | exact congrArg Prod.fst (e.apply_symm_apply z) |
| 141 | let Cp : SmoothRelativeNeighborhoods.Abelian.RelativeCharts.CompatibleRelativeCharts (R := R) x |
| 142 | (Prod.fst : (AlgebraicGeometry.ComplexPoints.Analytic.JacobianRegularity.FreeCoordinates P.map → ℂ) × |
| 143 | (AlgebraicGeometry.ComplexPoints.Analytic.JacobianRegularity.FreeCoordinates D.presentation.map → ℂ) → (AlgebraicGeometry.ComplexPoints.Analytic.JacobianRegularity.FreeCoordinates P.map → ℂ)) := |
| 144 | he ▸ C.changeCoordinates e |
| 145 | have hcoord : ContDiffOn ℂ ω (fun z => Cp.total ((Cp.base.symm z).comp s)) |
| 146 | (Cp.base.target ∩ {z | (Cp.base.symm z).comp s ∈ Cp.total.source}) := by |
| 147 | have h := ht.comap_contDiffOn s C.base C.regularBase |
| 148 | exact e.contDiff.comp_contDiffOn h |
| 149 | have hforward : RegularRelativeCharts.Abelian.RelativeCharts.HasAnalyticCoordinates Cp.total := |
| 150 | ht.hasAnalyticCoordinates.transHomeomorph e |
| 151 | exact ⟨D, Cp.normalizeSection s hs hx hforward hcoord⟩ |
| 152 | |
| 153 | end |
| 154 | |
| 155 | end OAI.ArithmeticGeometry.Descent.CMVariety |