Quasi-quotation
Quasi-quotation or Quine quotation is a linguistic device in formal languages that facilitates rigorous and terse formulation of general rules about linguistic expressions while properly observing the use–mention distinction. It was introduced by the philosopher and logician Willard Van Orman Quine in his book Mathematical Logic, originally published in 1940. Put simply, quasi-quotation enables one to introduce symbols that stand for a linguistic expression in a given instance and are used as that linguistic expression in a different instance.
For example, one can use quasi-quotation to illustrate an instance of substitutional quantification, like the following:
Quasi-quotation is used to indicate that the φ and "φ" in this sentence are related things, that one is the iteration of the other in a metalanguage. Quine introduced quasiquotes because he wished to avoid the use of variables, and work only with closed sentences. However, he still needed to be able to talk about sentences with arbitrary predicates in them, and thus, the quasiquotes provided the mechanism to make such statements. Quine had hoped that, by avoiding variables and schemata, he would minimize confusion for the readers, as well as staying closer to the language that mathematicians actually use.
Quasi-quotation is sometimes denoted using the symbols ⌜ and ⌝, or double square brackets, ⟦ ⟧, instead of ordinary quotation marks.
How it works
Quasi-quotation is particularly useful for stating formation rules for formal languages. Suppose, for example, that one wants to define the well-formed formulas of a new formal language, L, with only a single logical operation, negation, via the following recursive definition:- Any lowercase Roman letter is a well-formed formula of L.
- If φ is a well-formed formula of L, then '~φ' is a well-formed formula of L.
- Nothing else is a well-formed formula of L.
Quasi-quotation is introduced as shorthand to capture the fact that what the formula expresses isn't precisely quotation, but instead something about the concatenation of symbols. Our replacement for rule 2 using quasi-quotation looks like this:
The quasi-quotation marks '⌜' and '⌝' are interpreted as follows. Where 'φ' denotes a well-formed formula of L, '⌜~φ⌝' denotes the result of concatenating '~' and the well-formed formula denoted by 'φ'. Thus rule 2' entails, e.g., that if
Similarly, we could not define a language with disjunction by adding this rule:
But instead:
The quasi-quotation marks here are interpreted just the same. Where 'φ' and 'ψ' denote well-formed formulas of L, '⌜⌝' denotes the result of concatenating left parenthesis, the well-formed formula denoted by 'φ', space, 'v', space, the well-formed formula denoted by 'ψ', and right parenthesis. Just as before, rule 2.5' entails, e.g., that if
Scope issues
It does not make sense to quantify into quasi-quoted contexts using variables that range over things other than character strings. Suppose, for example, that one wants to express the idea that- If φ is a natural number, then ⌜s⌝ denotes the successor of φ.
- ⌜s⌝ = 's',
- ⌜s⌝ = 's',
- ⌜s⌝ = 's',
- ⌜s⌝ = 's',
- ⌜s⌝ = 's',
- ⌜s⌝ = 's'.
The expanded version of this statement reads as follows:
- If φ is a natural number, then the result of concatenating
' s' , left parenthesis, φ, and right parenthesis denotes the successor of φ.
The proper way to state the principle is:
- If φ is an Arabic numeral that denotes a natural number, then ⌜s⌝ denotes the successor of the number denoted by φ.
As long as these considerations are taken into account, it is perfectly harmless to "abuse" the corner quote notation and simply use it whenever something like quotation is necessary but ordinary quotation is clearly not appropriate.