proof search procedure