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.Frame.CoordinateExponents |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.DeterminantFrameLinearMap |
| 3 | |
| 4 | /-! # Coordinate Monomials -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Frame.CoordinateMonomials |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The exponent formula for a frame coordinate evaluates to the |
| 11 | corresponding coordinate of the determinant normalization map. -/ |
| 12 | open scoped BigOperators Classical |
| 13 | universe u |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | variable {R : Type u} [CommRing R] {r m : ℕ} |
| 17 | |
| 18 | theorem labeledDeterminant_update_eq_basis (σ : Fin r → Fin m) |
| 19 | (v : Fin m → Fin r → R) (k : Fin r) (z : Fin m) : |
| 20 | LabeledDeterminantPolynomials.labeledDeterminant (Function.update σ k z) v = |
| 21 | (Pi.basisFun R (Fin r)).det (Function.update (fun j => v (σ j)) k (v z)) := by |
| 22 | rw [LabeledDeterminantPolynomials.labeledDeterminant_eq_basis] |
| 23 | congr 1 |
| 24 | funext j |
| 25 | by_cases h : j = k |
| 26 | · subst j |
| 27 | simp only [Function.update_self] |
| 28 | · simp only [Function.update_of_ne h] |
| 29 | |
| 30 | theorem frameCoordinateExponent_monomial (σ : Fin r → Fin m) |
| 31 | (v : Fin m → Fin r → R) (e z : Fin m) (k : Fin r) : |
| 32 | Balanced.MonomialAlgebra.exponentMonomial (fun τ => LabeledDeterminantPolynomials.labeledDeterminant τ v) (CoordinateExponents.frameCoordinateExponent σ e z k) = |
| 33 | ProjectiveFrame.DeterminantCoordinates.projectiveFrameDeterminantCoordinates (Pi.basisFun R (Fin r)) |
| 34 | (fun j => v (σ j)) (v e) (v z) k := by |
| 35 | have hsingle (j : Fin r → Fin m) : |
| 36 | Balanced.MonomialAlgebra.exponentMonomial (fun τ => LabeledDeterminantPolynomials.labeledDeterminant τ v) (Pi.single j 1) = LabeledDeterminantPolynomials.labeledDeterminant j v := by |
| 37 | simp [Balanced.MonomialAlgebra.exponentMonomial, Pi.single_apply] |
| 38 | simp only [CoordinateExponents.frameCoordinateExponent, Balanced.MonomialAlgebra.exponentMonomial_add, MonomialFiniteSums.exponentMonomial_sum, |
| 39 | hsingle, labeledDeterminant_update_eq_basis, |
| 40 | ProjectiveFrame.DeterminantCoordinates.projectiveFrameDeterminantCoordinates] |
| 41 | congr! |
| 42 | |
| 43 | theorem frameCoordinateExponent_linearMap (σ : Fin r → Fin m) |
| 44 | (v : Fin m → Fin r → R) (e z : Fin m) (k : Fin r) : |
| 45 | Balanced.MonomialAlgebra.exponentMonomial (fun τ => LabeledDeterminantPolynomials.labeledDeterminant τ v) (CoordinateExponents.frameCoordinateExponent σ e z k) = |
| 46 | DeterminantFrameLinearMap.determinantFrameLinearMap (Pi.basisFun R (Fin r)) |
| 47 | (fun j => v (σ j)) (v e) (v z) k := by |
| 48 | rw [DeterminantFrameLinearMap.determinantFrameLinearMap_apply, frameCoordinateExponent_monomial] |
| 49 | |
| 50 | theorem frameCoordinateExponent_polynomial (σ : Fin r → Fin m) |
| 51 | (e z : Fin m) (k : Fin r) : |
| 52 | Balanced.MonomialAlgebra.exponentMonomial (LabeledDeterminantPolynomials.labeledDeterminantPolynomial R) (CoordinateExponents.frameCoordinateExponent σ e z k) = |
| 53 | ProjectiveFrame.DeterminantCoordinates.projectiveFrameDeterminantCoordinates |
| 54 | (Pi.basisFun (MvPolynomial (Fin m × Fin r) R) (Fin r)) |
| 55 | (fun j l => MvPolynomial.X (σ j, l)) |
| 56 | (fun l => MvPolynomial.X (e, l)) (fun l => MvPolynomial.X (z, l)) k := |
| 57 | frameCoordinateExponent_monomial σ (fun i j => MvPolynomial.X (i, j)) e z k |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Frame.CoordinateMonomials |