Skip to content

Commit 9cf7e86

Browse files
committed
[changelog]: if-idem-then + if-idem-else
1 parent 35e7531 commit 9cf7e86

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,8 @@ Additions to existing modules
242242
* In `Data.Bool.Properties`:
243243
```agda
244244
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)
245247
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)
246248
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))
247249
if-not : ∀ b → (if not b then x else y) ≡ (if b then y else x)

0 commit comments

Comments
 (0)