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

Doubtful behavior on (P=>Q) #4

Open
ninjarabs opened this issue Sep 28, 2017 · 8 comments
Open

Doubtful behavior on (P=>Q) #4

ninjarabs opened this issue Sep 28, 2017 · 8 comments

Comments

@ninjarabs
Copy link

Dears, Mr.Donze
I found propositional logic judgement(P=>Q) that I don't understand why it occurred.
Please refer summary result in attach file(QA.xlsx)
(Although I tried to check in source code STL_EvalThom.m line:172 but I don't know purpose of logic yet)

So, I don't sure that I misunderstand something or the script that I use for test have something wrong.
But in case of this issue is classified as need to revise. I wonder if you could fix this issue.
Thanks for your consideration.

                        Best Regards,
                          Nattawut K.

Reference file

  1. Summary result(xlsx)
    QA.xlsx
  2. Trial Script(.zip)
    check_ev.zip
@slivingston
Copy link

@ninjarabs can you share the results in plaintext or Markdown format, so that we can avoid opening an XLSX file or the ZIP file?

In general, those file types might act as attack vectors, so we should try to resolve the issue without using them if we can.

@slivingston
Copy link

you can find an introduction to formatting here at https://help.github.com/articles/about-writing-and-formatting-on-github/. worst case you can export the XLSX file to CSV and copy-and-paste it into a GitHub comment box.

@ninjarabs
Copy link
Author

@slivingston thanks for your suggestion.
Detail in Summary result.xlsx will be as following below

While I try to run Breach toolbox for confirm correctness of propositional logic(imply[=>]), I found misunderstand point as following.

Truth table for imply

P Q P=>Q
T T T
T F F
F T T
F F T

In timing[0,1] when {P,Q}={0,0}, Bool. Sat line that come from tool not follow above truth table.
ng

@choshina
Copy link

Dear Nattawut:

Have you solved the problem? We encountered a similar case. I appreciate it very much if you can share the progress.

Thanks!

Best,
Zhenya

@ninjarabs
Copy link
Author

Dear Zhenya,
I sorry to said that I don't get any answer as well. But I never try to directly contact to developer.
I think you should try to mail to developer([email protected])

regards,
Nattawut

@choshina
Copy link

Dear Nattawut:

Thank you very much! I will let you know if I have progress.

Best,
Zhenya

@alexdecyphir
Copy link
Contributor

Dear all,
Really sorry for the very late response on this. I recently pushed a new version of Breach on Github and I wonder if you would try again the suspicious behaviors you were experiencing.

Nattawut, the plot you showed above is clearly very strange. I got your code and played around with it and everything behaves as expected (though some outputs may be strange at first sight, but I can explain) - I couldn't reproduce something similar to what you shared.

Zhenya, can you elaborate on the similar case you experienced recently?

Best,
Alex

@choshina
Copy link

choshina commented Feb 28, 2019

Dear Alex:

Thanks for your reply!

I have rerun the same script but now I got a different result. I attach the script and two different figures. The Breach versions I use are both 1.2.13. The Matlab versions are both 2017b, but the releases are possibly different.

The result we get now (shown in fignew) is as expected, but what we got previously (shown in figold) was unexpected.

Thank you!

Best,
Zhenya
breach_result.zip

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

4 participants