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.ChartDensity |
| 2 | import OAI.ArithmeticGeometry.Descent.CMVariety.RationalEtaleCharts |
| 3 | |
| 4 | /-! # Smooth Density -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.Descent.CMVariety |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual number-field points are dense in the native complex points of |
| 11 | every smooth rational scheme. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | theorem ChartDensity.Abelian.IsNumberFieldPoint.comp {X Y : Scheme} {p : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase ⟶ X} |
| 16 | (hp : ChartDensity.Abelian.IsNumberFieldPoint p) (f : X ⟶ Y) : ChartDensity.Abelian.IsNumberFieldPoint (p ≫ f) := by |
| 17 | obtain ⟨K, hK, pK, h⟩ := hp |
| 18 | exact ⟨K, hK, pK ≫ f, (Category.assoc _ _ _).symm.trans |
| 19 | (congrArg (fun q : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase ⟶ X => q ≫ f) h)⟩ |
| 20 | |
| 21 | theorem SmoothDensity.Abelian.arithmeticComplexPoint_of_projection {X : Scheme} |
| 22 | (f : X ⟶ Spec (CommRingCat.of ℚ)) |
| 23 | (s : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (ComplexParameter.Abelian.arithmeticComplexBase f)) : |
| 24 | ComplexParameter.Abelian.arithmeticComplexPoint f (ChartDensity.Abelian.arithmeticPointProjection f s) = s := by |
| 25 | apply Over.OverMorphism.ext |
| 26 | apply pullback.hom_ext |
| 27 | · exact ComplexParameter.Abelian.arithmeticComplexPoint_projection f (ChartDensity.Abelian.arithmeticPointProjection f s) |
| 28 | · exact (ComplexParameter.Abelian.arithmeticComplexPoint f (ChartDensity.Abelian.arithmeticPointProjection f s)).w.trans s.w.symm |
| 29 | |
| 30 | theorem SmoothDensity.Abelian.arithmeticPointProjection_map {X Y : Scheme} |
| 31 | (fX : X ⟶ Spec (CommRingCat.of ℚ)) (fY : Y ⟶ Spec (CommRingCat.of ℚ)) |
| 32 | (u : X ⟶ Y) (hu : u ≫ fY = fX) |
| 33 | (s : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (ComplexParameter.Abelian.arithmeticComplexBase fX)) : |
| 34 | ChartDensity.Abelian.arithmeticPointProjection fY (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (BaseChangeMaps.Abelian.arithmeticBaseChangeMap fX fY u hu) s) = |
| 35 | ChartDensity.Abelian.arithmeticPointProjection fX s ≫ u := by |
| 36 | change (s.left ≫ (BaseChangeMaps.Abelian.arithmeticBaseChangeMap fX fY u hu).left) ≫ _ = (s.left ≫ _) ≫ u |
| 37 | rw [Category.assoc, BaseChangeMaps.Abelian.arithmeticBaseChangeMap_fst, ← Category.assoc] |
| 38 | |
| 39 | theorem SmoothDensity.Abelian.smooth_rational_scheme_numberField_points_dense |
| 40 | {X : Scheme} (f : X ⟶ Spec (CommRingCat.of ℚ)) [Smooth f] : |
| 41 | Dense {s : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (ComplexParameter.Abelian.arithmeticComplexBase f) | |
| 42 | ChartDensity.Abelian.IsNumberFieldPoint (ChartDensity.Abelian.arithmeticPointProjection f s)} := by |
| 43 | apply dense_iff_inter_open.mpr |
| 44 | intro U hU hne |
| 45 | obtain ⟨s, hs⟩ := hne |
| 46 | obtain ⟨Y, q, j, y, n, u, _, hu, hqf, hjq, hyj, huq⟩ := |
| 47 | RationalEtaleCharts.Abelian.smooth_point_has_rational_etale_neighborhood f (ChartDensity.Abelian.arithmeticPointProjection f s) |
| 48 | have : Etale u := hu |
| 49 | have : LocallyQuasiFinite u := hqf |
| 50 | let v := BaseChangeMaps.Abelian.arithmeticBaseChangeMap q f j hjq |
| 51 | let t := ComplexParameter.Abelian.arithmeticComplexPoint q y |
| 52 | have ht : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map v t = s := |
| 53 | (BaseChangeMaps.Abelian.arithmeticBaseChangeMap_point q f j hjq y (ChartDensity.Abelian.arithmeticPointProjection f s) hyj).trans |
| 54 | (SmoothDensity.Abelian.arithmeticComplexPoint_of_projection f s) |
| 55 | have hpre : IsOpen ((AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map v) ⁻¹' U) := |
| 56 | hU.preimage (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.continuous_map v) |
| 57 | have hnonempty : ((AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map v) ⁻¹' U).Nonempty := by |
| 58 | refine ⟨t, ?_⟩ |
| 59 | change AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map v t ∈ U |
| 60 | rwa [ht] |
| 61 | obtain ⟨z, hzU, hz⟩ := (ChartDensity.Abelian.arithmetic_chart_numberField_points_dense q n u huq).inter_open_nonempty |
| 62 | _ hpre hnonempty |
| 63 | refine ⟨AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map v z, hzU, ?_⟩ |
| 64 | change ChartDensity.Abelian.IsNumberFieldPoint (ChartDensity.Abelian.arithmeticPointProjection f (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map v z)) |
| 65 | rw [SmoothDensity.Abelian.arithmeticPointProjection_map] |
| 66 | exact hz.comp j |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.ArithmeticGeometry.Descent.CMVariety |