Details

Time bar (total: 3.8s)

analyze3.0ms (0.1%)

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

Compiled 15 to 12 computations (20% saved)

sample3.1s (80.8%)

Results
1.5s2027×body1024valid
755.0ms4646×body128valid
439.0ms1024×body512valid
172.0ms557×body256valid
4.0msbody2048valid
Compiler

Compiled 44 to 35 computations (20.5% saved)

simplify118.0ms (3.1%)

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

prune5.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)

localize13.0ms (0.3%)

Local error

Found 2 expressions with local error:

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

series55.0ms (1.4%)

Counts
2 → 36
Calls

2 calls:

41.0ms
(*.f64 (sin.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
13.0ms
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))

rewrite8.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
2 → 32
Calls

2 calls:

5.0ms
(*.f64 (sin.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
1.0ms
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))

simplify131.0ms (3.5%)

Algorithm
egg-herbie
Rules
575×fma-neg_binary64
446×fma-def_binary64
419×associate-*l*_binary64
358×associate-*r*_binary64
257×sub-neg_binary64
Counts
68 → 69
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01111415
12841292
29371272
332411262
449311262
549901262
649291262

prune52.0ms (1.4%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New68169
Fresh000
Picked011
Done000
Total68270
Error
0b
Counts
70 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 (sin.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
9.1b
(*.f64 (sin.f64 re) (fma.f64 1/24 (pow.f64 im 4) (fma.f64 1/2 (*.f64 im im) 1)))
Compiler

Compiled 1383 to 754 computations (45.5% saved)

localize11.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 1/24 (pow.f64 im 4) (fma.f64 1/2 (*.f64 im im) 1))
1.2b
(*.f64 (sin.f64 re) (fma.f64 1/24 (pow.f64 im 4) (fma.f64 1/2 (*.f64 im im) 1)))

series33.0ms (0.9%)

Counts
2 → 36
Calls

2 calls:

29.0ms
(*.f64 (sin.f64 re) (fma.f64 1/24 (pow.f64 im 4) (fma.f64 1/2 (*.f64 im im) 1)))
3.0ms
(fma.f64 1/24 (pow.f64 im 4) (fma.f64 1/2 (*.f64 im im) 1))

rewrite5.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
2 → 32
Calls

2 calls:

3.0ms
(*.f64 (sin.f64 re) (fma.f64 1/24 (pow.f64 im 4) (fma.f64 1/2 (*.f64 im im) 1)))
0.0ms
(fma.f64 1/24 (pow.f64 im 4) (fma.f64 1/2 (*.f64 im im) 1))

simplify79.0ms (2.1%)

Algorithm
egg-herbie
Rules
607×fma-def_binary64
513×associate-*l*_binary64
427×associate-*r*_binary64
352×associate-+l+_binary64
263×associate--l+_binary64
Counts
68 → 72
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01151661
12951476
210331448
349801448
450701448

prune59.0ms (1.6%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New72072
Fresh000
Picked011
Done011
Total72274
Error
0b
Counts
74 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 (sin.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
9.1b
(*.f64 (sin.f64 re) (fma.f64 1/24 (pow.f64 im 4) (fma.f64 1/2 (*.f64 im im) 1)))
Compiler

Compiled 1668 to 1062 computations (36.3% saved)

regimes106.0ms (2.8%)

Accuracy

Total 0.0b remaining (8.3%)

Threshold costs 0.0b (8.3%)

Counts
17 → 1
Compiler

Compiled 1308 to 984 computations (24.8% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
sub0-neg_binary64
sub-neg_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01218
11718
22018
32118
42118

end49.0ms (1.3%)

Compiler

Compiled 55 to 41 computations (25.5% saved)

Profiling

Loading profile data...