From WIkipedia
A logical system or, for short, logic, is a formal system together with a form of semantics, usually in the form of model-theoretic interpretation, which assigns truth values to sentences of the formal language, that is, formulae that contain no free variables.
According to the same link, a formal system consists of a finite alphabet, a formal grammar, a set of axioms and a set of inference rules.
I wonder if there are formal systems that are not logical systems?
Does the semantics in a logical system always assign truth values to sentences of its formal language?
Thanks.
Yes there exist formal systems which are not logical systems according to that definition. Here's one:
The alphabet consists of the symbol "C" and all lower case letters of the Latin alphabet.
The grammar is
The only axiom is "CCabCCbcCac".
The only rule of inference is condensed detachment.
Now, for this formal system some theorems are CCCCabCcbdCCcad, CCaCbcCCdbCaCdc, and CCabCCCacdCCbcd. However, CCpqCCqrCpr is not a theorem of this system. It's not a logical system, because there is no intended semantics here.