You can write
memb(Index, Addr, Val) :- Val >= 0.
This means that memb(Index, Addr, Val) succeeds if Var >= 0.
At compile-time you will have a warning about Index and Addr baecause they arne not used. To avoid this w<arningyou can write
memb(_Index, _Addr, Val):- Val >= 0.