Details

Time bar (total: 10.4s)

sample193.0ms

Algorithm
intervals
Results
127.0ms128×body1280valid
38.0ms63×body640valid
7.0ms19×body320valid
4.0ms37×body80valid
2.0msbody160valid

simplify53.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02310
13910
26710
315310
443910
5183010
6500110

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 3.3b

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

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
46×*-un-lft-identity
39×add-sqr-sqrt
26×add-cube-cbrt
25×sqrt-prod
24×times-frac
22×unpow-prod-down
10×distribute-lft-out
hypot-def
add-exp-log associate-/r* sqr-pow
pow1
pow-unpow add-cbrt-cube
expm1-log1p-u sqrt-div log1p-expm1-u add-log-exp
associate-/l*
pow-to-exp pow-pow flip3-+ pow-exp associate-/r/ flip-+
cbrt-undiv rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-exp clear-num div-inv
Counts
4 → 117
Calls
4 calls:
11.0ms
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
3.0ms
(pow (sin ky) 2.0)
3.0ms
(pow (sin kx) 2.0)
8.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series403.0ms

Counts
4 → 12
Calls
4 calls:
123.0ms
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
104.0ms
(pow (sin ky) 2.0)
99.0ms
(pow (sin kx) 2.0)
77.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify41.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
03411065
11159981
25001976

prune405.0ms

Filtered
129 candidates to 87 candidates (67.4%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New11811129
Fresh000
Picked101
Done000
Total11911130

Merged error: 0.0b

Counts
130 → 11

localize12.0ms

Local error

Found 3 expressions with local error:

0.1b
(hypot (sin ky) (sin kx))
0.2b
(* (/ (sin ky) (hypot (sin ky) (sin kx))) (sin th))
0.2b
(/ (sin ky) (hypot (sin ky) (sin kx)))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
19×add-cube-cbrt *-un-lft-identity times-frac
13×associate-*l*
10×add-exp-log add-cbrt-cube
pow1
expm1-log1p-u associate-*r* associate-/r* log1p-expm1-u associate-/l* add-log-exp
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv unswap-sqr
hypot-udef frac-2neg pow-prod-down associate-*l/ clear-num *-commutative
Counts
3 → 73
Calls
3 calls:
1.0ms
(hypot (sin ky) (sin kx))
6.0ms
(* (/ (sin ky) (hypot (sin ky) (sin kx))) (sin th))
4.0ms
(/ (sin ky) (hypot (sin ky) (sin kx)))

series496.0ms

Counts
3 → 9
Calls
3 calls:
118.0ms
(hypot (sin ky) (sin kx))
217.0ms
(* (/ (sin ky) (hypot (sin ky) (sin kx))) (sin th))
161.0ms
(/ (sin ky) (hypot (sin ky) (sin kx)))

simplify141.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0287725
11045645
24962644
35001644

prune252.0ms

Filtered
82 candidates to 65 candidates (79.3%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New74882
Fresh6410
Picked101
Done000
Total811293

Merged error: 0b

Counts
93 → 12

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(hypot (sin ky) (sin kx))
0.2b
(/ (hypot (sin ky) (sin kx)) (sin ky))
0.2b
(* (/ 1 (/ (hypot (sin ky) (sin kx)) (sin ky))) (sin th))
0.2b
(/ 1 (/ (hypot (sin ky) (sin kx)) (sin ky)))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
156×times-frac
104×add-sqr-sqrt
92×*-un-lft-identity
90×add-cube-cbrt
44×associate-*l*
36×add-exp-log
20×add-cbrt-cube
16×associate-/r*
15×div-exp
10×div-inv
pow1 cbrt-undiv prod-exp
associate-/l*
unswap-sqr
expm1-log1p-u rec-exp 1-exp log1p-expm1-u add-log-exp
associate-*r* cbrt-unprod
frac-2neg clear-num associate-/r/
hypot-udef pow-flip pow-prod-down associate-*l/ *-commutative inv-pow
Counts
4 → 191
Calls
4 calls:
1.0ms
(hypot (sin ky) (sin kx))
4.0ms
(/ (hypot (sin ky) (sin kx)) (sin ky))
13.0ms
(* (/ 1 (/ (hypot (sin ky) (sin kx)) (sin ky))) (sin th))
6.0ms
(/ 1 (/ (hypot (sin ky) (sin kx)) (sin ky)))

series637.0ms

Counts
4 → 12
Calls
4 calls:
113.0ms
(hypot (sin ky) (sin kx))
135.0ms
(/ (hypot (sin ky) (sin kx)) (sin ky))
225.0ms
(* (/ 1 (/ (hypot (sin ky) (sin kx)) (sin ky))) (sin th))
164.0ms
(/ 1 (/ (hypot (sin ky) (sin kx)) (sin ky)))

simplify81.0ms

Algorithm
egg-herbie
Counts
203 → 203
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
06372121
129151881
250011782

prune476.0ms

Filtered
203 candidates to 137 candidates (67.5%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New2021203
Fresh11011
Picked101
Done000
Total20411215

Merged error: 0b

Counts
215 → 11

localize12.0ms

Local error

Found 3 expressions with local error:

0.1b
(hypot (sin ky) (sin kx))
0.2b
(/ (hypot (sin ky) (sin kx)) (sin ky))
0.2b
(/ (sin th) (/ (hypot (sin ky) (sin kx)) (sin ky)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
84×times-frac
53×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
16×associate-/r*
10×add-exp-log add-cbrt-cube
div-inv associate-/l*
cbrt-undiv div-exp
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg clear-num
hypot-udef associate-/r/
Counts
3 → 111
Calls
3 calls:
1.0ms
(hypot (sin ky) (sin kx))
3.0ms
(/ (hypot (sin ky) (sin kx)) (sin ky))
6.0ms
(/ (sin th) (/ (hypot (sin ky) (sin kx)) (sin ky)))

series493.0ms

Counts
3 → 9
Calls
3 calls:
115.0ms
(hypot (sin ky) (sin kx))
139.0ms
(/ (hypot (sin ky) (sin kx)) (sin ky))
239.0ms
(/ (sin th) (/ (hypot (sin ky) (sin kx)) (sin ky)))

simplify53.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
04261414
117271322
250011320

prune322.0ms

Filtered
120 candidates to 99 candidates (82.5%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1182120
Fresh4610
Picked101
Done000
Total1238131

Merged error: 0b

Counts
131 → 8

regimes364.0ms

Accuracy

0% (0.2b remaining)

Error of 0.3b against oracle of 0.0b and baseline of 0.3b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0138
1138

end0.0ms

sample5.9s

Algorithm
intervals
Results
3.9s3746×body1280valid
1.2s1959×body640valid
309.0ms738×body320valid
139.0ms1265×body80valid
80.0ms292×body160valid

Profiling

Loading profile data...