Details

Time bar (total: 2.2s)

sample23.0ms

Algorithm
intervals
Results
12.0ms297×body80valid
1.0msbody1280valid
0.0msbody640valid
0.0msbody320valid

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

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite17.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))
12.0ms
(* x (+ y z))

series55.0ms

Counts
2 → 6
Calls
2 calls:
29.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

prune78.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 1 expressions with local error:

0.0b
(* z (+ x 5.0))

rewrite10.0ms

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

series31.0ms

Counts
1 → 3
Calls
1 calls:
31.0ms
(* z (+ x 5.0))

simplify50.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
012586
153376
2214676
3500276

prune48.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 2 expressions with local error:

2.4b
(* z (- (* x x) (* 5.0 5.0)))
7.2b
(/ (* z (- (* x x) (* 5.0 5.0))) (- x 5.0))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
10×*-un-lft-identity
add-exp-log add-cbrt-cube
add-cube-cbrt
times-frac associate-/r*
pow1 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-- add-log-exp
frac-2neg pow-prod-down clear-num *-commutative div-inv associate-/l* unswap-sqr
Counts
2 → 54
Calls
2 calls:
10.0ms
(* z (- (* x x) (* 5.0 5.0)))
13.0ms
(/ (* z (- (* x x) (* 5.0 5.0))) (- x 5.0))

series150.0ms

Counts
2 → 6
Calls
2 calls:
61.0ms
(* z (- (* x x) (* 5.0 5.0)))
89.0ms
(/ (* z (- (* x x) (* 5.0 5.0))) (- x 5.0))

simplify53.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0309416
11541349
25003314

prune118.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize15.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (- (* 5.0 5.0) (* x 5.0)))
1.4b
(* z (+ (pow x 3) (pow 5.0 3)))
12.5b
(/ (* z (+ (pow x 3) (pow 5.0 3))) (+ (* x x) (- (* 5.0 5.0) (* x 5.0))))

rewrite86.0ms

Algorithm
rewrite-expression-head
Rules
17×*-un-lft-identity
10×add-exp-log add-cbrt-cube
add-sqr-sqrt associate-*r*
add-log-exp
add-cube-cbrt
pow1 distribute-lft-out
unpow-prod-down flip3-+ cube-prod associate-*r/ flip-+
times-frac associate-*l* associate-/r*
cbrt-undiv associate-+r+ div-exp prod-exp sum-log associate-/r/ cbrt-unprod associate-/l/
+-commutative distribute-rgt-in associate-+r- sub-neg frac-2neg distribute-lft-in diff-log pow-prod-down clear-num sum-cubes *-commutative div-inv associate-/l* unswap-sqr
Counts
3 → 68
Calls
3 calls:
7.0ms
(+ (* x x) (- (* 5.0 5.0) (* x 5.0)))
46.0ms
(* z (+ (pow x 3) (pow 5.0 3)))
30.0ms
(/ (* z (+ (pow x 3) (pow 5.0 3))) (+ (* x x) (- (* 5.0 5.0) (* x 5.0))))

series257.0ms

Counts
3 → 9
Calls
3 calls:
20.0ms
(+ (* x x) (- (* 5.0 5.0) (* x 5.0)))
87.0ms
(* z (+ (pow x 3) (pow 5.0 3)))
150.0ms
(/ (* z (+ (pow x 3) (pow 5.0 3))) (+ (* x x) (- (* 5.0 5.0) (* x 5.0))))

simplify65.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0378642
12067536
25001530

prune209.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

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

sample657.0ms

Algorithm
intervals
Results
392.0ms9851×body80valid
21.0ms129×body640valid
17.0ms101×body1280valid
8.0ms71×body320valid
2.0ms28×body160valid