Details

Time bar (total: 17.7s)

sample4.2s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 70.898438%

Results
126.0ms122×body1280valid
45.0ms65×body640valid
8.0ms19×body320valid
4.0ms37×body80valid
3.0ms13×body160valid

simplify50.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02310
13510
26310
313710
441710
5179810
6500210

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 4.2b

Counts
2 → 1

localize20.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
0.3b
(pow (sin kx) 2.0)
0.3b
(pow (sin ky) 2.0)
3.8b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
46×*-un-lft-identity
27×add-sqr-sqrt
26×add-cube-cbrt
25×sqrt-prod
24×times-frac
16×unpow-prod-down
10×distribute-lft-out
add-exp-log associate-/r*
pow1
pow-unpow add-cbrt-cube
sqrt-div add-log-exp
associate-/l*
pow-to-exp pow-pow flip3-+ pow-exp associate-/r/ flip-+ sqr-pow
cbrt-undiv rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-exp clear-num div-inv
Counts
4 → 100
Calls
4 calls:
10.0ms
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
2.0ms
(pow (sin kx) 2.0)
2.0ms
(pow (sin ky) 2.0)
7.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series92.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
21.0ms
(pow (sin kx) 2.0)
19.0ms
(pow (sin ky) 2.0)
18.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify41.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
03631053
11249978
25002961

prune244.0ms

Filtered
70 candidates to 112 candidates (-60.0%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New10210112
Fresh000
Picked101
Done000
Total10310113

Merged error: 3.0b

Counts
113 → 10

localize17.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ 1 (/ (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))) (sin ky))) (sin th))
0.3b
(pow (sin kx) 2.0)
0.3b
(pow (sin ky) 2.0)
3.8b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
166×times-frac
127×*-un-lft-identity
106×add-sqr-sqrt
89×associate-*l*
84×add-cube-cbrt
52×sqrt-prod
26×unpow-prod-down
25×add-exp-log
20×distribute-lft-out
13×add-cbrt-cube
pow1
div-exp prod-exp unswap-sqr
pow-unpow
div-inv add-log-exp
cbrt-undiv associate-*r* cbrt-unprod
pow-to-exp rec-exp pow-pow sqrt-div 1-exp pow-exp sqr-pow
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 pow-prod-down associate-*l/ associate-/r/ *-commutative flip-+
Counts
4 → 170
Calls
4 calls:
25.0ms
(* (/ 1 (/ (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))) (sin ky))) (sin th))
2.0ms
(pow (sin kx) 2.0)
2.0ms
(pow (sin ky) 2.0)
7.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series100.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(* (/ 1 (/ (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))) (sin ky))) (sin th))
18.0ms
(pow (sin kx) 2.0)
18.0ms
(pow (sin ky) 2.0)
18.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify76.0ms

Algorithm
egg-herbie
Counts
182 → 182
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
06851984
130931819
250011762

prune402.0ms

Filtered
127 candidates to 182 candidates (-43.3%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1784182
Fresh189
Picked101
Done000
Total18012192

Merged error: 2.9b

Counts
192 → 12

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (sin th) (/ (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))) (sin ky)))
0.3b
(pow (sin kx) 2.0)
0.3b
(pow (sin ky) 2.0)
3.8b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
180×times-frac
150×*-un-lft-identity
99×add-sqr-sqrt
98×add-cube-cbrt
65×sqrt-prod
32×unpow-prod-down
28×associate-/r*
26×distribute-lft-out
11×add-exp-log
add-cbrt-cube
pow1
pow-unpow
div-inv
add-log-exp
cbrt-undiv div-exp associate-/l*
pow-to-exp pow-pow sqrt-div pow-exp sqr-pow
rem-sqrt-square frac-2neg sqrt-pow1 flip3-+ pow1/2 clear-num associate-/r/ flip-+
Counts
4 → 181
Calls
4 calls:
14.0ms
(/ (sin th) (/ (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))) (sin ky)))
2.0ms
(pow (sin kx) 2.0)
2.0ms
(pow (sin ky) 2.0)
7.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series101.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(/ (sin th) (/ (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))) (sin ky)))
18.0ms
(pow (sin kx) 2.0)
17.0ms
(pow (sin ky) 2.0)
21.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify83.0ms

Algorithm
egg-herbie
Counts
193 → 193
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
07212809
130412660
250022660

prune335.0ms

Filtered
111 candidates to 193 candidates (-73.9%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1921193
Fresh11011
Picked011
Done000
Total19312205

Merged error: 2.9b

Counts
205 → 12

localize15.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
0.3b
(pow (sin ky) 2.0)
0.3b
(* (/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin ky))
3.8b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
72×*-un-lft-identity
50×times-frac
49×add-sqr-sqrt
41×sqrt-prod
40×add-cube-cbrt
30×associate-*l*
19×unpow-prod-down
16×distribute-lft-out
12×add-exp-log
11×add-cbrt-cube
pow1 associate-/r*
sqrt-div
associate-/r/ add-log-exp
pow-unpow flip3-+ associate-*r* flip-+ associate-/l* unswap-sqr
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv
pow-to-exp rem-sqrt-square pow-pow frac-2neg sqrt-pow1 pow1/2 pow-prod-down associate-*l/ pow-exp clear-num *-commutative sqr-pow
Counts
4 → 133
Calls
4 calls:
10.0ms
(/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
2.0ms
(pow (sin ky) 2.0)
15.0ms
(* (/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin ky))
7.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series124.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
17.0ms
(pow (sin ky) 2.0)
48.0ms
(* (/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin ky))
18.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify53.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
04121628
116451500
250021489

prune232.0ms

Filtered
94 candidates to 145 candidates (-54.3%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New1432145
Fresh2810
Picked011
Done011
Total14512157

Merged error: 2.9b

Counts
157 → 12

regimes836.0ms

Accuracy

0% (1.4b remaining)

Error of 4.0b against oracle of 2.6b and baseline of 4.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01410
11410

end0.0ms

sample10.5s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 70.898438%

Results
4.3s3805×body1280valid
1.3s2009×body640valid
296.0ms685×body320valid
155.0ms1217×body80valid
79.0ms284×body160valid

Profiling

Loading profile data...