Boolean

The booleans are the H-Set with exactly two elements. If we have Binary Coproducts + + and a Terminal Object 1 1 1 , we can construct the booleans as 1 + 1 1 1 1+1 ; this lets us construct the booleans in an arbitrary Category.

Type Theoretically