(* UNWIND FOR PROTOTERM *****************************************************)
lemma unwind_iref_sn (f) (t:prototerm) (n:pnat):
(* UNWIND FOR PROTOTERM *****************************************************)
lemma unwind_iref_sn (f) (t:prototerm) (n:pnat):
#f #t #n #p * #q #Hq #H0 destruct
@(ex2_intro … (𝗱n◗𝗺◗q))
/2 width=1 by in_comp_iref/
qed-.
lemma unwind_iref_dx (f) (t) (n:pnat):
#f #t #n #p * #q #Hq #H0 destruct
@(ex2_intro … (𝗱n◗𝗺◗q))
/2 width=1 by in_comp_iref/
qed-.
lemma unwind_iref_dx (f) (t) (n:pnat):
#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_unwind_bi/
qed-.
lemma unwind_iref (f) (t) (n:pnat):
#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_unwind_bi/
qed-.
lemma unwind_iref (f) (t) (n:pnat):