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

Wrong evaluation order with sequential modifier #1033

Closed
NotBad4U opened this issue Jan 25, 2024 · 1 comment · Fixed by #1036
Closed

Wrong evaluation order with sequential modifier #1033

NotBad4U opened this issue Jan 25, 2024 · 1 comment · Fixed by #1036
Assignees

Comments

@NotBad4U
Copy link
Member

Hi everyone!

When the modifier sequential is used on a symbol, the order of execution is reversed.
The last case is evaluated first ("toto (⊤ ∧ ⊤) ↪ ⊥" in the below example).

sequential symbol toto: Prop →  Prop;
rule toto (⊤ ∧ ⊤) ↪ ⊤
with toto (⊤ ∧ ⊤) ↪ ⊥;

compute toto (⊤ ∧ ⊤);   // compute ⊥ 
@fblanqui
Copy link
Member

Hi @gabrielhdt . This is for you I think. ;-) I guess there is a list to reverse somewhere...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants