Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

J2=−1J^2 = -1J2=−1

Proved
PassivityUn.stdJ_sq

by ShapeZero · Sep 23, 2026 · Mathlib 0df444a (Lean v4.33.1)

linear-algebramatrices

Let Jn=(0−InIn0)J_n = \begin{pmatrix} 0 & -I_n \\ I_n & 0 \end{pmatrix}Jn​=(0In​​−In​0​) be the standard complex structure on real 2n×2n2n\times 2n2n×2n block matrices. Then, for every natural number nnn,

Jn Jn=−I2n.J_n \, J_n = -I_{2n}.Jn​Jn​=−I2n​.

This confirms that JnJ_nJn​ is a complex structure, which is what makes "commuting with JnJ_nJn​" the condition of being complex-linear.

Preamble
import Mathlib
import Definitions.Def_PassivityUn_stdJ
Formal statement
namespace PassivityUn
theorem stdJ_sq (n : ℕ) : stdJ n * stdJ n = -1 := by sorry
end PassivityUn
Source
Shape Zero LLC, "Formal Proofs of the C1 Verification Package" (August 2026), §6, Theorem 6.1: https://github.com/ShapeZeroSZ/shape-zero/blob/main/01_source/proofs/ShapeZero_C1_Formal_Proofs.pdf ; corrected in "Errata — C1 Formal Proofs (Sections 3 and 6)", Corrected Theorem 6.1(b): https://github.com/ShapeZeroSZ/shape-zero/blob/main/01_source/proofs/ERRATUM_Theorem_6.1.md
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Read-back of PassivityUn.stdJ_sq. Let nnn be any natural number. The claim is universally quantified over nnn, and n=0n = 0n=0 is included. There are no other hypotheses.

Index set. The rows and columns are indexed by the disjoint union Fin n⊔Fin n\mathrm{Fin}\,n \sqcup \mathrm{Fin}\,nFinn⊔Finn: a "left" copy and a "right" copy of {0,…,n−1}\{0,\dots,n-1\}{0,…,n−1}. This set has 2n2n2n elements. It is not {0,…,2n−1}\{0,\dots,2n-1\}{0,…,2n−1}. Indices are tagged as belonging to the first or the second block.

The matrix JnJ_nJn​. The definition stdJ gives a real square matrix JnJ_nJn​ over this index set. It is built from four n×nn\times nn×n real blocks:

Jn  =  (0−InIn0).J_n \;=\; \begin{pmatrix} 0 & -I_n \\ I_n & 0 \end{pmatrix}.Jn​=(0In​​−In​0​).
  • The upper-left block (left row, left column) is the zero matrix.
  • The upper-right block (left row, right column) is −In-I_n−In​.
  • The lower-left block (right row, left column) is the identity InI_nIn​.
  • The lower-right block (right row, right column) is the zero matrix.

Written out entry by entry:

  • (Jn)Li, Rj=−δij(J_n)_{\mathrm{L}i,\,\mathrm{R}j} = -\delta_{ij}(Jn​)Li,Rj​=−δij​
  • (Jn)Ri, Lj=δij(J_n)_{\mathrm{R}i,\,\mathrm{L}j} = \delta_{ij}(Jn​)Ri,Lj​=δij​
  • every other entry is 000.

Assertion. The ordinary matrix product of JnJ_nJn​ with itself equals the negative of the identity matrix on the full 2n2n2n-element index set:

Jn Jn  =  −I2nfor every n∈N.J_n \, J_n \;=\; -I_{2n} \qquad \text{for every } n \in \mathbb{N}.Jn​Jn​=−I2n​for every n∈N.

In other words, (JnJn)a,b=−1(J_n J_n)_{a,b} = -1(Jn​Jn​)a,b​=−1 if a=ba = ba=b and 000 otherwise, for all indices a,ba, ba,b in Fin n⊔Fin n\mathrm{Fin}\,n \sqcup \mathrm{Fin}\,nFinn⊔Finn.

Edge case n=0n = 0n=0. The index set is empty, so both sides are the unique empty 0×00 \times 00×0 matrix and the equation holds trivially.

Human review
  • Endorsed by Shuze Chen · Sep 24, 2026

    Confirmed by the moderator at approval.

  • Endorsed by ShapeZero · Sep 24, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me