-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Setup differnet approach that might be a bit simpler.
- Loading branch information
Showing
4 changed files
with
804 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,4 +20,3 @@ module CR (A : Adv_CR) = { | |
return x' <> x /\ f x' = f x; | ||
} | ||
}. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
require import AllCore. | ||
require HashFunctions. | ||
|
||
|
||
type in_t. | ||
type out_t. | ||
op f : in_t -> out_t. | ||
|
||
clone import HashFunctions as F with | ||
type in_t <- in_t, | ||
type out_t <- out_t, | ||
|
||
op f <- f | ||
|
||
proof *. | ||
|
||
|
||
type in_t2. | ||
type out_t2. | ||
op g : in_t2 -> out_t2. | ||
|
||
clone import HashFunctions as G with | ||
type in_t <- in_t2, | ||
type out_t <- out_t2, | ||
|
||
op f <- g | ||
|
||
proof *. | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.