1 | initial version |
The problem here is that, since LHS
is a symbolic expression, then LHS == a
will also be a symbolic expression, not a boolean, see:
sage: LHS.parent()
Symbolic Ring
sage: (LHS == a).parent()
Symbolic Ring
You can try:
sage: bool(LHS == a)
True
2 | No.2 Revision |
The problem here is that, since LHS
is a symbolic expression, then LHS == a
will also be a symbolic expression, not a boolean, see:
sage: LHS.parent()
Symbolic Ring
sage: (LHS == a).parent()
Symbolic Ring
You can try:
sage: bool(LHS == a)
True
Also, LHS is a
yields to False since LHS
and a
do not point to the same object in memory.