matching function graph with inverse - Search