expression
.add(
exp
)
An expression which denotes the sum (or disjunction) of both series.
Preconditions:
See also:
import vcsn ctx = vcsn.context('lal_char, q') exp = lambda e: ctx.expression(e) exp('a*b') + exp('ab*')
Of course, trivial identities are applied.
exp('<2>a') + exp('<3>a')
exp('<2>a') + exp('\z')