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.Ideal.Maps |
| 2 | |
| 3 | /-! # Pointed Parameter Transport -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.PointedParameterTransport |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Parameters defining a section remain parameters under an algebra |
| 10 | isomorphism preserving its evaluation map. -/ |
| 11 | |
| 12 | variable {R A B : Type*} [CommRing R] [CommRing A] [CommRing B] |
| 13 | [Algebra R A] [Algebra R B] |
| 14 | (e : A ≃ₐ[R] B) (εA : A →ₐ[R] R) (εB : B →ₐ[R] R) |
| 15 | (he : ∀ x, εB (e x) = εA x) |
| 16 | |
| 17 | include he in |
| 18 | theorem kernel : (RingHom.ker εA.toRingHom).map e.toRingHom = |
| 19 | RingHom.ker εB.toRingHom := by |
| 20 | have h : RingHom.ker εA.toRingHom = |
| 21 | (RingHom.ker εB.toRingHom).comap e.toRingHom := by |
| 22 | ext x |
| 23 | change εA x = 0 ↔ εB (e x) = 0 |
| 24 | rw [he] |
| 25 | rw [h] |
| 26 | exact Ideal.map_comap_of_surjective e.toRingHom e.surjective _ |
| 27 | |
| 28 | include he in |
| 29 | theorem span {ι : Type*} (a : ι → A) |
| 30 | (ha : Ideal.span (Set.range a) = RingHom.ker εA.toRingHom) : |
| 31 | Ideal.span (Set.range (fun i => e (a i))) = RingHom.ker εB.toRingHom := by |
| 32 | have h := congrArg (Ideal.map e.toRingHom) ha |
| 33 | rw [Ideal.map_span] at h |
| 34 | rw [← Set.range_comp] at h |
| 35 | exact h.trans (kernel e εA εB he) |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.NumberTheory.PadicHodge.IntegralComparison.PointedParameterTransport |