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.SmoothAffineCharts |
| 2 | |
| 3 | /-! # Composed Smooth Charts -/ |
| 4 | |
| 5 | namespace OAI.ArithmeticGeometry.Descent.CMVariety.ComposedSmoothCharts.Abelian.RelativeCharts |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! |
| 12 | Actual local submersion coordinates for a tower with standard-smooth |
| 13 | algebra presentations. The chart for the composite presentation retains |
| 14 | the free base coordinates, so the actual map on algebra points is a |
| 15 | surjective linear coordinate projection in these charts. |
| 16 | |
| 17 | This constructs the local comparison from the polynomial presentations; |
| 18 | no local analytic trivialization or period comparison is assumed. |
| 19 | -/ |
| 20 | |
| 21 | open OAI.AlgebraicGeometry.ComplexPoints.Analytic.SmoothAffineCharts |
| 22 | open scoped Classical ContDiff |
| 23 | |
| 24 | variable {R A I J Sigma Tau : Type} |
| 25 | [CommRing R] [Algebra ℂ R] [CommRing A] [Algebra ℂ A] |
| 26 | [Algebra R A] [IsScalarTower ℂ R A] |
| 27 | [Fintype I] [Fintype J] [Fintype Sigma] [Fintype Tau] |
| 28 | |
| 29 | def baseFreeIndex (P : Algebra.SubmersivePresentation ℂ R I Sigma) |
| 30 | (Q : Algebra.SubmersivePresentation R A J Tau) : |
| 31 | AlgebraicGeometry.ComplexPoints.Analytic.JacobianRegularity.FreeCoordinates P.map → AlgebraicGeometry.ComplexPoints.Analytic.JacobianRegularity.FreeCoordinates (Q.comp P).map := fun i => |
| 32 | ⟨Sum.inr i.val, by |
| 33 | rintro ⟨j, hj⟩ |
| 34 | rcases j with j | j |
| 35 | · cases hj |
| 36 | · exact i.property ⟨j, Sum.inr.inj hj⟩⟩ |
| 37 | |
| 38 | omit [Fintype I] [Fintype J] in |
| 39 | theorem baseFreeIndex_injective (P : Algebra.SubmersivePresentation ℂ R I Sigma) |
| 40 | (Q : Algebra.SubmersivePresentation R A J Tau) : |
| 41 | Function.Injective (baseFreeIndex P Q) := by |
| 42 | intro i j h |
| 43 | apply Subtype.ext |
| 44 | exact Sum.inr.inj (congrArg Subtype.val h) |
| 45 | |
| 46 | /-- Projection to the base's free coordinates in the composite smooth chart. -/ |
| 47 | def baseProjection (P : Algebra.SubmersivePresentation ℂ R I Sigma) |
| 48 | (Q : Algebra.SubmersivePresentation R A J Tau) : |
| 49 | (AlgebraicGeometry.ComplexPoints.Analytic.JacobianRegularity.FreeCoordinates (Q.comp P).map → ℂ) →L[ℂ] (AlgebraicGeometry.ComplexPoints.Analytic.JacobianRegularity.FreeCoordinates P.map → ℂ) := |
| 50 | ContinuousLinearMap.pi (fun i => ContinuousLinearMap.proj (baseFreeIndex P Q i)) |
| 51 | |
| 52 | omit [Fintype I] [Fintype J] in |
| 53 | theorem baseProjection_surjective (P : Algebra.SubmersivePresentation ℂ R I Sigma) |
| 54 | (Q : Algebra.SubmersivePresentation R A J Tau) : Function.Surjective (baseProjection P Q) := by |
| 55 | intro v |
| 56 | refine ⟨Function.extend (baseFreeIndex P Q) v 0, funext (fun i => ?_)⟩ |
| 57 | exact (baseFreeIndex_injective P Q).extend_apply v 0 i |
| 58 | |
| 59 | /-- Simultaneous actual charts in which the base map is a coordinate |
| 60 | projection. Their inverse charts evaluate every regular function |
| 61 | analytically, and the total chart maps into the base chart. -/ |
| 62 | theorem exists_compatible_smooth_charts_with_coordinates |
| 63 | (P : Algebra.SubmersivePresentation ℂ R I Sigma) |
| 64 | (Q : Algebra.SubmersivePresentation R A J Tau) (x : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) : |
| 65 | ∃ (eR : OpenPartialHomeomorph (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints R) (AlgebraicGeometry.ComplexPoints.Analytic.JacobianRegularity.FreeCoordinates P.map → ℂ)) |
| 66 | (eA : OpenPartialHomeomorph (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (AlgebraicGeometry.ComplexPoints.Analytic.JacobianRegularity.FreeCoordinates (Q.comp P).map → ℂ)), |
| 67 | x.comp (IsScalarTower.toAlgHom ℂ R A) ∈ eR.source ∧ x ∈ eA.source ∧ |
| 68 | (∀ z ∈ eA.target, |
| 69 | (eA.symm z).comp (IsScalarTower.toAlgHom ℂ R A) ∈ eR.source) ∧ |
| 70 | (∀ z ∈ eA.target, |
| 71 | eR ((eA.symm z).comp (IsScalarTower.toAlgHom ℂ R A)) = baseProjection P Q z) ∧ |
| 72 | (∀ a : A, ContDiffOn ℂ ω (fun z => eA.symm z a) eA.target) ∧ |
| 73 | (∀ r : R, ContDiffOn ℂ ω (fun z => eR.symm z r) eR.target) ∧ |
| 74 | (∀ y i, eR y i = y (P.val i.val)) ∧ |
| 75 | (∀ y i, eA y i = y ((Q.comp P).val i.val)) := by |
| 76 | let f := AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap (IsScalarTower.toAlgHom ℂ R A) |
| 77 | obtain ⟨eR, hxR, hR, hiR⟩ := AlgebraicGeometry.ComplexPoints.Analytic.SmoothAffineCharts.exists_standardSmooth_point_chart P (f x) |
| 78 | obtain ⟨e₀, hx₀, h₀, hi₀⟩ := AlgebraicGeometry.ComplexPoints.Analytic.SmoothAffineCharts.exists_standardSmooth_point_chart (Q.comp P) x |
| 79 | let U := f ⁻¹' eR.source |
| 80 | have hU : IsOpen U := eR.open_source.preimage f.continuous |
| 81 | let eA := e₀.restrOpen U hU |
| 82 | have hproj (y : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) : eR (f y) = baseProjection P Q (e₀ y) := by |
| 83 | ext i |
| 84 | rw [hR] |
| 85 | change y (algebraMap R A (P.val i.val)) = e₀ y (baseFreeIndex P Q i) |
| 86 | rw [h₀] |
| 87 | rfl |
| 88 | refine ⟨eR, eA, hxR, ⟨hx₀, hxR⟩, ?_, ?_, ?_, hiR, hR, h₀⟩ |
| 89 | · intro z hz |
| 90 | exact hz.2 |
| 91 | · intro z hz |
| 92 | change eR (f (e₀.symm z)) = baseProjection P Q z |
| 93 | rw [hproj, e₀.right_inv hz.1] |
| 94 | · intro a |
| 95 | exact (hi₀ a).mono (fun _ hz => hz.1) |
| 96 | |
| 97 | /-- The compatible-chart conclusion without the additional forward formulas. -/ |
| 98 | theorem exists_compatible_smooth_charts |
| 99 | (P : Algebra.SubmersivePresentation ℂ R I Sigma) |
| 100 | (Q : Algebra.SubmersivePresentation R A J Tau) (x : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) : |
| 101 | ∃ (eR : OpenPartialHomeomorph (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints R) (AlgebraicGeometry.ComplexPoints.Analytic.JacobianRegularity.FreeCoordinates P.map → ℂ)) |
| 102 | (eA : OpenPartialHomeomorph (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (AlgebraicGeometry.ComplexPoints.Analytic.JacobianRegularity.FreeCoordinates (Q.comp P).map → ℂ)), |
| 103 | x.comp (IsScalarTower.toAlgHom ℂ R A) ∈ eR.source ∧ x ∈ eA.source ∧ |
| 104 | (∀ z ∈ eA.target, |
| 105 | (eA.symm z).comp (IsScalarTower.toAlgHom ℂ R A) ∈ eR.source) ∧ |
| 106 | (∀ z ∈ eA.target, |
| 107 | eR ((eA.symm z).comp (IsScalarTower.toAlgHom ℂ R A)) = baseProjection P Q z) ∧ |
| 108 | (∀ a : A, ContDiffOn ℂ ω (fun z => eA.symm z a) eA.target) ∧ |
| 109 | (∀ r : R, ContDiffOn ℂ ω (fun z => eR.symm z r) eR.target) := by |
| 110 | obtain ⟨eR, eA, hxR, hxA, hs, hp, hiA, hiR, _, _⟩ := |
| 111 | exists_compatible_smooth_charts_with_coordinates P Q x |
| 112 | exact ⟨eR, eA, hxR, hxA, hs, hp, hiA, hiR⟩ |
| 113 | |
| 114 | end |
| 115 | |
| 116 | /-! |
| 117 | Split the actual free coordinates of a composite standard-smooth |
| 118 | presentation into base and fiber coordinates. The resulting chart |
| 119 | intertwines the actual map of algebra points with the first projection. |
| 120 | -/ |
| 121 | |
| 122 | open OAI.AlgebraicGeometry.ComplexPoints.Analytic.SmoothAffineCharts |
| 123 | open scoped Classical ContDiff |
| 124 | |
| 125 | variable {R A I J Sigma Tau : Type} |
| 126 | [CommRing R] [Algebra ℂ R] [CommRing A] [Algebra ℂ A] |
| 127 | [Algebra R A] [IsScalarTower ℂ R A] |
| 128 | [Fintype I] [Fintype J] [Fintype Sigma] [Fintype Tau] |
| 129 | |
| 130 | def freeCoordinateSplit (P : Algebra.SubmersivePresentation ℂ R I Sigma) |
| 131 | (Q : Algebra.SubmersivePresentation R A J Tau) : |
| 132 | AlgebraicGeometry.ComplexPoints.Analytic.JacobianRegularity.FreeCoordinates (Q.comp P).map ≃ AlgebraicGeometry.ComplexPoints.Analytic.JacobianRegularity.FreeCoordinates P.map ⊕ AlgebraicGeometry.ComplexPoints.Analytic.JacobianRegularity.FreeCoordinates Q.map where |
| 133 | toFun w := match w with |
| 134 | | ⟨Sum.inl j, hj⟩ => Sum.inr ⟨j, by |
| 135 | rintro ⟨t, ht⟩ |
| 136 | exact hj ⟨Sum.inl t, congrArg Sum.inl ht⟩⟩ |
| 137 | | ⟨Sum.inr i, hi⟩ => Sum.inl ⟨i, by |
| 138 | rintro ⟨t, ht⟩ |
| 139 | exact hi ⟨Sum.inr t, congrArg Sum.inr ht⟩⟩ |
| 140 | invFun w := match w with |
| 141 | | Sum.inl i => baseFreeIndex P Q i |
| 142 | | Sum.inr j => ⟨Sum.inl j.val, by |
| 143 | rintro ⟨t, ht⟩ |
| 144 | rcases t with t | t |
| 145 | · exact j.property ⟨t, Sum.inl.inj ht⟩ |
| 146 | · cases ht⟩ |
| 147 | left_inv w := by |
| 148 | rcases w with ⟨w, hw⟩ |
| 149 | cases w <;> rfl |
| 150 | right_inv w := by |
| 151 | rcases w with ⟨i, hi⟩ | ⟨j, hj⟩ <;> rfl |
| 152 | |
| 153 | def productCoordinates (P : Algebra.SubmersivePresentation ℂ R I Sigma) |
| 154 | (Q : Algebra.SubmersivePresentation R A J Tau) : |
| 155 | (AlgebraicGeometry.ComplexPoints.Analytic.JacobianRegularity.FreeCoordinates (Q.comp P).map → ℂ) ≃L[ℂ] |
| 156 | ((AlgebraicGeometry.ComplexPoints.Analytic.JacobianRegularity.FreeCoordinates P.map → ℂ) × (AlgebraicGeometry.ComplexPoints.Analytic.JacobianRegularity.FreeCoordinates Q.map → ℂ)) := |
| 157 | ((LinearEquiv.funCongrLeft ℂ ℂ (freeCoordinateSplit P Q).symm).trans |
| 158 | (LinearEquiv.sumArrowLequivProdArrow (AlgebraicGeometry.ComplexPoints.Analytic.JacobianRegularity.FreeCoordinates P.map) (AlgebraicGeometry.ComplexPoints.Analytic.JacobianRegularity.FreeCoordinates Q.map) ℂ ℂ)).toContinuousLinearEquiv |
| 159 | |
| 160 | theorem productCoordinates_fst (P : Algebra.SubmersivePresentation ℂ R I Sigma) |
| 161 | (Q : Algebra.SubmersivePresentation R A J Tau) (z : AlgebraicGeometry.ComplexPoints.Analytic.JacobianRegularity.FreeCoordinates (Q.comp P).map → ℂ) : |
| 162 | (productCoordinates P Q z).1 = baseProjection P Q z := rfl |
| 163 | |
| 164 | /-- The standard-smooth algebra family is locally a first coordinate |
| 165 | projection on an open subset of a product of complex vector spaces. -/ |
| 166 | theorem exists_smooth_product_charts |
| 167 | (P : Algebra.SubmersivePresentation ℂ R I Sigma) |
| 168 | (Q : Algebra.SubmersivePresentation R A J Tau) (x : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) : |
| 169 | ∃ (eR : OpenPartialHomeomorph (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints R) (AlgebraicGeometry.ComplexPoints.Analytic.JacobianRegularity.FreeCoordinates P.map → ℂ)) |
| 170 | (eA : OpenPartialHomeomorph (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) |
| 171 | ((AlgebraicGeometry.ComplexPoints.Analytic.JacobianRegularity.FreeCoordinates P.map → ℂ) × (AlgebraicGeometry.ComplexPoints.Analytic.JacobianRegularity.FreeCoordinates Q.map → ℂ))), |
| 172 | x.comp (IsScalarTower.toAlgHom ℂ R A) ∈ eR.source ∧ x ∈ eA.source ∧ |
| 173 | (∀ z ∈ eA.target, |
| 174 | (eA.symm z).comp (IsScalarTower.toAlgHom ℂ R A) ∈ eR.source) ∧ |
| 175 | (∀ z ∈ eA.target, |
| 176 | eR ((eA.symm z).comp (IsScalarTower.toAlgHom ℂ R A)) = z.1) := by |
| 177 | obtain ⟨eR, e₀, hxR, hx₀, hsource, hproj, _, _⟩ := exists_compatible_smooth_charts P Q x |
| 178 | let e := productCoordinates P Q |
| 179 | refine ⟨eR, e₀.transHomeomorph e.toHomeomorph, hxR, hx₀, ?_, ?_⟩ |
| 180 | · intro z hz |
| 181 | exact hsource (e.symm z) hz |
| 182 | · intro z hz |
| 183 | change eR ((e₀.symm (e.symm z)).comp (IsScalarTower.toAlgHom ℂ R A)) = z.1 |
| 184 | rw [hproj (e.symm z) hz, ← productCoordinates_fst] |
| 185 | exact congrArg Prod.fst (e.apply_symm_apply z) |
| 186 | |
| 187 | end |
| 188 | |
| 189 | end OAI.ArithmeticGeometry.Descent.CMVariety.ComposedSmoothCharts.Abelian.RelativeCharts |