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.DeterminantFrameLinearMap |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Product.OfErasedProducts |
| 3 | import Mathlib.LinearAlgebra.Matrix.Adjugate |
| 4 | |
| 5 | /-! # Determinant Frame Normalizer Determinant -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.DeterminantFrameNormalizerDeterminant |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The determinant normalization map is a diagonal multiple of the |
| 12 | adjugate matrix. Its determinant is the frame discriminant to power r-1. -/ |
| 13 | open scoped BigOperators Classical |
| 14 | universe u v |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | variable {R : Type u} [CommRing R] {κ : Type v} [Fintype κ] |
| 18 | |
| 19 | theorem basisFun_det_update_eq_cramer (b : κ → κ → R) (w : κ → R) (i : κ) : |
| 20 | (Pi.basisFun R κ).det (Function.update b i w) = Matrix.cramer (Matrix.of b).transpose w i := by |
| 21 | rw [Pi.basisFun_det_apply, Matrix.cramer_transpose_apply] |
| 22 | rfl |
| 23 | |
| 24 | def determinantFrameNormalizerMatrix (b : κ → κ → R) (v : κ → R) : Matrix κ κ R := |
| 25 | Matrix.diagonal (fun i => ∏ j ∈ (Finset.univ : Finset κ).erase i, |
| 26 | (Pi.basisFun R κ).det (Function.update b j v)) * (Matrix.of b).transpose.adjugate |
| 27 | |
| 28 | theorem determinantFrameLinearMap_eq_matrix (b : κ → κ → R) (v : κ → R) : |
| 29 | DeterminantFrameLinearMap.determinantFrameLinearMap (Pi.basisFun R κ) b v = Matrix.toLin' (determinantFrameNormalizerMatrix b v) := by |
| 30 | apply LinearMap.ext |
| 31 | intro w |
| 32 | funext i |
| 33 | rw [DeterminantFrameLinearMap.determinantFrameLinearMap_apply, Matrix.toLin'_apply] |
| 34 | unfold determinantFrameNormalizerMatrix |
| 35 | rw [← Matrix.mulVec_mulVec, Matrix.mulVec_diagonal, ← Matrix.cramer_eq_adjugate_mulVec] |
| 36 | change (Pi.basisFun R κ).det (Function.update b i w) * |
| 37 | (∏ j ∈ (Finset.univ : Finset κ).erase i, (Pi.basisFun R κ).det (Function.update b j v)) = |
| 38 | (∏ j ∈ (Finset.univ : Finset κ).erase i, (Pi.basisFun R κ).det (Function.update b j v)) * |
| 39 | Matrix.cramer (Matrix.of b).transpose w i |
| 40 | rw [basisFun_det_update_eq_cramer, mul_comm] |
| 41 | |
| 42 | theorem determinantFrameLinearMap_det (b : κ → κ → R) (v : κ → R) : |
| 43 | LinearMap.det (DeterminantFrameLinearMap.determinantFrameLinearMap (Pi.basisFun R κ) b v) = |
| 44 | ProjectiveFrame.Discriminant.projectiveFrameDiscriminant (Pi.basisFun R κ) b v ^ (Fintype.card κ - 1) := by |
| 45 | rw [determinantFrameLinearMap_eq_matrix, LinearMap.det_toLin'] |
| 46 | unfold determinantFrameNormalizerMatrix |
| 47 | rw [Matrix.det_mul, Matrix.det_diagonal, Matrix.det_adjugate, Matrix.det_transpose, |
| 48 | Product.OfErasedProducts.product_of_erased_products] |
| 49 | change (∏ j, (Pi.basisFun R κ).det (Function.update b j v)) ^ (Fintype.card κ - 1) * |
| 50 | (Matrix.of b).det ^ (Fintype.card κ - 1) = _ |
| 51 | rw [ProjectiveFrame.Discriminant.projectiveFrameDiscriminant, Pi.basisFun_det_apply, mul_pow, mul_comm] |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.DeterminantFrameNormalizerDeterminant |