Details

Time bar (total: 11.8s)

sample193.0ms

Algorithm
intervals
Results
116.0ms113×body1280valid
38.0ms64×body640valid
13.0ms35×body320valid
4.0ms37×body80valid
2.0msbody160valid

simplify51.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02310
13510
26310
313710
441710
5179810
6500210

prune5.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 3.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 kx) 2.0)
0.3b
(pow (sin ky) 2.0)
2.7b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite30.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 kx) 2.0)
2.0ms
(pow (sin ky) 2.0)
6.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series530.0ms

Counts
4 → 12
Calls
4 calls:
174.0ms
(* (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
130.0ms
(pow (sin kx) 2.0)
128.0ms
(pow (sin ky) 2.0)
98.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify44.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0391991
11380928
25001927

prune800.0ms

Filtered
113 candidates to 78 candidates (31.0%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1049113
Fresh000
Picked011
Done000
Total10410114

Merged error: 2.4b

Counts
114 → 10

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (sin ky) (/ (sin th) (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)
2.7b
(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-*r*
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-*l* 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 associate-*r/ div-exp pow-prod-down *-commutative div-inv
Counts
4 → 101
Calls
4 calls:
16.0ms
(* (sin ky) (/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
2.0ms
(pow (sin kx) 2.0)
2.0ms
(pow (sin ky) 2.0)
6.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series563.0ms

Counts
4 → 12
Calls
4 calls:
231.0ms
(* (sin ky) (/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
121.0ms
(pow (sin kx) 2.0)
121.0ms
(pow (sin ky) 2.0)
89.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify53.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0437948
11864870
25002870

prune530.0ms

Filtered
113 candidates to 68 candidates (39.8%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1121113
Fresh178
Picked101
Done011
Total1149123

Merged error: 2.4b

Counts
123 → 9

localize24.0ms

Local error

Found 4 expressions with local error:

0.4b
(cbrt (/ (sin ky) (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)))
2.7b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
46×*-un-lft-identity
30×cbrt-prod sqrt-prod
25×add-sqr-sqrt
24×times-frac
22×add-cube-cbrt
12×unpow-prod-down distribute-lft-out
sqrt-div
pow1
add-exp-log flip3-+ add-cbrt-cube flip-+ add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2
associate-/r/
cbrt-div pow1/3 div-inv
Counts
4 → 90
Calls
4 calls:
9.0ms
(cbrt (/ (sin ky) (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)))
7.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series443.0ms

Counts
4 → 12
Calls
4 calls:
177.0ms
(cbrt (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
88.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
88.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
89.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify97.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 3 (82.0ms)

IterNodesCost
02821291
18191231
234611223
350021218

prune482.0ms

Filtered
102 candidates to 68 candidates (33.3%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1020102
Fresh077
Picked011
Done011
Total1029111

Merged error: 2.4b

Counts
111 → 9

localize19.0ms

Local error

Found 4 expressions with local error:

0.3b
(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)))))
3.2b
(cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
3.2b
(cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite32.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:
2.0ms
(pow (sin ky) 2.0)
12.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)))))
9.0ms
(cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
6.0ms
(cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series462.0ms

Counts
4 → 12
Calls
4 calls:
120.0ms
(pow (sin ky) 2.0)
125.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)))))
108.0ms
(cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
108.0ms
(cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify149.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
03381091
111371019
246701007
350011007

prune589.0ms

Filtered
89 candidates to 63 candidates (29.2%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New88189
Fresh066
Picked011
Done022
Total881098

Merged error: 2.4b

Counts
98 → 10

regimes882.0ms

Accuracy

0% (1.4b 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
01510
11510

end0.0ms

sample5.8s

Algorithm
intervals
Results
3.7s3723×body1280valid
1.2s2012×body640valid
303.0ms725×body320valid
141.0ms1250×body80valid
78.0ms290×body160valid

Profiling

Loading profile data...