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.Algebra.Algebra.Basic |
| 2 | import Mathlib.Algebra.Algebra.Rat |
| 3 | import Mathlib.Algebra.Algebra.Subalgebra.Basic |
| 4 | import Mathlib.LinearAlgebra.TensorProduct.Tower |
| 5 | import Mathlib.LinearAlgebra.Complex.Module |
| 6 | |
| 7 | /-! # Filtration Endomorphisms -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.FiltrationEndomorphisms |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! # Rational endomorphisms preserving a complexified filtration -/ |
| 14 | |
| 15 | open scoped TensorProduct |
| 16 | |
| 17 | variable {V : Type*} [AddCommGroup V] [Module ℚ V] |
| 18 | |
| 19 | /-- This algebra consists of actual rational linear endomorphisms whose complexifications |
| 20 | preserve a specified complex subspace. No geometric realization is asserted. -/ |
| 21 | def filtrationEndomorphismAlgebra (F : Submodule ℂ (ℂ ⊗[ℚ] V)) : |
| 22 | Subalgebra ℚ (Module.End ℚ V) where |
| 23 | carrier := {f | ∀ z ∈ F, f.baseChange ℂ z ∈ F} |
| 24 | zero_mem' := by |
| 25 | intro z hz |
| 26 | rw [LinearMap.baseChange_zero, LinearMap.zero_apply] |
| 27 | exact F.zero_mem |
| 28 | one_mem' := by |
| 29 | intro z hz |
| 30 | rw [LinearMap.baseChange_one] |
| 31 | exact hz |
| 32 | add_mem' := by |
| 33 | intro f g hf hg z hz |
| 34 | rw [LinearMap.baseChange_add, LinearMap.add_apply] |
| 35 | exact F.add_mem (hf z hz) (hg z hz) |
| 36 | mul_mem' := by |
| 37 | intro f g hf hg z hz |
| 38 | rw [LinearMap.baseChange_mul] |
| 39 | exact hf _ (hg z hz) |
| 40 | algebraMap_mem' := by |
| 41 | intro r z hz |
| 42 | rw [Module.algebraMap_end_eq_smul_id, LinearMap.baseChange_smul, |
| 43 | LinearMap.baseChange_id, LinearMap.smul_apply, LinearMap.id_apply] |
| 44 | exact (F.restrictScalars ℚ).smul_mem r hz |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.ComplexMultiplication.FiltrationEndomorphisms |