I would like to emulate something like this with Basic objects. I am drawing a blank on how that might be done. Does anyone have any ideas?
Why not just Lambda(x, Eq(x, 1))?
I don't think redefining __eq__ to return a symbolic result is a good
idea. You're liable to get a lot of "TypeError: cannot determine truth
value of Relational" errors from using that object.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAKgW%3D6%2Bt1wkS_mEg3AruG%2BLahUfDqqszP0ZAbi5XCsW4KXA4yw%40mail.gmail.com.