Zulip Chat Archive

Stream: new members

Topic: destruct evidence


Simon (Dec 17 2022 at 05:27):

If I have a value of an inductive type in the context, which tactic do I use to extract the information provided when constructing the value? I am looking for something like inversion in Coq.

Matt Diamond (Dec 17 2022 at 06:19):

maybe tactic#injection?

Reid Barton (Dec 17 2022 at 07:07):

cases, induction, induction'

Pedro Sánchez Terraf (Dec 17 2022 at 12:46):

From recent experience: You need to import tactic.induction for induction'.


Last updated: Dec 20 2023 at 11:08 UTC