Details

Time bar (total: 9.6s)

sample153.0ms

Algorithm
intervals
Results
100.0ms123×body1280valid
27.0ms58×body640valid
5.0ms48×body80valid
5.0ms16×body320valid
2.0ms11×body160valid

simplify51.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02310
13510
26310
313710
441710
5179810
6500210

prune4.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: 4.8b

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

rewrite32.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:
16.0ms
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
3.0ms
(pow (sin kx) 2.0)
3.0ms
(pow (sin ky) 2.0)
7.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series421.0ms

Counts
4 → 12
Calls
4 calls:
129.0ms
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
106.0ms
(pow (sin kx) 2.0)
112.0ms
(pow (sin ky) 2.0)
74.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify44.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
03291021
11106946
25002943

prune354.0ms

Filtered
112 candidates to 70 candidates (62.5%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New9913112
Fresh000
Picked101
Done000
Total10013113

Merged error: 3.4b

Counts
113 → 13

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

rewrite40.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)))
3.0ms
(pow (sin kx) 2.0)
3.0ms
(pow (sin ky) 2.0)
10.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series415.0ms

Counts
4 → 12
Calls
4 calls:
125.0ms
(/ 1 (/ (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))) (sin ky)))
105.0ms
(pow (sin kx) 2.0)
105.0ms
(pow (sin ky) 2.0)
80.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify76.0ms

Algorithm
egg-herbie
Counts
199 → 199
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
06422588
128822325
250032177

prune374.0ms

Filtered
199 candidates to 82 candidates (41.2%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1963199
Fresh3912
Picked101
Done000
Total20012212

Merged error: 3.4b

Counts
212 → 12

localize21.0ms

Local error

Found 4 expressions with local error:

0.2b
(pow (sin kx) 2.0)
0.3b
(pow (sin ky) 2.0)
0.4b
(/ (/ 1 (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (/ 1 (sin ky)))
4.4b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite82.0ms

Algorithm
rewrite-expression-head
Rules
1005×times-frac
608×*-un-lft-identity
437×add-sqr-sqrt
436×add-cube-cbrt
215×sqrt-prod
92×unpow-prod-down
86×distribute-lft-out
46×add-exp-log div-inv
32×div-exp
30×sqrt-div associate-/l*
29×associate-/r/
16×add-cbrt-cube
15×flip3-+ flip-+
13×associate-/r*
cbrt-undiv rec-exp 1-exp
pow1
pow-unpow
add-log-exp
pow-to-exp pow-pow pow-exp sqr-pow
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 clear-num associate-/l/
Counts
4 → 516
Calls
4 calls:
3.0ms
(pow (sin kx) 2.0)
3.0ms
(pow (sin ky) 2.0)
24.0ms
(/ (/ 1 (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (/ 1 (sin ky)))
7.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series436.0ms

Counts
4 → 12
Calls
4 calls:
136.0ms
(pow (sin kx) 2.0)
103.0ms
(pow (sin ky) 2.0)
118.0ms
(/ (/ 1 (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (/ 1 (sin ky)))
78.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify140.0ms

Algorithm
egg-herbie
Counts
528 → 528
Iterations

Useful iterations: 1 (42.0ms)

IterNodesCost
0200710422
150019352

prune843.0ms

Filtered
528 candidates to 178 candidates (33.7%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New5280528
Fresh01111
Picked011
Done000
Total52812540

Merged error: 3.4b

Counts
540 → 12

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(pow (sin kx) 2)
0.3b
(pow (sin ky) 2)
0.3b
(* (sqrt (/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (sin ky))
4.6b
(sqrt (/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2))))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
54×*-un-lft-identity
45×sqrt-prod
41×add-sqr-sqrt
34×times-frac
28×add-cube-cbrt
24×associate-*l*
18×unpow-prod-down
12×distribute-lft-out
10×pow1
add-exp-log
pow-unpow add-cbrt-cube
associate-/r/ add-log-exp unswap-sqr
rem-sqrt-square sqrt-pow1 associate-*r*
pow-to-exp pow-pow flip3-+ sqrt-div pow-exp flip-+ div-inv unpow2 sqr-pow
pow-flip pow1/2 pow-prod-down associate-*l/ prod-exp *-commutative cbrt-unprod inv-pow
Counts
4 → 115
Calls
4 calls:
3.0ms
(pow (sin kx) 2)
3.0ms
(pow (sin ky) 2)
20.0ms
(* (sqrt (/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (sin ky))
10.0ms
(sqrt (/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2))))

series273.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(pow (sin kx) 2)
18.0ms
(pow (sin ky) 2)
121.0ms
(* (sqrt (/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (sin ky))
109.0ms
(sqrt (/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2))))

simplify48.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
03691076
11262985
25002948

prune308.0ms

Filtered
127 candidates to 75 candidates (59.1%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New1270127
Fresh01010
Picked011
Done011
Total12712139

Merged error: 3.4b

Counts
139 → 12

regimes491.0ms

Accuracy

68.9% (0.5b remaining)

Error of 3.1b against oracle of 2.7b and baseline of 4.2b

bsearch3.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03225
13225

end0.0ms

sample4.9s

Algorithm
intervals
Results
3.2s3727×body1280valid
998.0ms2003×body640valid
252.0ms684×body320valid
130.0ms1280×body80valid
64.0ms306×body160valid