# Bar induction

Bar induction is a reasoning principle used in intuitionistic mathematics, introduced by L. E. J. Brouwer. Bar induction's main use is the intuitionistic derivation of the fan theorem, a key result used in the derivation of the uniform continuity theorem.
It is also useful in giving constructive alternatives to other classical results.
The goal of the principle is to prove properties for all infinite sequences of natural numbers (called choice sequences in intuitionistic terminology), by inductively reducing them to properties of finite lists. Bar induction can also be used to prove properties about all choice sequences in a spread (a special kind of set).

## Definition

Given a choice sequence $x_{0},x_{1},x_{2},x_{3},\ldots$, any finite sequence of elements $x_{0},x_{1},x_{2},x_{3},\ldots ,x_{i}$ of this sequence is called an initial segment of this choice sequence.
There are three forms of bar induction currently in the literature, each one places certain restrictions on a pair of predicates and the key differences are highlighted using bold font.

### Decidable bar induction (BI$_D$)

Given two predicates $R$ and $A$ on finite sequences of natural numbers such that all of the following conditions hold:
* every choice sequence contains at least one initial segment satisfying $R$ at some point (this is expressed by saying that $R$ is a bar);
* $R$ is decidable (i.e. our bar is decidable);
* every finite sequence satisfying $R$ also satisfies $A$ (so $A$ holds for every choice sequence beginning with the aforementioned finite sequence);
* if all extensions of a finite sequence by one element satisfy $A$, then that finite sequence also satisfies $A$ (this is sometimes referred to as $A$ being upward hereditary);
then we can conclude that $A$ holds for the empty sequence (i.e. A holds for all choice sequences starting with the empty sequence).
This principle of bar induction is favoured in the works of, A. S. Troelstra, S. C. Kleene and Albert Dragalin.

### Thin bar induction (BI$_T$)

Given two predicates $R$ and $A$ on finite sequences of natural numbers such that all of the following conditions hold:
* every choice sequence contains a unique initial segment satisfying $R$ at some point (i.e. our bar is thin);
* every finite sequence satisfying $R$ also satisfies $A$;
* if all extensions of a finite sequence by one element satisfy $A$, then that finite sequence also satisfies $A$;
then we can conclude that $A$ holds for the empty sequence.
This principle of bar induction is favoured in the works of Joan Moschovakis and is (intuitionistically) provably equivalent to decidable bar induction.

### Monotonic bar induction (BI$_M$)

Given two predicates $R$ and $A$ on finite sequences of natural numbers such that all of the following conditions hold:
* every choice sequence contains at least one initial segment satisfying $R$ at some point;
* once a finite sequence satisfies $R$, then every possible extension of that finite sequence also satisfies $R$ (i.e. our bar is monotonic);
* every finite sequence satisfying $R$ also satisfies $A$;
* if all extensions of a finite sequence by one element satisfy $A$, then that finite sequence also satisfies $A$;
then we can conclude that $A$ holds for the empty sequence.
This principle of bar induction is used in the works of A. S. Troelstra, S. C. Kleene, Dragalin and Joan Moschovakis.

### Relationships between these schemata and other information

The following results about these schemata can be intuitionistically proved:
    ${\begin{aligned}BI_{M}&\vdash BI_{D}\\[3pt]BI_{D}&\vdash BI_{T}\\[3pt]BI_{T}&\vdash BI_{D}\end{aligned}}$
(The symbol "$\,\vdash \,$" is a "turnstile".)

### Unrestricted bar induction

An additional schema of bar induction was originally given as a theorem by Brouwer (1975) containing no "extra" restriction on $R$ under the name The Bar Theorem. However, the proof for this theorem was erroneous, and unrestricted bar induction is not considered to be intuitionistically valid (see Dummett 1977 pp 94–104 for a summary of why this is so). The schema of unrestricted bar induction is given below for completeness.
Given two predicates $R$ and $A$ on finite sequences of natural numbers such that all of the following conditions hold:
* every choice sequence contains at least one initial segment satisfying $R$ at some point;
* every finite sequence satisfying $R$ also satisfies $A$;
* if all extensions of a finite sequence by one element satisfy $A$, then that finite sequence also satisfies $A$;
then we can conclude that $A$ holds for the empty sequence.

## Relations to other fields

In classical reverse mathematics, "bar induction" ($BI_{D}$) denotes the related principle stating that if a relation $R$ is a well-order, then we have the schema of transfinite induction over $R$ for arbitrary formulas.