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 verdict on simple example with Xs #8

Open
shaunazzopardi opened this issue Oct 14, 2024 · 0 comments
Open

Wrong verdict on simple example with Xs #8

shaunazzopardi opened this issue Oct 14, 2024 · 0 comments

Comments

@shaunazzopardi
Copy link

shaunazzopardi commented Oct 14, 2024

Hey,

On the latest version of Strix (21.0.0), I am getting a realisable verdict on the following .tlsf file:

INFO {
	TITLE:       ""
	DESCRIPTION: ""
	SEMANTICS:   Mealy
	TARGET:      Mealy
}
MAIN {
	INPUTS { 
		x;
		y;
		z;
	}
	OUTPUTS { 
	}
	ASSUMPTIONS {
		X(x || y);
		X(!x && y)
	}
	GUARANTEES { 
		z
	}
}

It seems to me this should be umrealisable (the environment can always choose to make !x && y true in the next state, satisfying both assumptions).

To identify the source of the error I tried small modifications, e.g., remove the Xs from the assumptions, join the two assumptions into one (X((x || y) && !x && y)) turning the Xs into Gs, or changing the guarantee to false. Strix gives the correct verdict in all these cases.

It seems the issue is with how X is dealt with internally. Note the issue also disappears if the X is propagated in the first assumption, i.e. to (X(x)) || (X(y)).

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

1 participant