Date: Nov 25, 2012 10:04 PM
Author: Graham Cooper
Subject: Re: On Generalizing the Natural Numbers

> I should be able to extend PROLOG to run Queries in this form..
>
> all( X , less(X,10) , add( X, {2,3,4}, 20) )
>
> ^     ^       DOMAIN     SUPERSET
> |     |
> |    TERM
> |
> QUANTIFIER
>
> this is not yet compatible with Charlie's Method!



It's actually

{ X | less(X,10) } C { X | add(X, {2,3,4}, 20) }

{0,1,2,3,4,5,6,7,8,9} C {16,17,18}

FALSE

--------


i.e.
All(X):X<10 X+{2,3 or 4}=20
is false.

I convert ALL Quantifiers to a SUBSET OF TERM Predicate
all(X,d(..X..),p(..X..))
or I could input the subset formula directly. (not single sets yet!)

Herc