Skip to content

Mutual Induction

Pierre Letouzey edited this page Oct 12, 2017 · 13 revisions
Clone this wiki locally

The Scheme command is used to generate mutual induction principles.

This excellent Coq-club post by Xavier Leroy explains best practices for mutual induction in Coq.

A response by Matthieu Sozeau to that post explains the use of Combined Scheme, which is available in newer versions of Coq and addresses Leroy's critiques.

See also the Coq Reference Manual's discussion and examples.

Section 14.3.3 of Coq'Art contains information on how to do mutual induction on inductive types which are NOT defined mutually (ie using "with"). This is important for polymorphic datatypes: for example, an inductive type with a constructor taking an argument which is the instantiation of the polymorphic list type at the inductive type being defined. You can find this information on google books

HugoHerbelin has posted some additional information about how "nested fix" works here see also and and