feat: add symplectic matrices have determinant 1 eval problem#283
Open
kim-em wants to merge 1 commit into
Open
feat: add symplectic matrices have determinant 1 eval problem#283kim-em wants to merge 1 commit into
kim-em wants to merge 1 commit into
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds the symplectic-matrix
det = 1identity as a new lean-eval challenge problem — §39 of Oliver Knill's Some Fundamental Theorems in Mathematics.For any commutative ring
Rand2n × 2nsymplectic matrixAoverR(i.e.A * J * Aᵀ = JwithJ = [[0, -I], [I, 0]]),det A = 1. Taking determinants ofAᵀ J A = Jonly forces(det A)² = 1; the sign requires the Pfaffian argument.mathlib has
Matrix.symplecticGroupand provessymplectic_det(IsUnit (det A)) — but the determinant-equals-one claim is an explicit TODO at the head ofMathlib/LinearAlgebra/SymplecticGroup.lean. A search found no formalization of the identity in any other proof assistant.🤖 Prepared with Claude Code