Orthoalgebras as Pastings of Boolean Algebras