Details

Time bar (total: 9.9s)

sample187.0ms

Algorithm
intervals
Results
114.0ms118×body1280valid
41.0ms71×body640valid
9.0ms22×body320valid
4.0ms30×body80valid
4.0ms15×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: 1.6b

Counts
2 → 1

localize21.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
0.2b
(pow (sin kx) 2.0)
0.2b
(pow (sin ky) 2.0)
1.5b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite28.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:
11.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)
8.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series412.0ms

Counts
4 → 12
Calls
4 calls:
130.0ms
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
101.0ms
(pow (sin kx) 2.0)
103.0ms
(pow (sin ky) 2.0)
77.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify40.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
03291021
11106946
25002943

prune333.0ms

Filtered
112 candidates to 70 candidates (62.5%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1039112
Fresh000
Picked101
Done000
Total1049113

Merged error: 0.7b

Counts
113 → 9

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

rewrite42.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:
18.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)
8.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series399.0ms

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

simplify79.0ms

Algorithm
egg-herbie
Counts
199 → 199
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
06422588
128822325
250032177

prune357.0ms

Filtered
199 candidates to 82 candidates (41.2%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1972199
Fresh268
Picked101
Done000
Total2008208

Merged error: 0.7b

Counts
208 → 8

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
78×*-un-lft-identity
49×add-sqr-sqrt times-frac
45×sqrt-prod
36×add-cube-cbrt
24×associate-*l*
23×unpow-prod-down
20×distribute-lft-out
11×add-exp-log
10×pow1
add-cbrt-cube
associate-/r/
associate-/r*
add-log-exp unswap-sqr
rem-sqrt-square pow-unpow sqrt-pow1 flip3-+ associate-*r* flip-+ div-inv associate-/l*
pow-flip sqrt-div div-exp inv-pow
cbrt-undiv pow-to-exp rec-exp pow-pow frac-2neg pow1/2 1-exp pow-prod-down associate-*l/ pow-exp prod-exp clear-num *-commutative cbrt-unprod unpow2 sqr-pow
Counts
4 → 138
Calls
4 calls:
3.0ms
(pow (sin ky) 2)
10.0ms
(/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2)))
20.0ms
(* (sqrt (/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (sin ky))
11.0ms
(sqrt (/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2))))

series318.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(pow (sin ky) 2)
77.0ms
(/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2)))
117.0ms
(* (sqrt (/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (sin ky))
105.0ms
(sqrt (/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2))))

simplify57.0ms

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
03801401
114551278
250011220

prune357.0ms

Filtered
150 candidates to 82 candidates (54.7%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1500150
Fresh077
Picked011
Done000
Total1508158

Merged error: 0.7b

Counts
158 → 8

localize19.0ms

Local error

Found 4 expressions with local error:

0.2b
(pow (sin ky) 2.0)
0.3b
(* (fabs (cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sqrt (cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
1.9b
(cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
1.9b
(cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity
18×add-sqr-sqrt
16×cbrt-prod
12×add-cube-cbrt
11×associate-*r*
10×sqrt-prod
unpow-prod-down
pow1 add-exp-log
cbrt-div add-cbrt-cube distribute-lft-out
add-log-exp
pow-unpow flip3-+ associate-*l* flip-+ unswap-sqr
pow1/3 sqrt-div associate-*r/
pow-to-exp pow-pow pow-prod-down pow-exp prod-exp *-commutative cbrt-unprod sqr-pow
Counts
4 → 77
Calls
4 calls:
3.0ms
(pow (sin ky) 2.0)
17.0ms
(* (fabs (cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sqrt (cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
7.0ms
(cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
7.0ms
(cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series410.0ms

Counts
4 → 12
Calls
4 calls:
105.0ms
(pow (sin ky) 2.0)
112.0ms
(* (fabs (cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sqrt (cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
96.0ms
(cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
97.0ms
(cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify150.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
03381091
111371019
246701007
350011007

prune307.0ms

Filtered
89 candidates to 63 candidates (70.8%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New89089
Fresh066
Picked011
Done011
Total89897

Merged error: 0.7b

Counts
97 → 8

regimes422.0ms

Accuracy

0% (1.5b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02011
12011

end0.0ms

sample5.8s

Algorithm
intervals
Results
3.6s3690×body1280valid
1.2s2043×body640valid
301.0ms725×body320valid
283.0ms1253×body80valid
79.0ms289×body160valid