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 Mathlib.RingTheory.Localization.Algebra |
| 2 | import Mathlib.RingTheory.Localization.Away.Basic |
| 3 | |
| 4 | /-! # Localization Reduction Kernel -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.LocalizationReductionKernel.LocalizationReduction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Localization of an actual reduction map |
| 12 | |
| 13 | Localizing a surjective reduction at a coefficient and its residue remains |
| 14 | surjective. Its kernel is the actual extension of the original reduction |
| 15 | kernel. These are the ring-theoretic conditions for principal-open |
| 16 | restrictions of crystalline thickenings. |
| 17 | -/ |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable (R A : Type u) [CommRing R] [CommRing A] (r : R →+* A) (s : R) |
| 22 | |
| 23 | local notation "RS" => Localization.Away s |
| 24 | local notation "AS" => Localization.Away (r s) |
| 25 | |
| 26 | def map : RS →+* AS := IsLocalization.Away.map RS AS r s |
| 27 | |
| 28 | theorem map_algebraMap (x : R) : |
| 29 | LocalizationReduction.map R A r s (algebraMap R RS x) = algebraMap A AS (r x) := by |
| 30 | simp only [LocalizationReduction.map, IsLocalization.Away.map, IsLocalization.map_eq] |
| 31 | |
| 32 | theorem kernel : RingHom.ker (LocalizationReduction.map R A r s) = (RingHom.ker r).map (algebraMap R RS) := |
| 33 | IsLocalization.ker_map (S := RS) AS r (Submonoid.map_powers r s) |
| 34 | |
| 35 | theorem surjective (hr : Function.Surjective r) : Function.Surjective (LocalizationReduction.map R A r s) := by |
| 36 | apply (IsLocalization.Away.map_surjective_iff RS AS r s).mpr |
| 37 | intro a |
| 38 | obtain ⟨b, rfl⟩ := hr a |
| 39 | exact ⟨b, 0, by rw [pow_zero, one_mul]⟩ |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.LocalizationReductionKernel.LocalizationReduction |