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.LinearAlgebra.Basis.Defs |
| 2 | |
| 3 | /-! # Semilinear Basis Transport -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Comparison.Betti.SemilinearBasisTransport.LinearAlgebra |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Transport a genuine module basis along compatible scalar and additive equivalences. -/ |
| 10 | |
| 11 | variable {R S M N I : Type} [Semiring R] [Semiring S] |
| 12 | [AddCommMonoid M] [AddCommMonoid N] [Module R M] [Module S N] |
| 13 | |
| 14 | def basisTransport (b : Module.Basis I R M) (e : R ≃+* S) (f : M ≃+ N) |
| 15 | (hf : ∀ r m, f (r • m) = e r • f m) : Module.Basis I S N := by |
| 16 | let : Module R N := Module.compHom N e.toRingHom |
| 17 | let l : M ≃ₗ[R] N := { f with map_smul' := hf } |
| 18 | exact (b.map l).mapCoeffs e (fun _ _ => rfl) |
| 19 | |
| 20 | theorem basisTransport_apply (b : Module.Basis I R M) (e : R ≃+* S) (f : M ≃+ N) |
| 21 | (hf : ∀ r m, f (r • m) = e r • f m) (i : I) : basisTransport b e f hf i = f (b i) := by |
| 22 | let : Module R N := Module.compHom N e.toRingHom |
| 23 | let l : M ≃ₗ[R] N := { f with map_smul' := hf } |
| 24 | exact (b.map l).mapCoeffs_apply e (fun _ _ => rfl) i |
| 25 | |
| 26 | end |
| 27 | |
| 28 | end OAI.AlgebraicGeometry.Comparison.Betti.SemilinearBasisTransport.LinearAlgebra |