| 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 EConstr |
| 12 | open Environ |
| 13 | |
| 14 | (** This module is about the computation of an approximation of the |
| 15 | head symbol of defined constants and local definitions; it |
| 16 | provides the function to compute the head symbols and a table to |
| 17 | store the heads *) |
| 18 | |
| 19 | (** [is_rigid] tells if some term is known to ultimately reduce to a term |
| 20 | with a rigid head symbol *) |
| 21 | |
| 22 | val is_rigid : env -> Evd.evar_map -> constr -> bool |