Details

Time bar (total: 10.1s)

sample191.0ms

Algorithm
intervals
Results
120.0ms120×body1280valid
44.0ms73×body640valid
7.0ms17×body320valid
5.0ms41×body80valid
1.0msbody160valid

simplify52.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: 6.0b

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

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
41×*-un-lft-identity
34×add-sqr-sqrt
30×associate-*l*
26×times-frac
25×add-cube-cbrt
21×sqrt-prod
14×unpow-prod-down
11×add-exp-log
pow1 add-cbrt-cube
distribute-lft-out
pow-unpow
sqrt-div add-log-exp
associate-*r* unswap-sqr
pow-to-exp pow-pow flip3-+ pow-exp prod-exp associate-/r/ cbrt-unprod flip-+ sqr-pow
cbrt-undiv rem-sqrt-square sqrt-pow1 pow1/2 div-exp pow-prod-down associate-*l/ *-commutative div-inv
Counts
4 → 101
Calls
4 calls:
15.0ms
(* (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
2.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)))

series438.0ms

Counts
4 → 12
Calls
4 calls:
146.0ms
(* (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
110.0ms
(pow (sin ky) 2.0)
104.0ms
(pow (sin kx) 2.0)
78.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify43.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0391990
11382928
25001927

prune376.0ms

Filtered
113 candidates to 78 candidates (69.0%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New10211113
Fresh000
Picked101
Done000
Total10311114

Merged error: 4.5b

Counts
114 → 11

localize19.0ms

Local error

Found 4 expressions with local error:

0.2b
(pow (sin kx) 2.0)
0.2b
(* (sin ky) (/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
0.3b
(/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
5.5b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
72×*-un-lft-identity
50×times-frac
49×add-sqr-sqrt
41×sqrt-prod
40×add-cube-cbrt
30×associate-*r*
19×unpow-prod-down
16×distribute-lft-out
12×add-exp-log
11×add-cbrt-cube
pow1 associate-/r*
sqrt-div
associate-/r/ add-log-exp
pow-unpow flip3-+ associate-*l* flip-+ associate-/l* unswap-sqr
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv
pow-to-exp rem-sqrt-square pow-pow frac-2neg sqrt-pow1 pow1/2 associate-*r/ pow-prod-down pow-exp clear-num *-commutative sqr-pow
Counts
4 → 133
Calls
4 calls:
3.0ms
(pow (sin kx) 2.0)
17.0ms
(* (sin ky) (/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
11.0ms
(/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
7.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series452.0ms

Counts
4 → 12
Calls
4 calls:
102.0ms
(pow (sin kx) 2.0)
144.0ms
(* (sin ky) (/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
127.0ms
(/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
78.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify55.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
04121572
116721426
250021423

prune369.0ms

Filtered
145 candidates to 86 candidates (59.3%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1432145
Fresh3710
Picked011
Done000
Total14610156

Merged error: 4.5b

Counts
156 → 10

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
77×*-un-lft-identity
49×times-frac
48×add-sqr-sqrt
45×sqrt-prod
35×add-cube-cbrt
27×associate-*l*
20×unpow-prod-down distribute-lft-out
15×add-exp-log
14×pow1
13×add-cbrt-cube
associate-/r/
associate-/r*
associate-*r* pow-prod-down prod-exp cbrt-unprod add-log-exp unswap-sqr
rem-sqrt-square sqrt-pow1 flip3-+ sqrt-div flip-+ div-inv associate-/l*
pow-flip div-exp associate-*l/ *-commutative inv-pow
cbrt-undiv rec-exp frac-2neg pow1/2 1-exp associate-*r/ clear-num
Counts
4 → 139
Calls
4 calls:
19.0ms
(* (sin ky) (* (sqrt (/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (sin th)))
9.0ms
(/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2)))
15.0ms
(* (sqrt (/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (sin th))
10.0ms
(sqrt (/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2))))

series480.0ms

Counts
4 → 12
Calls
4 calls:
152.0ms
(* (sin ky) (* (sqrt (/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (sin th)))
79.0ms
(/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2)))
144.0ms
(* (sqrt (/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (sin th))
104.0ms
(sqrt (/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2))))

simplify52.0ms

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
03781609
114521453
250011395

prune358.0ms

Filtered
151 candidates to 85 candidates (56.3%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1492151
Fresh268
Picked101
Done011
Total1529161

Merged error: 4.5b

Counts
161 → 9

localize24.0ms

Local error

Found 4 expressions with local error:

0.2b
(pow (sin kx) 2.0)
0.5b
(* (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
5.5b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
5.5b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
100×sqrt-prod
52×add-sqr-sqrt
50×*-un-lft-identity
34×sqrt-pow1
30×pow1
28×sqrt-div
20×add-cube-cbrt
19×swap-sqr
18×pow1/2
15×unpow-prod-down
14×distribute-lft-out
11×associate-*r* associate-*l*
pow-prod-up unswap-sqr
flip3-+ flip-+
add-exp-log
add-cbrt-cube
pow-prod-down pow-sqr
frac-times add-log-exp
pow-unpow
rem-sqrt-square associate-*r/ associate-*l/
pow2 pow-to-exp pow-pow pow-plus sqrt-unprod pow-exp prod-exp rem-square-sqrt *-commutative cbrt-unprod sqr-pow
Counts
4 → 142
Calls
4 calls:
3.0ms
(pow (sin kx) 2.0)
22.0ms
(* (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (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)))

series338.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(pow (sin kx) 2.0)
78.0ms
(* (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
78.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
80.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify54.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
03091456
111741355
250011324

prune330.0ms

Filtered
154 candidates to 74 candidates (48.1%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1540154
Fresh077
Picked011
Done011
Total1549163

Merged error: 4.5b

Counts
163 → 9

regimes405.0ms

Accuracy

0% (1.4b remaining)

Error of 4.0b against oracle of 2.6b and baseline of 4.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01510
11510

end0.0ms

sample5.9s

Algorithm
intervals
Results
3.7s3670×body1280valid
1.4s2049×body640valid
291.0ms713×body320valid
157.0ms1265×body80valid
90.0ms303×body160valid

Profiling

Loading profile data...