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

Question: Semantics #69

Open
nmanginas opened this issue Jan 17, 2024 · 4 comments
Open

Question: Semantics #69

nmanginas opened this issue Jan 17, 2024 · 4 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@nmanginas
Copy link

nmanginas commented Jan 17, 2024

Hi many thanks for the tool.
I am trying to convert the formula (WX(a) <-> b) for which the automaton is this:

image

Shouldn't the string "~b", i.e. not b be accepted here? Am I missing something?

Thanks

@francescofuggitti
Copy link
Member

Hi @nmanginas,

thanks for reaching out! Yes, you're right. The string "~b" should be accepted. This is a bug (a nice viz is here). Now, I don't have much time to look into it, but I'll try to do so asap.

Thank you!

@francescofuggitti francescofuggitti added the bug Something isn't working label Jan 18, 2024
@francescofuggitti francescofuggitti added the help wanted Extra attention is needed label Feb 9, 2024
@nickmagginas
Copy link

I am not sure this is wrong after all:
The formula WX(a) <-> b is equivelant to (WX(a) & b) | !(WX a) & ~b) which in NNF would correspond to
(WX(a) & b) | (X ~a) & ~b) per the rules in slide 32 here. In that case, I am thinking about this bottom up instead of top down as the compilation done here, it does make sense. Which begs the question what is the formula used to encode the desired behavior which is (WX a & b) | (WX ~a) & ~b). Which per the rules is not equivalent to WX(a) <-> b. Don't know if this makes sense?

@nickmagginas
Copy link

Sorry different account :') I am the same person.

@francescofuggitti
Copy link
Member

The transformation to NNF is correct but also in that case the string "~b" should be accepted. See the comparison here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants