Binary sums/coproducts [01GH]

We can encode binary sums A+B of arbitrary types A,B~\mathit {type} using either a large elimination or the axiom of universes. For simplicity, we will use the former, but you should see if you can figure out how to do the latter.

Related

Universes, or types of types › The axiom of universes [01F8]

Aside. Dependent types I › The boolean type › Type-level if-expressions [01DB]