Details

Time bar (total: 4.1s)

analyze190.0ms (4.6%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
50%50%0.1%2
50%50%0.1%3
74.9%25%0.1%4
74.9%25%0.1%5
74.9%18.7%6.3%6
74.9%18.7%6.3%7
74.9%15.6%9.5%8
74.9%15.6%9.5%9
74.9%14%11%10
74.9%14%11%11
74.9%13.3%11.8%12
74.9%13.3%11.8%13
74.9%12.9%12.2%14
Compiler

Compiled 8 to 6 computations (25% saved)

sample46.0ms (1.1%)

Algorithm
intervals
Results
11.0ms33×body1024valid
11.0ms190×body128valid
6.0ms25×body1024invalid
3.0ms23×body512valid
2.0ms13×body512invalid
1.0ms10×body256valid
1.0msbody256invalid
1.0ms11×body128invalid
Compiler

Compiled 17 to 13 computations (23.5% saved)

simplify9.0ms (0.2%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
178
278

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.0b
Counts
2 → 1
Alt Table
StatusErrorProgram
0.0b
(*.f64 (exp.f64 re) (cos.f64 im))
Compiler

Compiled 21 to 15 computations (28.6% saved)

localize4.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (exp.f64 re) (cos.f64 im))

rewrite4.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
associate-*r*_binary64
associate-*l*_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
Counts
1 → 20
Calls

1 calls:

4.0ms
(*.f64 (exp.f64 re) (cos.f64 im))

series20.0ms (0.5%)

Counts
1 → 8
Calls

1 calls:

20.0ms
(*.f64 (exp.f64 re) (cos.f64 im))

simplify109.0ms (2.6%)

Algorithm
egg-herbie
Rules
943×fma-neg_binary64
594×cancel-sign-sub-inv_binary64
333×distribute-rgt-neg-in_binary64
263×*-commutative_binary64
243×distribute-rgt-in_binary64
Counts
28 → 47
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
067406
1167370
2476352
31277335
42313333
54556333
64836333
74972333
84841333

prune77.0ms (1.9%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New45247
Fresh000
Picked101
Done000
Total46248
Error
0b
Counts
48 → 2
Alt Table
StatusErrorProgram
0.1b
(expm1.f64 (log1p.f64 (*.f64 (exp.f64 re) (cos.f64 im))))
22.2b
(+.f64 (cos.f64 im) (+.f64 (*.f64 (cos.f64 im) re) (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2)))))
Compiler

Compiled 544 to 215 computations (60.5% saved)

localize7.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (exp.f64 re) (cos.f64 im))
0.1b
(expm1.f64 (log1p.f64 (*.f64 (exp.f64 re) (cos.f64 im))))
0.2b
(log1p.f64 (*.f64 (exp.f64 re) (cos.f64 im)))

rewrite2.0ms (0%)

Algorithm
rewrite-expression-head
Rules
expm1-log1p-u_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
Counts
2 → 22
Calls

2 calls:

0.0ms
(log1p.f64 (*.f64 (exp.f64 re) (cos.f64 im)))
0.0ms
(expm1.f64 (log1p.f64 (*.f64 (exp.f64 re) (cos.f64 im))))

series1.3s (31.6%)

Counts
2 → 48
Calls

2 calls:

666.0ms
(log1p.f64 (*.f64 (exp.f64 re) (cos.f64 im)))
642.0ms
(expm1.f64 (log1p.f64 (*.f64 (exp.f64 re) (cos.f64 im))))

simplify73.0ms (1.8%)

Algorithm
egg-herbie
Rules
880×times-frac_binary64
408×fma-def_binary64
264×distribute-rgt-in_binary64
236×distribute-lft-in_binary64
226×associate-/r/_binary64
Counts
70 → 134
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01481472
14281373
215751127
350731127

prune71.0ms (1.7%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1801181
Fresh101
Picked011
Done000
Total1812183
Error
0b
Counts
183 → 2
Alt Table
StatusErrorProgram
0.1b
(expm1.f64 (log1p.f64 (*.f64 (exp.f64 re) (cos.f64 im))))
22.2b
(+.f64 (fma.f64 1/2 (*.f64 (cos.f64 im) (*.f64 re re)) (*.f64 (cos.f64 im) re)) (cos.f64 im))
Compiler

Compiled 2062 to 975 computations (52.7% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (fma.f64 1/2 (*.f64 (cos.f64 im) (*.f64 re re)) (*.f64 (cos.f64 im) re)) (cos.f64 im))
0.0b
(fma.f64 1/2 (*.f64 (cos.f64 im) (*.f64 re re)) (*.f64 (cos.f64 im) re))
0.1b
(*.f64 (cos.f64 im) (*.f64 re re))
0.1b
(*.f64 (cos.f64 im) re)

rewrite13.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt_binary64
11×add-cbrt-cube_binary64
11×add-exp-log_binary64
11×pow1_binary64
10×*-un-lft-identity_binary64
Counts
4 → 69
Calls

4 calls:

4.0ms
(*.f64 (cos.f64 im) (*.f64 re re))
3.0ms
(*.f64 (cos.f64 im) re)
3.0ms
(+.f64 (fma.f64 1/2 (*.f64 (cos.f64 im) (*.f64 re re)) (*.f64 (cos.f64 im) re)) (cos.f64 im))
0.0ms
(fma.f64 1/2 (*.f64 (cos.f64 im) (*.f64 re re)) (*.f64 (cos.f64 im) re))

series142.0ms (3.4%)

Counts
4 → 76
Calls

4 calls:

46.0ms
(fma.f64 1/2 (*.f64 (cos.f64 im) (*.f64 re re)) (*.f64 (cos.f64 im) re))
40.0ms
(+.f64 (fma.f64 1/2 (*.f64 (cos.f64 im) (*.f64 re re)) (*.f64 (cos.f64 im) re)) (cos.f64 im))
32.0ms
(*.f64 (cos.f64 im) (*.f64 re re))
23.0ms
(*.f64 (cos.f64 im) re)

simplify105.0ms (2.5%)

Algorithm
egg-herbie
Rules
918×fma-def_binary64
813×fma-neg_binary64
520×cancel-sign-sub-inv_binary64
478×associate--l+_binary64
283×distribute-rgt-in_binary64
Counts
145 → 271
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01642721
14492553
215602118
347322113
453642113

prune139.0ms (3.4%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New2710271
Fresh000
Picked011
Done011
Total2712273
Error
0b
Counts
273 → 2
Alt Table
StatusErrorProgram
0.1b
(expm1.f64 (log1p.f64 (*.f64 (exp.f64 re) (cos.f64 im))))
22.2b
(+.f64 (fma.f64 1/2 (*.f64 (cos.f64 im) (*.f64 re re)) (*.f64 (cos.f64 im) re)) (cos.f64 im))
Compiler

Compiled 3494 to 1371 computations (60.8% saved)

regimes334.0ms (8.1%)

Accuracy

Total -0.0b remaining (-227.6%)

Threshold costs -0.0b (-227.6%)

Compiler

Compiled 3758 to 2547 computations (32.2% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
178
278

end0.0ms (0%)

Compiler

Compiled 7 to 5 computations (28.6% saved)

sample1.5s (35.6%)

Algorithm
intervals
Results
453.0ms1341×body1024valid
285.0ms5625×body128valid
172.0ms645×body1024invalid
128.0ms690×body512valid
44.0ms314×body512invalid
35.0ms341×body256valid
18.0ms190×body256invalid
12.0ms211×body128invalid
3.0msbody2048valid
Compiler

Compiled 43 to 29 computations (32.6% saved)

Profiling

Loading profile data...