Details

Time bar (total: 3.2s)

analyze1.0ms (0%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
99.9%0%0.1%1
Compiler

Compiled 15 to 12 computations (20% saved)

sample2.2s (68.3%)

Results
1.1s2041×body1024valid
544.0ms4607×body128valid
344.0ms1133×body512valid
107.0ms474×body256valid
1.0msbody2048valid
Compiler

Compiled 44 to 35 computations (20.5% saved)

simplify76.0ms (2.4%)

Algorithm
egg-herbie
Rules
778×unswap-sqr_binary64
536×fma-def_binary64
491×associate-/r*_binary64
476×fabs-mul_binary64
360×associate-/l*_binary64
Counts
1 → 2
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01218
12718
26518
310417
413717
519617
632917
773617
8224217
9225017
10261917
11412817
12456317
13539117

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.0b
(*.f64 (sin.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
Compiler

Compiled 51 to 34 computations (33.3% saved)

localize8.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))
0.0b
(/.f64 1/2 (exp.f64 im))

series16.0ms (0.5%)

Counts
2 → 16
Calls

2 calls:

9.0ms
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))
8.0ms
(/.f64 1/2 (exp.f64 im))

rewrite5.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity_binary64
10×add-sqr-sqrt_binary64
10×add-cube-cbrt_binary64
times-frac_binary64
add-cbrt-cube_binary64
Counts
2 → 39
Calls

2 calls:

3.0ms
(/.f64 1/2 (exp.f64 im))
1.0ms
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))

simplify88.0ms (2.7%)

Algorithm
egg-herbie
Rules
722×fma-neg_binary64
700×times-frac_binary64
577×fma-def_binary64
273×cancel-sign-sub-inv_binary64
249×unswap-sqr_binary64
Counts
55 → 61
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
094731
1184674
2423666
31088658
42682658
54335658
64938658
74899658

prune57.0ms (1.8%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New60161
Fresh000
Picked101
Done000
Total61162
Error
0b
Counts
62 → 1
Alt Table
StatusErrorProgram
0b
(*.f64 (sin.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 (sqrt.f64 1/2) (/.f64 (exp.f64 im) (sqrt.f64 1/2)))))
Compiler

Compiled 1014 to 577 computations (43.1% saved)

localize10.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 1/2 (exp.f64 im) (/.f64 (sqrt.f64 1/2) (/.f64 (exp.f64 im) (sqrt.f64 1/2))))
0.0b
(/.f64 (sqrt.f64 1/2) (/.f64 (exp.f64 im) (sqrt.f64 1/2)))
0.5b
(/.f64 (exp.f64 im) (sqrt.f64 1/2))

series35.0ms (1.1%)

Counts
3 → 28
Calls

3 calls:

16.0ms
(fma.f64 1/2 (exp.f64 im) (/.f64 (sqrt.f64 1/2) (/.f64 (exp.f64 im) (sqrt.f64 1/2))))
12.0ms
(/.f64 (sqrt.f64 1/2) (/.f64 (exp.f64 im) (sqrt.f64 1/2)))
6.0ms
(/.f64 (exp.f64 im) (sqrt.f64 1/2))

rewrite39.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
276×times-frac_binary64
155×*-un-lft-identity_binary64
155×add-sqr-sqrt_binary64
155×add-cube-cbrt_binary64
144×sqrt-prod_binary64
Counts
3 → 228
Calls

3 calls:

8.0ms
(/.f64 (sqrt.f64 1/2) (/.f64 (exp.f64 im) (sqrt.f64 1/2)))
4.0ms
(/.f64 (exp.f64 im) (sqrt.f64 1/2))
0.0ms
(fma.f64 1/2 (exp.f64 im) (/.f64 (sqrt.f64 1/2) (/.f64 (exp.f64 im) (sqrt.f64 1/2))))

simplify176.0ms (5.5%)

Algorithm
egg-herbie
Rules
631×cancel-sign-sub-inv_binary64
455×associate-*r*_binary64
421×fma-neg_binary64
402×associate-/r*_binary64
367×*-commutative_binary64
Counts
256 → 281
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02686339
15855805
218515495
340325305
451275305

prune217.0ms (6.8%)

Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New2810281
Fresh000
Picked011
Done000
Total2811282
Error
0b
Counts
282 → 1
Alt Table
StatusErrorProgram
0b
(*.f64 (sin.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 (sqrt.f64 1/2) (/.f64 (exp.f64 im) (sqrt.f64 1/2)))))
Compiler

Compiled 7031 to 4631 computations (34.1% saved)

regimes231.0ms (7.2%)

Accuracy

Total 0.0b remaining (0%)

Threshold costs 0.0b (0%)

Counts
38 → 1
Compiler

Compiled 3703 to 2788 computations (24.7% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01124
11224
21224

end52.0ms (1.6%)

Compiler

Compiled 51 to 39 computations (23.5% saved)

Profiling

Loading profile data...