I tried to #[derive(creusot_std::prelude::PartialEq)] on a type and then use check(ghost) on a function that compares values of that type and it failed with error about equality not being ghost-compatible. I don't see any way to solve it other than manually implementing it. An attribute controlling the attributes of the emitted function would be helpful, so that tedious manual implementation can be avoided.
I tried to
#[derive(creusot_std::prelude::PartialEq)]on a type and then usecheck(ghost)on a function that compares values of that type and it failed with error about equality not being ghost-compatible. I don't see any way to solve it other than manually implementing it. An attribute controlling the attributes of the emitted function would be helpful, so that tedious manual implementation can be avoided.