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.Boundary.FactorNaturality |
| 2 | import Mathlib.RingTheory.RingHom.Etale |
| 3 | import Mathlib.RingTheory.Unramified.LocalRing |
| 4 | |
| 5 | /-! # Etale Local Order -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Pointed.EtaleLocalOrder.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Pointed étale comparisons preserve the order of every local residual ideal. -/ |
| 12 | |
| 13 | variable {R S : Type*} [CommRing R] [CommRing S] |
| 14 | |
| 15 | /-- The induced étale local-ring map carries the source maximal ideal |
| 16 | exactly to the target maximal ideal. -/ |
| 17 | theorem pointed_etale_local_maximalIdeal_map (f : R →+* S) (hf : f.Etale) |
| 18 | (q : Ideal R) (Q : Ideal S) [q.IsPrime] [Q.IsPrime] (hQ : q = Q.comap f) : |
| 19 | (IsLocalRing.maximalIdeal (Localization.AtPrime q)).map (Localization.localRingHom q Q f hQ) = |
| 20 | IsLocalRing.maximalIdeal (Localization.AtPrime Q) := by |
| 21 | let : Algebra R S := f.toAlgebra |
| 22 | let : Algebra.Etale R S := hf |
| 23 | let : Q.LiesOver q := ⟨hQ⟩ |
| 24 | let : Algebra (Localization.AtPrime q) (Localization.AtPrime Q) := |
| 25 | Localization.AtPrime.algebraOfLiesOver q Q |
| 26 | have h := ((Algebra.isUnramifiedAt_iff_map_eq R q Q).mp inferInstance).2 |
| 27 | change (IsLocalRing.maximalIdeal (Localization.AtPrime q)).map |
| 28 | (algebraMap (Localization.AtPrime q) (Localization.AtPrime Q)) = _ |
| 29 | rw [← Localization.AtPrime.map_eq_maximalIdeal, Ideal.map_map, ← IsScalarTower.algebraMap_eq] |
| 30 | exact h |
| 31 | |
| 32 | /-- Order preservation holds for every ideal of the source local ring, |
| 33 | including residual ideals obtained by local boundary factor extraction. |
| 34 | Neither ideal descent to the affine source nor closedness of the points is required. -/ |
| 35 | theorem pointed_etale_local_ideal_order_iff (f : R →+* S) (hf : f.Etale) |
| 36 | (q : Ideal R) (Q : Ideal S) [q.IsPrime] [Q.IsPrime] (hQ : q = Q.comap f) |
| 37 | (J : Ideal (Localization.AtPrime q)) (b : ℕ) : |
| 38 | J.map (Localization.localRingHom q Q f hQ) ≤ |
| 39 | IsLocalRing.maximalIdeal (Localization.AtPrime Q) ^ b ↔ |
| 40 | J ≤ IsLocalRing.maximalIdeal (Localization.AtPrime q) ^ b := by |
| 41 | have hflat := (RingHom.Etale.iff_flat_and_formallyUnramified.mp hf).1 |
| 42 | have hfaithful := Boundary.FactorNaturality.Construction.pointed_flat_localRingHom_faithfullyFlat f hflat q Q hQ |
| 43 | rw [← pointed_etale_local_maximalIdeal_map f hf q Q hQ, ← Ideal.map_pow] |
| 44 | exact Boundary.FactorNaturality.Construction.faithfullyFlat_map_ideal_le_iff _ hfaithful _ _ |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.Resolution.Blowups.Pointed.EtaleLocalOrder.Construction |