There are a couple of notions of truthiness in Coq. For example Prop
and bool
.
bool
and Prop
One advantage of Prop
over bool
is that Prop
is essentially a built in which works well with tactics like rewrite
in the case of equality.
Type
and Prop
Term erasing