I use the textbook "an introduction to formal languages and automata", 6th edition by Peter Linz.
In Definition 11.2, it seems that a Turing machine "M accepts language L" and "M halts on string w" are different things? I mean, why does the author specifically distinguish these two concepts?
But if we check Definition 9.3, it says that if M accepts L then it eventually reaches a final state qf. For a final state, my understanding is that it means M halts on w, right? In this regard, aren't accepting and halting the same idea?
Are accepting and halting different concepts? Or is there an example that it arrives in qf but does not halt? Thanks.