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.Topology.Algebra.Ring.Basic |
| 2 | |
| 3 | /-! # Dense Integral Subrings -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.DenseIntegralSubrings.TestTransport |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Continuous ring maps preserve closed integral subrings when the |
| 10 | ordinary integers are dense in the source integral subring. -/ |
| 11 | |
| 12 | variable {K L : Type*} [CommRing K] [CommRing L] |
| 13 | [TopologicalSpace K] [TopologicalSpace L] |
| 14 | |
| 15 | theorem ringHom_mem_of_dense_integers (f : K →+* L) (hf : Continuous f) |
| 16 | (A : Subring K) (B : Subring L) (hA : DenseRange (fun n : ℤ => (n : A))) |
| 17 | (hB : IsClosed (B : Set L)) {x : K} (hx : x ∈ A) : f x ∈ B := by |
| 18 | apply hA.induction_on (p := fun a : A => f a.val ∈ B) ⟨x, hx⟩ |
| 19 | (hB.preimage (hf.comp continuous_subtype_val)) |
| 20 | intro n |
| 21 | change f (n : K) ∈ B |
| 22 | rw [map_intCast] |
| 23 | exact intCast_mem B n |
| 24 | |
| 25 | theorem ringEquiv_integral_iff_of_dense_integers (e : K ≃+* L) |
| 26 | (he : Continuous e) (hi : Continuous e.symm) |
| 27 | (A : Subring K) (B : Subring L) |
| 28 | (hA : DenseRange (fun n : ℤ => (n : A))) |
| 29 | (hB : DenseRange (fun n : ℤ => (n : B))) |
| 30 | (hAc : IsClosed (A : Set K)) (hBc : IsClosed (B : Set L)) (y : L) : |
| 31 | y ∈ B ↔ e.symm y ∈ A := by |
| 32 | constructor |
| 33 | · exact ringHom_mem_of_dense_integers e.symm.toRingHom hi B A hB hAc |
| 34 | · intro hy |
| 35 | have h := ringHom_mem_of_dense_integers e.toRingHom he A B hA hBc hy |
| 36 | change e (e.symm y) ∈ B at h |
| 37 | simpa only [RingEquiv.apply_symm_apply] using h |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.DenseIntegralSubrings.TestTransport |