Are variables logical or non-logical symbols in a logic system? I understand constants are 0-ary logical operation symbols. I think variables are non-logical symbols.
But here are two contrary examples:
It seems that variables are logical symbols in a propositional logic system, according to http://en.wikipedia.org/wiki/First-order_logic#Logical_symbols
Logical symbols
An infinite set of variables, often denoted by lowercase letters at the end of the alphabet x, y, z, … . Subscripts are often used to distinguish variables: x0, x1, x2, … .
It seems that variables are non-logical symbols in a propositional logic system, according to http://en.wikipedia.org/wiki/Propositional_logic#Generic_description_of_a_propositional_calculus
The alpha set is a finite set of elements called proposition symbols or propositional variables. Syntactically speaking, these are the most basic elements of the formal language $\mathcal{L}$, otherwise referred to as atomic formulæ or terminal elements. In the examples to follow, the elements of are typically the letters $p, q, r$, and so on.
The omega set $\Omega$ is a finite set of elements called operator symbols or logical connectives.
Thanks.