Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
devops committed Feb 3, 2025
2 parents 54b7a9c + db556c8 commit 7798d97
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pyk/src/pyk/klean/k2lean4.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,9 @@ def _rewrite_ctor(self, rule: RewriteRule) -> Ctor:

# Step 3: create binders
binders: list[Binder] = []
binders.extend(self._free_binders(pattern)) # Binders of the form {x y : SortInt}
binders.extend(
self._free_binders(And(SortApp('Foo'), (pattern,) + tuple(defs.values())))
) # Binders of the form {x y : SortInt}
binders.extend(self._def_binders(defs)) # Binders of the form (def_y : foo x = some y)

# Step 4: transform patterns
Expand Down

0 comments on commit 7798d97

Please sign in to comment.