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.AbelianModuli.HilbertConstruction.Matrix.ChartBaseChange |
| 2 | |
| 3 | /-! # Submodule Base Change -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Chart.SubmoduleBaseChange |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Scalar extension commutes with inverse image under compatible ambient isomorphisms. -/ |
| 10 | |
| 11 | universe u v w t |
| 12 | |
| 13 | variable {R : Type u} {B : Type v} [Ring R] [Ring B] |
| 14 | {U : Type w} {V : Type t} [AddCommGroup U] [AddCommGroup V] [Module R U] [Module B V] |
| 15 | |
| 16 | /-- Extending a defining submodule and changing compatible ambient coordinates commute. -/ |
| 17 | theorem span_image_comap_equiv {φ : R →+* B} (f : U →ₛₗ[φ] V) |
| 18 | (e : U ≃ₗ[R] U) (d : V ≃ₗ[B] V) (h : ∀ x, f (e x) = d (f x)) (N : Submodule R U) : |
| 19 | Submodule.span B (f '' (N.comap e.toLinearMap : Set U)) = |
| 20 | (Submodule.span B (f '' (N : Set U))).comap d.toLinearMap := by |
| 21 | apply Submodule.map_injective_of_injective d.injective |
| 22 | rw [Submodule.map_comap_eq_of_surjective d.surjective, Submodule.map_span] |
| 23 | congr 1 |
| 24 | ext y |
| 25 | constructor |
| 26 | · rintro ⟨z, ⟨x, hx, rfl⟩, rfl⟩ |
| 27 | exact ⟨e x, hx, h x⟩ |
| 28 | · rintro ⟨x, hx, rfl⟩ |
| 29 | refine ⟨f (e.symm x), ⟨e.symm x, ?_, rfl⟩, ?_⟩ |
| 30 | · change e (e.symm x) ∈ N |
| 31 | simpa using hx |
| 32 | · exact (h (e.symm x)).symm.trans (congrArg f (e.apply_symm_apply x)) |
| 33 | |
| 34 | end |
| 35 | |
| 36 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Chart.SubmoduleBaseChange |