-
-
Notifications
You must be signed in to change notification settings - Fork 408
Closed
Labels
Description
Feature request: there should be a tactic that allows the user to introduce arbitrary subgoals. Currently, subgoals are only introduced via destruct_all or similar tactics. But in general some subgoals are desired as helpers that cannot be produced from destruct and it's variants, so we should have a define tactic (or something similar) that let's use make arbitrary subgoals. For example, given:
_ :: a
and using a tactic define b :: b, we should be able to produce:
let b = (_ :: b) in (_ :: a)
This then should give us b as a subgoal, which when completed gives us b :: b as a hypothesis for completing the a goal.