Symbolic execution of transition systems with function summaries