Home > Terms > English (EN) > Formula

Formula

A formula in logic is generally a set of one or more propositional variables, or predicate symbols, and operators.

In any system of logic, the notion of what counts as a formula must be defined. For instance, in propositional logic, the rules for what counts as a formula are generally:

Any propositional variable is itself a formula. (So, P is a formula).

If φ and ρ are formulae, then so are:

¬φ

(φ ∧ ρ)

(φ ∨ ρ)

(φ → ρ)

(φ ↔ ρ)

All expressions that can be formulated from a finite number of applications of rules (1) and (2) are also formulae.

Rule (2) may be extended or reduced in logical systems that include a different set of operators.

Rule (3) is said to be schematic — that is, it is applied recursively and applies to any possible formula. So, if α is a formula, then (α → β) is a formula, and so too is ((α → β) ∧ γ).

In first- and second-order logics, additional rules are added to handle the quantification of object variables or predicate symbols.

On this site, formulae are represented by lowercase Greek letters, α, β, γ, δ … ω — this is to differentiate them from propositional variables. For example, α is used schematically to represent any formula, whereas (P ∨ Q) is a specific formula.

The world formula may be pluralized as either formulas or formulae. This site usually uses the term formulae.

Well-formed formulae

A formula is said to be well-formed when it is constructed according to the rules of well-formation, containing the proper number of parentheses and order of operations, without ambiguity.

For example, the string “α ↔ β ∧ γ” is not a well-formed formula, because the operations are not grouped. Note that there are two possible readings of this string. First, it could mean “alpha, if and only if both beta and gamma” or (α ↔ (β ∧ γ)). Alternatively, it could be read, “Both alpha, if and only if beta, and gamma.” ((α ↔ β) ∧ γ).

Because there is no ambiguity between ¬P and (¬P), there are generally no parentheses used in unary operations, such as negation. Also, when a formula contains a binary operation, the outermost set of parentheses is often left out, unless it is confusing to do so. For example, (α ∧ β) and (φ → (ρ ∨ ψ)) can be rendered as α ∧ β and φ → (ρ ∨ ψ) and retain the status of well-formation.

Finally, it can also be noted that with the operators ∧ and ∨, the order of operations is irrelevant. That is, formulas like (α ∧ (β ∧ γ)) and ((α ∧ β) ∧ γ) are equivalent. As such, the formula can sometimes be written as (α ∧ β ∧ γ), and be interpreted as either of the well-formed versions.

Sets of formulae

Uppercase Greek letters, beginning with Γ (Gamma), are conventionally used on this site to signify sets of formulas. (These sets will be defined when used.) For example, we may define a set as Γ = { α → β, α ∨ φ, ¬φ } and later refer to the set by Γ.

0
Collect to Blossary

Member comments

You have to log in to post to discussions.

Terms in the News

Billy Morgan

Sports; Snowboarding

The British snowboarder Billy Morgan has landed the sport’s first ever 1800 quadruple cork. The rider, who represented Great Britain in the 2014 Winter Olympics in Sochi, was in Livigno, Italy, when he achieved the man-oeuvre. It involves flipping four times, while body also spins with five complete rotations on a sideways or downward-facing axis. The trick ...

Marzieh Afkham

Broadcasting & receiving; News

Marzieh Afkham, who is the country’s first foreign ministry spokeswoman, will head a mission in east Asia, the state news agency reported. It is not clear to which country she will be posted as her appointment has yet to be announced officially. Afkham will only be the second female ambassador Iran has had. Under the last shah’s rule, Mehrangiz Dolatshahi, a ...

Weekly Packet

Language; Online services; Slang; Internet

Weekly Packet or "Paquete Semanal" as it is known in Cuba is a term used by Cubans to describe the information that is gathered from the internet outside of Cuba and saved onto hard drives to be transported into Cuba itself. Weekly Packets are then sold to Cuban's without internet access, allowing them to obtain information just days - and sometimes hours - after it ...

Asian Infrastructure Investment Bank (AIIB)

Banking; Investment banking

The Asian Infrastructure Investment Bank (AIIB) is an international financial institution established to address the need in Asia for infrastructure development. According to the Asian Development Bank, Asia needs $800 billion each year for roads, ports, power plants or other infrastructure projects before 2020. Originally proposed by China in 2013, a signing ...

Spartan

Online services; Internet

Spartan is the codename given to the new Microsoft Windows 10 browser that will replace Microsoft Windows Internet Explorer. The new browser will be built from the ground up and disregard any code from the IE platform. It has a new rendering engine that is built to be compatible with how the web is written today. The name Spartan is named after the ...

Featured Terms

jchathura
  • 0

    Terms

  • 3

    Blossaries

  • 0

    Followers

Industry/Domain: Travel Category: Landmarks

herbs

There are many herbs.But do not allow to take them away from the reserve. Graminae ( Paspalum conjugatum) Orchidaceae (Arundina ...

Contributor

Featured blossaries

DOTA 2

Category: Entertainment   4 20 Terms

Journalistic Terms and Expressions

Category: Education   1 12 Terms