Details

Time bar (total: 2.0s)

sample20.0ms

Algorithm
intervals
Results
9.0ms321×body80valid
0.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

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

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

series56.0ms

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

simplify121.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0212186
1877169
24182168
35001168

prune66.0ms

Filtered
42 candidates to 28 candidates (66.7%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New38442
Fresh000
Picked011
Done000
Total38543

Merged error: 0.0b

Counts
43 → 5

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.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:
4.0ms
(+ (* x y) (* z (+ x 5.0)))
6.0ms
(* z (+ x 5.0))

series60.0ms

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

simplify133.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0209182
1941168
24791168
35002168

prune67.0ms

Filtered
42 candidates to 27 candidates (64.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New40242
Fresh123
Picked101
Done011
Total42547

Merged error: 0b

Counts
47 → 5

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x y) (/ (* z (- (* x x) (* 5.0 5.0))) (- x 5.0)))
2.0b
(* z (- (* x x) (* 5.0 5.0)))
8.7b
(/ (* z (- (* x x) (* 5.0 5.0))) (- x 5.0))

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

series209.0ms

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

simplify60.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0397570
11864498
25001464

prune132.0ms

Filtered
74 candidates to 54 candidates (73.0%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New74074
Fresh033
Picked011
Done011
Total74579

Merged error: 0b

Counts
79 → 5

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ x 5.0))
0.0b
(+ (* x y) (* (* z (sqrt (+ x 5.0))) (sqrt (+ x 5.0))))
0.2b
(* z (sqrt (+ x 5.0)))
0.3b
(* (* z (sqrt (+ x 5.0))) (sqrt (+ x 5.0)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
16×*-un-lft-identity sqrt-div
15×add-sqr-sqrt
14×associate-*r*
13×sqrt-prod
12×pow1
11×add-exp-log add-cbrt-cube
10×add-cube-cbrt associate-*r/
flip3-+ flip-+
add-log-exp
frac-times associate-*l* pow-prod-down prod-exp cbrt-unprod
distribute-lft-out
associate-*l/ *-commutative unswap-sqr
+-commutative rem-sqrt-square sqrt-pow1 pow1/2 sum-log
Counts
4 → 82
Calls
4 calls:
3.0ms
(sqrt (+ x 5.0))
4.0ms
(+ (* x y) (* (* z (sqrt (+ x 5.0))) (sqrt (+ x 5.0))))
7.0ms
(* z (sqrt (+ x 5.0)))
12.0ms
(* (* z (sqrt (+ x 5.0))) (sqrt (+ x 5.0)))

series148.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(sqrt (+ x 5.0))
30.0ms
(+ (* x y) (* (* z (sqrt (+ x 5.0))) (sqrt (+ x 5.0))))
54.0ms
(* z (sqrt (+ x 5.0)))
34.0ms
(* (* z (sqrt (+ x 5.0))) (sqrt (+ x 5.0)))

simplify57.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0405639
11847541
25003528

prune161.0ms

Filtered
94 candidates to 61 candidates (64.9%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New94094
Fresh022
Picked011
Done022
Total94599

Merged error: 0b

Counts
99 → 5

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

sample514.0ms

Algorithm
intervals
Results
267.0ms9840×body80valid
12.0ms127×body640valid
12.0ms98×body1280valid
4.0ms62×body320valid
2.0ms38×body160valid

Profiling

Loading profile data...