Details

Time bar (total: 16.8s)

sample3.9s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 71.777344%

Results
140.0ms125×body1280valid
45.0ms68×body640valid
8.0ms18×body320valid
5.0ms39×body80valid
2.0msbody160valid

simplify51.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: 3.6b

Counts
2 → 1

localize15.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.3b
(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:
34.0ms
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
18.0ms
(pow (sin kx) 2.0)
21.0ms
(pow (sin ky) 2.0)
19.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

prune248.0ms

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

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New10012112
Fresh000
Picked101
Done000
Total10112113

Merged error: 2.8b

Counts
113 → 12

localize16.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)))
0.3b
(pow (sin kx) 2.0)
0.3b
(pow (sin ky) 2.0)
3.3b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite36.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
17×add-exp-log
add-cbrt-cube
pow1
div-exp
pow-unpow
div-inv
add-log-exp
cbrt-undiv associate-/l*
pow-to-exp rec-exp pow-pow sqrt-div 1-exp pow-exp sqr-pow
rem-sqrt-square pow-flip frac-2neg sqrt-pow1 flip3-+ pow1/2 clear-num associate-/r/ flip-+ inv-pow
Counts
4 → 187
Calls
4 calls:
14.0ms
(/ 1 (/ (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)))

series89.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(/ 1 (/ (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))) (sin ky)))
17.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)))

simplify75.0ms

Algorithm
egg-herbie
Counts
199 → 199
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
06752618
130162355
250022204

prune247.0ms

Filtered
80 candidates to 199 candidates (-148.8%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1981199
Fresh11011
Picked011
Done000
Total19912211

Merged error: 2.8b

Counts
211 → 12

localize18.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (sin ky) 2.0)
0.5b
(* (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
3.3b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
3.3b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
100×sqrt-prod
52×add-sqr-sqrt
50×*-un-lft-identity
34×sqrt-pow1
30×pow1
28×sqrt-div
20×add-cube-cbrt
19×swap-sqr
18×pow1/2
15×unpow-prod-down
14×distribute-lft-out
11×associate-*r* associate-*l*
pow-prod-up unswap-sqr
flip3-+ flip-+
add-exp-log
add-cbrt-cube
pow-prod-down pow-sqr
frac-times add-log-exp
pow-unpow
rem-sqrt-square associate-*r/ associate-*l/
pow2 pow-to-exp pow-pow pow-plus sqrt-unprod pow-exp prod-exp rem-square-sqrt *-commutative cbrt-unprod sqr-pow
Counts
4 → 142
Calls
4 calls:
2.0ms
(pow (sin ky) 2.0)
22.0ms
(* (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
7.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
8.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series75.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
03301472
112661371
250021333

prune287.0ms

Filtered
71 candidates to 154 candidates (-116.9%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1522154
Fresh2810
Picked101
Done011
Total15511166

Merged error: 2.7b

Counts
166 → 11

localize20.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (sin ky) 2.0)
1.2b
(log (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
1.4b
(exp (log (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
3.3b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity
16×log-prod
15×sqrt-prod
13×add-sqr-sqrt
12×add-cube-cbrt
10×pow1
unpow-prod-down
exp-sum
add-exp-log exp-prod sqrt-div log-pow distribute-lft-out
log-div add-cbrt-cube add-log-exp
pow-unpow sqrt-pow1 flip3-+ pow1/2 flip-+
exp-diff
pow-to-exp rem-sqrt-square pow-pow rem-log-exp pow-exp rem-exp-log sqr-pow
Counts
4 → 79
Calls
4 calls:
2.0ms
(pow (sin ky) 2.0)
7.0ms
(log (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
9.0ms
(exp (log (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
9.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series80.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(pow (sin ky) 2.0)
23.0ms
(log (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
18.0ms
(exp (log (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
18.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify84.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 3 (75.0ms)

IterNodesCost
0268791
1771745
22592714
35001708

prune158.0ms

Filtered
57 candidates to 91 candidates (-59.6%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New88391
Fresh099
Picked101
Done011
Total8913102

Merged error: 2.7b

Counts
102 → 13

regimes873.0ms

Accuracy

0% (1.3b 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
01911
11911

end0.0ms

sample10.3s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 71.777344%

Results
4.3s3696×body1280valid
1.4s2076×body640valid
327.0ms713×body320valid
174.0ms1241×body80valid
84.0ms274×body160valid

Profiling

Loading profile data...