Zulip Chat Archive

Stream: mathlib4

Topic: uniformize binders


Floris van Doorn (Oct 28 2024 at 11:16):

Can we uniformize what binder notation is allowed?

import Mathlib.Order.SetNotation

#check  n : , n = n
#check  (n : ), n = n
#check  n m : , n = n
#check  (n m : ), n = n
#check  n < 5, n = n
#check  (n < 5), n = n -- error
#check  n : , {n}
#check  (n : ), {n}
#check  n m : , {n} -- error
#check  (n m : ), {n} -- error
#check  n < 5, {n}
#check  (n < 5), {n}

Floris van Doorn (Oct 28 2024 at 11:16):

(@Kyle Miller)

Eric Wieser (Oct 28 2024 at 11:24):

This gets even more complex with the finset summation notation, for which only some binders make sense

Yaël Dillies (Oct 28 2024 at 11:24):

(please don't bring up ∑ _, _ and {_ | _} :see_no_evil:)

Yaël Dillies (Oct 28 2024 at 11:25):

(too late :grinning:)


Last updated: May 02 2025 at 03:31 UTC