Details

Time bar (total: 3.2s)

sample23.0ms

Algorithm
intervals
Results
9.0ms392×body80valid

simplify284.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (7.0ms)

IterNodesCost
0166
1334
2564
3763
4883
51313
62363
73283
83433
94433
107973
1134993
1250013

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x y) (* z z))
0.1b
(+ (+ (+ (* x y) (* z z)) (* z z)) (* z z))

rewrite131.0ms

Algorithm
rewrite-expression-head
Rules
13×add-log-exp
sum-log
fma-def
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log +-commutative expm1-log1p-u flip3-+ add-cbrt-cube flip-+ log1p-expm1-u
associate-+l+
Counts
2 → 33
Calls
2 calls:
8.0ms
(+ (* x y) (* z z))
122.0ms
(+ (+ (+ (* x y) (* z z)) (* z z)) (* z z))

series91.0ms

Counts
2 → 6
Calls
2 calls:
41.0ms
(+ (* x y) (* z z))
49.0ms
(+ (+ (+ (* x y) (* z z)) (* z z)) (* z z))

simplify105.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 3 (102.0ms)

IterNodesCost
0193260
1873214
23668199
35001195

prune94.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 1 expressions with local error:

0.1b
(+ (+ (fma x y (* z z)) (* z z)) (* z z))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
fma-def sum-log
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log +-commutative expm1-log1p-u associate-+l+ flip3-+ add-cbrt-cube flip-+ log1p-expm1-u
Counts
1 → 18
Calls
1 calls:
28.0ms
(+ (+ (fma x y (* z z)) (* z z)) (* z z))

series61.0ms

Counts
1 → 3
Calls
1 calls:
61.0ms
(+ (+ (fma x y (* z z)) (* z z)) (* z z))

simplify72.0ms

Algorithm
egg-herbie
Counts
21 → 21
Iterations

Useful iterations: 3 (65.0ms)

IterNodesCost
0115153
1521127
22209115
35001112

prune63.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 1 expressions with local error:

0.1b
(fma 3 (pow z 2) (* x y))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
0.0ms
(fma 3 (pow z 2) (* x y))

series37.0ms

Counts
1 → 3
Calls
1 calls:
37.0ms
(fma 3 (pow z 2) (* x y))

simplify51.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
02759
17252
224852
3103052
4500152

prune43.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (+ (fma x y (* z z)) (* z z))) (cbrt (+ (fma x y (* z z)) (* z z))))
2.4b
(cbrt (+ (fma x y (* z z)) (* z z)))
2.4b
(cbrt (+ (fma x y (* z z)) (* z z)))
2.4b
(cbrt (+ (fma x y (* z z)) (* z z)))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt *-un-lft-identity
11×pow1
flip3-+ pow1/3 flip-+
add-exp-log swap-sqr associate-*r* associate-*l*
expm1-log1p-u frac-times add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 95
Calls
4 calls:
31.0ms
(* (cbrt (+ (fma x y (* z z)) (* z z))) (cbrt (+ (fma x y (* z z)) (* z z))))
3.0ms
(cbrt (+ (fma x y (* z z)) (* z z)))
3.0ms
(cbrt (+ (fma x y (* z z)) (* z z)))
3.0ms
(cbrt (+ (fma x y (* z z)) (* z z)))

series623.0ms

Counts
4 → 12
Calls
4 calls:
176.0ms
(* (cbrt (+ (fma x y (* z z)) (* z z))) (cbrt (+ (fma x y (* z z)) (* z z))))
148.0ms
(cbrt (+ (fma x y (* z z)) (* z z)))
151.0ms
(cbrt (+ (fma x y (* z z)) (* z z)))
148.0ms
(cbrt (+ (fma x y (* z z)) (* z z)))

simplify84.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 3 (72.0ms)

IterNodesCost
03031300
19591217
236041125
350011110

prune306.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

regimes154.0ms

Accuracy

0% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 0.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
096
196

end0.0ms

sample821.0ms

Algorithm
intervals
Results
484.0ms12229×body80valid