4

Is there a tactic for unfolding all Definitions (in the goal, optionally also in hypotheses)? Something shorter than unfold def, def0, ... in *.

jaam
  • 900
  • 4
  • 23
  • 1
    I am not sure if tactics such as `cbn / cbv` can do this. You should be able to tell them to only apply to `unfold` reduction rule. – ejgallego Nov 04 '18 at 22:22
  • 1
    @ejgallego Indeed, `cbv in *` does the job. Since [coq.inria.fr](https://coq.inria.fr/) is down, I cannot look for its options to do unfold only. You might make this into an answer – jaam Nov 05 '18 at 22:46

1 Answers1

2

You can use cbv delta in * for example.

See https://coq.inria.fr/distrib/current/refman/proof-engine/tactics.html?highlight=cbv#coq:tacn.cbv

ejgallego
  • 6,709
  • 1
  • 14
  • 29