Equations
- Auto.Bool.ofProp c = match Classical.propDecidable c with | isTrue h => true | isFalse h => false
Instances For
Similar to ite
, but does not have complicated dependent types
Equations
- Auto.Bool.ite' p x y = match Auto.Bool.ofProp p with | true => x | false => y