I have an expression:
$$y = \overline{ab}c\overline{d} + \overline{ab}cd + \overline{a}b\overline{c}d + \overline{a}bcd + a\overline{b}cd + ab\overline{c}d$$
I've constructed the circuit for this expression and found a couple of redundancies. I've deduced a/the simplified form of the expression is:
$$y = \overline{ab}c\overline{d} + \overline{b}cd + b\overline{c}d + \overline{a}bcd$$
It's for a four-bit prime checker. For reference, $a$ corresponds to $2^3$. I've deduced this is a/the simplified form because a couple of duos of prime numbers don't care for $a$ ($0011_2$ and $1011_2$, for example). The output is true irrespective if $a$ is true in these cases. Because both $\overline{ab}cd$ and $a\overline{b}cd$ are true, the $a$ is redundant.
How can I deduce it algebraically instead of investigating the circuit? Wild guess, but is the below true?
$$\overline{ab}cd + a\overline{b}cd = \overline{b}cd$$
As you seem to have suspected, there’s more than one simplified form. Here’s an algebraic derivation of a different one:
$$\begin{align*} \color{purple}{\overline{ab}c\overline{d}}&+\color{purple}{\overline{ab}cd}+\overline{a}b\overline{c}d+\overline{a}bcd+a\overline{b}cd+ab\overline{c}d\\ &=\color{purple}{\overline{ab}c(\overline{d}+d)}+\overline{a}b\overline{c}d+\overline{a}bcd+a\overline{b}cd+ab\overline{c}d\\ &=\color{purple}{\overline{ab}c}+\color{green}{\overline{a}b\overline{c}d+\overline{a}bcd}+a\overline{b}cd+ab\overline{c}d\\ &=\overline{ab}c+\color{green}{\overline{a}b(\overline{c}+c)d}+a\overline{b}cd+ab\overline{c}d\\ &=\overline{ab}c+\color{green}{\overline{a}bd}+a\overline{b}cd+ab\overline{c}d\\ \end{align*}$$