Details

Time bar (total: 1.9s)

sample17.0ms

Algorithm
intervals
Results
7.0ms320×body80valid
1.0msbody1280valid
0.0msbody320valid
0.0msbody640valid

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.0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

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:
5.0ms
(+ (* x (+ y z)) (* z 5.0))
9.0ms
(* x (+ y z))

series57.0ms

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

simplify117.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0212186
1877169
24187168
35001168

prune77.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(* z (+ x 5.0))
0.0b
(+ (* x y) (* z (+ x 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-+r+ 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:
11.0ms
(* z (+ x 5.0))
3.0ms
(+ (* x y) (* z (+ x 5.0)))

series62.0ms

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

simplify129.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0209182
1941168
24786168
35001168

prune80.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x y) (/ (* z (- (* x x) (* 5.0 5.0))) (- x 5.0)))
2.9b
(* z (- (* x x) (* 5.0 5.0)))
7.5b
(/ (* z (- (* x x) (* 5.0 5.0))) (- x 5.0))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
11×*-un-lft-identity
10×add-exp-log add-cbrt-cube
add-cube-cbrt
pow1 times-frac associate-/r* add-log-exp
associate-*r/ associate-*r*
flip3-- associate-*l* flip-- difference-of-squares
cbrt-undiv distribute-rgt-in sub-neg distribute-lft-in div-exp prod-exp associate-/r/ cbrt-unprod associate-/l/ distribute-lft-out--
+-commutative frac-2neg flip3-+ pow-prod-down clear-num sum-log *-commutative flip-+ div-inv associate-/l* unswap-sqr
Counts
3 → 65
Calls
3 calls:
10.0ms
(+ (* x y) (/ (* z (- (* x x) (* 5.0 5.0))) (- x 5.0)))
11.0ms
(* z (- (* x x) (* 5.0 5.0)))
10.0ms
(/ (* z (- (* x x) (* 5.0 5.0))) (- x 5.0))

series223.0ms

Counts
3 → 9
Calls
3 calls:
64.0ms
(+ (* x y) (/ (* z (- (* x x) (* 5.0 5.0))) (- x 5.0)))
67.0ms
(* z (- (* x x) (* 5.0 5.0)))
92.0ms
(/ (* z (- (* x x) (* 5.0 5.0))) (- x 5.0))

simplify63.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
0397570
11864498
25001464

prune167.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite13.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-+r+ 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
(* z (+ x 5.0))
3.0ms
(+ (* x y) (* z (+ x 5.0)))

series64.0ms

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

simplify127.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0209182
1941168
24786168
35001168

prune69.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes72.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
0124
1124

end0.0ms

sample431.0ms

Algorithm
intervals
Results
212.0ms9832×body80valid
11.0ms115×body1280valid
8.0ms106×body640valid
3.0ms55×body320valid
1.0ms28×body160valid