How to use of upcase_atom/2 to get uppercase letters in an output

It would be nice of you to explain why is needed this double lneg rule at this place in the program, because it is indeed crucial.

about leanTAP and related topics, I just made this page . A better place than this thead, in my opinion.

(Nothing of relevance here)