Details

Time bar (total: 5.3s)

sample184.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 75.93689%

Guaranteed chance to sample good point: 95.38364%

Results
15.0ms256×body80valid
1.0ms15×body80invalid
0.0msbody80nan

simplify99.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02710
17210
219210
343710
481610
5157810
6276410
7500210

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
0.2b
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
0.3b
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
0.4b
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
36×add-sqr-sqrt
26×*-un-lft-identity times-frac
24×add-cube-cbrt associate-*l*
13×add-exp-log add-cbrt-cube
11×pow1
associate-*r/ sqrt-prod
flip3-- sqrt-div associate-*r* flip--
frac-times associate-/r* associate-/r/ add-log-exp
flip3-+ pow-prod-down associate-*l/ prod-exp cbrt-unprod flip-+ associate-/l* unswap-sqr
cbrt-undiv sqrt-pow1 div-exp *-commutative div-inv difference-of-squares
distribute-rgt-in frac-2neg distribute-lft-in pow1/2 clear-num distribute-lft-out--
Counts
4 → 114
Calls
4 calls:
10.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
14.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
9.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
7.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

series51.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
20.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
9.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
6.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

simplify106.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
010081422
146171341
250011341

prune347.0ms

Filtered
105 candidates to 126 candidates (-20.0%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1197126
Fresh000
Picked101
Done000
Total1207127

Merged error: 0.0b

Counts
127 → 7

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
0.3b
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
0.4b
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
8.1b
(* (- a (/ 1.0 3.0)) (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
26×times-frac
25×*-un-lft-identity
24×associate-*l*
23×add-cube-cbrt
20×add-exp-log add-cbrt-cube
14×pow1
sqrt-prod
associate-*r/ prod-exp cbrt-unprod
sqrt-div associate-*l/
flip3-- pow-prod-down flip--
associate-*r* associate-/r* associate-/r/ add-log-exp
cbrt-undiv div-exp associate-/l*
frac-times sqrt-pow1 *-commutative div-inv difference-of-squares unswap-sqr
frac-2neg pow1/2 clear-num distribute-lft-out--
Counts
4 → 111
Calls
4 calls:
13.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
9.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
7.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
18.0ms
(* (- a (/ 1.0 3.0)) (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand))

series55.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
9.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
6.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
21.0ms
(* (- a (/ 1.0 3.0)) (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand))

simplify91.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
09731339
142241216
250011216

prune325.0ms

Filtered
99 candidates to 123 candidates (-24.2%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1221123
Fresh156
Picked011
Done000
Total1237130

Merged error: 0.0b

Counts
130 → 7

localize16.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
0.4b
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
0.4b
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
0.4b
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
13×pow1 add-sqr-sqrt add-cube-cbrt *-un-lft-identity
12×times-frac
sqrt-div associate-*r/
sqrt-prod
add-exp-log sqrt-pow1 add-cbrt-cube
flip3-- associate-/r* flip-- add-log-exp
pow1/2 pow-prod-down associate-/l*
associate-/r/
cbrt-undiv frac-2neg div-exp clear-num div-inv
Counts
4 → 72
Calls
4 calls:
10.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
8.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
7.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
7.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

series29.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
6.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
6.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
6.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

simplify44.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0443778
11697753
25002727

prune403.0ms

Filtered
73 candidates to 84 candidates (-15.1%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New83184
Fresh055
Picked101
Done011
Total84791

Merged error: 0b

Counts
91 → 7

localize26.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))) (cbrt (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))))
0.6b
(cbrt (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))))
0.6b
(cbrt (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))))
0.6b
(cbrt (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
138×cbrt-prod
90×times-frac
88×add-sqr-sqrt
64×add-cube-cbrt *-un-lft-identity
21×swap-sqr associate-*r* associate-*l* sqrt-prod
15×associate-*r/
14×sqrt-div associate-/r/
11×pow1
pow1/3 unswap-sqr
cbrt-div flip3-- flip-- div-inv
add-exp-log
add-cbrt-cube add-log-exp
pow-prod-down pow-sqr pow-prod-up
pow2 frac-times pow-plus associate-*l/ prod-exp *-commutative cbrt-unprod
Counts
4 → 174
Calls
4 calls:
18.0ms
(* (cbrt (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))) (cbrt (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))))
10.0ms
(cbrt (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))))
9.0ms
(cbrt (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))))
11.0ms
(cbrt (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))))

series87.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(* (cbrt (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))) (cbrt (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))))
19.0ms
(cbrt (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))))
23.0ms
(cbrt (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))))
20.0ms
(cbrt (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))))

simplify94.0ms

Algorithm
egg-herbie
Counts
186 → 186
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
07073156
128673011
250012921

prune1.9s

Filtered
156 candidates to 186 candidates (-19.2%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1860186
Fresh055
Picked011
Done011
Total1867193

Merged error: 0b

Counts
193 → 7

regimes350.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
01913
11913

end0.0ms

sample900.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 75.93689%

Guaranteed chance to sample good point: 95.38364%

Results
468.0ms8000×body80valid
40.0ms655×body80invalid
6.0ms117×body80nan

Profiling

Loading profile data...