PROLOG uses a MATCHING algorithm rather than EQUALITY '='
Consider ZFC SET EQUALITY by extension.
SET EQUALITY
SUBSET( S , T ) <-> AxeS->xeT
EQUALS( S , T ) <-> AxeS->xeT & AxeT->xeS
-----------------------------
What if S has a set of its own?
S = { Q , 4 , 3, 6 }
T = { {7} , 4 , 3 , 6}
-----------------------------
AXIOM of Equality will not be able to work out if S=T.
PROLOG goes a step further and BINDS Q={7}
> 2. Can you list the prime numbers between A and B for any A,B in it?
> (by typing A and B in somewhere)
> 3. Can you tell if A is a factor of B for any A,B in it? (by typing A
> and B in somewhere)
>
> C-B
Why not? As |input| increases you need more iterations.
You might be able to search "Arithmetic Space" for equations of the
form:
+(-(/(23.33),23)+(23,#(23,32..........)))) X +(-(/(23.33),
23)+(23,#(23,32..........))))
The Public Key maker must have generated his 2 primes somehow!
Herc
--
www.BLOCKPROLOG.com