equal
deleted
inserted
replaced
165 val dummy_prop: term |
165 val dummy_prop: term |
166 val is_dummy_pattern: term -> bool |
166 val is_dummy_pattern: term -> bool |
167 val free_dummy_patterns: term -> Name.context -> term * Name.context |
167 val free_dummy_patterns: term -> Name.context -> term * Name.context |
168 val no_dummy_patterns: term -> term |
168 val no_dummy_patterns: term -> term |
169 val replace_dummy_patterns: term -> int -> term * int |
169 val replace_dummy_patterns: term -> int -> term * int |
170 val is_replaced_dummy_pattern: indexname -> bool |
|
171 val show_dummy_patterns: term -> term |
170 val show_dummy_patterns: term -> term |
172 val string_of_vname: indexname -> string |
171 val string_of_vname: indexname -> string |
173 val string_of_vname': indexname -> string |
172 val string_of_vname': indexname -> string |
174 end; |
173 end; |
175 |
174 |
964 in (t' $ u', i'') end |
963 in (t' $ u', i'') end |
965 | replace_dummy _ a i = (a, i); |
964 | replace_dummy _ a i = (a, i); |
966 |
965 |
967 val replace_dummy_patterns = replace_dummy []; |
966 val replace_dummy_patterns = replace_dummy []; |
968 |
967 |
969 fun is_replaced_dummy_pattern ("_dummy_", _) = true |
|
970 | is_replaced_dummy_pattern _ = false; |
|
971 |
|
972 fun show_dummy_patterns (Var (("_dummy_", _), T)) = dummy_pattern T |
968 fun show_dummy_patterns (Var (("_dummy_", _), T)) = dummy_pattern T |
973 | show_dummy_patterns (t $ u) = show_dummy_patterns t $ show_dummy_patterns u |
969 | show_dummy_patterns (t $ u) = show_dummy_patterns t $ show_dummy_patterns u |
974 | show_dummy_patterns (Abs (x, T, t)) = Abs (x, T, show_dummy_patterns t) |
970 | show_dummy_patterns (Abs (x, T, t)) = Abs (x, T, show_dummy_patterns t) |
975 | show_dummy_patterns a = a; |
971 | show_dummy_patterns a = a; |
976 |
972 |