diff options
author | Jason Gross <jagro@google.com> | 2016-07-29 11:47:51 -0700 |
---|---|---|
committer | Jason Gross <jagro@google.com> | 2016-07-29 11:47:51 -0700 |
commit | c701e6c51faf237dfbd097a81b7a08c92ea1f242 (patch) | |
tree | 95eee63a0527ab8abfa87af3a51524b03d29a5dd /src/Util/Isomorphism.v | |
parent | a828f1c5c42a024656628cc273919635b8c2eb70 (diff) |
Add HProp, Isomorphism
Diffstat (limited to 'src/Util/Isomorphism.v')
-rw-r--r-- | src/Util/Isomorphism.v | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Util/Isomorphism.v b/src/Util/Isomorphism.v new file mode 100644 index 000000000..a02afc3bf --- /dev/null +++ b/src/Util/Isomorphism.v @@ -0,0 +1,4 @@ +Record IsIso {A B} (f : A -> B) := + { iso_inv : B -> A; + is_right_inv : forall x, f (iso_inv x) = x; + is_left_inv : forall x, iso_inv (f x) = x }. |