UniMath icon indicating copy to clipboard operation
UniMath copied to clipboard

Inductive type bool from Coq's Init.Datatypes

Open benediktahrens opened this issue 9 years ago • 4 comments

We are using the booleans of Coq.Init.Datatypes, which are defined as an inductive type:

Inductive bool : Set :=
  | true : bool
  | false : bool.

Should we try replacing it by unit \coprod unit? Is the alternative definition of bool as coproduct already given somewhere?

benediktahrens avatar Oct 20 '15 01:10 benediktahrens