Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Renaming an action #1613

Closed
matifch opened this issue Jul 19, 2020 · 2 comments
Closed

Renaming an action #1613

matifch opened this issue Jul 19, 2020 · 2 comments
Labels
question Someone has a question

Comments

@matifch
Copy link

matifch commented Jul 19, 2020

Can we write the renaming rule for the following process

P(lst:List(Nat)) = a(0) + a(maxList(lst));

where we want to rename a(maxList(lst)) to some action and maxList is a function to determine the maximum value in a list of natural numbers.

@tneele
Copy link
Member

tneele commented Jul 19, 2020

I don't think this is possible, since the documentation states that

All arguments of the action at the left hand side must either be closed terms or variables.

Perhaps @jgroote has a suggestion for a trick to work around this limitation.

@jgroote
Copy link
Member

jgroote commented Jul 22, 2020 via email

@tneele tneele added the question Someone has a question label Aug 27, 2020
@tneele tneele closed this as completed Aug 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Someone has a question
Projects
None yet
Development

No branches or pull requests

3 participants