# Ash.Filter.Predicate.simplify

You're seeing just the callback

`simplify`

, go back to Ash.Filter.Predicate module for more information.
## Specs

Simplify to a more primitive statement.

For example, `x in [1, 2]`

simplifies to `x == 1 or x == 2`

.
Simplifying to filter expressions that already have comparisons
lets you avoid writing that logic for a given predicate.