Skip to content
Commit 18f83bcb authored by Robbert Krebbers's avatar Robbert Krebbers
Browse files

Add class `Involutive`.

parent 77eecb3c
Loading
Loading
Loading
Loading
  • Owner

    Isn't it a bit strange to have a class with 0 instances in the library?

  • Robbert Krebbers @robbertkrebbers ·
    Owner

    I suppose we could add an instance for negation of integers?

  • Owner

    Looking at the other classes, isn't Involutive R f the same as Cancel R f f?

    Edited by Ralf Jung
  • Owner

    I was also about to suggest a relation to idempotency, which I thought was something like f (f x) = f x, but it doesn't seem like we have that? We work with such a function a lot though, it's called the core. (Well, things get more complicated because that can also be partial.)

    We only have f x x = x, which is an idempotent element of an operation, but not an idempotent operation.

    Edited by Ralf Jung
  • Robbert Krebbers @robbertkrebbers ·
    Owner

    Looking at the other classes, isn't Involutive R f the same as Cancel R f f?

    Good point, maybe we should just make it a notation for that?

  • Robbert Krebbers @robbertkrebbers ·
    Owner

    I was also about to suggest a relation to idempotency,

    Not sure if that's worth it.

  • Robbert Krebbers @robbertkrebbers

    mentioned in merge request !79 (merged)

    ·

    mentioned in merge request !79 (merged)

    Toggle commit list
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment