Details

Time bar (total: 3.6s)

sample25.0ms

Algorithm
intervals
Results
10.0ms417×body80valid

simplify337.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (12.0ms)

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

prune9.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize6.0ms

Local error

Found 1 expressions with local error:

0.1b
(fma 3 (* z z) (* 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 (* z z) (* x y))

series36.0ms

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

simplify62.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
03359
17952
225652
3102552
4500152

prune44.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite160.0ms

Algorithm
rewrite-expression-head
Rules
16×add-log-exp
sum-log
fma-def
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
2 → 37
Calls
2 calls:
32.0ms
(+ (+ (* x y) (* z z)) (* z z))
127.0ms
(+ (+ (+ (* x y) (* z z)) (* z z)) (* z z))

series109.0ms

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

simplify133.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 3 (128.0ms)

IterNodesCost
0179299
1856245
24063223
35001219

prune123.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 2 expressions with local error:

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

rewrite32.0ms

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

series128.0ms

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

simplify93.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 3 (89.0ms)

IterNodesCost
0121197
1455174
22330169
35001164

prune105.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (cbrt (fma z z (* z z))) (cbrt (fma z z (* z z))))
19.7b
(cbrt (fma z z (* z z)))
19.7b
(cbrt (fma z z (* z z)))
19.7b
(cbrt (fma z z (* z z)))

rewrite21.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:
15.0ms
(* (cbrt (fma z z (* z z))) (cbrt (fma z z (* z z))))
1.0ms
(cbrt (fma z z (* z z)))
1.0ms
(cbrt (fma z z (* z z)))
1.0ms
(cbrt (fma z z (* z z)))

series1.1s

Counts
4 → 12
Calls
4 calls:
281.0ms
(* (cbrt (fma z z (* z z))) (cbrt (fma z z (* z z))))
258.0ms
(cbrt (fma z z (* z z)))
261.0ms
(cbrt (fma z z (* z z)))
265.0ms
(cbrt (fma z z (* z z)))

simplify71.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 3 (62.0ms)

IterNodesCost
0158649
1487598
21843529
35001520

prune272.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

regimes138.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01515
11515

end0.0ms

sample618.0ms

Algorithm
intervals
Results
290.0ms12069×body80valid