Zulip Chat Archive

Stream: Is there code for X?

Topic: Recursion principle for Finset


Geoffrey Irving (Feb 17 2025 at 20:49):

Is there a recursion principle for Finset, analogous to Finset.induction but able to construct (dependent) types? I assume you'd have to pass in the fact that inserting elements in any order gives the same result.

Violeta Hernández (Feb 17 2025 at 21:02):

#mwe?

Aaron Liu (Feb 17 2025 at 21:02):

Try docs#Multiset.rec

Geoffrey Irving (Feb 17 2025 at 21:03):

^ Thanks, that looks reasonable!


Last updated: May 02 2025 at 03:31 UTC