Details

Time bar (total: 6.4s)

sample1.9s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 38.955688%

Guaranteed chance to sample good point: 57.921312%

Results
11.0ms256×body80valid
3.0ms71×body80nan

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0217
1337
2427
3447
4447

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 17.3b

Counts
2 → 1

localize9.0ms

Local error

Found 3 expressions with local error:

1.2b
(+ (+ (* x y) (* x z)) (* y z))
1.4b
(+ (* x y) (* x z))
16.4b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity sum-log
add-exp-log flip3-+ sqrt-prod add-cbrt-cube flip-+
+-commutative sqrt-div
rem-sqrt-square associate-+l+ sqrt-pow1 pow1/2 distribute-lft-out
Counts
3 → 40
Calls
3 calls:
5.0ms
(+ (+ (* x y) (* x z)) (* y z))
3.0ms
(+ (* x y) (* x z))
5.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series47.0ms

Counts
3 → 9
Calls
3 calls:
7.0ms
(+ (+ (* x y) (* x z)) (* y z))
6.0ms
(+ (* x y) (* x z))
34.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify116.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0256358
1972331
23980326
35002326

prune83.0ms

Filtered
38 candidates to 49 candidates (-28.9%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New43649
Fresh000
Picked101
Done000
Total44650

Merged error: 17.2b

Counts
50 → 6

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(* x (+ y z))
1.2b
(+ (* x (+ y z)) (* y z))
16.4b
(sqrt (+ (* x (+ y z)) (* y z)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
*-un-lft-identity
pow1 add-cube-cbrt
add-exp-log add-cbrt-cube add-log-exp
associate-*r*
flip3-+ associate-*l* sqrt-prod flip-+
distribute-rgt-in associate-+l+ distribute-lft-in sqrt-div associate-*r/
+-commutative rem-sqrt-square sqrt-pow1 pow1/2 pow-prod-down prod-exp sum-log *-commutative cbrt-unprod distribute-lft-out unswap-sqr
Counts
3 → 51
Calls
3 calls:
7.0ms
(* x (+ y z))
6.0ms
(+ (* x (+ y z)) (* y z))
5.0ms
(sqrt (+ (* x (+ y z)) (* y z)))

series44.0ms

Counts
3 → 9
Calls
3 calls:
6.0ms
(* x (+ y z))
7.0ms
(+ (* x (+ y z)) (* y z))
32.0ms
(sqrt (+ (* x (+ y z)) (* y z)))

simplify38.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0281332
11182313
25001312

prune93.0ms

Filtered
43 candidates to 60 candidates (-39.5%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New53760
Fresh415
Picked011
Done000
Total57966

Merged error: 17.2b

Counts
66 → 9

localize12.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (+ y z))
0.5b
(* (cbrt (+ y z)) (cbrt (+ y z)))
1.2b
(+ (* (* x (* (cbrt (+ y z)) (cbrt (+ y z)))) (cbrt (+ y z))) (* y z))
16.4b
(sqrt (+ (* (* x (* (cbrt (+ y z)) (cbrt (+ y z)))) (cbrt (+ y z))) (* y z)))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
30×*-un-lft-identity
28×cbrt-prod
23×add-sqr-sqrt
14×add-cube-cbrt cbrt-div
12×pow1
flip3-+ swap-sqr flip-+
pow1/3 associate-*r* associate-*l* distribute-lft-out
add-exp-log add-log-exp
frac-times add-cbrt-cube unswap-sqr
sqrt-prod
sqrt-div associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
+-commutative pow2 rem-sqrt-square sqrt-pow1 pow-plus pow1/2 prod-exp sum-log *-commutative cbrt-unprod
Counts
4 → 93
Calls
4 calls:
3.0ms
(cbrt (+ y z))
10.0ms
(* (cbrt (+ y z)) (cbrt (+ y z)))
17.0ms
(+ (* (* x (* (cbrt (+ y z)) (cbrt (+ y z)))) (cbrt (+ y z))) (* y z))
17.0ms
(sqrt (+ (* (* x (* (cbrt (+ y z)) (cbrt (+ y z)))) (cbrt (+ y z))) (* y z)))

series118.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(cbrt (+ y z))
40.0ms
(* (cbrt (+ y z)) (cbrt (+ y z)))
12.0ms
(+ (* (* x (* (cbrt (+ y z)) (cbrt (+ y z)))) (cbrt (+ y z))) (* y z))
37.0ms
(sqrt (+ (* (* x (* (cbrt (+ y z)) (cbrt (+ y z)))) (cbrt (+ y z))) (* y z)))

simplify57.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
04551056
11622960
25001898

prune168.0ms

Filtered
73 candidates to 105 candidates (-43.8%)
Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New1005105
Fresh167
Picked011
Done011
Total10113114

Merged error: 17.0b

Counts
114 → 13

localize18.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (+ y z)) (cbrt (+ y z)))
0.5b
(cbrt (* (cbrt (+ y z)) (cbrt (+ y z))))
1.2b
(+ (* (* x (* (* (cbrt (+ y z)) (cbrt (* (cbrt (+ y z)) (cbrt (+ y z))))) (cbrt (cbrt (+ y z))))) (cbrt (+ y z))) (* y z))
16.4b
(sqrt (+ (* (* x (* (* (cbrt (+ y z)) (cbrt (* (cbrt (+ y z)) (cbrt (+ y z))))) (cbrt (cbrt (+ y z))))) (cbrt (+ y z))) (* y z)))

rewrite117.0ms

Algorithm
rewrite-expression-head
Rules
32×cbrt-div
27×*-un-lft-identity
25×cbrt-prod
22×add-sqr-sqrt
14×flip3-+ flip-+
13×add-cube-cbrt
12×pow1
swap-sqr
frac-times
pow1/3 associate-*r* associate-*l*
add-exp-log distribute-lft-out add-log-exp
associate-*r/ associate-*l/ add-cbrt-cube unswap-sqr
sqrt-prod
sqrt-div pow-prod-down pow-sqr pow-prod-up
+-commutative pow2 rem-sqrt-square sqrt-pow1 pow-plus pow1/2 prod-exp sum-log *-commutative cbrt-unprod
Counts
4 → 96
Calls
4 calls:
13.0ms
(* (cbrt (+ y z)) (cbrt (+ y z)))
9.0ms
(cbrt (* (cbrt (+ y z)) (cbrt (+ y z))))
44.0ms
(+ (* (* x (* (* (cbrt (+ y z)) (cbrt (* (cbrt (+ y z)) (cbrt (+ y z))))) (cbrt (cbrt (+ y z))))) (cbrt (+ y z))) (* y z))
47.0ms
(sqrt (+ (* (* x (* (* (cbrt (+ y z)) (cbrt (* (cbrt (+ y z)) (cbrt (+ y z))))) (cbrt (cbrt (+ y z))))) (cbrt (+ y z))) (* y z)))

series141.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(* (cbrt (+ y z)) (cbrt (+ y z)))
52.0ms
(cbrt (* (cbrt (+ y z)) (cbrt (+ y z))))
12.0ms
(+ (* (* x (* (* (cbrt (+ y z)) (cbrt (* (cbrt (+ y z)) (cbrt (+ y z))))) (cbrt (cbrt (+ y z))))) (cbrt (+ y z))) (* y z))
39.0ms
(sqrt (+ (* (* x (* (* (cbrt (+ y z)) (cbrt (* (cbrt (+ y z)) (cbrt (+ y z))))) (cbrt (cbrt (+ y z))))) (cbrt (+ y z))) (* y z)))

simplify62.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
04861514
117041416
250011367

prune157.0ms

Filtered
76 candidates to 108 candidates (-42.1%)
Pruning

13 alts after pruning (10 fresh and 3 done)

PrunedKeptTotal
New1062108
Fresh2810
Picked011
Done022
Total10813121

Merged error: 17.0b

Counts
121 → 13

regimes485.0ms

Accuracy

0% (0.3b remaining)

Error of 19.7b against oracle of 19.4b and baseline of 19.7b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0156
1156

end0.0ms

sample2.6s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 38.955688%

Guaranteed chance to sample good point: 57.921312%

Results
367.0ms8000×body80valid
81.0ms1811×body80nan

Profiling

Loading profile data...