Details

Time bar (total: 9.9s)

sample156.0ms

Algorithm
intervals
Results
88.0ms117×body1280valid
34.0ms74×body640valid
12.0ms19×body320valid
3.0ms15×body160valid
3.0ms31×body80valid

simplify50.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02310
13510
26310
313710
441710
5179810
6500210

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

Counts
2 → 1

localize24.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))))
2.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)))

series413.0ms

Counts
4 → 12
Calls
4 calls:
129.0ms
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
103.0ms
(pow (sin ky) 2.0)
102.0ms
(pow (sin kx) 2.0)
78.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

prune354.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

localize16.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)))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
51×*-un-lft-identity
41×add-sqr-sqrt
30×associate-*r*
28×add-cube-cbrt times-frac
27×sqrt-prod
16×unpow-prod-down
15×add-exp-log
14×associate-*r/
10×distribute-lft-out
pow1 add-cbrt-cube
associate-/r*
pow-unpow
unswap-sqr
sqrt-div prod-exp associate-/l* add-log-exp
associate-*l* un-div-inv
pow-to-exp pow-pow flip3-+ div-exp pow-exp clear-num associate-/r/ cbrt-unprod flip-+ sqr-pow
cbrt-undiv rem-sqrt-square rec-exp frac-2neg sqrt-pow1 pow1/2 1-exp pow-prod-down *-commutative div-inv
Counts
4 → 121
Calls
4 calls:
3.0ms
(pow (sin ky) 2.0)
3.0ms
(pow (sin kx) 2.0)
20.0ms
(* (sin ky) (/ 1 (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
8.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series408.0ms

Counts
4 → 12
Calls
4 calls:
104.0ms
(pow (sin ky) 2.0)
102.0ms
(pow (sin kx) 2.0)
130.0ms
(* (sin ky) (/ 1 (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
72.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify52.0ms

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0457997
12203908
25002863

prune384.0ms

Filtered
133 candidates to 75 candidates (56.4%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1321133
Fresh1910
Picked101
Done000
Total13410144

Merged error: 1.9b

Counts
144 → 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)))

rewrite35.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)
13.0ms
(/ (sin ky) (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
8.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
8.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series409.0ms

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

simplify135.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
03411434
110861322
244471318
350011318

prune437.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

localize19.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)))

rewrite158.0ms

Algorithm
rewrite-expression-head
Rules
444×sqrt-div
405×sqrt-prod
348×*-un-lft-identity
326×add-sqr-sqrt
248×associate-/r*
238×associate-*r/
196×frac-times
150×add-cube-cbrt
132×times-frac
99×associate-*r*
93×associate-/l*
90×unswap-sqr
84×unpow-prod-down distribute-lft-out
53×associate-*l*
31×frac-2neg clear-num
14×associate-*l/
13×pow1
11×add-exp-log add-cbrt-cube
associate-/r/
flip3-+ flip-+
pow-prod-down prod-exp cbrt-unprod add-log-exp
*-commutative div-inv
rem-sqrt-square sqrt-pow1 pow1/2
Counts
4 → 461
Calls
4 calls:
71.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))))))
23.0ms
(* (sin ky) (sqrt (/ 1 (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))))
8.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
12.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series431.0ms

Counts
4 → 12
Calls
4 calls:
126.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))))))
150.0ms
(* (sin ky) (sqrt (/ 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)))
74.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify131.0ms

Algorithm
egg-herbie
Counts
473 → 473
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
0111510396
133788390
250018251

prune895.0ms

Filtered
473 candidates to 159 candidates (33.6%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New4712473
Fresh268
Picked011
Done101
Total4749483

Merged error: 1.9b

Counts
483 → 9

regimes473.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.8s

Algorithm
intervals
Results
3.1s3571×body1280valid
1.0s2074×body640valid
235.0ms715×body320valid
135.0ms1324×body80valid
64.0ms316×body160valid