\[\left(a + \left(b + \left(c + d\right)\right)\right) \cdot 2\]
Test:
Expression, p6
Bits:
128 bits
Bits error versus a
Bits error versus b
Bits error versus c
Bits error versus d
Time: 15.2 s
Input Error: 4.1
Output Error: 3.4
Log:
Profile: 🕒
\({\left(\sqrt[3]{\left(d + a\right) + \left(b + c\right)}\right)}^3 \cdot 2\)
  1. Started with
    \[\left(a + \left(b + \left(c + d\right)\right)\right) \cdot 2\]
    4.1
  2. Using strategy rm
    4.1
  3. Applied associate-+r+ to get
    \[\left(a + \color{red}{\left(b + \left(c + d\right)\right)}\right) \cdot 2 \leadsto \left(a + \color{blue}{\left(\left(b + c\right) + d\right)}\right) \cdot 2\]
    3.7
  4. Using strategy rm
    3.7
  5. Applied add-log-exp to get
    \[\color{red}{\left(a + \left(\left(b + c\right) + d\right)\right)} \cdot 2 \leadsto \color{blue}{\log \left(e^{a + \left(\left(b + c\right) + d\right)}\right)} \cdot 2\]
    3.7
  6. Using strategy rm
    3.7
  7. Applied add-cube-cbrt to get
    \[\color{red}{\log \left(e^{a + \left(\left(b + c\right) + d\right)}\right)} \cdot 2 \leadsto \color{blue}{{\left(\sqrt[3]{\log \left(e^{a + \left(\left(b + c\right) + d\right)}\right)}\right)}^3} \cdot 2\]
    3.7
  8. Applied simplify to get
    \[{\color{red}{\left(\sqrt[3]{\log \left(e^{a + \left(\left(b + c\right) + d\right)}\right)}\right)}}^3 \cdot 2 \leadsto {\color{blue}{\left(\sqrt[3]{\left(d + a\right) + \left(b + c\right)}\right)}}^3 \cdot 2\]
    3.4

  9. Removed slow pow expressions

Original test:


(lambda ((a (uniform -14 -13)) (b (uniform -3 -2)) (c (uniform 3 3.5)) (d (uniform 12.5 13.5)))
  #:name "Expression, p6"
  (* (+ a (+ b (+ c d))) 2)
  #:target
  (+ (* (+ a b) 2) (* (+ c d) 2)))