Skip to content

Commit

Permalink
Generate the correct list hook implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
JuanCoRo committed Jan 21, 2025
1 parent 61c7f7e commit d8545f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyk/src/pyk/k2lean4/k2lean4.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def _collection(self, sort: str) -> Structure:
match coll.kind:
case CollectionKind.LIST:
(item,) = sorts
val = Term(f'List {item}')
val = Term(f'(ListHook {item}).list')
case CollectionKind.SET:
(item,) = sorts
val = Term(f'(SetHook {item}).set')
Expand Down

0 comments on commit d8545f5

Please sign in to comment.