Zulip Chat Archive

Stream: lean4

Topic: Sep typeclass does not work


Asei Inoue (Aug 31 2024 at 09:21):

Sep typeclass docstring says this make us enable to use set notation { x : T | p x }. But actually Sep does not have an implementation of syntax…

Asei Inoue (Aug 31 2024 at 09:21):

why? under construction?

Yury G. Kudryashov (Sep 02 2024 at 04:44):

docs#Sep docstring says {x ∈ s | p x}, not {x : T | p x}. It works, at least with Mathlib.

Yury G. Kudryashov (Sep 02 2024 at 04:46):

It looks like Mathlib implements this syntax without using Sep class.

Yaël Dillies (Sep 02 2024 at 06:28):

Yes, my understanding is that Sep became vestigial during the port


Last updated: May 02 2025 at 03:31 UTC