Details

Time bar (total: 5.0s)

analyze543.0ms (10.9%)

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
0%99.8%0.2%6
0%99.8%0.2%7
6.2%93.6%0.2%8
25%74.9%0.2%9
28.1%71.7%0.2%10
29.6%70.2%0.2%11
53%46.8%0.2%12
71.3%28.5%0.2%13
71.7%28.1%0.2%14
Compiler

Compiled 16 to 12 computations (25% saved)

sample22.0ms (0.4%)

Algorithm
intervals
Results
11.0ms256×body128valid
1.0ms12×body128invalid
Compiler

Compiled 31 to 27 computations (12.9% saved)

simplify168.0ms (3.4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
01830
11830

prune3.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 26.5b

Counts
2 → 1
Compiler

Compiled 30 to 22 computations (26.7% saved)

localize10.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.0b
(+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im))
0.5b
(+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))
26.0b
(/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))

rewrite23.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
11×add-cube-cbrt_binary64_1457 add-sqr-sqrt_binary64_1446 *-un-lft-identity_binary64_1425
times-frac_binary64_1431
add-log-exp_binary64_1461
add-cbrt-cube_binary64_1458 add-exp-log_binary64_1460
flip3-+_binary64_1428 flip-+_binary64_1399
associate-/r*_binary64_1371 associate-/l*_binary64_1372 pow1_binary64_1483
sum-log_binary64_1513 associate-/r/_binary64_1373 +-commutative_binary64_1357 associate-/l/_binary64_1374
frac-2neg_binary64_1436 clear-num_binary64_1424 div-inv_binary64_1422 div-exp_binary64_1473 cbrt-undiv_binary64_1456
Counts
3 → 53
Calls

3 calls:

10.0ms
(/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))
4.0ms
(+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im))
4.0ms
(+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))

series299.0ms (6%)

Counts
3 → 9
Calls

3 calls:

189.0ms
(/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))
71.0ms
(+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))
39.0ms
(+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im))

simplify54.0ms (1.1%)

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
052141768

prune91.0ms (1.8%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New54862
Fresh000
Picked011
Done000
Total54963

Merged error: 25.7b

Counts
63 → 9
Compiler

Compiled 1621 to 674 computations (58.4% saved)

localize18.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.5b
(+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))
16.8b
(/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2))))
32.8b
(sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))
32.8b
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))

rewrite46.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
43×*-un-lft-identity_binary64_1425
28×sqrt-prod_binary64_1440
25×add-sqr-sqrt_binary64_1446
24×times-frac_binary64_1431
23×add-cube-cbrt_binary64_1457
10×unpow-prod-down_binary64_1501 distribute-lft-out_binary64_1378
associate-/r*_binary64_1371
sqrt-div_binary64_1441 add-cbrt-cube_binary64_1458 pow1_binary64_1483 add-exp-log_binary64_1460 add-log-exp_binary64_1461
flip3-+_binary64_1428 flip-+_binary64_1399
associate-/l*_binary64_1372
pow1/2_binary64_1502 sqrt-pow1_binary64_1442 associate-/r/_binary64_1373 associate-/l/_binary64_1374 rem-sqrt-square_binary64_1438
frac-2neg_binary64_1436 clear-num_binary64_1424 div-inv_binary64_1422 sum-log_binary64_1513 div-exp_binary64_1473 +-commutative_binary64_1357 cbrt-undiv_binary64_1456
Counts
4 → 94
Calls

4 calls:

15.0ms
(/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2))))
8.0ms
(sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))
6.0ms
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))
5.0ms
(+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))

series412.0ms (8.3%)

Counts
4 → 12
Calls

4 calls:

240.0ms
(/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2))))
81.0ms
(+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))
49.0ms
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))
43.0ms
(sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))

simplify82.0ms (1.7%)

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
054473187

prune148.0ms (3%)

Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1033106
Fresh167
Picked011
Done011
Total10411115

Merged error: 24.4b

Counts
115 → 11
Compiler

Compiled 3668 to 1530 computations (58.3% saved)

localize19.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.5b
(+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))
16.8b
(/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2))))
32.8b
(sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))
32.8b
(sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))

rewrite50.0ms (1%)

Algorithm
rewrite-expression-head
Rules
47×*-un-lft-identity_binary64_1425
30×sqrt-prod_binary64_1440
25×add-sqr-sqrt_binary64_1446
24×times-frac_binary64_1431
23×add-cube-cbrt_binary64_1457
12×unpow-prod-down_binary64_1501 distribute-lft-out_binary64_1378
associate-/r*_binary64_1371
sqrt-div_binary64_1441 add-cbrt-cube_binary64_1458 pow1_binary64_1483 add-exp-log_binary64_1460 add-log-exp_binary64_1461
flip3-+_binary64_1428 flip-+_binary64_1399
associate-/l*_binary64_1372
pow1/2_binary64_1502 sqrt-pow1_binary64_1442 associate-/r/_binary64_1373 associate-/l/_binary64_1374 rem-sqrt-square_binary64_1438
frac-2neg_binary64_1436 clear-num_binary64_1424 div-inv_binary64_1422 sum-log_binary64_1513 div-exp_binary64_1473 +-commutative_binary64_1357 cbrt-undiv_binary64_1456
Counts
4 → 96
Calls

4 calls:

15.0ms
(/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2))))
9.0ms
(sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))
9.0ms
(sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))
4.0ms
(+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))

series388.0ms (7.8%)

Counts
4 → 12
Calls

4 calls:

220.0ms
(/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2))))
79.0ms
(+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))
45.0ms
(sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))
44.0ms
(sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))

simplify62.0ms (1.2%)

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
049843217
149843217

prune182.0ms (3.6%)

Pruning

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New1071108
Fresh178
Picked011
Done022
Total10811119

Merged error: 24.4b

Counts
119 → 11
Compiler

Compiled 3913 to 2311 computations (40.9% saved)

localize13.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2))
0.4b
(/.f64 1 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))
0.5b
(+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))
25.8b
(*.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (/.f64 1 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2))))

rewrite59.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
57×*-un-lft-identity_binary64_1425
32×times-frac_binary64_1431
31×add-sqr-sqrt_binary64_1446
24×add-cube-cbrt_binary64_1457
21×associate-*r*_binary64_1367
17×add-exp-log_binary64_1460
16×unpow-prod-down_binary64_1501 distribute-lft-out_binary64_1378
11×add-cbrt-cube_binary64_1458
add-log-exp_binary64_1461
pow1_binary64_1483
flip3-+_binary64_1428 flip-+_binary64_1399
associate-/r*_binary64_1371
prod-exp_binary64_1471 associate-/r/_binary64_1373 div-exp_binary64_1473
unswap-sqr_binary64_1393 associate-*l*_binary64_1368 associate-/l*_binary64_1372
cbrt-unprod_binary64_1455 div-inv_binary64_1422 sum-log_binary64_1513 +-commutative_binary64_1357 1-exp_binary64_1466 associate-*l/_binary64_1370 cbrt-undiv_binary64_1456 rec-exp_binary64_1472 frac-times_binary64_1435
frac-2neg_binary64_1436 pow-flip_binary64_1496 inv-pow_binary64_1507 un-div-inv_binary64_1423 clear-num_binary64_1424 associate-*r/_binary64_1369 *-commutative_binary64_1358 pow-prod-down_binary64_1493
Counts
4 → 113
Calls

4 calls:

23.0ms
(*.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (/.f64 1 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2))))
11.0ms
(/.f64 1 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))
9.0ms
(+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2))
4.0ms
(+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))

series327.0ms (6.6%)

Counts
4 → 12
Calls

4 calls:

180.0ms
(*.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (/.f64 1 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2))))
68.0ms
(+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))
45.0ms
(/.f64 1 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))
34.0ms
(+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2))

simplify83.0ms (1.7%)

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
051252873

prune137.0ms (2.7%)

Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New1241125
Fresh167
Picked011
Done123
Total12610136

Merged error: 24.4b

Counts
136 → 10
Compiler

Compiled 2867 to 1538 computations (46.4% saved)

regimes363.0ms (7.3%)

Compiler

Compiled 4319 to 3142 computations (27.3% saved)

bsearch3.0ms (0.1%)

Compiler

Compiled 15 to 11 computations (26.7% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
047105
147105

end0.0ms (0%)

sample1.4s (27.6%)

Algorithm
intervals
Results
370.0ms8000×body128valid
21.0ms472×body128invalid
Compiler

Compiled 917 to 651 computations (29% saved)

Profiling

Loading profile data...