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.Resolution.Blowups.Etale.LocalCoordinates |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Etale.FiniteNeighborhood |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.TransformedCoordinateHypersurface |
| 4 | import Mathlib.RingTheory.Nullstellensatz |
| 5 | |
| 6 | /-! # Local Truncation -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Etale.LocalTruncation.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! Identical rational residue neighborhoods for étale coordinate algebras. -/ |
| 15 | |
| 16 | variable {K S : Type*} [Field K] [IsAlgClosed K] [CommRing S] |
| 17 | |
| 18 | /-- The residue field of a closed point of a finite type algebra over |
| 19 | an algebraically closed field is exactly the coefficient field. -/ |
| 20 | theorem finiteType_closed_residueField_bijective [Algebra K S] [Algebra.FiniteType K S] |
| 21 | (q : Ideal S) [q.IsMaximal] : Function.Bijective (algebraMap K q.ResidueField) := by |
| 22 | let : Algebra.FiniteType K q.ResidueField := Algebra.FiniteType.trans |
| 23 | (R := K) (S := S) (A := q.ResidueField) inferInstance inferInstance |
| 24 | let : Module.Finite K q.ResidueField := finite_of_finite_type_of_isJacobsonRing K q.ResidueField |
| 25 | exact IsAlgClosed.algebraMap_bijective_of_isIntegral |
| 26 | |
| 27 | variable {σ : Type*} [Finite σ] |
| 28 | [Algebra (MvPolynomial σ K) S] [Algebra.Etale (MvPolynomial σ K) S] |
| 29 | |
| 30 | /-- At a closed point over a rational polynomial point, the induced map |
| 31 | of first residue quotients is bijective. -/ |
| 32 | theorem etale_local_residue_quotient_bijective (x : σ → K) (q : Ideal S) [q.IsMaximal] |
| 33 | [q.LiesOver (PolynomialTranslation.Construction.polynomialPointIdeal x)] : |
| 34 | Function.Bijective (algebraMap (MvPolynomial σ K ⧸ PolynomialTranslation.Construction.polynomialPointIdeal x) |
| 35 | (Localization.AtPrime q ⧸ (PolynomialTranslation.Construction.polynomialPointIdeal x).map |
| 36 | (algebraMap (MvPolynomial σ K) (Localization.AtPrime q)))) := by |
| 37 | let A := MvPolynomial σ K |
| 38 | let T := Localization.AtPrime q |
| 39 | let p := PolynomialTranslation.Construction.polynomialPointIdeal x |
| 40 | let : Algebra K S := ((algebraMap A S).comp MvPolynomial.C).toAlgebra |
| 41 | let : IsScalarTower K A S := IsScalarTower.of_algebraMap_eq' rfl |
| 42 | let : Algebra.FiniteType K S := Algebra.FiniteType.trans |
| 43 | (R := K) (S := A) (A := S) inferInstance inferInstance |
| 44 | let : p.IsMaximal := RingHom.ker_isMaximal_of_surjective (MvPolynomial.eval x) |
| 45 | (fun r => ⟨MvPolynomial.C r, MvPolynomial.eval_C r⟩) |
| 46 | let : Field (A ⧸ p) := Ideal.Quotient.field p |
| 47 | have hM : p.map (algebraMap A T) = IsLocalRing.maximalIdeal T := |
| 48 | LocalCoordinates.Construction.etale_local_maximalIdeal_eq_map_point x q |
| 49 | let : (p.map (algebraMap A T)).IsMaximal := hM.symm ▸ IsLocalRing.maximalIdeal.isMaximal T |
| 50 | let : IsScalarTower K (A ⧸ p) (T ⧸ p.map (algebraMap A T)) := Smooth.TransformedCoordinateHypersurface.Construction.extendedQuotient_scalarTower p |
| 51 | have hK : Function.Surjective (algebraMap K (T ⧸ p.map (algebraMap A T))) := by |
| 52 | rw [hM] |
| 53 | exact (finiteType_closed_residueField_bijective (K := K) q).2 |
| 54 | constructor |
| 55 | · exact RingHom.injective _ |
| 56 | · rw [IsScalarTower.algebraMap_eq K (A ⧸ p) (T ⧸ p.map (algebraMap A T))] at hK |
| 57 | intro y |
| 58 | obtain ⟨r, hr⟩ := hK y |
| 59 | exact ⟨algebraMap K (A ⧸ p) r, hr⟩ |
| 60 | |
| 61 | end |
| 62 | |
| 63 | /-! Canonical finite Taylor neighborhoods of étale local coordinate rings. -/ |
| 64 | |
| 65 | variable {σ K S : Type*} [Field K] [IsAlgClosed K] [CommRing S] [Finite σ] |
| 66 | [Algebra (MvPolynomial σ K) S] [Algebra.Etale (MvPolynomial σ K) S] |
| 67 | |
| 68 | theorem etale_local_truncation_bijective (x : σ → K) (q : Ideal S) [q.IsMaximal] |
| 69 | [q.LiesOver (PolynomialTranslation.Construction.polynomialPointIdeal x)] (n : ℕ) (hn : n ≠ 0) : |
| 70 | Function.Bijective (algebraMap (MvPolynomial σ K ⧸ PolynomialTranslation.Construction.polynomialPointIdeal x ^ n) |
| 71 | (Localization.AtPrime q ⧸ (PolynomialTranslation.Construction.polynomialPointIdeal x ^ n).map |
| 72 | (algebraMap (MvPolynomial σ K) (Localization.AtPrime q)))) := by |
| 73 | let : Algebra.FormallyEtale S (Localization.AtPrime q) := |
| 74 | Algebra.FormallyEtale.of_isLocalization q.primeCompl |
| 75 | let : Algebra.FormallyEtale (MvPolynomial σ K) (Localization.AtPrime q) := |
| 76 | Algebra.FormallyEtale.comp (MvPolynomial σ K) S (Localization.AtPrime q) |
| 77 | exact FiniteNeighborhood.Construction.formallyEtale_bijective_on_finite_neighborhood (PolynomialTranslation.Construction.polynomialPointIdeal x) |
| 78 | (etale_local_residue_quotient_bijective x q) n hn |
| 79 | |
| 80 | /-- The actual local ring and the polynomial coordinate ring have canonically |
| 81 | isomorphic quotients by every positive power of their point ideals. -/ |
| 82 | def etaleLocalTruncationEquiv (x : σ → K) (q : Ideal S) [q.IsMaximal] |
| 83 | [q.LiesOver (PolynomialTranslation.Construction.polynomialPointIdeal x)] (n : ℕ) (hn : n ≠ 0) : |
| 84 | (MvPolynomial σ K ⧸ PolynomialTranslation.Construction.polynomialPointIdeal x ^ n) ≃+* |
| 85 | (Localization.AtPrime q ⧸ IsLocalRing.maximalIdeal (Localization.AtPrime q) ^ n) := |
| 86 | (RingEquiv.ofBijective _ (etale_local_truncation_bijective x q n hn)).trans |
| 87 | (Ideal.quotEquivOfEq (by rw [Ideal.map_pow, LocalCoordinates.Construction.etale_local_maximalIdeal_eq_map_point x q])) |
| 88 | |
| 89 | theorem etaleLocalTruncationEquiv_mk (x : σ → K) (q : Ideal S) [q.IsMaximal] |
| 90 | [q.LiesOver (PolynomialTranslation.Construction.polynomialPointIdeal x)] (n : ℕ) (hn : n ≠ 0) (p : MvPolynomial σ K) : |
| 91 | etaleLocalTruncationEquiv x q n hn (Ideal.Quotient.mk (PolynomialTranslation.Construction.polynomialPointIdeal x ^ n) p) = |
| 92 | Ideal.Quotient.mk (IsLocalRing.maximalIdeal (Localization.AtPrime q) ^ n) |
| 93 | (algebraMap (MvPolynomial σ K) (Localization.AtPrime q) p) := rfl |
| 94 | |
| 95 | /-- Polynomial order is reflected exactly by the local coordinate map. -/ |
| 96 | theorem etale_local_polynomial_mem_pow_iff (x : σ → K) (q : Ideal S) [q.IsMaximal] |
| 97 | [q.LiesOver (PolynomialTranslation.Construction.polynomialPointIdeal x)] (n : ℕ) (hn : n ≠ 0) (p : MvPolynomial σ K) : |
| 98 | algebraMap (MvPolynomial σ K) (Localization.AtPrime q) p ∈ |
| 99 | IsLocalRing.maximalIdeal (Localization.AtPrime q) ^ n ↔ p ∈ PolynomialTranslation.Construction.polynomialPointIdeal x ^ n := by |
| 100 | constructor |
| 101 | · intro h |
| 102 | apply Ideal.Quotient.eq_zero_iff_mem.mp |
| 103 | apply (etaleLocalTruncationEquiv x q n hn).injective |
| 104 | rw [map_zero, etaleLocalTruncationEquiv_mk] |
| 105 | exact Ideal.Quotient.eq_zero_iff_mem.mpr h |
| 106 | · intro h |
| 107 | apply Ideal.Quotient.eq_zero_iff_mem.mp |
| 108 | rw [← etaleLocalTruncationEquiv_mk x q n hn p, |
| 109 | Ideal.Quotient.eq_zero_iff_mem.mpr h, map_zero] |
| 110 | |
| 111 | /-- Every local section admits a polynomial representative to any prescribed |
| 112 | finite order. This applies to sections that do not come from the polynomial base. -/ |
| 113 | theorem etale_local_exists_polynomial_approximation (x : σ → K) (q : Ideal S) [q.IsMaximal] |
| 114 | [q.LiesOver (PolynomialTranslation.Construction.polynomialPointIdeal x)] (n : ℕ) (hn : n ≠ 0) (s : Localization.AtPrime q) : |
| 115 | ∃ p : MvPolynomial σ K, |
| 116 | s - algebraMap (MvPolynomial σ K) (Localization.AtPrime q) p ∈ |
| 117 | IsLocalRing.maximalIdeal (Localization.AtPrime q) ^ n := by |
| 118 | obtain ⟨p, hp⟩ := (etaleLocalTruncationEquiv x q n hn).surjective |
| 119 | (Ideal.Quotient.mk (IsLocalRing.maximalIdeal (Localization.AtPrime q) ^ n) s) |
| 120 | obtain ⟨p, rfl⟩ := Ideal.Quotient.mk_surjective p |
| 121 | rw [etaleLocalTruncationEquiv_mk] at hp |
| 122 | refine ⟨p, ?_⟩ |
| 123 | apply Ideal.Quotient.eq_zero_iff_mem.mp |
| 124 | rw [map_sub, hp, sub_self] |
| 125 | |
| 126 | end |
| 127 | |
| 128 | end OAI.AlgebraicGeometry.Resolution.Blowups.Etale.LocalTruncation.Construction |