Details

Time bar (total: 3.0s)

sample692.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 17.504883%

Guaranteed chance to sample good point: 83.722995%

Results
6.0ms241×body80valid
1.0msbody1280valid
1.0msbody640valid
0.0ms13×body80invalid
0.0msbody320valid
0.0msbody160valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0184
1284
2384
3414
4414

prune3.0ms

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))

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

series14.0ms

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

simplify117.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0212186
1877169
24182168
35001168

prune52.0ms

Filtered
28 candidates to 42 candidates (-50.0%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New38442
Fresh000
Picked011
Done000
Total38543

Merged error: 0.0b

Counts
43 → 5

localize7.0ms

Local error

Found 2 expressions with local error:

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

series13.0ms

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

simplify126.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0209182
1941168
24786168
35001168

prune63.0ms

Filtered
27 candidates to 42 candidates (-55.6%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New38442
Fresh123
Picked011
Done101
Total40747

Merged error: 0.0b

Counts
47 → 7

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.1b
(* z (- (* x x) (* 5.0 5.0)))
5.9b
(/ (* z (- (* x x) (* 5.0 5.0))) (- x 5.0))

rewrite23.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)))
9.0ms
(/ (* z (- (* x x) (* 5.0 5.0))) (- x 5.0))

series39.0ms

Counts
3 → 9
Calls
3 calls:
14.0ms
(+ (* x y) (/ (* z (- (* x x) (* 5.0 5.0))) (- x 5.0)))
10.0ms
(* z (- (* x x) (* 5.0 5.0)))
14.0ms
(/ (* z (- (* x x) (* 5.0 5.0))) (- x 5.0))

simplify59.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0397570
11864498
25001464

prune99.0ms

Filtered
53 candidates to 74 candidates (-39.6%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New74074
Fresh055
Picked011
Done011
Total74781

Merged error: 0.0b

Counts
81 → 7

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.3b
(* z (sqrt (+ x 5.0)))
0.3b
(* (* z (sqrt (+ x 5.0))) (sqrt (+ x 5.0)))

rewrite30.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))
3.0ms
(+ (* x y) (* (* z (sqrt (+ x 5.0))) (sqrt (+ x 5.0))))
7.0ms
(* z (sqrt (+ x 5.0)))
14.0ms
(* (* z (sqrt (+ x 5.0))) (sqrt (+ x 5.0)))

series26.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(sqrt (+ x 5.0))
8.0ms
(+ (* x y) (* (* z (sqrt (+ x 5.0))) (sqrt (+ x 5.0))))
9.0ms
(* z (sqrt (+ x 5.0)))
5.0ms
(* (* z (sqrt (+ x 5.0))) (sqrt (+ x 5.0)))

simplify58.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0467671
12137585
25001572

prune122.0ms

Filtered
62 candidates to 94 candidates (-51.6%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New94094
Fresh044
Picked011
Done022
Total947101

Merged error: 0.0b

Counts
101 → 7

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

sample1.2s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 17.504883%

Guaranteed chance to sample good point: 83.722995%

Results
218.0ms7681×body80valid
13.0ms111×body1280valid
11.0ms119×body640valid
9.0ms357×body80invalid
4.0ms58×body320valid
2.0ms31×body160valid

Profiling

Loading profile data...