Zulip Chat Archive
Stream: Is there code for X?
Topic: subtype to type
Kayla Thomas (Oct 20 2023 at 05:25):
Is there an easy one size fits all way to convert a list of subtypes to a list of the type they are a subtype of, a function from subtypes to subtypes to a function from types to types, etc.?
Kayla Thomas (Oct 20 2023 at 05:26):
Not as a tactic, but in statements of theorems.
Mario Carneiro (Oct 20 2023 at 05:30):
no, specifically you can't go from a function from subtypes to subtypes to a function from types to types
Mario Carneiro (Oct 20 2023 at 05:31):
because the subtype function may require the subtype property to generate the output value
Kayla Thomas (Oct 20 2023 at 05:32):
I see. Ok.
Kayla Thomas (Oct 20 2023 at 05:32):
Thank you.
Last updated: Dec 20 2023 at 11:08 UTC