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.RelativeGenericSmooth |
| 2 | import OAI.ArithmeticGeometry.Descent.CMVariety.AbelianCoefficientComparison |
| 3 | import Mathlib.Algebra.CharP.Algebra |
| 4 | |
| 5 | /-! # Smooth Coefficient Parameter -/ |
| 6 | |
| 7 | namespace OAI.ArithmeticGeometry.Descent.CMVariety.SmoothCoefficientParameter.Abelian |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | An actual finite coefficient extension inside the complex numbers has a |
| 13 | smooth open neighborhood over its original characteristic-zero parameter. |
| 14 | The evaluation point factors through that neighborhood. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | |
| 19 | theorem affine_functionField_charZero |
| 20 | (R : Type) [CommRing R] [IsDomain R] [CharZero R] : |
| 21 | CharZero (Spec (CommRingCat.of R)).functionField := by |
| 22 | let X := Spec (CommRingCat.of R) |
| 23 | let : Nonempty (⊤ : X.Opens) := ⟨⟨genericPoint X, trivial⟩⟩ |
| 24 | let ι : R →+* X.functionField := |
| 25 | (X.germToFunctionField ⊤).hom.comp (Scheme.ΓSpecIso (CommRingCat.of R)).inv.hom |
| 26 | have hι : Function.Injective ι := |
| 27 | (X.germToFunctionField_injective ⊤).comp |
| 28 | (ConcreteCategory.bijective_of_isIso (Scheme.ΓSpecIso (CommRingCat.of R)).inv).1 |
| 29 | exact (RingHom.charZero_iff hι).mp inferInstance |
| 30 | |
| 31 | theorem spec_map_genericPoint_of_injective |
| 32 | {R T : Type} [CommRing R] [CommRing T] [IsDomain R] [IsDomain T] |
| 33 | (φ : R →+* T) (hφ : Function.Injective φ) : |
| 34 | (Spec.map (CommRingCat.ofHom φ)) (genericPoint (Spec (CommRingCat.of T))) = |
| 35 | genericPoint (Spec (CommRingCat.of R)) := by |
| 36 | rw [genericPoint_eq_bot_of_affine, genericPoint_eq_bot_of_affine] |
| 37 | apply PrimeSpectrum.ext |
| 38 | exact (RingHom.injective_iff_ker_eq_bot φ).mp hφ |
| 39 | |
| 40 | theorem complex_spec_map_genericPoint_of_injective |
| 41 | {R : Type} [CommRing R] [IsDomain R] |
| 42 | (φ : R →+* ℂ) (hφ : Function.Injective φ) : |
| 43 | (Spec.map (CommRingCat.ofHom φ)) (IsLocalRing.closedPoint ℂ) = |
| 44 | genericPoint (Spec (CommRingCat.of R)) := by |
| 45 | have h : IsLocalRing.closedPoint ℂ = genericPoint (Spec (CommRingCat.of ℂ)) := |
| 46 | Subsingleton.elim _ _ |
| 47 | rw [h] |
| 48 | exact spec_map_genericPoint_of_injective φ hφ |
| 49 | |
| 50 | theorem affine_extension_has_relative_smooth_neighborhood |
| 51 | (R T : Type) [CommRing R] [CommRing T] [IsDomain R] [IsDomain T] |
| 52 | [CharZero R] [IsNoetherianRing R] [Algebra R T] [Algebra.FiniteType R T] |
| 53 | [Algebra R ℂ] [Algebra T ℂ] [IsScalarTower R T ℂ] |
| 54 | (hR : Function.Injective (algebraMap R ℂ)) |
| 55 | (hT : Function.Injective (algebraMap T ℂ)) : |
| 56 | ∃ U : (Spec (CommRingCat.of T)).Opens, |
| 57 | IsIntegral U ∧ Smooth (U.ι ≫ Spec.map (CommRingCat.ofHom (algebraMap R T))) ∧ |
| 58 | ∃ q : Spec (CommRingCat.of ℂ) ⟶ U, |
| 59 | q ≫ U.ι = Spec.map (CommRingCat.ofHom (algebraMap T ℂ)) := by |
| 60 | let : Algebra.FinitePresentation R T := Algebra.FinitePresentation.of_finiteType.mp inferInstance |
| 61 | let : LocallyOfFinitePresentation (Spec.map (CommRingCat.ofHom (algebraMap R T))) := |
| 62 | (LocallyOfFinitePresentation.SpecMap_iff _).mpr |
| 63 | (RingHom.finitePresentation_algebraMap.mpr inferInstance) |
| 64 | have hRT : Function.Injective (algebraMap R T) := by |
| 65 | intro x y hxy |
| 66 | apply hR |
| 67 | simpa only [← IsScalarTower.algebraMap_apply R T ℂ] using |
| 68 | congrArg (algebraMap T ℂ) hxy |
| 69 | have hgeneric := spec_map_genericPoint_of_injective (algebraMap R T) hRT |
| 70 | let : CharZero (Spec (CommRingCat.of R)).functionField := |
| 71 | affine_functionField_charZero R |
| 72 | apply RelativeGenericSmooth.Abelian.generic_complex_point_factors_through_relative_smooth_open |
| 73 | (Spec.map (CommRingCat.ofHom (algebraMap R T))) hgeneric |
| 74 | (Spec.map (CommRingCat.ofHom (algebraMap T ℂ))) |
| 75 | exact complex_spec_map_genericPoint_of_injective (algebraMap T ℂ) hT |
| 76 | |
| 77 | theorem finite_coefficient_extension_has_relative_smooth_neighborhood |
| 78 | (R : Type) [CommRing R] [IsDomain R] [CharZero R] [IsNoetherianRing R] |
| 79 | [Algebra R ℂ] (hR : Function.Injective (algebraMap R ℂ)) (s : (Finset ℂ)ᵒᵖ) : |
| 80 | ∃ U : (Spec (CommRingCat.of (FiniteCoefficientDiagram.Abelian.finiteCoefficientAlgebra R ℂ s.unop))).Opens, |
| 81 | IsIntegral U ∧ Smooth (U.ι ≫ FiniteCoefficientDiagram.Abelian.finiteCoefficientBaseMap R ℂ s.unop) ∧ |
| 82 | ∃ q : Spec (CommRingCat.of ℂ) ⟶ U, |
| 83 | q ≫ U.ι = AbelianCoefficientComparison.coefficientInclusion R ℂ s := |
| 84 | affine_extension_has_relative_smooth_neighborhood R (FiniteCoefficientDiagram.Abelian.finiteCoefficientAlgebra R ℂ s.unop) |
| 85 | hR Subtype.val_injective |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.ArithmeticGeometry.Descent.CMVariety.SmoothCoefficientParameter.Abelian |