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 |
| 2 | |
| 3 | /-! # Multilinear Basis Coordinates -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.MultilinearBasisCoordinates.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Multilinear forms are determined by finitely many basis evaluations. |
| 10 | Their values on arbitrary inputs have a finite polynomial expansion in |
| 11 | the input coordinates. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | |
| 15 | def multilinearBasisEvaluation |
| 16 | {R E A I : Type*} [CommRing R] [AddCommGroup E] [Module R E] |
| 17 | [AddCommGroup A] [Module R A] (b : Module.Basis I R E) (r : ℕ) : |
| 18 | MultilinearMap R (fun _ : Fin r => E) A →ₗ[R] ((Fin r → I) → A) where |
| 19 | toFun f t := f (fun i => b (t i)) |
| 20 | map_add' _ _ := rfl |
| 21 | map_smul' _ _ := rfl |
| 22 | |
| 23 | theorem multilinearBasisEvaluation_injective |
| 24 | {R E A I : Type*} [CommRing R] [AddCommGroup E] [Module R E] |
| 25 | [AddCommGroup A] [Module R A] (b : Module.Basis I R E) (r : ℕ) : |
| 26 | Function.Injective (multilinearBasisEvaluation (A := A) b r) := by |
| 27 | intro f g he |
| 28 | exact Module.Basis.ext_multilinear (fun _ : Fin r => b) (fun t => congrFun he t) |
| 29 | |
| 30 | def multilinearBasisEvaluationEquiv |
| 31 | {R E A I : Type*} [CommRing R] [AddCommGroup E] [Module R E] |
| 32 | [AddCommGroup A] [Module R A] (b : Module.Basis I R E) (r : ℕ) : |
| 33 | MultilinearMap R (fun _ : Fin r => E) A ≃ₗ[R] (multilinearBasisEvaluation (A := A) b r).range := |
| 34 | LinearEquiv.ofInjective _ (multilinearBasisEvaluation_injective b r) |
| 35 | |
| 36 | theorem multilinear_basis_expansion |
| 37 | {R E A I : Type*} [CommRing R] [AddCommGroup E] [Module R E] |
| 38 | [AddCommGroup A] [Module R A] [Fintype I] (b : Module.Basis I R E) (r : ℕ) |
| 39 | (f : MultilinearMap R (fun _ : Fin r => E) A) (v : Fin r → E) : |
| 40 | f v = ∑ t : Fin r → I, (∏ i, b.repr (v i) (t i)) • f (fun i => b (t i)) := by |
| 41 | have hv : v = fun i => ∑ j, b.repr (v i) j • b j := by |
| 42 | funext i |
| 43 | exact (b.sum_repr (v i)).symm |
| 44 | conv_lhs => rw [hv] |
| 45 | rw [MultilinearMap.map_sum] |
| 46 | apply Finset.sum_congr rfl |
| 47 | intro t _ |
| 48 | exact f.map_smul_univ _ _ |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.NumberTheory.ArithmeticGroups.Lattices.MultilinearBasisCoordinates.Construction |