Details

Time bar (total: 10.7s)

sample191.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02310
13510
26310
313710
441710
5179810
6500210

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

series111.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(* (/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
18.0ms
(pow (sin kx) 2.0)
20.0ms
(pow (sin ky) 2.0)
24.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify45.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
04251022
11522960
25001946

prune710.0ms

Filtered
113 candidates to 78 candidates (31.0%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New10211113
Fresh000
Picked011
Done000
Total10212114

Merged error: 2.4b

Counts
114 → 12

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
43×*-un-lft-identity
38×add-sqr-sqrt
30×associate-*l*
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-*r*
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 pow-prod-down associate-*l/ *-commutative div-inv
Counts
4 → 105
Calls
4 calls:
2.0ms
(pow (sin kx) 2.0)
2.0ms
(pow (sin ky) 2.0)
15.0ms
(* (/ 1 (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
7.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series101.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(pow (sin kx) 2.0)
18.0ms
(pow (sin ky) 2.0)
43.0ms
(* (/ 1 (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
22.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify49.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
04271012
11607935
25001895

prune950.0ms

Filtered
117 candidates to 79 candidates (32.5%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1152117
Fresh4610
Picked011
Done011
Total11910129

Merged error: 2.4b

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

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

series104.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(* (sin ky) (/ (sin th) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
19.0ms
(pow (sin kx) 2.0)
18.0ms
(pow (sin ky) 2.0)
21.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify57.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0471980
12006902
25001902

prune544.0ms

Filtered
113 candidates to 68 candidates (39.8%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1121113
Fresh167
Picked101
Done022
Total1149123

Merged error: 2.4b

Counts
123 → 9

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

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

series118.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(pow (sin ky) 2.0)
40.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)))))
32.0ms
(cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
28.0ms
(cbrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify149.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
03641147
112041075
248651035
350011035

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

regimes928.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.7s

Algorithm
intervals
Results
3.7s3723×body1280valid
1.2s2012×body640valid
283.0ms725×body320valid
139.0ms1250×body80valid
79.0ms290×body160valid

Profiling

Loading profile data...