(* LIFT FOR PROTOTERM *******************************************************)
-lemma lift_iref_after_sn (f) (t:prototerm) (n:pnat):
- ā[fāš®āØnā©]t ā ā[f](šn.t).
-#f #t #n #p * #q #Hq #H0 destruct
-@(ex2_intro ā¦ (š±nāšŗāq))
+lemma lift_iref_sn (f) (t:prototerm) (n:pnat):
+ (šf@āØnā©.ā[ā*[n]f]t) ā ā[f](šn.t).
+#f #t #n #p * #q * #r #Hr #H1 #H2 destruct
+@(ex2_intro ā¦ (š±nāšŗār))
/2 width=1 by in_comp_iref/
qed-.
-lemma lift_iref_after_dx (f) (t) (n:pnat):
- ā[f](šn.t) ā ā[fāš®āØnā©]t.
+lemma lift_iref_dx (f) (t) (n:pnat):
+ ā[f](šn.t) ā šf@āØnā©.ā[ā*[n]f]t.
#f #t #n #p * #q #Hq #H0 destruct
-elim (in_comp_inv_iref ā¦ Hq) -Hq #p #Hp #Ht destruct
-/2 width=1 by in_comp_lift_bi/
+elim (in_comp_inv_iref ā¦ Hq) -Hq #p #H0 #Hp destruct
+/3 width=1 by in_comp_iref, in_comp_lift_bi/
qed-.
-lemma lift_iref_after (f) (t) (n:pnat):
- ā[fāš®āØnā©]t ā ā[f](šn.t).
-/3 width=1 by conj, lift_iref_after_sn, lift_iref_after_dx/
-qed.
-
lemma lift_iref (f) (t) (n:pnat):
- ā[f]ā[š®āØnā©]t ā ā[f](šn.t).
-/3 width=3 by lift_term_after, subset_eq_trans/
+ (šf@āØnā©.ā[ā*[n]f]t) ā ā[f](šn.t).
+/3 width=1 by conj, lift_iref_sn, lift_iref_dx/
qed.