Formation rule

Source: Wikipedia, the free encyclopedia.

In

alphabet of a formal language are syntactically valid within the language.[1] These rules only address the location and manipulation of the strings of the language. It does not describe anything else about a language, such as its semantics (i.e. what the strings mean). (See also formal grammar
).

Formal language

A formal language is an organized

formulas
in a formal language.

Formal systems

A formal system (also called a logical calculus, or a logical system) consists of a formal language together with a

transformation rules (also called inference rules) or a set of axioms, or have both. A formal system is used to derive
one expression from one or more other expressions. Propositional and predicate calculi are examples of formal systems.

Propositional and predicate logic

The formation rules of a propositional calculus may, for instance, take a form such that;

  • if we take Φ to be a propositional formula we can also take Φ to be a formula;
  • if we take Φ and Ψ to be a propositional formulas we can also take (Φ Ψ), (Φ Ψ), (Φ Ψ) and (Φ Ψ) to also be formulas.

A

quantifiers such that if we take Φ to be a formula of propositional logic and α as a variable
then we can take (α)Φ and (α)Φ each to be formulas of our predicate calculus.

See also

  • Finite state automaton

References

  1. ^ Hinman, Peter (2005). Fundamentals of Mathematical Logic. A K Peters/CRC Press. Retrieved 2022-11-17. Specifying the syntax of any language L follows a common pattern. First a set of symbols is given, and we define an L-expression to be any finite sequence of these symbols. Then we specify one or more sets of L-expressions which we regard as meaningful. The meaningful expressions are generally described as those constructed by following certain rules or algorithms, and the set of them is characterized as the smallest set of expressions which is closed under these formation rules.