Skip to content
Snippets Groups Projects
Commit b56541e3 authored by gabrielhdt's avatar gabrielhdt
Browse files

oblivious pair

parent 6a97438b
No related branches found
No related tags found
No related merge requests found
......@@ -60,3 +60,10 @@ symbol pair {T: Univ Type} (U: Term T ⇒ Univ Prop) (M: Term T):
rule fst &U (pair &U &M _) → &M
rule snd &U (pair &U _ &P) → &P
// opair is a pair forgetting its snd argument
protected symbol opair (T: Univ Type) (U: Term T ⇒ Univ Prop) (M: Term T):
Term (psub T U)
// Two pairs are convertible if their first element is
rule @pair &T &U &M _ → opair &T &U &M
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