Scope (logic)

From testwiki
Revision as of 14:09, 8 October 2024 by imported>BD2412 (Clean up spacing around commas and other punctuation fixes, replaced: ; → ;)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Short description Template:Use mdy dates In logic, the scope of a quantifier or connective is the shortest formula in which it occurs,[1] determining the range in the formula to which the quantifier or connective is applied.[2][3][4] The notions of a free variable and bound variable are defined in terms of whether that formula is within the scope of a quantifier,[2][5] and the notions of a Template:Glossary link and Template:Glossary link are defined in terms of whether a connective includes another within its scope.[6][7]

Connectives

Template:Sidebar The scope of a logical connective occurring within a formula is the smallest well-formed formula that contains the connective in question.[2][6][8] The connective with the largest scope in a formula is called its dominant connective,[9][10] main connective,[6][8][7] main operator,[2] major connective,[4] or principal connective;[4] a connective within the scope of another connective is said to be subordinate to it.[6]

For instance, in the formula (((PQ)¬Q)(¬¬PQ)), the dominant connective is ↔, and all other connectives are subordinate to it; the → is subordinate to the ∨, but not to the ∧; the first ¬ is also subordinate to the ∨, but not to the →; the second ¬ is subordinate to the ∧, but not to the ∨ or the →; and the third ¬ is subordinate to the second ¬, as well as to the ∧, but not to the ∨ or the →.[6] If an order of precedence is adopted for the connectives, viz., with ¬ applying first, then ∧ and ∨, then →, and finally ↔, this formula may be written in the less parenthesized form (PQ)¬Q¬¬PQ, which some may find easier to read.[6]

Quantifiers

The scope of a quantifier is the part of a logical expression over which the quantifier exerts control.[3] It is the shortest full sentence[5] written right after the quantifier,[3][5] often in parentheses;[3] some authors[11] describe this as including the variable written right after the universal or existential quantifier. In the formula Template:Math, for example, Template:Math[5] (or Template:Math)[11] is the scope of the quantifier Template:Math[5] (or Template:Math).[11]

This gives rise to the following definitions:Template:Refn

  • An occurrence of a quantifier or , immediately followed by an occurrence of the variable ξ, as in ξ or ξ, is said to be ξ-binding.[1][5]
  • An occurrence of a variable ξ in a formula ϕ is free in ϕ if, and only if, it is not in the scope of any ξ-binding quantifier in ϕ; otherwise it is bound in ϕ.[1][5]
  • A closed formula is one in which no variable occurs free; a formula which is not closed is open.[12][1]
  • An occurrence of a quantifier ξ or ξ is vacuous if, and only if, its scope is ξψ or ξψ, and the variable ξ does not occur free in ψ.[1]
  • A variable ζ is free for a variable ξ if, and only if, no free occurrences of ξ lie within the scope of a quantification on ζ.[12]
  • A quantifier whose scope contains another quantifier is said to have wider scope than the second, which, in turn, is said to have narrower scope than the first.[13]

See also

Notes

Template:Reflist

References

Template:Reflist