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

Negation not working #10

Open
lucarag opened this issue Jun 13, 2024 · 1 comment
Open

Negation not working #10

lucarag opened this issue Jun 13, 2024 · 1 comment

Comments

@lucarag
Copy link

lucarag commented Jun 13, 2024

Hi, I've been trying to use this very nice tool in my work, but I have a problem with limiting the scope of rules through negations.

In my specific case, i want to take anything that was true at previous times T1 starting from current time T (posing T1 < T).
Ho don't know which T1 it will be, but I want it to stop with the first one in the past.
example: if some property is true at times 1, 2, 3, and my rule checks for T starting from 6 and going backwards, I want it to return the property being true for time T1 = 3 only. I've tried using +, +, and not(), but none of these seems to work and it actually makes the entire rule fail at all times.

Is negation not handled at all in this tool, or am I doing something wrong?
I also used the precise example you show at the beginning of the readme and it doesn't work as supposed to.

What would you suggest?

@MNoorFawi
Copy link
Owner

MNoorFawi commented Jun 13, 2024 via email

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

No branches or pull requests

2 participants