Zulip Chat Archive

Stream: Is there code for X?

Topic: Example in lean


Horatiu Cheval (Aug 01 2021 at 06:39):

Could you please ask the question in a new thread (by specifying another topic when posting the message)? You posted it in a thread that's about something else

Kevin Buzzard (Aug 01 2021 at 10:32):

Did you mean to post in an old resolved stream? I'm not sure what the question is but Lean has example.

Notification Bot (Aug 01 2021 at 10:36):

This topic was moved here from #new members > Defining z.arg using modulus by Eric Wieser

Vasu (Aug 02 2021 at 22:26):

can we have named examples in Lean?

Yakov Pechersky (Aug 02 2021 at 23:26):

How does a named example differ from something named lemma?

Floris van Doorn (Aug 03 2021 at 01:04):

Examples cannot have names in Lean. Use def or lemma if you want to give it a name.


Last updated: Dec 20 2023 at 11:08 UTC