Details

Time bar (total: 17.6s)

sample4.3s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 70.898438%

Results
135.0ms124×body1280valid
41.0ms55×body640valid
13.0ms28×body320valid
5.0ms41×body80valid
2.0msbody160valid

simplify50.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02310
13510
26310
313710
441710
5179810
6500210

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 3.9b

Counts
2 → 1

localize21.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 ky) 2.0)
0.3b
(pow (sin kx) 2.0)
3.6b
(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 ky) 2.0)
2.0ms
(pow (sin kx) 2.0)
7.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series95.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
22.0ms
(pow (sin ky) 2.0)
19.0ms
(pow (sin kx) 2.0)
19.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify43.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
03631053
11249978
25001961

prune249.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.4b

Counts
113 → 12

localize17.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (sin ky) 2.0)
0.3b
(pow (sin kx) 2.0)
0.3b
(* (sin ky) (/ 1 (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
3.6b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
43×*-un-lft-identity
38×add-sqr-sqrt
30×associate-*r*
28×times-frac
25×add-cube-cbrt
22×sqrt-prod
15×add-exp-log
14×unpow-prod-down
pow1 add-cbrt-cube
distribute-lft-out
pow-unpow
unswap-sqr
sqrt-div prod-exp add-log-exp
associate-*l*
pow-to-exp pow-pow flip3-+ div-exp pow-exp associate-/r/ cbrt-unprod flip-+ sqr-pow
cbrt-undiv rem-sqrt-square rec-exp sqrt-pow1 pow1/2 1-exp associate-*r/ pow-prod-down un-div-inv *-commutative div-inv
Counts
4 → 106
Calls
4 calls:
2.0ms
(pow (sin ky) 2.0)
2.0ms
(pow (sin kx) 2.0)
16.0ms
(* (sin ky) (/ 1 (sqrt (+ (pow (sin kx) 2.0) (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:
17.0ms
(pow (sin ky) 2.0)
18.0ms
(pow (sin kx) 2.0)
36.0ms
(* (sin ky) (/ 1 (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
118 → 118
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0482963
12275882
25002841

prune234.0ms

Filtered
70 candidates to 118 candidates (-68.6%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1171118
Fresh01111
Picked011
Done000
Total11713130

Merged error: 2.4b

Counts
130 → 13

localize24.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (sin kx))
0.6b
(cbrt (sin kx))
0.6b
(cbrt (sin kx))
3.6b
(sqrt (+ (* (pow (* (cbrt (sin kx)) (cbrt (sin kx))) 2.0) (pow (cbrt (sin kx)) 2.0)) (pow (sin ky) 2.0)))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1
add-exp-log add-cbrt-cube add-log-exp
pow1/3 sqrt-prod
sqrt-div
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+
Counts
4 → 48
Calls
4 calls:
2.0ms
(cbrt (sin kx))
2.0ms
(cbrt (sin kx))
1.0ms
(cbrt (sin kx))
8.0ms
(sqrt (+ (* (pow (* (cbrt (sin kx)) (cbrt (sin kx))) 2.0) (pow (cbrt (sin kx)) 2.0)) (pow (sin ky) 2.0)))

series73.0ms

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

simplify88.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (81.0ms)

IterNodesCost
0189553
1571525
22518507
35002503

prune167.0ms

Filtered
46 candidates to 60 candidates (-30.4%)
Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New60060
Fresh01111
Picked011
Done011
Total601373

Merged error: 2.4b

Counts
73 → 13

localize21.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (sin kx) 2.0)
0.4b
(/ (sin ky) (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
3.6b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
3.6b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
62×sqrt-prod
56×*-un-lft-identity
34×add-sqr-sqrt
33×times-frac
32×add-cube-cbrt
15×unpow-prod-down
12×distribute-lft-out
11×associate-/r*
sqrt-div
pow1 add-exp-log
add-cbrt-cube
add-log-exp
pow-unpow flip3-+ flip-+ associate-/l*
rem-sqrt-square sqrt-pow1 pow1/2 associate-/r/
cbrt-undiv pow-to-exp pow-pow frac-2neg div-exp pow-exp clear-num div-inv sqr-pow
Counts
4 → 112
Calls
4 calls:
2.0ms
(pow (sin kx) 2.0)
11.0ms
(/ (sin ky) (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)))
7.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series100.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(pow (sin kx) 2.0)
42.0ms
(/ (sin ky) (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
22.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
19.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify47.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
03741454
112521344
250011333

prune284.0ms

Filtered
75 candidates to 124 candidates (-65.3%)
Pruning

12 alts after pruning (9 fresh and 3 done)

PrunedKeptTotal
New1231124
Fresh2810
Picked011
Done022
Total12512137

Merged error: 2.4b

Counts
137 → 12

regimes889.0ms

Accuracy

70.3% (0.4b remaining)

Error of 2.9b against oracle of 2.5b and baseline of 4.0b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04230
14230

end0.0ms

sample10.7s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 70.898438%

Results
4.2s3757×body1280valid
1.4s1998×body640valid
365.0ms736×body320valid
172.0ms1222×body80valid
88.0ms287×body160valid

Profiling

Loading profile data...