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

Simple GR(1) spec is identified as not GR(1) #46

Open
5nizza opened this issue Jan 25, 2023 · 0 comments
Open

Simple GR(1) spec is identified as not GR(1) #46

5nizza opened this issue Jan 25, 2023 · 0 comments

Comments

@5nizza
Copy link

5nizza commented Jan 25, 2023

Consider the following specification.

$ cat gr1_bug.tlsf 
INFO {
  TITLE:       ""
  DESCRIPTION: ""
  SEMANTICS:   Mealy
  TARGET:      Mealy
}

GLOBAL {
  PARAMETERS { }
  DEFINITIONS { }
}

MAIN {
  INPUTS { r; }
  OUTPUTS { g; }

  INITIALLY { }
  PRESET { }

  REQUIRE { }
  ASSERT { g; }

  ASSUME { G F r; }
  GUARANTEE { }
}

It is clearly a GR(1) spec. However, the tool claims it is not.

$ syfco ./gr1_bug.tlsf  -gr
NOT in the Generalized Reactivity fragment: ./gr1_bug.tlsf

As a result, it cannot be converted into slugs format:

$ syfco ./gr1_bug.tlsf  -f slugs
"Conversion Error": not in GR(1)
The given specification is not in GR(1), which is neccessary to convert to the slugs format.
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