Zulip Chat Archive

Stream: lean4

Topic: invalid end


Dean Young (Mar 06 2023 at 03:56):

What does this error entail?

invalid 'end', insufficient scopes

suppose I want to finish some code later in between a begin ... end... what is a placeholder?

Notification Bot (Mar 06 2023 at 05:50):

A message was moved here from #lean4 > Failed to show termination on mutual theorems by Reid Barton.

Reid Barton (Mar 06 2023 at 05:51):

It sounds like the kind of error you would get by having more ends than commands that should be paired with end (e.g. section, namespace)...?

Mario Carneiro (Mar 06 2023 at 05:53):

If you are using begin ... end in lean 4 that might explain it, this is not legal syntax anymore

Mario Carneiro (Mar 06 2023 at 05:53):

it is by ... now


Last updated: Dec 20 2023 at 11:08 UTC