Details

Time bar (total: 2.8s)

sample30.0ms

Algorithm
intervals
Results
16.0ms323×body80valid
1.0msbody1280valid
0.0msbody320valid
0.0msbody640valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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))

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

series55.0ms

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

simplify116.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0212186
1877169
24182168
35001168

prune79.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite16.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:
3.0ms
(+ (* x y) (* z (+ x 5.0)))
12.0ms
(* z (+ x 5.0))

series60.0ms

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

simplify130.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0209182
1941168
24791168
35002168

prune82.0ms

Pruning

4 alts after pruning (3 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)))
3.4b
(* z (- (* x x) (* 5.0 5.0)))
7.9b
(/ (* 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)))
10.0ms
(* z (- (* x x) (* 5.0 5.0)))
10.0ms
(/ (* z (- (* x x) (* 5.0 5.0))) (- x 5.0))

series213.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0397570
11864498
25001464

prune168.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x y) (/ z (/ (- x 5.0) (- (* x x) (* 5.0 5.0)))))
0.3b
(/ z (/ (- x 5.0) (- (* x x) (* 5.0 5.0))))
8.8b
(/ (- x 5.0) (- (* x x) (* 5.0 5.0)))

rewrite72.0ms

Algorithm
rewrite-expression-head
Rules
178×times-frac
123×add-sqr-sqrt *-un-lft-identity
81×add-cube-cbrt
47×difference-of-squares
30×associate-/r*
21×distribute-lft-out--
11×associate-/r/
10×add-exp-log add-cbrt-cube
associate-/l*
flip3-- flip-- div-inv
add-log-exp
cbrt-undiv div-exp
pow1
frac-2neg clear-num associate-/l/
+-commutative flip3-+ div-sub sum-log flip-+
Counts
3 → 179
Calls
3 calls:
38.0ms
(+ (* x y) (/ z (/ (- x 5.0) (- (* x x) (* 5.0 5.0)))))
14.0ms
(/ z (/ (- x 5.0) (- (* x x) (* 5.0 5.0))))
11.0ms
(/ (- x 5.0) (- (* x x) (* 5.0 5.0)))

series191.0ms

Counts
3 → 9
Calls
3 calls:
58.0ms
(+ (* x y) (/ z (/ (- x 5.0) (- (* x x) (* 5.0 5.0)))))
87.0ms
(/ z (/ (- x 5.0) (- (* x x) (* 5.0 5.0))))
46.0ms
(/ (- x 5.0) (- (* x x) (* 5.0 5.0)))

simplify128.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (101.0ms)

IterNodesCost
07852139
141831991
250021936

prune482.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

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

end0.0ms

sample788.0ms

Algorithm
intervals
Results
514.0ms9791×body80valid
28.0ms130×body1280valid
24.0ms123×body640valid
10.0ms55×body320valid
3.0ms37×body160valid