Details

Time bar (total: 4.4s)

analyze467.0ms (10.7%)

Algorithm
search
Search
TrueOtherFalseIter
0%50%50%0
0%50%50%1
25%25%50%2
25%25%50%3
31.2%18.7%50%4
31.2%18.7%50%5
34.3%15.6%50%6
34.3%15.6%50%7
35.9%14%50%8
35.9%14%50%9
36.7%13.3%50%10
36.7%13.3%50%11
37.1%12.9%50%12
37.1%12.9%50%13
37.3%12.7%50%14
Compiler

Compiled 20 to 14 computations (30% saved)

sample42.0ms (0.9%)

Algorithm
intervals
Results
13.0ms213×body128valid
8.0ms16×body4096valid
4.0ms13×body2048valid
4.0ms256×pre128true
1.0msbody1024valid
1.0msbody512valid
0.0msbody256valid
Compiler

Compiled 39 to 28 computations (28.2% saved)

simplify26.0ms (0.6%)

Algorithm
egg-herbie
Rules
51×distribute-rgt-in_binary64
42×cancel-sign-sub-inv_binary64
37×sub-neg_binary64
27×unsub-neg_binary64
27×neg-mul-1_binary64
Counts
1 → 0
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01323
11823
22923
34323
45723
58223
612223
716323
819023
921623
1022923
1123123
1224223
1325523
1426723
1528823
1628523
1728623
1824923

prune1.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New000
Fresh011
Picked000
Done000
Total011
Error
37.5b
Counts
1 → 1
Alt Table
StatusErrorProgram
37.5b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re))))
Compiler

Compiled 34 to 24 computations (29.4% saved)

localize9.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.0b
(sqrt.f64 (*.f64 2 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)))
0.5b
(-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)
31.7b
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))

rewrite66.0ms (1.5%)

Algorithm
rewrite-expression-head
Error
37.4b
Rules
10×add-sqr-sqrt_binary64
*-un-lft-identity_binary64
pow1_binary64
sqrt-prod_binary64
add-cube-cbrt_binary64
Counts
3 → 45
Calls

3 calls:

8.0ms
(-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)
7.0ms
(sqrt.f64 (*.f64 2 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)))
3.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
Compiler

Compiled 1063 to 371 computations (65.1% saved)

series78.0ms (1.8%)

Error
0.4b
Counts
3 → 36
Calls

3 calls:

24.0ms
(-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)
23.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
16.0ms
(sqrt.f64 (*.f64 2 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)))
Compiler

Compiled 1376 to 1121 computations (18.5% saved)

simplify87.0ms (2%)

Algorithm
egg-herbie
Rules
349×distribute-rgt-neg-in_binary64
335×distribute-lft-neg-in_binary64
328×associate-*r*_binary64
309×associate-*l*_binary64
266×unswap-sqr_binary64
Counts
81 → 45
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01321369
13061305
27501276
328911270
446441270
549501270

prune26.0ms (0.6%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New39645
Fresh000
Picked011
Done000
Total39746
Error
0.4b
Counts
46 → 7
Alt Table
StatusErrorProgram
42.1b
(*.f64 1/2 (/.f64 (sqrt.f64 (*.f64 2 (*.f64 im im))) (sqrt.f64 (+.f64 re (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))))))
52.2b
(*.f64 1/2 (*.f64 (*.f64 (sqrt.f64 1/2) (*.f64 im (sqrt.f64 2))) (sqrt.f64 (/.f64 1 re))))
27.2b
(*.f64 1/2 (*.f64 (sqrt.f64 2) (+.f64 (sqrt.f64 im) (*.f64 re (*.f64 (sqrt.f64 (/.f64 1 im)) -1/2)))))
46.0b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 re -2))))
58.8b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 1/2 (/.f64 (*.f64 im im) re)))))
29.0b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (+.f64 im (*.f64 1/2 (/.f64 (*.f64 re re) im))) re))))
37.5b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re))))
Compiler

Compiled 813 to 496 computations (39% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (sqrt.f64 im) (*.f64 re (*.f64 (sqrt.f64 (/.f64 1 im)) -1/2)))
0.1b
(sqrt.f64 (/.f64 1 im))
0.3b
(*.f64 re (*.f64 (sqrt.f64 (/.f64 1 im)) -1/2))
0.4b
(*.f64 (sqrt.f64 2) (+.f64 (sqrt.f64 im) (*.f64 re (*.f64 (sqrt.f64 (/.f64 1 im)) -1/2))))

rewrite77.0ms (1.8%)

Algorithm
rewrite-expression-head
Error
0.4b
Rules
23×add-sqr-sqrt_binary64
17×sqrt-prod_binary64
16×*-un-lft-identity_binary64
15×add-cube-cbrt_binary64
13×pow1_binary64
Counts
4 → 84
Calls

4 calls:

8.0ms
(*.f64 (sqrt.f64 2) (+.f64 (sqrt.f64 im) (*.f64 re (*.f64 (sqrt.f64 (/.f64 1 im)) -1/2))))
6.0ms
(*.f64 re (*.f64 (sqrt.f64 (/.f64 1 im)) -1/2))
3.0ms
(+.f64 (sqrt.f64 im) (*.f64 re (*.f64 (sqrt.f64 (/.f64 1 im)) -1/2)))
3.0ms
(sqrt.f64 (/.f64 1 im))
Compiler

Compiled 1892 to 1423 computations (24.8% saved)

series73.0ms (1.7%)

Error
0.4b
Counts
4 → 27
Calls

4 calls:

25.0ms
(*.f64 (sqrt.f64 2) (+.f64 (sqrt.f64 im) (*.f64 re (*.f64 (sqrt.f64 (/.f64 1 im)) -1/2))))
24.0ms
(+.f64 (sqrt.f64 im) (*.f64 re (*.f64 (sqrt.f64 (/.f64 1 im)) -1/2)))
16.0ms
(*.f64 re (*.f64 (sqrt.f64 (/.f64 1 im)) -1/2))
4.0ms
(sqrt.f64 (/.f64 1 im))
Compiler

Compiled 976 to 814 computations (16.6% saved)

simplify112.0ms (2.6%)

Algorithm
egg-herbie
Rules
492×neg-mul-1_binary64
449×*-commutative_binary64
332×distribute-rgt-neg-in_binary64
267×times-frac_binary64
253×exp-prod_binary64
Counts
111 → 68
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01401896
13371744
211381741
326561741
446371741
552581741

prune40.0ms (0.9%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New67168
Fresh055
Picked011
Done011
Total67875
Error
0.4b
Counts
75 → 8
Alt Table
StatusErrorProgram
42.1b
(*.f64 1/2 (/.f64 (sqrt.f64 (*.f64 2 (*.f64 im im))) (sqrt.f64 (+.f64 re (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))))))
52.2b
(*.f64 1/2 (*.f64 (*.f64 (sqrt.f64 1/2) (*.f64 im (sqrt.f64 2))) (sqrt.f64 (/.f64 1 re))))
27.2b
(*.f64 1/2 (*.f64 (sqrt.f64 2) (+.f64 (sqrt.f64 im) (*.f64 re (*.f64 (sqrt.f64 (/.f64 1 im)) -1/2)))))
46.0b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 re -2))))
58.8b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 1/2 (/.f64 (*.f64 im im) re)))))
29.0b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (+.f64 im (*.f64 1/2 (/.f64 (*.f64 re re) im))) re))))
27.3b
(*.f64 1/2 (*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (+.f64 (sqrt.f64 im) (*.f64 -1/2 (*.f64 re (sqrt.f64 (/.f64 1 im))))) (sqrt.f64 (sqrt.f64 2)))))
37.5b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re))))
Compiler

Compiled 1309 to 987 computations (24.6% saved)

localize13.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.1b
(sqrt.f64 (/.f64 1 im))
0.3b
(*.f64 re (sqrt.f64 (/.f64 1 im)))
0.3b
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (+.f64 (sqrt.f64 im) (*.f64 -1/2 (*.f64 re (sqrt.f64 (/.f64 1 im))))) (sqrt.f64 (sqrt.f64 2))))
0.3b
(*.f64 (+.f64 (sqrt.f64 im) (*.f64 -1/2 (*.f64 re (sqrt.f64 (/.f64 1 im))))) (sqrt.f64 (sqrt.f64 2)))

rewrite116.0ms (2.7%)

Algorithm
rewrite-expression-head
Error
0.4b
Rules
50×sqrt-prod_binary64
46×add-sqr-sqrt_binary64
29×*-un-lft-identity_binary64
27×add-cube-cbrt_binary64
26×associate-*r*_binary64
Counts
4 → 117
Calls

4 calls:

11.0ms
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (+.f64 (sqrt.f64 im) (*.f64 -1/2 (*.f64 re (sqrt.f64 (/.f64 1 im))))) (sqrt.f64 (sqrt.f64 2))))
8.0ms
(*.f64 (+.f64 (sqrt.f64 im) (*.f64 -1/2 (*.f64 re (sqrt.f64 (/.f64 1 im))))) (sqrt.f64 (sqrt.f64 2)))
7.0ms
(*.f64 re (sqrt.f64 (/.f64 1 im)))
3.0ms
(sqrt.f64 (/.f64 1 im))
Compiler

Compiled 3082 to 2460 computations (20.2% saved)

series78.0ms (1.8%)

Error
0.4b
Counts
4 → 27
Calls

4 calls:

28.0ms
(*.f64 (+.f64 (sqrt.f64 im) (*.f64 -1/2 (*.f64 re (sqrt.f64 (/.f64 1 im))))) (sqrt.f64 (sqrt.f64 2)))
25.0ms
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (+.f64 (sqrt.f64 im) (*.f64 -1/2 (*.f64 re (sqrt.f64 (/.f64 1 im))))) (sqrt.f64 (sqrt.f64 2))))
16.0ms
(*.f64 re (sqrt.f64 (/.f64 1 im)))
5.0ms
(sqrt.f64 (/.f64 1 im))
Compiler

Compiled 1175 to 1013 computations (13.8% saved)

simplify141.0ms (3.2%)

Algorithm
egg-herbie
Rules
404×*-commutative_binary64
347×distribute-rgt-in_binary64
345×distribute-lft-in_binary64
312×exp-prod_binary64
239×associate-*l/_binary64
Counts
144 → 87
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01592869
13572501
211782461
325342461
444232461
548142461
649402461

prune49.0ms (1.1%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New87087
Fresh055
Picked011
Done022
Total87895
Error
0.4b
Counts
95 → 8
Alt Table
StatusErrorProgram
42.1b
(*.f64 1/2 (/.f64 (sqrt.f64 (*.f64 2 (*.f64 im im))) (sqrt.f64 (+.f64 re (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))))))
52.2b
(*.f64 1/2 (*.f64 (*.f64 (sqrt.f64 1/2) (*.f64 im (sqrt.f64 2))) (sqrt.f64 (/.f64 1 re))))
27.2b
(*.f64 1/2 (*.f64 (sqrt.f64 2) (+.f64 (sqrt.f64 im) (*.f64 re (*.f64 (sqrt.f64 (/.f64 1 im)) -1/2)))))
46.0b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 re -2))))
58.8b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 1/2 (/.f64 (*.f64 im im) re)))))
29.0b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (+.f64 im (*.f64 1/2 (/.f64 (*.f64 re re) im))) re))))
27.3b
(*.f64 1/2 (*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (+.f64 (sqrt.f64 im) (*.f64 -1/2 (*.f64 re (sqrt.f64 (/.f64 1 im))))) (sqrt.f64 (sqrt.f64 2)))))
37.5b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re))))
Compiler

Compiled 1723 to 1359 computations (21.1% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(*.f64 1/2 (/.f64 (*.f64 re re) im))
0.0b
(-.f64 (+.f64 im (*.f64 1/2 (/.f64 (*.f64 re re) im))) re)
7.0b
(/.f64 (*.f64 re re) im)
9.4b
(sqrt.f64 (*.f64 2 (-.f64 (+.f64 im (*.f64 1/2 (/.f64 (*.f64 re re) im))) re)))

rewrite80.0ms (1.8%)

Algorithm
rewrite-expression-head
Error
0.4b
Rules
18×add-cbrt-cube_binary64
18×add-exp-log_binary64
16×add-sqr-sqrt_binary64
12×*-un-lft-identity_binary64
10×add-cube-cbrt_binary64
Counts
4 → 80
Calls

4 calls:

7.0ms
(*.f64 1/2 (/.f64 (*.f64 re re) im))
5.0ms
(sqrt.f64 (*.f64 2 (-.f64 (+.f64 im (*.f64 1/2 (/.f64 (*.f64 re re) im))) re)))
5.0ms
(-.f64 (+.f64 im (*.f64 1/2 (/.f64 (*.f64 re re) im))) re)
4.0ms
(/.f64 (*.f64 re re) im)
Compiler

Compiled 1853 to 1014 computations (45.3% saved)

series80.0ms (1.8%)

Error
0.4b
Counts
4 → 38
Calls

4 calls:

27.0ms
(-.f64 (+.f64 im (*.f64 1/2 (/.f64 (*.f64 re re) im))) re)
20.0ms
(sqrt.f64 (*.f64 2 (-.f64 (+.f64 im (*.f64 1/2 (/.f64 (*.f64 re re) im))) re)))
15.0ms
(*.f64 1/2 (/.f64 (*.f64 re re) im))
13.0ms
(/.f64 (*.f64 re re) im)
Compiler

Compiled 1265 to 1024 computations (19.1% saved)

simplify103.0ms (2.4%)

Algorithm
egg-herbie
Rules
495×associate-*l*_binary64
394×associate-/l*_binary64
352×associate-*l/_binary64
340×times-frac_binary64
329×associate-*r/_binary64
Counts
118 → 74
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01581857
13391689
210441659
345981659
449421659
549611659

prune29.0ms (0.7%)

Pruning

8 alts after pruning (4 fresh and 4 done)

PrunedKeptTotal
New74074
Fresh044
Picked011
Done033
Total74882
Error
0.4b
Counts
82 → 8
Alt Table
StatusErrorProgram
42.1b
(*.f64 1/2 (/.f64 (sqrt.f64 (*.f64 2 (*.f64 im im))) (sqrt.f64 (+.f64 re (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))))))
52.2b
(*.f64 1/2 (*.f64 (*.f64 (sqrt.f64 1/2) (*.f64 im (sqrt.f64 2))) (sqrt.f64 (/.f64 1 re))))
27.2b
(*.f64 1/2 (*.f64 (sqrt.f64 2) (+.f64 (sqrt.f64 im) (*.f64 re (*.f64 (sqrt.f64 (/.f64 1 im)) -1/2)))))
46.0b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 re -2))))
58.8b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 1/2 (/.f64 (*.f64 im im) re)))))
29.0b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (+.f64 im (*.f64 1/2 (/.f64 (*.f64 re re) im))) re))))
27.3b
(*.f64 1/2 (*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (+.f64 (sqrt.f64 im) (*.f64 -1/2 (*.f64 re (sqrt.f64 (/.f64 1 im))))) (sqrt.f64 (sqrt.f64 2)))))
37.5b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re))))
Compiler

Compiled 999 to 623 computations (37.6% saved)

regimes912.0ms (20.8%)

Accuracy

Total 14.9b remaining (97.1%)

Threshold costs 0b (0%)

Compiler

Compiled 9917 to 6752 computations (31.9% saved)

bsearch157.0ms (3.6%)

Steps
ItersRangePoint
10
1.2355481294931846e+149
4.1221295121283705e+164
1.261312147033122e+149
5
4.947750256647742e+107
1.0476193200587676e+108
9.367247253923697e+107
9
3.0869078642302355e+81
1.6329201413477083e+87
5.926338806316416e+85
6
-3.629389852916924e-38
-2.6189451470092445e-39
-2.6621240162684264e-39
10
-1.2374154247336943e+157
-6.888236007840666e+140
-6.114175565259216e+149
Compiler

Compiled 3 to 2 computations (33.3% saved)

simplify7.0ms (0.2%)

Algorithm
egg-herbie
Rules
17×*-commutative_binary64
+-commutative_binary64
sub-neg_binary64
*-lft-identity_binary64
neg-sub0_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
056125
183125
289125
391125
492125
591125

end2.0ms (0%)

Compiler

Compiled 84 to 64 computations (23.8% saved)

sample1.5s (34%)

Algorithm
intervals
Results
387.0ms6070×body128valid
197.0ms540×body4096valid
195.0ms656×body2048valid
113.0ms8000×pre128true
98.0ms404×body1024valid
46.0ms230×body512valid
12.0ms100×body256valid
Compiler

Compiled 244 to 188 computations (23% saved)

Profiling

Loading profile data...