, j . - I . ; , .
1. . , Prolog, , .
2. , , :
, Q, R.
, Prolog.
, , , . , , . , . , , :
:- =. b. : - .
: , b . :
<==> ! £ b) v
, . :
: - ,!, .
: - .
132 I. Prolog
: <:==> ( 6 v (- & )
: :- .
:- , 1, to.
: <==> v (a & b)-
, , . , .
, , , . , . , . "", . .
|
|
, , , . , , .
, fail. , (not) . , , , . not "' fail" ( ), , " fail".
, not , . , , not, , . , Prolog :?- not human [ ).
, , "yes". , Prolog , . Prolog , , , . , not Prolog . , , Prolog , not.
. , , . , - ( ), , , , . Prolog , -
5,
, .
human(),
, , !
, , not , , :
good standard(jeanluis). expensive[ j eanluis).