Skip to content

Commit f46795a

Browse files
committed
[refactor]: rename if-swap to if-swap-else
1 parent 28241d8 commit f46795a

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/Data/Bool/Properties.agda

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -750,11 +750,12 @@ if-eta : ∀ b {x : A} →
750750
if-eta false = refl
751751
if-eta true = refl
752752

753-
if-swap : b c {x y : A}
754-
(if b then x else (if c then x else y)) ≡ (if c then x else (if b then x else y))
755-
if-swap false _ = refl
756-
if-swap true false = refl
757-
if-swap true true = refl
753+
if-swap-else : b c {x y : A}
754+
(if b then x else (if c then x else y))
755+
≡ (if c then x else (if b then x else y))
756+
if-swap-else false _ = refl
757+
if-swap-else true false = refl
758+
if-swap-else true true = refl
758759

759760
if-not : b {x y : A}
760761
(if not b then x else y) ≡ (if b then y else x)

0 commit comments

Comments
 (0)