Zulip Chat Archive

Stream: new members

Topic: unknown identifier "assume"


Kevin Cheung (Jun 12 2023 at 13:18):

I was trying some examples in the Lean Reference manual in Lean 4 that uses "assume". It seems that Lean 4 doesn't have "assume" anymore since it gives me an "unknown identifier" error. What would be the replacement for it in Lean 4?

Alex J. Best (Jun 12 2023 at 13:18):

I think assume used to just be another way of spelling intro

Reid Barton (Jun 12 2023 at 13:21):

Or fun

Kevin Cheung (Jun 12 2023 at 13:24):

I see. So basically the syntactic sugar "assume" has been eliminated from Lean 4.


Last updated: Dec 20 2023 at 11:08 UTC