Zulip Chat Archive

Stream: general

Topic: hacking `rintro`


Kevin Buzzard (Sep 05 2018 at 19:01):

Sometimes I would like to intro a hypothesis and simultaneously change its type to a defeq type. I don't think this can be done with intro. But could it be done with rintro? I just tried rintro ⟨y,Hy,(Hyx : the_prop_I_want)⟩ but it doesn't work (at least it didn't for me). Is this the kind of thing that could be made to work with hackery or do I just have to put up with it?

Simon Hudon (Sep 05 2018 at 19:07):

I think assume allows you to do that: assume x : my_defeq_type

Scott Morrison (Sep 06 2018 at 04:40):

Yes: assume works great for this (as I only recently learnt from seeing Reid using it).


Last updated: Dec 20 2023 at 11:08 UTC