Leaklens

sympy__sympy-23950

Contains.as_set returns Contains

Verdict: the fix is stated in the issue (Tier A).

So in short, if `x` is a symbol, `Contains(x, set).as_set()` should just return `set`.

The text states the fix: “So in short, if `x` is a symbol, `Contains(x, set).as_set()` should just return `set`.”

All SWE-bench Verified tasks · more sympy/sympy tasks · How the check works