src/HOL/Tools/SMT/cvc4_proof_parse.ML
changeset 75274 e89709b80b6e
parent 60201 90e88e521e0e
child 75365 83940294cc67
--- a/src/HOL/Tools/SMT/cvc4_proof_parse.ML	Sat Mar 12 23:21:28 2022 +0100
+++ b/src/HOL/Tools/SMT/cvc4_proof_parse.ML	Fri Mar 11 09:22:13 2022 +0100
@@ -24,7 +24,8 @@
       val id_of_index = Integer.add num_ll_defs
       val index_of_id = Integer.add (~ num_ll_defs)
 
-      val used_assert_ids = map_filter (try SMTLIB_Interface.assert_index_of_name) output
+      val used_assert_ids =
+        map_filter (try (snd o SMTLIB_Interface.role_and_index_of_assert_name)) output
       val used_assm_js =
         map_filter (fn id => let val i = index_of_id id in if i >= 0 then SOME i else NONE end)
           used_assert_ids