Shell expansion patterns for predicate arity