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

TSL question: function constraints #59

Open
w14 opened this issue Nov 10, 2023 · 0 comments
Open

TSL question: function constraints #59

w14 opened this issue Nov 10, 2023 · 0 comments

Comments

@w14
Copy link
Collaborator

w14 commented Nov 10, 2023

A small question about TSL semantics. I'm just verifying because I know sometimes tslsynth gives messages that are not exactly correct.

Question

If you assume that a variable equals a function, will the spec be always unrealizable because the spec needs to work for any choice of function? Or will the condition place constraints on f?

In an example, suppose you have a spec in an "always guarantee" block and it produces an output. If you add a condition that a function f must equal y, as shown below, will this simply place constraints on possible fs? Or will it always be unrealizable because the spec needs to work for any possible choice of "f" and so you can't place constraints on f.

always assume {
	f x == X y
}

always guarantee {
	[terms involving f, x, and [y <- ...]]
}
@w14 w14 changed the title TSL question TSL question: function constraints Nov 10, 2023
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