1. Split and reconstruct a vector
All examples · Glossary: projector · Papers, proofs, Lean, and code
For a complete route through blocks, a runnable program and the recorded proof links, use Reconstruct an operator.
We will split a vector into two components and put it back together. Work over the real numbers and take
Select the components
Multiply each row by the column vector:
The first matrix keeps the first coordinate. The second keeps the second.
Check the packet identities
Multiplying the matrices gives
Idempotence says selecting a component twice has the same effect as selecting it once. The zero products say the two selections annihilate each other. The sum-to-identity equation gives reconstruction:
This last identity holds for every vector in this two-dimensional space because \(P_1+P_2=I_2\), not just because it worked for the chosen input.
An oblique decomposition
A projector need not be orthogonal. Replace the matrices by
For example,
Likewise \(Q_2Q_1=0\), \(Q_1^2=Q_1\), \(Q_2^2=Q_2\) and \(Q_1+Q_2=I_2\). The components of the same input are now
They still add to \(x\). Their ordinary dot product is \(-3\), so they are not perpendicular. Algebraic reconstruction and orthogonality are different requirements.
Try it
Use \(x=(4,-1)^{\mathsf T}\) with both families.
Answer: The \(P\) components are \((4,0)^{\mathsf T}\) and \((0,-1)^{\mathsf T}\). The \(Q\) components are \((5,0)^{\mathsf T}\) and \((-1,-1)^{\mathsf T}\). Both pairs sum to \((4,-1)^{\mathsf T}\).
Continue reading: Packet family, orthogonal projector, and the library's first packet program.
Papers, proofs, Lean, and code
Terms in this example: Projector · Packet · Complete packet family · Orthogonal projector · Direct sum
Exact packet coordinates provide the source setting for the elementary decomposition.
Paper I: Typed Operator Systems, Seed Rank, and Exact Packet Coordinates
Read · Written proofs · Lean coverage · Code and setup · Evidence
Related library guide and code examples. The guide covers related constructions and their software interfaces.
Python arithmetic check for this example: packets(). This checks the displayed rational, modular or finite-set calculations exactly.
The Lean links open each work’s recorded coverage and sources. They do not certify this tutorial. A work may have limited coverage or no linked Lean or code. Its page states what is available.