Details

Time bar (total: 5.1s)

analyze526.0ms (10.4%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
50%50%0.1%5
50%50%0.1%6
50%40.6%9.5%7
50%39%11%8
50%33.6%16.5%9
50%32.4%17.7%10
50%29.5%20.6%11
50%28.8%21.3%12
50%27.3%22.8%13
50%26.9%23.1%14
Compiler

Compiled 15 to 12 computations (20% saved)

sample4.3s (85.1%)

Results
1.4s2047×body1024valid
1.1s2019×body1024invalid
674.0ms4667×body128valid
397.0ms1055×body512valid
353.0ms984×body512invalid
131.0ms484×body256valid
119.0ms773×body128invalid
112.0ms460×body256invalid
4.0msbody2048valid
2.0msbody2048invalid
Compiler

Compiled 30 to 24 computations (20% saved)

preprocess39.0ms (0.8%)

Algorithm
egg-herbie
Rules
692×times-frac_binary64
480×fma-def_binary64
341×associate-/r/_binary64
306×associate-/l/_binary64
305×associate-*l*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01936
15036
213536
327334
436134
548934
683734
7218034
8482134
022
Stop Event
saturated
node limit
Calls
Call 1
Inputs
0
1
Outputs
0
1
Call 2
Inputs
(*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))
(*.f64 (*.f64 1/2 (sin.f64 im)) (+.f64 (exp.f64 (-.f64 0 re)) (exp.f64 re)))
Outputs
(*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))
(*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
(*.f64 (sin.f64 re) (*.f64 1/2 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 (sin.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
(*.f64 (*.f64 1/2 (sin.f64 im)) (+.f64 (exp.f64 (-.f64 0 re)) (exp.f64 re)))
(*.f64 (*.f64 1/2 (sin.f64 im)) (+.f64 (exp.f64 (neg.f64 re)) (exp.f64 re)))
(*.f64 1/2 (*.f64 (sin.f64 im) (+.f64 (exp.f64 (neg.f64 re)) (exp.f64 re))))
(*.f64 (sin.f64 im) (fma.f64 1/2 (exp.f64 re) (/.f64 1/2 (exp.f64 re))))
Compiler

Compiled 14 to 11 computations (21.4% saved)

simplify32.0ms (0.6%)

Algorithm
egg-herbie
Rules
778×unswap-sqr_binary64
455×associate-/r*_binary64
357×associate-/l*_binary64
346×times-frac_binary64
315×fma-def_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01218
12818
27118
314017
418517
525217
643017
7110717
8331117
9370217
10419217
Stop Event
node limit
Counts
1 → 2
Calls
Call 1
Inputs
(*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))
Outputs
(*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))
(*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
(*.f64 (sin.f64 re) (*.f64 1/2 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 (sin.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0b
Counts
3 → 1
Alt Table
StatusErrorProgram
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)

localize7.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

series2.0ms (0%)

Counts
1 → 4
Calls

3 calls:

TimeVariablePointExpression
1.0ms
im
@-inf
(/.f64 1/2 (exp.f64 im))
1.0ms
im
@0
(/.f64 1/2 (exp.f64 im))
1.0ms
im
@inf
(/.f64 1/2 (exp.f64 im))

rewrite31.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
468×pow1_binary64
436×add-log-exp_binary64
436×log1p-expm1-u_binary64
436×expm1-log1p-u_binary64
427×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
056
11036
212016
Stop Event
node limit
Counts
1 → 20
Calls
Call 1
Inputs
(/.f64 1/2 (exp.f64 im))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 1/2 (exp.f64 im))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/2 (exp.f64 (neg.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1/2 (exp.f64 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1/2 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 1/2 (exp.f64 im))) (pow.f64 (cbrt.f64 (/.f64 1/2 (exp.f64 im))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 1/2 (exp.f64 im))) 2) (cbrt.f64 (/.f64 1/2 (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 1/2 (exp.f64 im))) (sqrt.f64 (/.f64 1/2 (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1/2 (/.f64 1 (neg.f64 (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (neg.f64 im)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1/2 (exp.f64 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 1/2 (exp.f64 im)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 1/2 (exp.f64 im))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 1/2 (exp.f64 im))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (exp.f64 im) 2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 1/4 (pow.f64 (exp.f64 im) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1/2 (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 1/2 (exp.f64 im)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1/2 (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 1/2) im))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1/2 (exp.f64 im))))))))

simplify31.0ms (0.6%)

Algorithm
egg-herbie
Rules
713×fma-neg_binary64
563×cancel-sign-sub-inv_binary64
488×distribute-rgt-neg-in_binary64
284×unswap-sqr_binary64
178×distribute-lft-neg-in_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01747
15143
213439
344731
4150831
5388531
Stop Event
node limit
Counts
24 → 27
Calls
Call 1
Inputs
1/2
(-.f64 1/2 (*.f64 1/2 im))
(-.f64 (+.f64 1/2 (*.f64 1/4 (pow.f64 im 2))) (*.f64 1/2 im))
(-.f64 (+.f64 1/2 (*.f64 1/4 (pow.f64 im 2))) (+.f64 (*.f64 1/12 (pow.f64 im 3)) (*.f64 1/2 im)))
Outputs
1/2
(-.f64 1/2 (*.f64 1/2 im))
(+.f64 1/2 (*.f64 -1/2 im))
(fma.f64 im -1/2 1/2)
(-.f64 (+.f64 1/2 (*.f64 1/4 (pow.f64 im 2))) (*.f64 1/2 im))
(+.f64 1/2 (-.f64 (*.f64 1/4 (*.f64 im im)) (*.f64 1/2 im)))
(-.f64 (fma.f64 1/4 (*.f64 im im) 1/2) (*.f64 1/2 im))
(fma.f64 1/4 (*.f64 im im) (fma.f64 im -1/2 1/2))
(fma.f64 im (fma.f64 im 1/4 -1/2) 1/2)
(-.f64 (+.f64 1/2 (*.f64 1/4 (pow.f64 im 2))) (+.f64 (*.f64 1/12 (pow.f64 im 3)) (*.f64 1/2 im)))
(-.f64 (+.f64 1/2 (*.f64 1/4 (*.f64 im im))) (fma.f64 1/12 (pow.f64 im 3) (*.f64 1/2 im)))
(-.f64 (fma.f64 1/4 (*.f64 im im) 1/2) (fma.f64 1/2 im (*.f64 1/12 (pow.f64 im 3))))
(+.f64 (fma.f64 im (*.f64 im 1/4) 1/2) (fma.f64 im -1/2 (*.f64 (pow.f64 im 3) -1/12)))
(fma.f64 (pow.f64 im 3) -1/12 (fma.f64 im (fma.f64 im 1/4 -1/2) 1/2))

prune15.0ms (0.3%)

Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New27027
Fresh000
Picked011
Done000
Total27128
Error
0b
Counts
28 → 1
Alt Table
StatusErrorProgram
0b
(*.f64 (sin.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
Compiler

Compiled 406 to 239 computations (41.1% saved)

regimes25.0ms (0.5%)

Accuracy

Total 0.0b remaining (0%)

Threshold costs 0.0b (0%)

Counts
3 → 1
Compiler

Compiled 72 to 50 computations (30.6% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0917
11017
Stop Event
saturated
Calls
Call 1
Inputs
(*.f64 (sin.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
Outputs
(*.f64 (sin.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))

end40.0ms (0.8%)

Stop Event
done
Compiler

Compiled 39 to 27 computations (30.8% saved)

Profiling

Loading profile data...