Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- Bool.instDecidableLeBoolInstLEBool x y = inferInstanceAs (Decidable (x = true → y = true))
Equations
- Bool.instDecidableLtBoolInstLTBool x y = inferInstanceAs (Decidable ((!x && y) = true))
and #
or #
xor #
le/lt #
min/max #
injectivity lemmas #
@[deprecated Bool.not_inj_iff]
Alias of Bool.not_inj_iff
.
toNat #
convert a Bool
to a Nat
, false -> 0
, true -> 1
Equations
- Bool.toNat b = bif b then 1 else 0