Zulip Chat Archive

Stream: Is there code for X?

Topic: Complement predicate


Wrenna Robson (Jul 21 2025 at 17:32):

What's the standard spelling for the complement permutation if the order hierarchy isn't imported (so I can't use complement permutation)?

Aaron Liu (Jul 21 2025 at 17:33):

What's the complement permutation?

Wrenna Robson (Jul 21 2025 at 17:33):

Oh! I mean predicate.

Wrenna Robson (Jul 21 2025 at 17:33):

Permutations on the brain.

Edward van de Meent (Jul 21 2025 at 17:34):

what does complement have to do with order?

Edward van de Meent (Jul 21 2025 at 17:34):

complement is a set operation...
EDIT: TIL, it generalizes to lattices n stuff, which ofc is an order-theoretic concept

Wrenna Robson (Jul 21 2025 at 17:34):

I don't know but that appears to be where I found the notation...

Aaron Liu (Jul 21 2025 at 17:34):

fun a => ¬p a?

Wrenna Robson (Jul 21 2025 at 17:34):

Yes.

Aaron Liu (Jul 21 2025 at 17:34):

I think that's just how you spell it

Wrenna Robson (Jul 21 2025 at 17:35):

Right - I mean that's fine too!

Aaron Liu (Jul 21 2025 at 17:35):

maybe (¬p ·) if you want to be shorter

Wrenna Robson (Jul 21 2025 at 17:35):

Yes that's probably what I'd do

Edward van de Meent (Jul 21 2025 at 17:38):

/me has gained knowledge about complement as a concept in order theory

Wrenna Robson (Jul 21 2025 at 17:39):

I just kinda want to be able to write \not p

Wrenna Robson (Jul 21 2025 at 17:46):

docs#Not

Eric Wieser (Jul 21 2025 at 20:35):

(¬p .)?

Wrenna Robson (Jul 21 2025 at 20:35):

I think that's the nicest spelling.

Wrenna Robson (Jul 21 2025 at 20:35):

Short of having a notation for it and we do once the HasCompl instance kicks in I guess.

Eric Wieser (Jul 21 2025 at 21:56):

The hascompl instance is probably a bad choice, since it's syntactically different.

Eric Wieser (Jul 21 2025 at 21:57):

It's probably also not simp-normal


Last updated: Dec 20 2025 at 21:32 UTC