Skip to content

feat: add symplectic matrices have determinant 1 eval problem#283

Open
kim-em wants to merge 1 commit into
mainfrom
eval/symplectic-det
Open

feat: add symplectic matrices have determinant 1 eval problem#283
kim-em wants to merge 1 commit into
mainfrom
eval/symplectic-det

Conversation

@kim-em
Copy link
Copy Markdown
Collaborator

@kim-em kim-em commented May 21, 2026

This PR adds the symplectic-matrix det = 1 identity as a new lean-eval challenge problem — §39 of Oliver Knill's Some Fundamental Theorems in Mathematics.

For any commutative ring R and 2n × 2n symplectic matrix A over R (i.e. A * J * Aᵀ = J with J = [[0, -I], [I, 0]]), det A = 1. Taking determinants of Aᵀ J A = J only forces (det A)² = 1; the sign requires the Pfaffian argument.

mathlib has Matrix.symplecticGroup and proves symplectic_det (IsUnit (det A)) — but the determinant-equals-one claim is an explicit TODO at the head of Mathlib/LinearAlgebra/SymplecticGroup.lean. A search found no formalization of the identity in any other proof assistant.

🤖 Prepared with Claude Code

This PR adds the fact that every symplectic matrix has determinant 1
(§39 of Knill's "Some Fundamental Theorems in Mathematics", listed as an
open TODO in `Mathlib/LinearAlgebra/SymplecticGroup.lean`). Mathlib has
`Matrix.symplecticGroup` and proves `IsUnit (det A)` via `symplectic_det`
but not `det A = 1`; the sign requires the Pfaffian argument and is not
formalized in any other proof assistant we found.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant