Stream: Beginner Questions

Topic: dest_Free error while interpreting statespace locale


view this post on Zulip Lukas Stevens (Sep 08 2023 at 12:33):

More minimal example:

Scratch1.thy

view this post on Zulip Lukas Stevens (Sep 08 2023 at 12:56):

I found the culprit, it is in state_space.ML:100

view this post on Zulip Lukas Stevens (Sep 08 2023 at 13:07):

Replacing

fun comps_of_distinct_thm thm = Thm.prop_of thm
  |> (fn (_$(_$t)) => DistinctTreeProver.dest_tree t) |> map (fst o dest_Free) |> sort_strings;

with

fun comps_of_distinct_thm thm = Thm.prop_of thm
  |> (fn (_$(_$t)) => DistinctTreeProver.dest_tree t) |> map Term.term_name |> sort_strings;

in state_space.ML seems to work.


Last updated: Dec 21 2024 at 16:20 UTC