Skip to content

Wingman feature request: Support for tactic subgoals via let #2002

Closed
@s-zeng

Description

@s-zeng

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions