batteries icon indicating copy to clipboard operation
batteries copied to clipboard

feat: implement `ext?` and `ext!?`

Open joneugster opened this issue 2 years ago • 1 comments

Implement ext?, ext1? to show used extensionality lemmas, and ext!? to brute-force try all ext-lemmas.

  • ext? displays a tactic replacement suggestion that could replace the ext. The tactic sequence comprises the tactics apply, intros, and sorry.
  • ext!? ignores the type in the DiscrTree and goes through all lemmas but yields a warning when it applied a lemma that had the wrong type, suggesting to add a copy of the lemma to the library.

joneugster avatar Apr 20 '23 10:04 joneugster

I think now I'm happy with the functionality and it should be ready for a review.

joneugster avatar Apr 21 '23 12:04 joneugster