From Longman Dictionary of Contemporary Englishmental/intellectual/moral gymnasticsmental/intellectual/moral gymnastics[plural]INTELLIGENT very clever thinking → gymnastics
Examples from the Corpus
mental/intellectual/moral gymnastics• None the less, great feats of mental gymnastics were per-formed to make them into atmospheric phenomena.• I changed into my running clothes and did three miles while I went through the mental gymnastics of getting the case organized.