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.Coefficient.UnitCriterion |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Etale.OrderBound |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.Etale.RelativeOrder |
| 5 | import Mathlib.RingTheory.Unramified.LocalStructure |
| 6 | |
| 7 | /-! # Differential Order Bound -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.DifferentialOrderBound.Construction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! A finite intrinsic differential-order bound on arbitrary smooth integral affine algebras. -/ |
| 14 | |
| 15 | variable (k : Type*) {R : Type*} [Field k] [CharZero k] [IsAlgClosed k] |
| 16 | [CommRing R] [IsDomain R] [Algebra k R] [Algebra.Smooth k R] |
| 17 | |
| 18 | /-- Every nonzero ideal of a smooth integral affine algebra has a finite |
| 19 | intrinsic differential-order bound. No global polynomial coordinates are assumed. -/ |
| 20 | theorem exists_smooth_relative_differential_order_bound (J : Ideal R) (hJ : J ≠ ⊥) : |
| 21 | ∃ n : ℕ, Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J n = ⊤ := by |
| 22 | let : IsNoetherianRing R := Algebra.FiniteType.isNoetherianRing k R |
| 23 | let F : ℕ →o Submodule R R := |
| 24 | ⟨Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J, Coefficient.UnitCriterion.Construction.iteratedRelativeDifferentialIdeal_monotone_order k J⟩ |
| 25 | obtain ⟨n, hn⟩ := monotone_stabilizes_iff_noetherian.mpr inferInstance F |
| 26 | refine ⟨n, ?_⟩ |
| 27 | by_contra hproper |
| 28 | obtain ⟨q, hq, hle⟩ := Ideal.exists_le_maximal (Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J n) hproper |
| 29 | let : q.IsMaximal := hq |
| 30 | have hall (b : ℕ) : Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J b ≤ q := by |
| 31 | by_cases hb : b ≤ n |
| 32 | · exact (Coefficient.UnitCriterion.Construction.iteratedRelativeDifferentialIdeal_monotone_order k J hb).trans hle |
| 33 | · have he : Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J n = Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J b := |
| 34 | hn b (by omega) |
| 35 | rwa [← he] |
| 36 | obtain ⟨s, hs, d, pAlg, ht, he⟩ := |
| 37 | Algebra.IsSmoothAt.exists_isStandardEtale_mvPolynomial (R := k) (p := q) |
| 38 | let A := Localization.Away s |
| 39 | let : Algebra (MvPolynomial (Fin d) k) A := pAlg |
| 40 | let : IsScalarTower k (MvPolynomial (Fin d) k) A := ht |
| 41 | let : Algebra.IsStandardEtale (MvPolynomial (Fin d) k) A := he |
| 42 | let : Algebra.Etale R A := Algebra.Etale.of_isLocalizationAway s |
| 43 | have hs0 : s ≠ 0 := fun h => hs (h ▸ q.zero_mem) |
| 44 | let : IsDomain A := Localization.Away.isDomain hs0 |
| 45 | have hJA : J.map (algebraMap R A) ≠ ⊥ := Ideal.map_ne_bot_of_ne_bot hJ |
| 46 | obtain ⟨b, hb⟩ := Blowups.Etale.OrderBound.Construction.exists_etale_differential_order_bound (σ := Fin d) (K := k) |
| 47 | (J.map (algebraMap R A)) hJA |
| 48 | have hrel : Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k (J.map (algebraMap R A)) b = ⊤ := |
| 49 | (Blowups.Etale.RelativeOrder.Construction.etale_relative_differential_top_iff (σ := Fin d) (J.map (algebraMap R A)) b).mpr hb |
| 50 | have hm := Ideal.map_mono (f := algebraMap R A) (hall b) |
| 51 | rw [DifferentialNaturality.Construction.smooth_iteratedRelativeDifferentialIdeal_baseChange k J b, hrel] at hm |
| 52 | have hne : q.map (algebraMap R A) ≠ ⊤ := |
| 53 | (IsLocalization.map_algebraMap_ne_top_iff_disjoint (Submonoid.powers s) A q).mpr |
| 54 | ((Ideal.disjoint_powers_iff_notMem_of_isPrime s).mpr hs) |
| 55 | exact hne (top_le_iff.mp hm) |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.DifferentialOrderBound.Construction |