| 1 | (************************************************************************) |
| 2 | (* * The Rocq Prover / The Rocq Development Team *) |
| 3 | (* v * Copyright INRIA, CNRS and contributors *) |
| 4 | (* <O___,, * (see version control and CREDITS file for authors & dates) *) |
| 5 | (* \VV/ **************************************************************) |
| 6 | (* // * This file is distributed under the terms of the *) |
| 7 | (* * GNU Lesser General Public License Version 2.1 *) |
| 8 | (* * (see LICENSE file for the text of the license) *) |
| 9 | (************************************************************************) |
| 10 | |
| 11 | open Names |
| 12 | open Ind_tables |
| 13 | |
| 14 | (** This file is about the automatic generation of schemes about |
| 15 | decidable equality, |
| 16 | @author Vincent Siles |
| 17 | Oct 2007 *) |
| 18 | |
| 19 | (** {6 Build boolean equality of a block of mutual inductive types } *) |
| 20 | |
| 21 | exception EqNotFound of inductive |
| 22 | exception EqUnknown of string |
| 23 | exception UndefinedCst of string |
| 24 | exception InductiveWithProduct |
| 25 | exception InductiveWithSort |
| 26 | exception ParameterWithoutEquality of GlobRef.t |
| 27 | exception NonSingletonProp of inductive |
| 28 | exception DecidabilityMutualNotSupported |
| 29 | exception NoDecidabilityCoInductive |
| 30 | exception ConstructorWithNonParametricInductiveType of inductive |
| 31 | exception DecidabilityIndicesNotSupported |
| 32 | exception InternalDependencies |
| 33 | |
| 34 | val beq_scheme_kind : mutual scheme_kind |
| 35 | |
| 36 | (** {6 Build decidability of equality } *) |
| 37 | |
| 38 | val eq_dec_scheme_kind : mutual scheme_kind |