Details

Time bar (total: 12.1s)

analyze1.4s

Algorithm
search

sample216.0ms

Algorithm
intervals
Results
142.0ms127×body1280valid
42.0ms62×body640valid
12.0ms26×body320valid
4.0ms33×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

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 2.6b

Counts
2 → 1

localize21.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.3b
(pow (sin ky) 2.0)
0.3b
(pow (sin kx) 2.0)
2.4b
(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 ky) 2.0)
2.0ms
(pow (sin kx) 2.0)
7.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series103.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
04251022
11522960
25001946

prune275.0ms

Filtered
78 candidates to 113 candidates (-44.9%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New10112113
Fresh000
Picked101
Done000
Total10212114

Merged error: 2.0b

Counts
114 → 12

localize19.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
(* (/ 1 (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin th))
2.4b
(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 ky) 2.0)
2.0ms
(pow (sin kx) 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)))

series97.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
04271012
11607935
25001895

prune262.0ms

Filtered
79 candidates to 117 candidates (-48.1%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1134117
Fresh2911
Picked101
Done000
Total11613129

Merged error: 2.0b

Counts
129 → 13

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

series100.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0471980
12006902
25001902

prune230.0ms

Filtered
69 candidates to 113 candidates (-63.8%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1112113
Fresh21012
Picked011
Done000
Total11313126

Merged error: 2.0b

Counts
126 → 13

localize19.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (sin ky) 2)
0.3b
(pow (sin kx) 2)
0.6b
(* (sqrt (/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (* (sin ky) (sin th)))
2.5b
(sqrt (/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2))))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
52×*-un-lft-identity
42×sqrt-prod
32×times-frac
31×add-sqr-sqrt
27×add-cube-cbrt
24×associate-*l*
18×unpow-prod-down
13×pow1
12×distribute-lft-out
11×add-exp-log
add-cbrt-cube
pow-unpow
associate-/r/ add-log-exp
rem-sqrt-square sqrt-pow1 sqrt-div pow-prod-down prod-exp cbrt-unprod
pow-to-exp pow-pow flip3-+ pow-exp flip-+ div-inv sin-mult unpow2 sqr-pow
frac-times pow-flip pow1/2 associate-*r/ associate-*r* associate-*l/ *-commutative inv-pow
Counts
4 → 114
Calls
4 calls:
2.0ms
(pow (sin ky) 2)
3.0ms
(pow (sin kx) 2)
16.0ms
(* (sqrt (/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (* (sin ky) (sin th)))
10.0ms
(sqrt (/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2))))

series81.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(pow (sin ky) 2)
3.0ms
(pow (sin kx) 2)
48.0ms
(* (sqrt (/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (* (sin ky) (sin th)))
27.0ms
(sqrt (/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2))))

simplify49.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
04341122
115081011
25002973

prune180.0ms

Filtered
74 candidates to 126 candidates (-70.3%)
Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New1251126
Fresh11011
Picked011
Done011
Total12613139

Merged error: 2.0b

Counts
139 → 13

regimes889.0ms

Accuracy

0% (1.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01510
11510

end0.0ms

analyze1.3s

Algorithm
search

sample6.5s

Algorithm
intervals
Results
4.3s3813×body1280valid
1.4s2018×body640valid
321.0ms677×body320valid
160.0ms1220×body80valid
83.0ms272×body160valid

Profiling

Loading profile data...