Details

Time bar (total: 9.6s)

sample160.0ms

Algorithm
intervals
Results
91.0ms117×body1280valid
40.0ms74×body640valid
7.0ms19×body320valid
3.0ms15×body160valid
3.0ms31×body80valid

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: 2.9b

Counts
2 → 1

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

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

series431.0ms

Counts
4 → 12
Calls
4 calls:
131.0ms
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
107.0ms
(pow (sin ky) 2.0)
112.0ms
(pow (sin kx) 2.0)
80.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify37.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
03291021
11106946
25002943

prune368.0ms

Filtered
112 candidates to 70 candidates (62.5%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New10111112
Fresh000
Picked101
Done000
Total10211113

Merged error: 1.9b

Counts
113 → 11

localize20.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)))))
2.7b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite35.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:
3.0ms
(pow (sin ky) 2.0)
3.0ms
(pow (sin kx) 2.0)
19.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)))

series430.0ms

Counts
4 → 12
Calls
4 calls:
107.0ms
(pow (sin ky) 2.0)
112.0ms
(pow (sin kx) 2.0)
131.0ms
(* (sin ky) (/ 1 (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
80.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify51.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0449931
12141850
25001809

prune367.0ms

Filtered
118 candidates to 69 candidates (58.5%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1171118
Fresh1910
Picked101
Done000
Total11910129

Merged error: 1.9b

Counts
129 → 10

localize18.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)))))
2.7b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
2.7b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite37.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:
3.0ms
(pow (sin kx) 2.0)
12.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)))

series417.0ms

Counts
4 → 12
Calls
4 calls:
105.0ms
(pow (sin kx) 2.0)
157.0ms
(/ (sin ky) (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
79.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
76.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify131.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
03411434
110861322
244471318
350011318

prune449.0ms

Filtered
124 candidates to 75 candidates (60.5%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1231124
Fresh189
Picked011
Done000
Total12410134

Merged error: 1.9b

Counts
134 → 10

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite78.0ms

Algorithm
rewrite-expression-head
Rules
107×sqrt-prod
73×*-un-lft-identity
66×associate-*r*
55×add-sqr-sqrt
52×times-frac
39×add-cube-cbrt
16×unpow-prod-down distribute-lft-out
13×pow1 sqrt-div
11×add-exp-log add-cbrt-cube
unswap-sqr
flip3-+ associate-*r/ associate-*l* pow-prod-down prod-exp associate-/r/ cbrt-unprod flip-+ add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 *-commutative div-inv
frac-times associate-*l/
Counts
4 → 139
Calls
4 calls:
33.0ms
(* (* (sin ky) (sqrt (/ 1 (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))) (sqrt (/ 1 (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))))
21.0ms
(* (sin ky) (sqrt (/ 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)))
7.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series432.0ms

Counts
4 → 12
Calls
4 calls:
129.0ms
(* (* (sin ky) (sqrt (/ 1 (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))) (sqrt (/ 1 (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))))
151.0ms
(* (sin ky) (sqrt (/ 1 (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))))
77.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
74.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify57.0ms

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
04802052
119401774
250021740

prune518.0ms

Filtered
151 candidates to 88 candidates (58.3%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1492151
Fresh268
Picked011
Done101
Total1529161

Merged error: 1.9b

Counts
161 → 9

regimes503.0ms

Accuracy

0% (1.8b remaining)

Error of 4.3b against oracle of 2.5b and baseline of 4.3b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02011
12011

end0.0ms

sample4.9s

Algorithm
intervals
Results
3.1s3571×body1280valid
1.0s2074×body640valid
247.0ms715×body320valid
145.0ms1324×body80valid
76.0ms316×body160valid