Skip to content
Snippets Groups Projects
Commit 7607c53e authored by Robbert Krebbers's avatar Robbert Krebbers
Browse files

Similar tests for `curry`.

parent fdf4deed
No related branches found
No related tags found
No related merge requests found
...@@ -81,3 +81,16 @@ Lemma uncurry4_ne_test {A B C D E : ofe} (f : A → B → C → D → E) : ...@@ -81,3 +81,16 @@ Lemma uncurry4_ne_test {A B C D E : ofe} (f : A → B → C → D → E) :
( n, Proper (dist n ==> dist n ==> dist n ==> dist n ==> dist n) f) ( n, Proper (dist n ==> dist n ==> dist n ==> dist n ==> dist n) f)
NonExpansive (uncurry4 f). NonExpansive (uncurry4 f).
Proof. apply _. Qed. Proof. apply _. Qed.
Lemma curry_ne_test {A B C : ofe} (f : A * B C) :
NonExpansive f
n, Proper (dist n ==> dist n ==> dist n) (curry f).
Proof. apply _. Qed.
Lemma curry3_ne_test {A B C D : ofe} (f : A * B * C D) :
NonExpansive f
n, Proper (dist n ==> dist n ==> dist n ==> dist n) (curry3 f).
Proof. apply _. Qed.
Lemma curry4_ne_test {A B C D E : ofe} (f : A * B * C * D E) :
NonExpansive f
n, Proper (dist n ==> dist n ==> dist n ==> dist n ==> dist n) (curry4 f).
Proof. apply _. Qed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment