(Lat., god from the machine) The phrase refers to the theatrical device whereby a supernatural agency is introduced to solve the dramatic situation; hence, any artificial, introduced, external, and ad hoc solution to a problem.
Philosophy dictionary. Academic. 2011.