1
(************************************************************************)
2
(* v * The Coq Proof Assistant / The Coq Development Team *)
3
(* <O___,, * CNRS-Ecole Polytechnique-INRIA Futurs-Universite Paris Sud *)
4
(* \VV/ **************************************************************)
5
(* // * This file is distributed under the terms of the *)
6
(* * GNU Lesser General Public License Version 2.1 *)
7
(************************************************************************)
9
(* $Id: heads.mli 10841 2008-04-24 07:19:57Z herbelin $ *)
15
(** This module is about the computation of an approximation of the
16
head symbol of defined constants and local definitions; it
17
provides the function to compute the head symbols and a table to
20
(* [declared_head] computes and registers the head symbol of a
21
possibly evaluable constant or variable *)
23
val declare_head : evaluable_global_reference -> unit
25
(* [is_rigid] tells if some term is known to ultimately reduce to a term
26
with a rigid head symbol *)
28
val is_rigid : env -> constr -> bool