| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: deductive databases
Robert Low wrote:
> alex goldman wrote:
>> Robert Low wrote: >>>But what is car(cons(X,Y),X)? >> It's a relation (whereas in Lips, it would be a function)
If the inference procedure "knew" about equality, we could write
car(cons(X, Y)) = X, or equivalently X = car(cons(X, Y))
In Prolog, it doesn't, so /one/ way to express "car" relation is like I did.
> (To put it another way, the pair (Z,X) satisfies car(Z,X)
> iff X is car(Z)?)
Er, no "iff", and we only defined car of arity 2. Received on Sat May 14 2005 - 10:14:32 CDT
![]() |
![]() |