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.AbelianScheme.TateComparison.SpanDenominatorClearing |
| 2 | import Mathlib.RingTheory.Localization.Away.Basic |
| 3 | |
| 4 | /-! # Subalgebra Localization -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison.SubalgebraLocalization |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A subalgebra whose elements clear all central denominators presents |
| 11 | the ambient algebra as an actual localization. -/ |
| 12 | |
| 13 | theorem subalgebra_awayLocalization {R A : Type*} [CommSemiring R] [CommSemiring A] [Algebra R A] |
| 14 | (W : Subalgebra R A) (z : W) (hz : IsUnit (z : A)) |
| 15 | (hclear : ∀ x : A, ∃ n : ℕ, (z : A) ^ n * x ∈ W) : IsLocalization.Away z A where |
| 16 | map_units y := by |
| 17 | obtain ⟨n, hn⟩ := y.property |
| 18 | change IsUnit (y.val : A) |
| 19 | rw [← hn] |
| 20 | exact hz.pow n |
| 21 | surj x := by |
| 22 | obtain ⟨n, hn⟩ := hclear x |
| 23 | refine ⟨(⟨(z : A) ^ n * x, hn⟩, ⟨z ^ n, ⟨n, rfl⟩⟩), ?_⟩ |
| 24 | exact mul_comm x ((z : A) ^ n) |
| 25 | exists_of_eq := by |
| 26 | intro x y h |
| 27 | have he : x = y := Subtype.ext h |
| 28 | subst y |
| 29 | exact ⟨1, rfl⟩ |
| 30 | |
| 31 | end |
| 32 | |
| 33 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison.SubalgebraLocalization |