I think it’s broadly better to just rely on the if/unless distinction for negation of conditions (and add until as a similar contrast with while for repeat statements – note, this is solely about negating the condition and not about guaranteeing a minimum of one execution of the loop body, which is a separate distinction).
That said, it’s debatable whether that’s enough for more complex conditions. For example, suppose you need to express something like A & (B | ~C) & ~D. You can do it just fine even now using if/unless:
if A:
unless D:
if B:
do something
else unless C:
do something
But that’s not gonna work for a repeat statement (even with until) or in any other place you’d need a condition (eg whether or not). Thus, I think I agree that we need something else as a fallback… but does it need to be a fully generic not phrase?
There are conditions even now that can be natively negated – those that are sentences, rather than phrases, can simply negate the verb. For phrases, it’s relatively trivial to define a new phrase that means the exact opposite, so I’d suggest that this should be done with all built-in condition phrases.
Even so, I think there could be a few edge cases. Perhaps you don’t want to have to apply DeMorgan’s law to convert ~(A & B) into (~A | ~B) or ~(A | B) into (~A & ~B), which would be necessary if negation can only be applied to the atomic conditions.
So, I guess providing logical negation as a phrase (or embedded in the grammar) would still be a good idea as a last resort for exceptionally complex conditions. I think it’s best to recommend avoiding its use whenever possible though.
Ideally, the phrase would be to decide whether not (c - a condition), but I have a feeling that might be problematic with the general grammar? Maybe it could be to decide whether the/-- logical negation of/-- (c - a condition) – the verbosity subtly discourages its use while still making it readily available. (Of course, anyone can just define it as Zed did above if they don’t like being discouraged from using it and want it to be less verbose.)