| Alternative 1 |
|---|
| Error | 22.7 |
|---|
| Cost | 984 |
|---|
\[\begin{array}{l}
\mathbf{if}\;x \leq -4.5 \cdot 10^{-10}:\\
\;\;\;\;x \cdot x\\
\mathbf{elif}\;x \leq -1.02 \cdot 10^{-257}:\\
\;\;\;\;x + x\\
\mathbf{elif}\;x \leq 8.8 \cdot 10^{-210}:\\
\;\;\;\;y \cdot y\\
\mathbf{elif}\;x \leq 1.5 \cdot 10^{-187}:\\
\;\;\;\;x + x\\
\mathbf{elif}\;x \leq 1.5 \cdot 10^{-76}:\\
\;\;\;\;y \cdot y\\
\mathbf{elif}\;x \leq 2:\\
\;\;\;\;x + x\\
\mathbf{else}:\\
\;\;\;\;x \cdot x\\
\end{array}
\]
| Alternative 2 |
|---|
| Error | 4.2 |
|---|
| Cost | 713 |
|---|
\[\begin{array}{l}
\mathbf{if}\;x \leq -2.4 \cdot 10^{-5} \lor \neg \left(x \leq 2.05 \cdot 10^{-17}\right):\\
\;\;\;\;x \cdot \left(x + 2\right)\\
\mathbf{else}:\\
\;\;\;\;y \cdot y + x \cdot 2\\
\end{array}
\]
| Alternative 3 |
|---|
| Error | 1.2 |
|---|
| Cost | 713 |
|---|
\[\begin{array}{l}
\mathbf{if}\;x \leq -2 \lor \neg \left(x \leq 2\right):\\
\;\;\;\;y \cdot y + x \cdot x\\
\mathbf{else}:\\
\;\;\;\;y \cdot y + x \cdot 2\\
\end{array}
\]
| Alternative 4 |
|---|
| Error | 4.3 |
|---|
| Cost | 712 |
|---|
\[\begin{array}{l}
\mathbf{if}\;x \leq -0.036:\\
\;\;\;\;x \cdot \left(x + 2\right)\\
\mathbf{elif}\;x \leq 2.05 \cdot 10^{-17}:\\
\;\;\;\;y \cdot y + x \cdot 2\\
\mathbf{else}:\\
\;\;\;\;x \cdot x + x \cdot 2\\
\end{array}
\]
| Alternative 5 |
|---|
| Error | 9.6 |
|---|
| Cost | 584 |
|---|
\[\begin{array}{l}
\mathbf{if}\;y \leq -2.4 \cdot 10^{-16}:\\
\;\;\;\;y \cdot y\\
\mathbf{elif}\;y \leq 3.3 \cdot 10^{-39}:\\
\;\;\;\;x \cdot \left(x + 2\right)\\
\mathbf{else}:\\
\;\;\;\;y \cdot y\\
\end{array}
\]
| Alternative 6 |
|---|
| Error | 0.0 |
|---|
| Cost | 576 |
|---|
\[y \cdot y + x \cdot \left(x + 2\right)
\]
| Alternative 7 |
|---|
| Error | 24.7 |
|---|
| Cost | 456 |
|---|
\[\begin{array}{l}
\mathbf{if}\;x \leq -125:\\
\;\;\;\;x \cdot x\\
\mathbf{elif}\;x \leq 2.05 \cdot 10^{-17}:\\
\;\;\;\;y \cdot y\\
\mathbf{else}:\\
\;\;\;\;x \cdot x\\
\end{array}
\]