WWGD said:
But the truth value of Qa depends on Q, and on a. Does a satisfy preficate Q? For a sentence S we can assign or assume any truth value. And the two are different in important ways: Sentence logic is decidable, through truth tables, preficate logic is not.
Predicate Logic without quantifiers is decidable, but does not have the power to bind variables. With quantifiers, it is generally
semidecidable, with some restricted versions that are decidable, and some extended versions that are undecidable.
But first or the order of the logic refers to quantification. What quantification are you doing in Sentence logic?
Sometimes, informally, Sentential or Propositional logic is called
zeroth order logic. The Wikipedia article begins with the following superficially inconsistent statement:
Some authors, including the luminary Terence Tao, use the term 'zeroth order logic' to refer to a moderate extension of Propositional logic.
From Terence Tao's
An Epsilon of Room, II: pages from year three of a mathematical blog (Author's preliminary version made available with permission of the publisher, the American Mathematical Society):
1.4.2. Zeroth-order logic. Propositional logic is far too limited a language to do much mathematics. Let’s make the language a bit more expressive, by adding constants, operations, relations, and (optionally) the equals sign; however, we refrain at this stage from adding variables or quantifiers, making this a zeroth-order logic rather than a first-order one.
This article can also be found at the author's earlier page entitled
The completeness and compactness theorems of first-order logic.
In that earlier version of the article, the term 'zeroth order logic' is linked to the Wikipedia article, which currently references Terence Tao's AMS published article.
While I recognize the utility of allowing zero to be used as an ordinal in some special cases, e.g. exponentiation, sometimes referred to as taking a number to 'the zeroth power', I also suppose that what is meant by 'zeroth order logic' is a subset of first order logic that does not include variables or quantifiers, with the term 'zeroth order logic' used as an expository convenience.
I think that it is more correct English, albeit less expositorily convenient, to say that while all logics are of order ≥ 1, what is ordinarily called sentential or propositional logic is a first-order foundational subset of first-order predicate and quantificational logics.
Historically, Pierce in his 1885 paper, made reference to "first-intentional logic", in which the quantifiers range only over the atomic individuals of the universe of discourse; by which reference he intended to distinguish from his use of the term "second-intentional logic" later in the paper, in which the quantifiers are permitted to range over predicates.
I use the term 'first order logics' in the plural to refer to any logics that are not second or higher order logics; however, I must defer to Prof. Tao in acknowledging that his distinguishing designation and description of 'zeroth order logic' is useful, perspicuous, reasonable, and if only by virtue of his having used it, authoritative.