Zulip Chat Archive
Stream: Is there code for X?
Topic: Decidable rels on a quotient
Yaël Dillies (Jan 29 2022 at 21:30):
Are we missing the decidable instances for docs#quotient.lift and docs#quotient.lift₂? Or do they not even theoretically exist?
Yury G. Kudryashov (Jan 29 2022 at 22:33):
Do you mean [i : setoid α] (p : α → Prop) [decidable_pred p] (hp : ∀ x y, x ≈ y → p x = p y) (a : quotient i) : decidable (quotient.lift p hp a)
?
Yury G. Kudryashov (Jan 29 2022 at 22:34):
It should be possible to decide using recursion on a
(another quotient.lift
)
Yury G. Kudryashov (Jan 29 2022 at 22:35):
Or more generally, p
depends on quotient.lift f hf a
?
Yaël Dillies (Jan 29 2022 at 22:35):
Something along those lines, yeah. I can't tell you exactly offhand, because my use case is not the most general one.
Last updated: Dec 20 2023 at 11:08 UTC