Similar Items: A Synthesis of the Procedural and Declarative Styles of Interactive Theorem Proving