Would there be a place for this simple lemma in the standard library?
Bool-contradiction : ∀ {ℓ} {A : Set ℓ} {b : Bool} → b ≡ true → b ≡ false → A
Bool-contradiction refl ()
I found it convenient when refuting impossible cases concerning functions into Bool.
Would there be a place for this simple lemma in the standard library?
I found it convenient when refuting impossible cases concerning functions into
Bool.