豈図らんや

Etymology
Adverb +  + suppositional auxiliary  (from -m, from む|-mu) + interrogative particle. Literally "(just) how could one think (such a thing so)?".

Idiom

 * 1) an expression of surprise to an event that is contrary to one's expectations; unexpectedly, to [one's] surprise, contrary to [one's] expectations