Details

Time bar (total: 3.6s)

sample17.0ms

Algorithm
intervals
Results
7.0ms323×body80valid
0.0msbody1280valid
0.0msbody640valid
0.0msbody160valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0184
1284
2384
3414
4414

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity
pow1 add-exp-log add-cube-cbrt associate-*r* add-cbrt-cube add-log-exp
associate-*l*
distribute-rgt-in associate-+l+ distribute-lft-in flip3-+ associate-*r/ flip-+
+-commutative pow-prod-down prod-exp sum-log *-commutative cbrt-unprod distribute-lft-out unswap-sqr
Counts
2 → 36
Calls
2 calls:
9.0ms
(* x (+ y z))
5.0ms
(+ (* x (+ y z)) (* z 5.0))

series55.0ms

Counts
2 → 6
Calls
2 calls:
24.0ms
(* x (+ y z))
31.0ms
(+ (* x (+ y z)) (* z 5.0))

simplify115.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0212186
1877169
24182168
35001168

prune83.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
sum-log
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt *-un-lft-identity flip3-+ add-cbrt-cube flip-+
associate-+l+ distribute-lft-out
Counts
2 → 25
Calls
2 calls:
2.0ms
(+ (* x y) (* x z))
11.0ms
(+ (+ (* x y) (* x z)) (* z 5.0))

series58.0ms

Counts
2 → 6
Calls
2 calls:
31.0ms
(+ (* x y) (* x z))
27.0ms
(+ (+ (* x y) (* x z)) (* z 5.0))

simplify97.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0182194
1727170
23072165
35003165

prune70.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (+ (+ (* x y) (* x z)) (* z 5.0)))
0.5b
(cbrt (+ (+ (* x y) (* x z)) (* z 5.0)))
0.5b
(cbrt (+ (+ (* x y) (* x z)) (* z 5.0)))
0.5b
(* (cbrt (+ (+ (* x y) (* x z)) (* z 5.0))) (cbrt (+ (+ (* x y) (* x z)) (* z 5.0))))

rewrite82.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*
frac-times add-cbrt-cube 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 → 87
Calls
4 calls:
7.0ms
(cbrt (+ (+ (* x y) (* x z)) (* z 5.0)))
7.0ms
(cbrt (+ (+ (* x y) (* x z)) (* z 5.0)))
7.0ms
(cbrt (+ (+ (* x y) (* x z)) (* z 5.0)))
59.0ms
(* (cbrt (+ (+ (* x y) (* x z)) (* z 5.0))) (cbrt (+ (+ (* x y) (* x z)) (* z 5.0))))

series642.0ms

Counts
4 → 12
Calls
4 calls:
153.0ms
(cbrt (+ (+ (* x y) (* x z)) (* z 5.0)))
144.0ms
(cbrt (+ (+ (* x y) (* x z)) (* z 5.0)))
146.0ms
(cbrt (+ (+ (* x y) (* x z)) (* z 5.0)))
198.0ms
(* (cbrt (+ (+ (* x y) (* x z)) (* z 5.0))) (cbrt (+ (+ (* x y) (* x z)) (* z 5.0))))

simplify52.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
03201464
111291352
250011209

prune318.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (+ (+ (* x y) (* x z)) (* z 5.0)))
0.5b
(cbrt (+ (+ (* x y) (* x z)) (* z 5.0)))
0.5b
(* (cbrt (cbrt (+ (+ (* x y) (* x z)) (* z 5.0)))) (cbrt (cbrt (+ (+ (* x y) (* x z)) (* z 5.0)))))
1.0b
(pow (cbrt (cbrt (+ (+ (* x y) (* x z)) (* z 5.0)))) 4)

rewrite97.0ms

Algorithm
rewrite-expression-head
Rules
69×cbrt-prod
40×add-sqr-sqrt
28×cbrt-div
22×add-cube-cbrt *-un-lft-identity
12×pow1
unpow-prod-down pow1/3 swap-sqr associate-*r* associate-*l* unswap-sqr
flip3-+ flip-+
add-exp-log
frac-times add-cbrt-cube add-log-exp
pow-unpow
pow-pow associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-to-exp pow-plus pow-exp prod-exp *-commutative cbrt-unprod sqr-pow
Counts
4 → 112
Calls
4 calls:
7.0ms
(cbrt (+ (+ (* x y) (* x z)) (* z 5.0)))
7.0ms
(cbrt (+ (+ (* x y) (* x z)) (* z 5.0)))
64.0ms
(* (cbrt (cbrt (+ (+ (* x y) (* x z)) (* z 5.0)))) (cbrt (cbrt (+ (+ (* x y) (* x z)) (* z 5.0)))))
15.0ms
(pow (cbrt (cbrt (+ (+ (* x y) (* x z)) (* z 5.0)))) 4)

series761.0ms

Counts
4 → 12
Calls
4 calls:
157.0ms
(cbrt (+ (+ (* x y) (* x z)) (* z 5.0)))
151.0ms
(cbrt (+ (+ (* x y) (* x z)) (* z 5.0)))
213.0ms
(* (cbrt (cbrt (+ (+ (* x y) (* x z)) (* z 5.0)))) (cbrt (cbrt (+ (+ (* x y) (* x z)) (* z 5.0)))))
239.0ms
(pow (cbrt (cbrt (+ (+ (* x y) (* x z)) (* z 5.0)))) 4)

simplify70.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
05042018
117871742
250021628

prune465.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

regimes109.0ms

Accuracy

0% (0.0b 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
0145
1145

end0.0ms

sample455.0ms

Algorithm
intervals
Results
224.0ms9760×body80valid
14.0ms141×body1280valid
8.0ms101×body640valid
4.0ms60×body320valid
2.0ms36×body160valid