Details

Time bar (total: 6.5s)

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
12.0ms256×body80valid
3.0ms71×body80nan

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0217
1337
2427
3447
4447

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 17.3b

Counts
2 → 1

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

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

series45.0ms

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

simplify124.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0256358
1972331
23980326
35002326

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

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

rewrite19.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:
6.0ms
(* x (+ y z))
6.0ms
(+ (* x (+ y z)) (* y z))
6.0ms
(sqrt (+ (* x (+ y z)) (* y z)))

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

simplify45.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0281332
11182313
25001312

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

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

rewrite56.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)))
19.0ms
(+ (* (* x (* (cbrt (+ y z)) (cbrt (+ y z)))) (cbrt (+ y z))) (* y z))
21.0ms
(sqrt (+ (* (* x (* (cbrt (+ y z)) (cbrt (+ y z)))) (cbrt (+ y z))) (* y z)))

series117.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(cbrt (+ y z))
37.0ms
(* (cbrt (+ y z)) (cbrt (+ y z)))
14.0ms
(+ (* (* x (* (cbrt (+ y z)) (cbrt (+ y z)))) (cbrt (+ y z))) (* y z))
36.0ms
(sqrt (+ (* (* x (* (cbrt (+ y z)) (cbrt (+ y z)))) (cbrt (+ y z))) (* y z)))

simplify59.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
04551056
11622960
25001898

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

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

rewrite115.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:
10.0ms
(* (cbrt (+ y z)) (cbrt (+ y z)))
8.0ms
(cbrt (* (cbrt (+ y z)) (cbrt (+ y z))))
48.0ms
(+ (* (* x (* (* (cbrt (+ y z)) (cbrt (* (cbrt (+ y z)) (cbrt (+ y z))))) (cbrt (cbrt (+ y z))))) (cbrt (+ y z))) (* y z))
45.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:
41.0ms
(* (cbrt (+ y z)) (cbrt (+ y z)))
48.0ms
(cbrt (* (cbrt (+ y z)) (cbrt (+ y z))))
16.0ms
(+ (* (* x (* (* (cbrt (+ y z)) (cbrt (* (cbrt (+ y z)) (cbrt (+ y z))))) (cbrt (cbrt (+ y z))))) (cbrt (+ y z))) (* y z))
36.0ms
(sqrt (+ (* (* x (* (* (cbrt (+ y z)) (cbrt (* (cbrt (+ y z)) (cbrt (+ y z))))) (cbrt (cbrt (+ y z))))) (cbrt (+ y z))) (* y z)))

simplify67.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
04861515
116981416
250011367

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

regimes301.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.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
458.0ms8000×body80valid
100.0ms1811×body80nan

Profiling

Loading profile data...