Sorry, this content is no longer available
asked 1 year ago
a, b = var('a,b') ((a + b)^2).expand()
How can I compute/expand the last expression assuming that ab=0? I.e. I would like the result to be a2+b2. I tried with assuming(..) but that doesn't have any effect.
with assuming(..)