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.PrincipalOpen |
| 2 | import Mathlib.RingTheory.Spectrum.Prime.Topology |
| 3 | |
| 4 | /-! # Affine Point Spectrum -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry |
| 7 | |
| 8 | /-! |
| 9 | # Affine complex characters and their underlying spectrum points |
| 10 | |
| 11 | An ordinary complex point of an affine algebra determines its prime kernel. |
| 12 | This map is continuous to the Zariski spectrum, and inverse images of scheme |
| 13 | basic opens are precisely the ordinary principal open subsets. The topology on |
| 14 | the source remains the evaluation topology on complex characters. |
| 15 | -/ |
| 16 | |
| 17 | universe u v |
| 18 | |
| 19 | variable {A : Type u} [CommRing A] [Algebra ℂ A] |
| 20 | |
| 21 | /-- The underlying prime-spectrum point of a complex algebra character. -/ |
| 22 | def Foundations.Scheme.AffineComplexPoints.affineComplexPoints.toPrimeSpectrum (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) : PrimeSpectrum A := |
| 23 | ⟨RingHom.ker x.toRingHom, RingHom.ker_isPrime x.toRingHom⟩ |
| 24 | |
| 25 | /-- A complex-algebra character is surjective, so its prime kernel is maximal. -/ |
| 26 | theorem Foundations.Scheme.AffineComplexPoints.affineComplexPoints.toPrimeSpectrum_isMaximal (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) : |
| 27 | (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.toPrimeSpectrum x).asIdeal.IsMaximal := by |
| 28 | change (RingHom.ker x.toRingHom).IsMaximal |
| 29 | apply RingHom.ker_isMaximal_of_surjective x.toRingHom |
| 30 | intro z |
| 31 | refine ⟨algebraMap ℂ A z, ?_⟩ |
| 32 | simp |
| 33 | |
| 34 | /-- The prime kernel is the usual spectrum image of the unique point of `Spec ℂ`. -/ |
| 35 | theorem Foundations.Scheme.AffineComplexPoints.affineComplexPoints.toPrimeSpectrum_eq_comap_bot (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) : |
| 36 | Foundations.Scheme.AffineComplexPoints.affineComplexPoints.toPrimeSpectrum x = PrimeSpectrum.comap x.toRingHom |
| 37 | (⟨⊥, by infer_instance⟩ : PrimeSpectrum ℂ) := rfl |
| 38 | |
| 39 | /-- Scheme basic opens pull back to nonvanishing loci in the ordinary point topology. -/ |
| 40 | @[simp] |
| 41 | theorem Foundations.Scheme.AffineComplexPoints.affineComplexPoints.toPrimeSpectrum_preimage_basicOpen (a : A) : |
| 42 | Foundations.Scheme.AffineComplexPoints.affineComplexPoints.toPrimeSpectrum ⁻¹' (PrimeSpectrum.basicOpen a : Set (PrimeSpectrum A)) = |
| 43 | Foundations.Scheme.AffineComplexPoints.affineComplexPoints.principalOpen a := by |
| 44 | ext x |
| 45 | change (a ∉ RingHom.ker x.toRingHom) ↔ x.toRingHom a ≠ 0 |
| 46 | exact not_congr (RingHom.mem_ker (f := x.toRingHom) (r := a)) |
| 47 | |
| 48 | /-- Scheme closed loci pull back to the same equations on complex characters. -/ |
| 49 | @[simp] |
| 50 | theorem Foundations.Scheme.AffineComplexPoints.affineComplexPoints.toPrimeSpectrum_preimage_zeroLocus (S : Set A) : |
| 51 | Foundations.Scheme.AffineComplexPoints.affineComplexPoints.toPrimeSpectrum ⁻¹' PrimeSpectrum.zeroLocus S = |
| 52 | {x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A | ∀ a ∈ S, x a = 0} := by |
| 53 | ext x |
| 54 | change (S ⊆ (RingHom.ker x.toRingHom : Set A)) ↔ ∀ a ∈ S, x a = 0 |
| 55 | constructor |
| 56 | · intro hx a ha |
| 57 | exact hx ha |
| 58 | · intro hx a ha |
| 59 | exact hx a ha |
| 60 | |
| 61 | /-- The map from ordinary affine complex points to the Zariski spectrum is continuous. -/ |
| 62 | @[continuity, fun_prop] |
| 63 | theorem Foundations.Scheme.AffineComplexPoints.affineComplexPoints.continuous_toPrimeSpectrum : |
| 64 | Continuous (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.toPrimeSpectrum (A := A)) := by |
| 65 | rw [continuous_iff_isClosed] |
| 66 | intro S hS |
| 67 | obtain ⟨I, rfl⟩ := (PrimeSpectrum.isClosed_iff_zeroLocus S).mp hS |
| 68 | rw [Foundations.Scheme.AffineComplexPoints.affineComplexPoints.toPrimeSpectrum_preimage_zeroLocus] |
| 69 | exact Foundations.Scheme.AffineComplexPoints.affineComplexPoints.isClosed_commonZeroSet I |
| 70 | |
| 71 | /-- Underlying spectrum points commute with pullback of complex characters. -/ |
| 72 | @[simp] |
| 73 | theorem Foundations.Scheme.AffineComplexPoints.affineComplexPoints.toPrimeSpectrum_comap {B : Type v} [CommRing B] [Algebra ℂ B] |
| 74 | (f : A →ₐ[ℂ] B) (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) : |
| 75 | Foundations.Scheme.AffineComplexPoints.affineComplexPoints.toPrimeSpectrum (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap f x) = PrimeSpectrum.comap f.toRingHom (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.toPrimeSpectrum x) := by |
| 76 | ext a |
| 77 | rfl |
| 78 | |
| 79 | end OAI.AlgebraicGeometry |