请输入您要查询的百科知识:

 

词条 Ground expression
释义

  1. Examples

  2. Formal definition

      Ground terms    Ground atom    Ground formula  

  3. References

In mathematical logic, a ground term of a formal system is a term that does not contain any free variables.

Similarly, a ground formula is a formula that does not contain any free variables. In first-order logic with identity, the sentence {{all}} x (x=x) is a ground formula.

A ground expression is a ground term or ground formula.

Examples

Consider the following expressions from first order logic over a signature containing a constant symbol 0 for the number 0, a unary function symbol s for the successor function and a binary function symbol + for addition.

  • s(0), s(s(0)), s(s(s(0))) ... are ground terms;
  • 0+1, 0+1+1, ... are ground terms.
  • x+s(1) and s(x) are terms, but not ground terms;
  • s(0)=1 and 0+0=0 are ground formulae;
  • s(1) and ∀x: (s(x)+1=s(s(x))) are ground expressions.

Formal definition

What follows is a formal definition for first-order languages. Let a first-order language be given, with the set of constant symbols, the set of (individual) variables, the set of functional operators, and the set of predicate symbols.

Ground terms

Ground terms are terms that contain no variables. They may be defined by logical recursion (formula-recursion):

  1. elements of C are ground terms;
  2. If fF is an n-ary function symbol and α1, α2, ..., αn are ground terms, then f1, α2, ..., αn) is a ground term.
  3. Every ground term can be given by a finite application of the above two rules (there are no other ground terms; in particular, predicates cannot be ground terms).

Roughly speaking, the Herbrand universe is the set of all ground terms.

Ground atom

A ground predicate or ground atom or ground literal is an atomic formula all of whose argument terms are ground terms.

If pP is an n-ary predicate symbol and α1, α2, ..., αn are ground terms, then p1, α2, ..., αn) is a ground predicate or ground atom.

Roughly speaking, the Herbrand base is the set of all ground atoms, while a Herbrand interpretation assigns a truth value to each ground atom in the base.

Ground formula

A ground formula or ground clause is a formula without free variables.

Formulas with free variables may be defined by syntactic recursion as follows:

  1. The free variables of an unground atom are all variables occurring in it.
  2. The free variables of ¬p are the same as those of p. The free variables of pq, pq, pq are those free variables of p or free variables of q.
  3. The free variables of {{all}} x p and {{exist}} x p are the free variables of p except x.

References

  • {{Citation

| title = Handbook of discrete and combinatorial mathematics
| contribution = Logic-based computer programming paradigms
| year = 2000
| editor1-last = Rosen
| editor1-first = K.H.
| editor2-last = Michaels
| editor2-first = J.G.
| last = Dalal
| first = M.
| page = 68
}}
  • {{Citation | last1=Hodges | first1=Wilfrid | author1-link=Wilfrid Hodges | title=A shorter model theory | publisher=Cambridge University Press | isbn=978-0-521-58713-6 | year=1997}}
  • First-Order Logic: Syntax and Semantics

2 : Mathematical logic|Logical expressions

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/9/21 4:28:38