We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35e7531 commit 9cf7e86Copy full SHA for 9cf7e86
CHANGELOG.md
@@ -242,6 +242,8 @@ Additions to existing modules
242
* In `Data.Bool.Properties`:
243
```agda
244
if-eta : ∀ b → (if b then x else x) ≡ x
245
+ if-idem-then : ∀ b → (if b then (if b then x else y) else y) ≡ (if b then x else y)
246
+ if-idem-else : ∀ b → (if b then x else (if b then x else y)) ≡ (if b then x else y)
247
if-swap-then : ∀ b c → (if b then (if c then x else y) else y) ≡ (if c then (if b then x else y) else y)
248
if-swap-else : ∀ b c → (if b then x else (if c then x else y)) ≡ (if c then x else (if b then x else y))
249
if-not : ∀ b → (if not b then x else y) ≡ (if b then y else x)
0 commit comments