Replies: 1 comment 1 reply
-
|
The goal Also, constructs such as "has at least n solutions" retain monotonicity. Otherwise, you probably would have to settle for less. Giving up monotonicity does not mean to give up purity as such. Going beyond Section 7 might be another way. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In the DEDUCTION project, I frequently invoke
findall/3orsetof/3and thenfoldl/4some binary operation over the resulting list.As @triska describes here, however, such all-solutions predicates destroy monotonicity "in general".
What I'm wondering is, are there specific circumstances when such modes of reasoning can be used while retaining monotonicity? Or is every attempt to even conceive of sets-of-solutions provably doomed in this way? Obviously, the code below uses impure constructs—and indeed must, since
But I am hoping that sufficient conditions might be placed on the predicate
P_3(and perhapsGoalas well) to enable recovery of some algebraic properties.At a basic level, I'm motivated here by the hope I could factor
findall/3andsetof/3out of my code entirely, and replace them with somehow 'less-impure' constructs.Beta Was this translation helpful? Give feedback.
All reactions