I would like to extract arguments from Inequality instances. The following does not work, any idea why and how to fix it?
Inequality [1, Less, x, Less, 2] /. Inequality [a_, _, c_, _, e_] -> {a, c, e}
wolfram-mathematica
Yaroslav bulatov
source share