Zulip Chat Archive

Stream: lean4

Topic: Variable command bug?


Marcus Rossel (Aug 30 2021 at 15:31):

variable (a) (b)
variable {a b}

... causes:

failed to update variable binder annotation

Is this intended?

Leonardo de Moura (Aug 30 2021 at 16:06):

The second command was interpreted as a "binder annotation" update. However, the current implementation only supports this kind of update when the sequence of identifiers matches. That is, you can write

variable (a b)
variable {a b} -- Now 'a' and 'b' are implicit

or

variable (a) (b)
variable {a} {b} -- Now 'a' and 'b' are implicit

or

variable (a) (b)
variable {a}
variable {b}

Last updated: Dec 20 2023 at 11:08 UTC