HOME

TheInfoList



OR:

An open formula is a
formula In science, a formula is a concise way of expressing information symbolically, as in a mathematical formula or a ''chemical formula''. The informal use of the term ''formula'' in science refers to the general construct of a relationship betwe ...
that contains at least one
free variable In mathematics, and in other disciplines involving formal languages, including mathematical logic and computer science, a variable may be said to be either free or bound. Some older books use the terms real variable and apparent variable for f ...
. An open formula does not have a
truth value In logic and mathematics, a truth value, sometimes called a logical value, is a value indicating the relation of a proposition to truth, which in classical logic has only two possible values ('' true'' or '' false''). Truth values are used in ...
assigned to it, in contrast with a closed formula which constitutes a proposition and thus can have a truth value like ''true'' or ''false''. An open formula can be transformed into a closed formula by applying a quantifier for each free variable. This transformation is called capture of the free variables to make them bound variables. For example, when reasoning about
natural number In mathematics, the natural numbers are the numbers 0, 1, 2, 3, and so on, possibly excluding 0. Some start counting with 0, defining the natural numbers as the non-negative integers , while others start with 1, defining them as the positive in ...
s, the formula "''x''+2 > ''y''" is open, since it contains the free variables ''x'' and ''y''. In contrast, the formula " ''y''
A mathematical symbol is a figure or a combination of figures that is used to represent a mathematical object, an action on mathematical objects, a relation between mathematical objects, or for structuring the other symbols that occur in a formula ...
''x'': ''x''+2 > ''y''" is closed, and has truth value ''true''. Open formulas are often used in rigorous mathematical definitions of properties, like :"''x'' is an aunt of ''y'' if, for some person ''z'', ''z'' is a parent of ''y'', and ''x'' is a sister of ''z''" (with free variables ''x'', ''y'', and bound variable ''z'') defining the notion of "aunt" in terms of "parent" and "sister". Another, more formal example, which defines the property of being a
prime number A prime number (or a prime) is a natural number greater than 1 that is not a Product (mathematics), product of two smaller natural numbers. A natural number greater than 1 that is not prime is called a composite number. For example, 5 is prime ...
, is :"''P''(''x'') if ∀''m'',''n''∈\mathbb: ''m''>1 ∧ ''n''>1 → ''x''≠ ''m''⋅''n''", (with free variable ''x'' and bound variables ''m'',''n''). An example of a closed formula with truth value ''false'' involves the sequence of
Fermat number In mathematics, a Fermat number, named after Pierre de Fermat (1601–1665), the first known to have studied them, is a natural number, positive integer of the form:F_ = 2^ + 1, where ''n'' is a non-negative integer. The first few Fermat numbers ...
s :F_ = 2^ + 1, studied by Fermat in connection to the primality. The attachment of the predicate letter P (''is prime'') to each number from the Fermat sequence gives a set of closed formulae. While they are true for ''n'' = 0,...,4, no larger value of ''n'' is known that obtains a true formula, ; for example, F_5 = 4 \,294 \,967 \,297 = 641 \cdot 6\,700\,417 is not a prime. Thus the closed formula ∀''n'' ''P''(''F''''n'') is false.


See also

*
First-order logic First-order logic, also called predicate logic, predicate calculus, or quantificational logic, is a collection of formal systems used in mathematics, philosophy, linguistics, and computer science. First-order logic uses quantified variables over ...
*
Higher-order logic In mathematics and logic, a higher-order logic (abbreviated HOL) is a form of logic that is distinguished from first-order logic by additional quantifiers and, sometimes, stronger semantics. Higher-order logics with their standard semantics are m ...
*
Quantifier (logic) In logic, a quantifier is an operator that specifies how many individuals in the domain of discourse satisfy an open formula. For instance, the universal quantifier \forall in the first-order formula \forall x P(x) expresses that everythin ...
*
Predicate (mathematical logic) In logic, a predicate is a symbol that represents a property or a relation. For instance, in the first-order formula P(a), the symbol P is a predicate that applies to the individual constant a. Similarly, in the formula R(a,b), the symbol R is a ...
* Scope (logic) *
Glossary of logic This is a glossary of logic. Logic is the study of the principles of valid reasoning and argumentation. A ...


References

* * Logical expressions {{mathlogic-stub