Is there a way to add all lemmas in a hint database into core so that I don't have to keep writing auto with foo
everywhere in a file?
Asked
Active
Viewed 37 times
0

Ifaz Kabir
- 134
- 8
-
why don't you define your own tactic for that case? – ejgallego Dec 06 '19 at 00:04
1 Answers
1
As long as you don't need to interleave lemmas from the different database, you can write
Hint Resolve 1 => solve [ auto with foo ] : core.

Jason Gross
- 5,928
- 1
- 26
- 53
-
-
Indeed, what you want is not currently possible without writing your own plugin. However, there is an existing feature request for the feature you want: https://github.com/coq/coq/issues/7650#issuecomment-459966243 – Jason Gross Dec 07 '19 at 01:24