Taking the example of boolean satisfiability problem. We might have something like:
$$(a \lor b \lor c \lor d)\land (a \lor d \lor e) \land (f \lor b \lor g)$$
The statement is that there is no algorithm acting on a general input that would give the answer in polynomial time with respect to the length of the input.
Do we assume that the algorithm is some kind of Turing machine that looks at the input character by character and moves the head one step left or one step right after each move updating some internal state, or is there another way to formulate how the algorithm should be expressed?