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

reduction of fst on opair

parent 3f7dda1c
No related branches found
No related tags found
No related merge requests found
......@@ -60,8 +60,6 @@ constant symbol snd {T: Univ Type} {P: Term T ⇒ Univ Prop}
symbol pair {T: Univ Type} (P: Term T ⇒ Univ Prop) (M: Term T):
Term (P M) ⇒ Term (Psub P)
rule fst (pair _ &M _) → &M
// opair is a pair forgetting its snd argument
protected symbol opair (T: Univ Type) (P: Term T ⇒ Univ Prop) (M: Term T):
Term (Psub P)
......@@ -69,6 +67,8 @@ protected symbol opair (T: Univ Type) (P: Term T ⇒ Univ Prop) (M: Term T):
// Two pairs are convertible if their first element is
rule pair {&T} &P &M _ → opair &T &P &M
rule fst (opair _ _ &M) → &M
// The subtype relation
symbol subtype: Term uType ⇒ Term uType ⇒ Term uProp
set infix left 6 "⊑" ≔ subtype
......
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