CiaoPP: `trust' and determinism #115
Replies: 2 comments 2 replies
-
|
Hi Simone, also if you just change det to semidet in the assertion for p1/2 it works. The problem is that det means exactly one solution, i.e., it requires guaranteeing that the predicate will not fail. This means that det requires performing non-failure analysis, which the CiaoPP analyzer can do, but the 'auto' mode in analysis selection is not turning it on. You can go into the CiaoPP menu, in 'Abstract domain selection' put it in manual mode, and then in 'Non failure' select 'nfdet', which performs combined non-failure and determinacy analysis. Let us know if it works for you! |
Beta Was this translation helpful? Give feedback.
-
|
Hi Simone,
Exactly, yes.
They are equivalent. The difference is purely syntactic: 'is_det' is the
The same applies here: the two properties are equivalent, with 'multi'
Again, the same applies, with 'nondet' being the name used in Mercury.
Yes, that is its meaning. Best regards, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am trying to perform determinacy checking on the following example:
The answer returned by CiaoPP is:
However, verification is successful both when replacing 'det' with 'semidet' and with 'multi' in p1 check:
Looking at the documentation on determinacy properties, I cannot understand the tool behavior:
Thanks for the help,
Simone
Beta Was this translation helpful? Give feedback.
All reactions