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.Smooth.DifferentialNaturality |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Etale.RelativeOrder |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Etale.PrimeOrderNaturality |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.ClosedWeightedOrder |
| 5 | import Mathlib.RingTheory.Unramified.LocalStructure |
| 6 | |
| 7 | /-! # Closed Point Chart Transport -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.ClosedPointChartTransport.Construction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | section |
| 14 | |
| 15 | /-! Intrinsic differential order at closed points of arbitrary smooth affine algebras. -/ |
| 16 | |
| 17 | variable (k : Type*) {R : Type*} [Field k] [CharZero k] [IsAlgClosed k] [CommRing R] |
| 18 | [Algebra k R] [Algebra.Smooth k R] |
| 19 | |
| 20 | /-- The relative differential criterion holds on the original smooth |
| 21 | affine algebra, without choosing a global polynomial coordinate system. -/ |
| 22 | theorem smooth_closedPoint_order_iff_relative_differentialIdeal (J q : Ideal R) |
| 23 | [q.IsMaximal] (b : ℕ) : |
| 24 | J.map (algebraMap R (Localization.AtPrime q)) ≤ |
| 25 | IsLocalRing.maximalIdeal (Localization.AtPrime q) ^ (b + 1) ↔ |
| 26 | Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J b ≤ q := by |
| 27 | constructor |
| 28 | · intro h |
| 29 | have hpow := (ClosedWeightedOrder.Construction.closedPoint_local_order_iff J q (b + 1)).mp h |
| 30 | have h := (Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal_le_ordinary k J b).trans |
| 31 | (DifferentialIdealTransform.Construction.iteratedDifferentialIdeal_le_pow q J 1 b (by simpa only [Nat.add_comm] using hpow)) |
| 32 | simpa only [pow_one] using h |
| 33 | · intro h |
| 34 | obtain ⟨s, hs, d, pAlg, ht, hEtale⟩ := |
| 35 | Algebra.IsSmoothAt.exists_isStandardEtale_mvPolynomial (R := k) (p := q) |
| 36 | let A := Localization.Away s |
| 37 | let : Algebra (MvPolynomial (Fin d) k) A := pAlg |
| 38 | let : IsScalarTower k (MvPolynomial (Fin d) k) A := ht |
| 39 | let : Algebra.IsStandardEtale (MvPolynomial (Fin d) k) A := hEtale |
| 40 | let : Algebra.Etale R A := Algebra.Etale.of_isLocalizationAway s |
| 41 | let φ := algebraMap R A |
| 42 | have hφ : φ.Etale := RingHom.etale_algebraMap.mpr inferInstance |
| 43 | have hne : q.map φ ≠ ⊤ := |
| 44 | (IsLocalization.map_algebraMap_ne_top_iff_disjoint (Submonoid.powers s) A q).mpr |
| 45 | ((Ideal.disjoint_powers_iff_notMem_of_isPrime s).mpr hs) |
| 46 | obtain ⟨Q, hQmax, hQle⟩ := Ideal.exists_le_maximal (q.map φ) hne |
| 47 | let : Q.IsMaximal := hQmax |
| 48 | have hQprime : (Q.comap φ).IsPrime := inferInstance |
| 49 | have hQ : q = Q.comap φ := (inferInstance : q.IsMaximal).eq_of_le |
| 50 | hQprime.ne_top (Ideal.le_comap_of_map_le hQle) |
| 51 | have hdiff : Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k (J.map φ) b ≤ Q := by |
| 52 | rw [← DifferentialNaturality.Construction.smooth_iteratedRelativeDifferentialIdeal_baseChange] |
| 53 | exact (Ideal.map_mono h).trans hQle |
| 54 | have hlocal := (Blowups.Etale.RelativeOrder.Construction.etale_closedPoint_order_iff_relative_differentialIdeal (σ := Fin d) |
| 55 | (K := k) (J.map φ) Q b).mpr hdiff |
| 56 | exact (Blowups.Etale.PrimeOrderNaturality.Construction.etale_map_prime_order_iff φ hφ J q Q hQ (b + 1)).mp hlocal |
| 57 | |
| 58 | /-- The intrinsic relative ideal is a unit precisely when the prescribed |
| 59 | higher-order locus is empty at all closed points of the original smooth algebra. -/ |
| 60 | theorem smooth_relative_differential_bound_iff_closedPoint_bound (J : Ideal R) (b : ℕ) : |
| 61 | Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J b = ⊤ ↔ |
| 62 | ∀ (q : Ideal R) [q.IsMaximal], |
| 63 | ¬ J.map (algebraMap R (Localization.AtPrime q)) ≤ |
| 64 | IsLocalRing.maximalIdeal (Localization.AtPrime q) ^ (b + 1) := by |
| 65 | constructor |
| 66 | · intro h q _ hq |
| 67 | have hle := (smooth_closedPoint_order_iff_relative_differentialIdeal k J q b).mp hq |
| 68 | rw [h] at hle |
| 69 | exact (inferInstance : q.IsMaximal).ne_top (top_le_iff.mp hle) |
| 70 | · intro h |
| 71 | by_contra hproper |
| 72 | obtain ⟨q, hq, hle⟩ := Ideal.exists_le_maximal _ hproper |
| 73 | let : q.IsMaximal := hq |
| 74 | exact h q ((smooth_closedPoint_order_iff_relative_differentialIdeal k J q b).mpr hle) |
| 75 | |
| 76 | end |
| 77 | |
| 78 | /-! Actual pointed étale coordinate charts and exact closed-point order transport. -/ |
| 79 | |
| 80 | theorem etale_closedPoint_global_order_iff {R S : Type*} [CommRing R] [CommRing S] |
| 81 | (f : R →+* S) (hf : f.Etale) (J q : Ideal R) (Q : Ideal S) |
| 82 | [q.IsMaximal] [Q.IsMaximal] (hQ : q = Q.comap f) (b : ℕ) : |
| 83 | J.map f ≤ Q ^ b ↔ J ≤ q ^ b := by |
| 84 | simpa only [ClosedWeightedOrder.Construction.closedPoint_local_order_iff] using Blowups.Etale.PrimeOrderNaturality.Construction.etale_map_prime_order_iff f hf J q Q hQ b |
| 85 | |
| 86 | variable (k : Type*) {R : Type*} [CommRing k] [CommRing R] [Algebra k R] [Algebra.Smooth k R] |
| 87 | |
| 88 | /-- A closed point has a principal étale coordinate neighborhood and an |
| 89 | actual closed point above it, with the original ground algebra retained. -/ |
| 90 | theorem exists_smooth_closed_point_coordinate_chart (q : Ideal R) [q.IsMaximal] : |
| 91 | ∃ s ∉ q, ∃ (d : ℕ) (_ : Algebra (MvPolynomial (Fin d) k) (Localization.Away s)), |
| 92 | IsScalarTower k (MvPolynomial (Fin d) k) (Localization.Away s) ∧ |
| 93 | Algebra.Etale (MvPolynomial (Fin d) k) (Localization.Away s) ∧ |
| 94 | ∃ Q : Ideal (Localization.Away s), Q.IsMaximal ∧ q = Q.comap (algebraMap R (Localization.Away s)) := by |
| 95 | obtain ⟨s, hs, d, a, ht, he⟩ := |
| 96 | Algebra.IsSmoothAt.exists_isStandardEtale_mvPolynomial (R := k) (p := q) |
| 97 | let A := Localization.Away s |
| 98 | let : Algebra (MvPolynomial (Fin d) k) A := a |
| 99 | let : IsScalarTower k (MvPolynomial (Fin d) k) A := ht |
| 100 | let : Algebra.IsStandardEtale (MvPolynomial (Fin d) k) A := he |
| 101 | have hproper : q.map (algebraMap R A) ≠ ⊤ := |
| 102 | (IsLocalization.map_algebraMap_ne_top_iff_disjoint (Submonoid.powers s) A q).mpr |
| 103 | ((Ideal.disjoint_powers_iff_notMem_of_isPrime s).mpr hs) |
| 104 | obtain ⟨Q, hQ, hle⟩ := Ideal.exists_le_maximal (q.map (algebraMap R A)) hproper |
| 105 | let : Q.IsMaximal := hQ |
| 106 | have hp : (Q.comap (algebraMap R A)).IsPrime := inferInstance |
| 107 | exact ⟨s, hs, d, a, ht, inferInstance, Q, hQ, |
| 108 | (inferInstance : q.IsMaximal).eq_of_le hp.ne_top (Ideal.le_comap_of_map_le hle)⟩ |
| 109 | |
| 110 | end |
| 111 | |
| 112 | end OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.ClosedPointChartTransport.Construction |