Zulip Chat Archive

Stream: general

Topic: Finitely Generated Sets


Kevin Kuei (May 07 2022 at 02:06):

Hi, I'm fairly new to Lean, and I had a question on how to define finitely generated sets. Particularly, if I want a set that is generated by (u_1, u_2, ..., u_n), how would I represent this?

Adam Topaz (May 07 2022 at 02:57):

What do you mean by "generated by"?

Adam Topaz (May 07 2022 at 02:57):

If you want a finite type of size n, you could use docs#fin .

Adam Topaz (May 07 2022 at 02:59):

We do have a #new members stream, where you might be able to get more help as a beginner.

Patrick Johnson (May 07 2022 at 03:46):

{x, y, z} is the finite set that contains only elements x, y and z. Is this what you mean by "generated by"?


Last updated: Dec 20 2023 at 11:08 UTC