mirror of
https://github.com/Smaug123/agdaproofs
synced 2025-10-13 07:38:40 +00:00
Implement subtraction on the binary naturals (#45)
This commit is contained in:
@@ -35,5 +35,5 @@ module Maybe where
|
||||
noNotYes : {a : _} {A : Set a} {b : A} → (no ≡ yes b) → False
|
||||
noNotYes ()
|
||||
|
||||
mapMaybePreservesNo : {a b : _} {A : Set a} {B : Set b} (f : A → B) (x : Maybe A) → mapMaybe f x ≡ no → x ≡ no
|
||||
mapMaybePreservesNo f no pr = refl
|
||||
mapMaybePreservesNo : {a b : _} {A : Set a} {B : Set b} {f : A → B} {x : Maybe A} → mapMaybe f x ≡ no → x ≡ no
|
||||
mapMaybePreservesNo {f = f} {no} pr = refl
|
||||
|
Reference in New Issue
Block a user