Subposets of the boolean algebra