Zulip Chat Archive

Stream: lean4

Topic: Specifying the motive(s) using the `induction` tactic


Valentin Robert (Aug 28 2021 at 17:58):

Hello all,

Is it possible to specify the motive(s) when using the induction tactic (in my case, using the provided eliminator), or do we only get this flexibility by manually applying the recursor?

Kyle Miller (Aug 28 2021 at 19:47):

It doesn't look like it. Here's the syntax for the induction tactic.

Valentin Robert (Aug 29 2021 at 18:41):

Thanks for the pointer!
Here's a permalink, since it's already moved in that file: https://github.com/leanprover/lean4/blob/34d8ecc0665136a370dea796bf36f5ebab983d21/src/Init/Notation.lean#L388-L390


Last updated: Dec 20 2023 at 11:08 UTC