请输入您要查询的字词:

 

单词 predicate calculus
释义
predicate calculus

Computer
  • A fundamental notation for representing and reasoning with logical statements. It extends propositional calculus by introducing the quantifiers, and by allowing predicates and functions of any number of variables. The syntax involves terms, atoms, and formulas. An atom (or atomic formula) has the form P(t1,…,tk), where P is a predicate symbol and t1,…,tk are terms. Formulas may be built from these atoms in the following ways:

    1. (a) any atom is a formula;

    2. (b) formulas can be combined by the usual propositional connectives (negation, conjunction, disjunction, etc.);

    3. (c) if F is a formula, then ∀v.F and ∃v.F are also formulas (see quantifier).

    A sentence is a formula with no free variables. An example of a sentence is
    x.G(x,c)y.G(f(x,y),y)
    where ↔ signifies the biconditional and G is a predicate symbol, f is a function symbol, x and y are variables, and c is a constant symbol. The overall meaning of a sentence (true or false) depends on the interpretation given to the symbols occurring in it. For example, let G be interpreted as the predicate ‘greater than’, f as the operation of multiplication, and c as the number 1. Then the above sentence says that a number x is greater than 1 if and only if it has the property that, for all y, xy is greater than y. This is true if the domain of interpretation is the natural numbers, but not if it is the integers (because of the possibility of negative y).

    Predicate calculus can claim to be a fundamental logical language since all the more complicated logics can, in some sense, be reduced to it. A simple but practically important extension is many-sorted predicate calculus. Here there are several sorts of variables, and the operations and relations come from a many-sorted signature.

    Another possible extension is second-order logic, which allows predicate and function variables, such as P in the following:

    P.[P(a)k.P(k)P(s(k))]n.P(n)
    (∧ and ⇒ signify conjunction and conditional.) This example, given the appropriate interpretation of a and s, expresses a principle of induction: if P is true for zero, and true for k+1 whenever it is true for k, then it is true for all n. Again this sentence holds for natural numbers but not integers.

    Applications of predicate calculus in computer science are commonplace and include formal specification, program correctness, logic programming, and databases. See also modal logic.


Philosophy
  • The logical calculus in which the expressions include predicate letters, variables, and quantifiers, names, and operation letters, as well as the expressions for truth functions and the propositional variables of the propositional calculus. The predicate calculus is the heart of modern logic, having proved capable of formalizing the central reasoning processes of modern mathematics and science. In a first-order predicate calculus the variables range over objects; in a higher-order calculus they may range over predicates and functions themselves. The first-order predicate calculus with identity includes ‘=’ as a primitive (undefined) expression: in a higher-order calculus it may be defined by the law that x=y iff (∀F)(Fx ↔ Fy).


随便看

 

科学参考收录了60776条科技类词条,基本涵盖了常见科技类参考文献及英语词汇的翻译,是科学学习和研究的有利工具。

 

Copyright © 2000-2023 Sciref.net All Rights Reserved
京ICP备2021023879号 更新时间:2025/2/5 23:53:56