Initial program 0.0
\[\left(x + y\right) \cdot \left(1 - z\right)\]
- Using strategy
rm Applied sub-neg0.0
\[\leadsto \left(x + y\right) \cdot \color{blue}{\left(1 + \left(-z\right)\right)}\]
Applied distribute-lft-in0.0
\[\leadsto \color{blue}{\left(x + y\right) \cdot 1 + \left(x + y\right) \cdot \left(-z\right)}\]
Simplified0.0
\[\leadsto \left(x + y\right) \cdot 1 + \color{blue}{\left(-z\right) \cdot \left(x + y\right)}\]
- Using strategy
rm Applied distribute-lft-in0.0
\[\leadsto \left(x + y\right) \cdot 1 + \color{blue}{\left(\left(-z\right) \cdot x + \left(-z\right) \cdot y\right)}\]
Applied associate-+r+0.0
\[\leadsto \color{blue}{\left(\left(x + y\right) \cdot 1 + \left(-z\right) \cdot x\right) + \left(-z\right) \cdot y}\]
Simplified0.0
\[\leadsto \color{blue}{\left(\left(x + y\right) \cdot 1 - x \cdot z\right)} + \left(-z\right) \cdot y\]
Final simplification0.0
\[\leadsto \left(\left(x + y\right) \cdot 1 - x \cdot z\right) + \left(-z\right) \cdot y\]