Coercive logic is a concept popularised by mathematician Raymond Smullyan, by which a person who has agreed to answer a question truthfully is forced to perform an undesired action, where not doing so would mean breaking their agreement.
[1] Smullyan presents the concept as a question: Suppose I offer you a million dollars to answer a yes/no question truthfully, would you accept the offer?
If so, you shouldn't, for I would then ask: Will you either answer no to this question or pay me two million dollars?
[2]Smullyan's question is asking the reader whether at least one of the two options is true:[3] The reader is unable to truthfully give an answer of no, as doing so would be to assert that both of the statements were false: "no, my answer is not no" and "no, I will not pay you two million dollars".
[3] Smullyan credits the name of the process to his son-in-law Jack Kotik.