Details

Time bar (total: 10.1s)

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

sample208.0ms

Algorithm
intervals
Results
137.0ms120×body1280valid
42.0ms64×body640valid
8.0ms19×body320valid
6.0ms46×body80valid
2.0msbody160valid

simplify68.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (65.0ms)

IterNodesCost
0511416

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 3.5b

Counts
2 → 1

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(*.f64 (/.f64 (sin.f64 ky) (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))) (sin.f64 th))
0.2b
(pow.f64 (sin.f64 ky) 2)
0.2b
(pow.f64 (sin.f64 kx) 2)
3.2b
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
41×*-un-lft-identity_binary64
34×add-sqr-sqrt_binary64
30×associate-*l*_binary64
26×times-frac_binary64
25×add-cube-cbrt_binary64
21×sqrt-prod_binary64
14×unpow-prod-down_binary64
11×add-exp-log_binary64
pow1_binary64 add-cbrt-cube_binary64
distribute-lft-out_binary64
pow-unpow_binary64
add-log-exp_binary64 sqrt-div_binary64
associate-*r*_binary64 unswap-sqr_binary64
pow-to-exp_binary64 flip3-+_binary64 cbrt-unprod_binary64 unpow2_binary64 pow-pow_binary64 sqr-pow_binary64 associate-/r/_binary64 prod-exp_binary64 flip-+_binary64 pow-exp_binary64
pow-prod-down_binary64 pow1/2_binary64 cbrt-undiv_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 div-inv_binary64 div-exp_binary64 associate-*l/_binary64 *-commutative_binary64
Counts
4 → 103
Calls
4 calls:
18.0ms
(*.f64 (/.f64 (sin.f64 ky) (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))) (sin.f64 th))
3.0ms
(pow.f64 (sin.f64 ky) 2)
3.0ms
(pow.f64 (sin.f64 kx) 2)
8.0ms
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))

series81.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(*.f64 (/.f64 (sin.f64 ky) (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))) (sin.f64 th))
3.0ms
(pow.f64 (sin.f64 ky) 2)
4.0ms
(pow.f64 (sin.f64 kx) 2)
24.0ms
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))

simplify68.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
049611409
149611409

prune165.0ms

Filtered
75 candidates to 115 candidates (-53.3%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New10411115
Fresh000
Picked011
Done000
Total10412116

Merged error: 2.2b

Counts
116 → 12

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(*.f64 (sin.f64 ky) (/.f64 (sin.f64 th) (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))))
0.2b
(pow.f64 (sin.f64 ky) 2)
0.2b
(pow.f64 (sin.f64 kx) 2)
3.2b
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
41×*-un-lft-identity_binary64
34×add-sqr-sqrt_binary64
30×associate-*r*_binary64
26×times-frac_binary64
25×add-cube-cbrt_binary64
21×sqrt-prod_binary64
14×unpow-prod-down_binary64
11×add-exp-log_binary64
pow1_binary64 add-cbrt-cube_binary64
distribute-lft-out_binary64
pow-unpow_binary64
add-log-exp_binary64 sqrt-div_binary64
associate-*l*_binary64 unswap-sqr_binary64
pow-to-exp_binary64 flip3-+_binary64 cbrt-unprod_binary64 unpow2_binary64 pow-pow_binary64 sqr-pow_binary64 associate-/r/_binary64 prod-exp_binary64 flip-+_binary64 pow-exp_binary64
pow-prod-down_binary64 pow1/2_binary64 cbrt-undiv_binary64 associate-*r/_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 div-inv_binary64 div-exp_binary64 *-commutative_binary64
Counts
4 → 103
Calls
4 calls:
19.0ms
(*.f64 (sin.f64 ky) (/.f64 (sin.f64 th) (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))))
3.0ms
(pow.f64 (sin.f64 ky) 2)
3.0ms
(pow.f64 (sin.f64 kx) 2)
8.0ms
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))

series80.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
049571309
149571309

prune123.0ms

Filtered
66 candidates to 115 candidates (-74.2%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New1150115
Fresh01010
Picked011
Done011
Total11512127

Merged error: 2.2b

Counts
127 → 12

localize18.0ms

Local error

Found 4 expressions with local error:

0.2b
(pow.f64 (sin.f64 kx) 2)
1.1b
(log.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))))
1.3b
(exp.f64 (log.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))))
3.2b
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity_binary64
16×log-prod_binary64
15×sqrt-prod_binary64
13×add-sqr-sqrt_binary64
12×add-cube-cbrt_binary64
10×pow1_binary64
unpow-prod-down_binary64
exp-sum_binary64
distribute-lft-out_binary64 log-pow_binary64 add-exp-log_binary64 sqrt-div_binary64 exp-prod_binary64
add-log-exp_binary64 add-cbrt-cube_binary64 log-div_binary64
flip3-+_binary64 pow-unpow_binary64 pow1/2_binary64 sqrt-pow1_binary64 flip-+_binary64
exp-diff_binary64
pow-to-exp_binary64 unpow2_binary64 rem-log-exp_binary64 pow-pow_binary64 sqr-pow_binary64 rem-exp-log_binary64 rem-sqrt-square_binary64 pow-exp_binary64
Counts
4 → 80
Calls
4 calls:
3.0ms
(pow.f64 (sin.f64 kx) 2)
9.0ms
(log.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))))
11.0ms
(exp.f64 (log.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))))
9.0ms
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))

series72.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(pow.f64 (sin.f64 kx) 2)
26.0ms
(log.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))))
22.0ms
(exp.f64 (log.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))))
20.0ms
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))

simplify41.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
049291060
149291060

prune111.0ms

Filtered
53 candidates to 92 candidates (-73.6%)
Pruning

13 alts after pruning (10 fresh and 3 done)

PrunedKeptTotal
New91192
Fresh099
Picked011
Done022
Total9113104

Merged error: 2.2b

Counts
104 → 13

localize19.0ms

Local error

Found 4 expressions with local error:

0.3b
(/.f64 (sin.f64 ky) (sqrt.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))))
1.1b
(*.f64 (/.f64 1 (sqrt.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))))) (*.f64 (sin.f64 th) (/.f64 (sin.f64 ky) (sqrt.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))))))
3.2b
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))
3.2b
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))

rewrite77.0ms

Algorithm
rewrite-expression-head
Rules
101×sqrt-prod_binary64
87×*-un-lft-identity_binary64
66×times-frac_binary64
53×add-sqr-sqrt_binary64
51×add-cube-cbrt_binary64
45×add-exp-log_binary64
39×associate-*l*_binary64
27×add-cbrt-cube_binary64
20×prod-exp_binary64
18×distribute-lft-out_binary64 unpow-prod-down_binary64
12×sqrt-div_binary64
11×associate-/r*_binary64 pow1_binary64 div-exp_binary64
10×cbrt-unprod_binary64
cbrt-undiv_binary64
flip3-+_binary64 add-log-exp_binary64 associate-/r/_binary64 flip-+_binary64
pow-prod-down_binary64 1-exp_binary64 associate-*r/_binary64 rec-exp_binary64 associate-/l*_binary64
pow1/2_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 div-inv_binary64
associate-*r*_binary64 clear-num_binary64 frac-2neg_binary64 frac-times_binary64 associate-*l/_binary64 *-commutative_binary64
Counts
4 → 166
Calls
4 calls:
15.0ms
(/.f64 (sin.f64 ky) (sqrt.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))))
37.0ms
(*.f64 (/.f64 1 (sqrt.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))))) (*.f64 (sin.f64 th) (/.f64 (sin.f64 ky) (sqrt.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))))))
8.0ms
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))
9.0ms
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))

series146.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(/.f64 (sin.f64 ky) (sqrt.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))))
52.0ms
(*.f64 (/.f64 1 (sqrt.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2))))) (*.f64 (sin.f64 th) (/.f64 (sin.f64 ky) (sqrt.f64 (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))))))
25.0ms
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))
20.0ms
(sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))

simplify83.0ms

Algorithm
egg-herbie
Counts
178 → 178
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
049473396
149473396

prune191.0ms

Filtered
101 candidates to 178 candidates (-76.2%)
Pruning

13 alts after pruning (10 fresh and 3 done)

PrunedKeptTotal
New1762178
Fresh189
Picked101
Done033
Total17813191

Merged error: 2.2b

Counts
191 → 13

regimes749.0ms

Accuracy

0% (1.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01516
11516

end0.0ms

sample6.3s

Algorithm
intervals
Results
4.1s3760×body1280valid
1.4s2032×body640valid
327.0ms701×body320valid
158.0ms1229×body80valid
84.0ms278×body160valid

Profiling

Loading profile data...