0

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?

Ifaz Kabir
  • 134
  • 8

1 Answers1

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
  • Not quiet what I was looking for, but I'll take what I get. – Ifaz Kabir Dec 06 '19 at 21:27
  • 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