Details

Time bar (total: 4.4s)

sample36.0ms

Algorithm
intervals
Results
25.0ms405×body80valid

simplify284.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (6.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

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
19×add-log-exp
10×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
3 → 51
Calls
3 calls:
12.0ms
(+ (+ (* x y) (* z z)) (* z z))
2.0ms
(+ (* x y) (* z z))
51.0ms
(+ (+ (+ (* x y) (* z z)) (* z z)) (* z z))

series126.0ms

Counts
3 → 9
Calls
3 calls:
44.0ms
(+ (+ (* x y) (* z z)) (* z z))
34.0ms
(+ (* x y) (* z z))
48.0ms
(+ (+ (+ (* x y) (* z z)) (* z z)) (* z z))

simplify139.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (130.0ms)

IterNodesCost
0235373
11084317
24667293
35001292

prune142.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite16.0ms

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

series115.0ms

Counts
2 → 6
Calls
2 calls:
58.0ms
(+ (fma x y (* z z)) (* z z))
57.0ms
(+ (+ (fma x y (* z z)) (* z z)) (* z z))

simplify82.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 3 (78.0ms)

IterNodesCost
0161251
1696222
22960197
35001192

prune114.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (fma x y (* z z))) (cbrt (fma x y (* z z))))
2.5b
(cbrt (fma x y (* z z)))
2.5b
(cbrt (fma x y (* z z)))
2.5b
(cbrt (fma x y (* z z)))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 81
Calls
4 calls:
5.0ms
(* (cbrt (fma x y (* z z))) (cbrt (fma x y (* z z))))
0.0ms
(cbrt (fma x y (* z z)))
0.0ms
(cbrt (fma x y (* z z)))
1.0ms
(cbrt (fma x y (* z z)))

series540.0ms

Counts
4 → 12
Calls
4 calls:
154.0ms
(* (cbrt (fma x y (* z z))) (cbrt (fma x y (* z z))))
129.0ms
(cbrt (fma x y (* z z)))
127.0ms
(cbrt (fma x y (* z z)))
130.0ms
(cbrt (fma x y (* z z)))

simplify147.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0213660
1841608
24383545
35001545

prune255.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

localize14.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.5b
(cbrt (+ (fma x y (* z z)) (* z z)))
2.5b
(cbrt (+ (fma x y (* z z)) (* z z)))
2.5b
(cbrt (+ (fma x y (* z z)) (* z z)))

rewrite21.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:
14.0ms
(* (cbrt (+ (fma x y (* z z)) (* z z))) (cbrt (+ (fma x y (* z z)) (* z z))))
2.0ms
(cbrt (+ (fma x y (* z z)) (* z z)))
2.0ms
(cbrt (+ (fma x y (* z z)) (* z z)))
2.0ms
(cbrt (+ (fma x y (* z z)) (* z z)))

series580.0ms

Counts
4 → 12
Calls
4 calls:
161.0ms
(* (cbrt (+ (fma x y (* z z)) (* z z))) (cbrt (+ (fma x y (* z z)) (* z z))))
144.0ms
(cbrt (+ (fma x y (* z z)) (* z z)))
140.0ms
(cbrt (+ (fma x y (* z z)) (* z z)))
136.0ms
(cbrt (+ (fma x y (* z z)) (* z z)))

simplify97.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 3 (79.0ms)

IterNodesCost
03031300
19591217
236041125
350011110

prune309.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0b

regimes144.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

sample1.2s

Algorithm
intervals
Results
878.0ms12253×body80valid