Sets, lattices, and Boolean algebras