Details

Time bar (total: 7.1s)

analyze1.3s (18.3%)

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

sample129.0ms (1.8%)

Algorithm
intervals
Results
46.0ms60×body1280invalid
27.0ms246×body80valid
24.0ms49×body640invalid
6.0ms14×body320invalid
3.0msbody640valid
2.0msbody1280valid
1.0msbody160invalid
1.0msbody80invalid
0.0msbody320valid
0.0msbody160valid

simplify476.0ms (6.7%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
0493436
1493436

prune12.0ms (0.2%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 33.5b

Counts
2 → 1

localize23.0ms (0.3%)

Local error

Found 4 expressions with local error:

1.4b
(*.f64 (atan2.f64 x.im x.re) y.re)
30.0b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
30.0b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
31.2b
(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 (0.3%)

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:

9.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)))
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)))
4.0ms
(*.f64 (atan2.f64 x.im x.re) y.re)

series95.0ms (1.3%)

Counts
4 → 12
Calls

4 calls:

72.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)))
8.0ms
(*.f64 (atan2.f64 x.im x.re) y.re)
7.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)))

simplify60.0ms (0.8%)

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
04939677
14939677

prune101.0ms (1.4%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New63568
Fresh000
Picked101
Done000
Total64569

Merged error: 20.7b

Counts
69 → 5

localize15.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(exp.f64 (-.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.3b
(*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.re)
0.7b
(*.f64 (atan2.f64 x.im x.re) y.im)
30.0b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

rewrite21.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt_binary64
11×pow1_binary64
10×*-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 exp-prod_binary64
pow-prod-down_binary64 pow1/2_binary64 cbrt-unprod_binary64 rem-exp-log_binary64 sqrt-pow1_binary64 unswap-sqr_binary64 prod-exp_binary64 sqrt-div_binary64 *-commutative_binary64
flip3-+_binary64 sub-neg_binary64 diff-log_binary64 exp-diff_binary64 rem-sqrt-square_binary64 exp-sum_binary64 flip-+_binary64
Counts
4 → 68
Calls

4 calls:

6.0ms
(*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.re)
5.0ms
(exp.f64 (-.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)))
5.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
4.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)

series81.0ms (1.1%)

Counts
4 → 12
Calls

4 calls:

41.0ms
(exp.f64 (-.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)))
25.0ms
(*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.re)
8.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)
7.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

simplify54.0ms (0.8%)

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
04936840
14936840

prune118.0ms (1.7%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New75580
Fresh044
Picked101
Done000
Total76985

Merged error: 3.2b

Counts
85 → 9

localize23.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.7b
(*.f64 (atan2.f64 x.im x.re) y.im)
30.0b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
30.0b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
30.0b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

rewrite19.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt_binary64
*-un-lft-identity_binary64 pow1_binary64 add-cube-cbrt_binary64 sqrt-prod_binary64
add-exp-log_binary64 add-cbrt-cube_binary64 sqrt-div_binary64
add-log-exp_binary64
flip3-+_binary64 pow1/2_binary64 associate-*r*_binary64 associate-*l*_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 flip-+_binary64
pow-prod-down_binary64 cbrt-unprod_binary64 unswap-sqr_binary64 prod-exp_binary64 *-commutative_binary64
Counts
4 → 63
Calls

4 calls:

5.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)))
5.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
4.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)

series30.0ms (0.4%)

Counts
4 → 12
Calls

4 calls:

8.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)
7.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)))
7.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

simplify55.0ms (0.8%)

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
04949624
14949624

prune107.0ms (1.5%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New75075
Fresh088
Picked011
Done000
Total75984

Merged error: 3.2b

Counts
84 → 9

localize10.0ms (0.1%)

Local error

Found 3 expressions with local error:

0.0b
(/.f64 (pow.f64 (neg.f64 x.re) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im)))
0.0b
(exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))
0.7b
(*.f64 (atan2.f64 x.im x.re) y.im)

rewrite18.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
42×times-frac_binary64
40×unpow-prod-down_binary64
38×add-sqr-sqrt_binary64
36×*-un-lft-identity_binary64 add-cube-cbrt_binary64
14×associate-/l*_binary64
12×distribute-lft-neg-in_binary64 distribute-rgt-neg-in_binary64
add-exp-log_binary64 add-cbrt-cube_binary64
add-log-exp_binary64 pow1_binary64
neg-mul-1_binary64 sqr-pow_binary64
associate-/r*_binary64 associate-*r*_binary64 associate-*l*_binary64 div-exp_binary64
pow-to-exp_binary64 pow-prod-down_binary64 cbrt-unprod_binary64 cbrt-undiv_binary64 rem-exp-log_binary64 unswap-sqr_binary64 clear-num_binary64 prod-exp_binary64 frac-2neg_binary64 div-inv_binary64 exp-to-pow_binary64 pow-exp_binary64 exp-prod_binary64 *-commutative_binary64
Counts
3 → 101
Calls

3 calls:

8.0ms
(/.f64 (pow.f64 (neg.f64 x.re) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im)))
4.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)
2.0ms
(exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))

series52.0ms (0.7%)

Counts
3 → 9
Calls

3 calls:

31.0ms
(/.f64 (pow.f64 (neg.f64 x.re) y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im)))
11.0ms
(exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im))
10.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)

simplify65.0ms (0.9%)

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
049391676
149391676

prune103.0ms (1.4%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1082110
Fresh077
Picked101
Done011
Total10910119

Merged error: 3.2b

Counts
119 → 10

regimes410.0ms (5.8%)

Accuracy

Total 5.2b remaining (57.8%)

Threshold costs 0b (0%)

bsearch99.0ms (1.4%)

Steps
ItersRangePoint
11
-5.432686138407363e-292
1.981960550474511e-300
3.42306661262197e-310

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05927
15927

end0.0ms (0%)

sample3.6s (50.7%)

Algorithm
intervals
Results
1.3s1878×body1280invalid
827.0ms7539×body80valid
607.0ms1314×body640invalid
171.0ms516×body320invalid
91.0ms131×body1280valid
86.0ms176×body640valid
50.0ms229×body160invalid
44.0ms397×body80invalid
32.0ms98×body320valid
13.0ms56×body160valid

Profiling

Loading profile data...