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.FractionRing |
| 2 | |
| 3 | /-! # Fraction Restriction -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.FractionRestriction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Equal fractions remain equal after restriction wherever both |
| 10 | denominators remain nonzero. The fraction-field map need not descend. -/ |
| 11 | |
| 12 | theorem eq {R K L : Type*} [CommRing R] [IsDomain R] [Field K] [Field L] |
| 13 | [Algebra R K] [IsFractionRing R K] (φ : R →+* L) |
| 14 | (a b c d : R) (hb : φ b ≠ 0) (hd : φ d ≠ 0) |
| 15 | (h : algebraMap R K a / algebraMap R K b = algebraMap R K c / algebraMap R K d) : |
| 16 | φ a / φ b = φ c / φ d := by |
| 17 | have hb₀ : b ≠ 0 := fun hz => hb (hz ▸ map_zero φ) |
| 18 | have hd₀ : d ≠ 0 := fun hz => hd (hz ▸ map_zero φ) |
| 19 | have hbK := (map_ne_zero_iff _ (IsFractionRing.injective R K)).mpr hb₀ |
| 20 | have hdK := (map_ne_zero_iff _ (IsFractionRing.injective R K)).mpr hd₀ |
| 21 | have hc : a * d = c * b := by |
| 22 | apply IsFractionRing.injective R K |
| 23 | simpa only [map_mul] using (div_eq_div_iff hbK hdK).mp h |
| 24 | apply (div_eq_div_iff hb hd).mpr |
| 25 | simpa only [map_mul] using congrArg φ hc |
| 26 | |
| 27 | end |
| 28 | |
| 29 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.FractionRestriction |