\[\left(\left(\left(e + d\right) + c\right) + b\right) + a\]
Test:
Expression 1, p15
Bits:
128 bits
Bits error versus a
Bits error versus b
Bits error versus c
Bits error versus d
Bits error versus e
Time: 15.5 s
Input Error: 0.4
Output Error: 0.2
Log:
Profile: 🕒
\(\left(\left(b + a\right) + \left(c + d\right)\right) + e\)
  1. Started with
    \[\left(\left(\left(e + d\right) + c\right) + b\right) + a\]
    0.4
  2. Using strategy rm
    0.4
  3. Applied add-sqr-sqrt to get
    \[\color{red}{\left(\left(\left(e + d\right) + c\right) + b\right) + a} \leadsto \color{blue}{{\left(\sqrt{\left(\left(\left(e + d\right) + c\right) + b\right) + a}\right)}^2}\]
    0.6
  4. Applied taylor to get
    \[{\left(\sqrt{\left(\left(\left(e + d\right) + c\right) + b\right) + a}\right)}^2 \leadsto {\left(\sqrt{\left(\left(c + \left(d + e\right)\right) + b\right) + a}\right)}^2\]
    0.6
  5. Taylor expanded around 0 to get
    \[{\left(\sqrt{\left(\color{red}{\left(c + \left(d + e\right)\right)} + b\right) + a}\right)}^2 \leadsto {\left(\sqrt{\left(\color{blue}{\left(c + \left(d + e\right)\right)} + b\right) + a}\right)}^2\]
    0.6
  6. Applied simplify to get
    \[{\left(\sqrt{\left(\left(c + \left(d + e\right)\right) + b\right) + a}\right)}^2 \leadsto \left(\left(b + a\right) + \left(c + d\right)\right) + e\]
    0.2

  7. Applied final simplification

  8. Removed slow pow expressions

Original test:


(lambda ((a (uniform 1 2)) (b (uniform 2 4)) (c (uniform 4 8)) (d (uniform 8 16)) (e (uniform 16 32)))
  #:name "Expression 1, p15"
  (+ (+ (+ (+ e d) c) b) a)
  #:target
  (+ (+ d (+ c (+ a b))) e))