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.NumberTheory.PadicHodge.PeriodInvariants.SemilinearScalarFactorization |
| 2 | import Mathlib.Algebra.Algebra.Basic |
| 3 | |
| 4 | /-! # Compatible Algebra Equiv -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.PeriodInvariants.CompatibleAlgebraEquiv |
| 7 | |
| 8 | /-! # Compatible ring equivalences give the required semilinear module equivalence -/ |
| 9 | |
| 10 | attribute [local instance] SemilinearScalarFactorization.forwardPair |
| 11 | SemilinearScalarFactorization.backwardPair |
| 12 | |
| 13 | variable {R S A B : Type*} [CommRing R] [CommRing S] [CommRing A] [CommRing B] |
| 14 | [Algebra R A] [Algebra S B] (e : R ≃+* S) (E : A ≃+* B) |
| 15 | (h : ∀ r : R, E (algebraMap R A r) = algebraMap S B (e r)) |
| 16 | |
| 17 | def equiv : A ≃ₛₗ[e.toRingHom] B where |
| 18 | __ := E.toAddEquiv |
| 19 | map_smul' r x := by |
| 20 | change E (r • x) = e r • E x |
| 21 | rw [Algebra.smul_def, map_mul, h, Algebra.smul_def] |
| 22 | |
| 23 | theorem equiv_apply (x : A) : equiv e E h x = E x := rfl |
| 24 | |
| 25 | end OAI.NumberTheory.PadicHodge.PeriodInvariants.CompatibleAlgebraEquiv |