| 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 | val infer_inductive |
| 12 | : env_params : Environ.env |
| 13 | (** Environment containing the polymorphic universes and the |
| 14 | parameters. *) |
| 15 | -> env_ar_par : Environ.env |
| 16 | (** Environment containing the polymorphic universes and the inductives then the parameters. *) |
| 17 | -> arities : Constr.t list |
| 18 | -> ctors : Constr.t list list |
| 19 | -> (Univ.Level.t * UVars.Variance.t option) array |
| 20 | (** Universes whose cumulativity we want to infer or check. *) |
| 21 | -> UVars.Variance.t array |