Details

Time bar (total: 7.1s)

analyze1.3s

Algorithm
search
Search
TrueOtherFalseIter
0%99.8%0.2%0
0%99.8%0.2%1
0%99.8%0.2%2
0%99.8%0.2%3
0%99.8%0.2%4
0%99.8%0.2%5
9.4%90.4%0.2%6
17.2%82.7%0.2%7
19.5%80.3%0.2%8
30.8%69%0.2%9
35.5%64.3%0.2%10
42.4%57.4%0.2%11
47.1%52.7%0.2%12
48.9%50.8%0.3%13
50%49.7%0.4%14

sample113.0ms

Algorithm
intervals
Results
31.0ms43×body1280invalid
28.0ms245×body80valid
20.0ms33×body640invalid
5.0ms14×body320invalid
3.0msbody640valid
2.0msbody1280valid
2.0ms10×body160invalid
1.0ms11×body80invalid
0.0msbody320valid
0.0msbody160valid

simplify493.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
0493436
1493436

prune11.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 34.0b

Counts
2 → 1

localize23.0ms

Local error

Found 4 expressions with local error:

1.8b
(*.f64 (atan2.f64 x.im x.re) y.re)
30.2b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
30.2b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
33.5b
(cos.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt_binary64
*-un-lft-identity_binary64 pow1_binary64 add-cube-cbrt_binary64
add-exp-log_binary64 add-cbrt-cube_binary64 sqrt-prod_binary64
add-log-exp_binary64 sqrt-div_binary64
associate-*r*_binary64 associate-*l*_binary64
flip3-+_binary64 pow1/2_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 flip-+_binary64
pow-prod-down_binary64 cbrt-unprod_binary64 unswap-sqr_binary64 prod-exp_binary64 cos-sum_binary64 *-commutative_binary64
Counts
4 → 56
Calls
4 calls:
4.0ms
(*.f64 (atan2.f64 x.im x.re) y.re)
5.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
4.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
10.0ms
(cos.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))

series90.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(*.f64 (atan2.f64 x.im x.re) y.re)
6.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
7.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
69.0ms
(cos.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))

simplify59.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
04939677
14939677

prune67.0ms

Filtered
54 candidates to 68 candidates (-25.9%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New62668
Fresh000
Picked011
Done000
Total62769

Merged error: 18.4b

Counts
69 → 7

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(-.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.re) (*.f64 (atan2.f64 x.im x.re) y.im))
0.2b
(*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.re)
1.2b
(*.f64 (atan2.f64 x.im x.re) y.im)
30.2b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt_binary64
11×pow1_binary64
*-un-lft-identity_binary64 add-cube-cbrt_binary64 associate-*l*_binary64
add-exp-log_binary64 add-cbrt-cube_binary64
add-log-exp_binary64 associate-*r*_binary64
log-pow_binary64 sqrt-prod_binary64
pow-prod-down_binary64 pow1/2_binary64 cbrt-unprod_binary64 sqrt-pow1_binary64 unswap-sqr_binary64 prod-exp_binary64 sqrt-div_binary64 *-commutative_binary64
flip3-+_binary64 sub-neg_binary64 flip3--_binary64 diff-log_binary64 rem-sqrt-square_binary64 flip--_binary64 flip-+_binary64
Counts
4 → 65
Calls
4 calls:
4.0ms
(-.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.re) (*.f64 (atan2.f64 x.im x.re) y.im))
6.0ms
(*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.re)
4.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)
5.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

series67.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(-.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.re) (*.f64 (atan2.f64 x.im x.re) y.im))
20.0ms
(*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.re)
7.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)
6.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

simplify55.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
04914886
14914886

prune60.0ms

Filtered
57 candidates to 77 candidates (-35.1%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New74377
Fresh055
Picked011
Done011
Total741084

Merged error: 2.4b

Counts
84 → 10

localize26.0ms

Local error

Found 4 expressions with local error:

1.8b
(*.f64 (atan2.f64 x.im x.re) y.re)
30.2b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
30.2b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
33.5b
(cos.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt_binary64
*-un-lft-identity_binary64 pow1_binary64 add-cube-cbrt_binary64
add-exp-log_binary64 add-cbrt-cube_binary64 sqrt-prod_binary64
add-log-exp_binary64 sqrt-div_binary64
associate-*r*_binary64 associate-*l*_binary64
flip3-+_binary64 pow1/2_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 flip-+_binary64
pow-prod-down_binary64 cbrt-unprod_binary64 unswap-sqr_binary64 prod-exp_binary64 cos-sum_binary64 *-commutative_binary64
Counts
4 → 56
Calls
4 calls:
4.0ms
(*.f64 (atan2.f64 x.im x.re) y.re)
4.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
5.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
7.0ms
(cos.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))

series71.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(*.f64 (atan2.f64 x.im x.re) y.re)
6.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
10.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
48.0ms
(cos.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))

simplify58.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
04939677
14939677

prune63.0ms

Filtered
54 candidates to 68 candidates (-25.9%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New67168
Fresh077
Picked101
Done022
Total681078

Merged error: 2.4b

Counts
78 → 10

localize26.0ms

Local error

Found 4 expressions with local error:

1.8b
(*.f64 (atan2.f64 x.im x.re) y.re)
30.2b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
30.2b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
33.5b
(cos.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt_binary64
*-un-lft-identity_binary64 pow1_binary64 add-cube-cbrt_binary64
add-exp-log_binary64 add-cbrt-cube_binary64 sqrt-prod_binary64
add-log-exp_binary64 sqrt-div_binary64
associate-*r*_binary64 associate-*l*_binary64
flip3-+_binary64 pow1/2_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 flip-+_binary64
pow-prod-down_binary64 cbrt-unprod_binary64 unswap-sqr_binary64 prod-exp_binary64 cos-sum_binary64 *-commutative_binary64
Counts
4 → 56
Calls
4 calls:
4.0ms
(*.f64 (atan2.f64 x.im x.re) y.re)
4.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
5.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
8.0ms
(cos.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))

series69.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(*.f64 (atan2.f64 x.im x.re) y.re)
6.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
6.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
49.0ms
(cos.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))

simplify58.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
04939677
14939677

prune48.0ms

Filtered
54 candidates to 68 candidates (-25.9%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New67168
Fresh167
Picked011
Done022
Total681078

Merged error: 2.4b

Counts
78 → 10

regimes378.0ms

Accuracy

69.9% (4.9b remaining)

Error of 8.4b against oracle of 3.5b and baseline of 19.8b

bsearch85.0ms

Steps
ItersRangePoint
10
-6.535728959297307e-300
1.1300733600369329e-307
-3.2404748061479e-311

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05927
15927

end0.0ms

sample3.7s

Algorithm
intervals
Results
1.4s1947×body1280invalid
835.0ms7555×body80valid
618.0ms1286×body640invalid
180.0ms534×body320invalid
89.0ms122×body1280valid
79.0ms164×body640valid
55.0ms248×body160invalid
48.0ms423×body80invalid
37.0ms104×body320valid
13.0ms55×body160valid

Profiling

Loading profile data...