def test_issue_3825():
    x = Symbol("x")
    y = Symbol("y")
    a1 = x + y
    a2 = y + x
    a2.is_comparable

    h1 = hash(a1)
    h2 = hash(a2)
    assert h1 == h2
catch: hash instability
dataset/ETHPy150Open sympy/sympy/sympy/core/tests/test_assumptions.py/test_issue_3825