Coinduction is dual to induction. It generalises to corecursion.
It is a method of proof which relies on the fact that any two states of the terminal coalgebra for an endofunctor must be equal if they are indistinguishable under repeated operations of . That is, there are no proper coalgebra quotient objects. Generally, we show the existence of a bisimulation between states of terminal coalgebra, that is a relation between states, such that when the coalgebra function is applied, the respective outputs are still related. Since any bisimulation must be contained within the identity relation, we can then conclude that the states are equal.
Let be the set of conatural numbers and take . We can then establish a bisimulation between the terms and , from which we can conclude that this addition is commutative. (See p. 52 of Rutten Universal coalgebra: a theory of systems.)
Many theorems of calculus involving formal power series are naturally viewed as proofs by coinduction. The collection of power series over a field (say of characteristic ) may be viewed as a stream coalgebra , i.e., the terminal coalgebra of the endofunctor , with the coalgebra structure
Thus if we set up a bisimulation between two power series , establishing and , we may conclude by coinduction that (else, would be a proper quotient).
As an illustration: consider a field of characteristic and, for , define to be the power series expansion of , where and is the inverse of . To prove the generalized binomial theorem
where is the falling power , we introduce a bisimilarity
and observe first that the constant coefficients of and are both , and that
(because ) and similarly
by the chain rule, whence . Hence is bisimilar to , and we conclude in the terminal coalgebra that .
Bart Jacobs, Jan Rutten, A tutorial on (Co)Algebras and (Co)Induction (pdf)
Davide Sangiorgi, Introduction to Bisimulation and Coinduction, Cambridge Universtity Press (2012) (web)
Davide Sangiorgi, Jan Rutten (eds.), Advanced Topics in Bisimulation and Coinduction, Cambridge Universtity Press (2012) (web)
On differential calculus via coinduction:
About coinduction in cubical type theory:
Last revised on November 23, 2024 at 07:36:27. See the history of this page for a list of all contributions to it.