fn check_apply(n: usize, x: usize, y: usize) -> Result<(), OperatorError>
The length check of an application of a shift-invert operator.