Details

Time bar (total: 9.7s)

analyze1.3s

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
0%99.9%0.1%5
0%99.9%0.1%6
0%99.9%0.1%7
25%74.9%0.1%8
54.6%45.2%0.1%9
56.2%43.7%0.1%10
62.4%37.4%0.1%11
65.9%33.9%0.1%12
66.3%33.5%0.1%13
69%30.8%0.1%14

sample205.0ms

Algorithm
intervals
Results
126.0ms115×body1280valid
50.0ms75×body640valid
10.0ms19×body320valid
5.0ms37×body80valid
3.0ms10×body160valid

simplify71.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (68.0ms)

IterNodesCost
0511416

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 4.9b

Counts
2 → 1

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(/.f64 (sin.f64 ky) (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))))
0.2b
(pow.f64 (sin.f64 kx) 2)
0.3b
(pow.f64 (sin.f64 ky) 2)
4.5b
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
46×*-un-lft-identity_binary64
27×add-sqr-sqrt_binary64
26×add-cube-cbrt_binary64
25×sqrt-prod_binary64
24×times-frac_binary64
16×unpow-prod-down_binary64
10×distribute-lft-out_binary64
associate-/r*_binary64 add-exp-log_binary64
pow1_binary64
pow-unpow_binary64 add-cbrt-cube_binary64
add-log-exp_binary64 sqrt-div_binary64
associate-/l*_binary64
pow-to-exp_binary64 flip3-+_binary64 unpow2_binary64 pow-pow_binary64 sqr-pow_binary64 associate-/r/_binary64 flip-+_binary64 pow-exp_binary64
pow1/2_binary64 cbrt-undiv_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 clear-num_binary64 frac-2neg_binary64 div-inv_binary64 div-exp_binary64
Counts
4 → 102
Calls
4 calls:
13.0ms
(/.f64 (sin.f64 ky) (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))))
3.0ms
(pow.f64 (sin.f64 kx) 2)
3.0ms
(pow.f64 (sin.f64 ky) 2)
13.0ms
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))

series82.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(/.f64 (sin.f64 ky) (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))))
4.0ms
(pow.f64 (sin.f64 kx) 2)
4.0ms
(pow.f64 (sin.f64 ky) 2)
25.0ms
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))

simplify39.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 0 (27.0ms)

IterNodesCost
054551421

prune155.0ms

Filtered
67 candidates to 114 candidates (-70.1%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New10311114
Fresh000
Picked101
Done000
Total10411115

Merged error: 2.7b

Counts
115 → 11

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(/.f64 1 (/.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))) (sin.f64 ky)))
0.2b
(pow.f64 (sin.f64 kx) 2)
0.3b
(pow.f64 (sin.f64 ky) 2)
4.5b
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
180×times-frac_binary64
150×*-un-lft-identity_binary64
99×add-sqr-sqrt_binary64
98×add-cube-cbrt_binary64
65×sqrt-prod_binary64
32×unpow-prod-down_binary64
28×associate-/r*_binary64
26×distribute-lft-out_binary64
17×add-exp-log_binary64
add-cbrt-cube_binary64
pow1_binary64
div-exp_binary64
pow-unpow_binary64
div-inv_binary64
add-log-exp_binary64
cbrt-undiv_binary64 associate-/l*_binary64
pow-to-exp_binary64 1-exp_binary64 unpow2_binary64 pow-pow_binary64 sqr-pow_binary64 rec-exp_binary64 pow-exp_binary64 sqrt-div_binary64
flip3-+_binary64 pow1/2_binary64 associate-/r/_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 clear-num_binary64 inv-pow_binary64 frac-2neg_binary64 pow-flip_binary64 flip-+_binary64
Counts
4 → 189
Calls
4 calls:
15.0ms
(/.f64 1 (/.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))) (sin.f64 ky)))
3.0ms
(pow.f64 (sin.f64 kx) 2)
3.0ms
(pow.f64 (sin.f64 ky) 2)
9.0ms
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))

series76.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(/.f64 1 (/.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))) (sin.f64 ky)))
4.0ms
(pow.f64 (sin.f64 kx) 2)
4.0ms
(pow.f64 (sin.f64 ky) 2)
24.0ms
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))

simplify76.0ms

Algorithm
egg-herbie
Counts
201 → 201
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
050023463

prune173.0ms

Filtered
91 candidates to 201 candidates (-120.9%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1992201
Fresh2810
Picked101
Done000
Total20210212

Merged error: 2.7b

Counts
212 → 10

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(/.f64 1 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))
0.3b
(*.f64 (sin.f64 ky) (sqrt.f64 (/.f64 1 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))))
0.3b
(pow.f64 (sin.f64 ky) 2)
4.6b
(sqrt.f64 (/.f64 1 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
78×*-un-lft-identity_binary64
49×add-sqr-sqrt_binary64 times-frac_binary64
45×sqrt-prod_binary64
36×add-cube-cbrt_binary64
24×associate-*r*_binary64
23×unpow-prod-down_binary64
20×distribute-lft-out_binary64
11×add-exp-log_binary64
10×pow1_binary64
add-cbrt-cube_binary64
associate-/r/_binary64
associate-/r*_binary64
add-log-exp_binary64 unswap-sqr_binary64
flip3-+_binary64 pow-unpow_binary64 associate-*l*_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 associate-/l*_binary64 div-inv_binary64 flip-+_binary64
inv-pow_binary64 div-exp_binary64 pow-flip_binary64 sqrt-div_binary64
pow-to-exp_binary64 pow-prod-down_binary64 pow1/2_binary64 cbrt-unprod_binary64 1-exp_binary64 unpow2_binary64 cbrt-undiv_binary64 associate-*r/_binary64 pow-pow_binary64 sqr-pow_binary64 clear-num_binary64 prod-exp_binary64 frac-2neg_binary64 rec-exp_binary64 pow-exp_binary64 *-commutative_binary64
Counts
4 → 138
Calls
4 calls:
10.0ms
(/.f64 1 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))
21.0ms
(*.f64 (sin.f64 ky) (sqrt.f64 (/.f64 1 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))))
3.0ms
(pow.f64 (sin.f64 ky) 2)
11.0ms
(sqrt.f64 (/.f64 1 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))))

series116.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(/.f64 1 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))
49.0ms
(*.f64 (sin.f64 ky) (sqrt.f64 (/.f64 1 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))))
4.0ms
(pow.f64 (sin.f64 ky) 2)
37.0ms
(sqrt.f64 (/.f64 1 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))))

simplify53.0ms

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
049671985
149671985

prune148.0ms

Filtered
81 candidates to 150 candidates (-85.2%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1491150
Fresh189
Picked011
Done000
Total15010160

Merged error: 2.7b

Counts
160 → 10

localize18.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt.f64 (sin.f64 kx))
0.6b
(cbrt.f64 (sin.f64 kx))
0.8b
(pow.f64 (cbrt.f64 (sin.f64 kx)) 4)
4.5b
(sqrt.f64 (+.f64 (*.f64 (pow.f64 (cbrt.f64 (sin.f64 kx)) 4) (pow.f64 (cbrt.f64 (sin.f64 kx)) 2)) (pow.f64 (sin.f64 ky) 2)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt_binary64
10×*-un-lft-identity_binary64 add-cube-cbrt_binary64
cbrt-prod_binary64
pow1_binary64 unpow-prod-down_binary64
add-exp-log_binary64
add-log-exp_binary64 add-cbrt-cube_binary64
pow-unpow_binary64 pow1/3_binary64 sqrt-prod_binary64
pow-pow_binary64 sqrt-div_binary64
pow-to-exp_binary64 flip3-+_binary64 pow1/2_binary64 sqr-pow_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 flip-+_binary64 pow-exp_binary64
Counts
4 → 58
Calls
4 calls:
2.0ms
(cbrt.f64 (sin.f64 kx))
2.0ms
(cbrt.f64 (sin.f64 kx))
4.0ms
(pow.f64 (cbrt.f64 (sin.f64 kx)) 4)
13.0ms
(sqrt.f64 (+.f64 (*.f64 (pow.f64 (cbrt.f64 (sin.f64 kx)) 4) (pow.f64 (cbrt.f64 (sin.f64 kx)) 2)) (pow.f64 (sin.f64 ky) 2)))

series91.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(cbrt.f64 (sin.f64 kx))
18.0ms
(cbrt.f64 (sin.f64 kx))
29.0ms
(pow.f64 (cbrt.f64 (sin.f64 kx)) 4)
24.0ms
(sqrt.f64 (+.f64 (*.f64 (pow.f64 (cbrt.f64 (sin.f64 kx)) 4) (pow.f64 (cbrt.f64 (sin.f64 kx)) 2)) (pow.f64 (sin.f64 ky) 2)))

simplify72.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 0 (64.0ms)

IterNodesCost
04898535
14898535

prune72.0ms

Filtered
54 candidates to 70 candidates (-29.6%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New69170
Fresh088
Picked101
Done011
Total701080

Merged error: 2.6b

Counts
80 → 10

regimes567.0ms

Accuracy

-33.9% (2.3b remaining)

Error of 5.2b against oracle of 2.9b and baseline of 4.6b

bsearch2.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06839
16839

end0.0ms

sample6.2s

Algorithm
intervals
Results
4.0s3713×body1280valid
1.3s1985×body640valid
364.0ms750×body320valid
160.0ms1276×body80valid
77.0ms276×body160valid

Profiling

Loading profile data...