Details

Time bar (total: 6.0s)

analyze490.0ms (8.1%)

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%37.5%12.6%7
50%37.5%12.6%8
50%31.2%18.8%9
50%31.2%18.8%10
50%28.1%22%11
50%28.1%22%12
50%26.5%23.5%13
50%26.5%23.5%14
Compiler

Compiled 14 to 11 computations (21.4% saved)

sample4.2s (69.1%)

Results
1.4s2148×body1024valid
1.0s2037×body1024invalid
584.0ms4597×body128valid
356.0ms1029×body512valid
315.0ms983×body512invalid
133.0ms544×body256invalid
113.0ms479×body256valid
101.0ms749×body128invalid
4.0msbody2048valid
Compiler

Compiled 41 to 32 computations (22% saved)

simplify111.0ms (1.8%)

Algorithm
egg-herbie
Rules
575×fma-def_binary64
533×associate-/l*_binary64
430×unswap-sqr_binary64
374×times-frac_binary64
354×fma-neg_binary64
Counts
1 → 2
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01118
12818
26518
39917
415417
526917
653217
791617
8333217
9326017
10400617
11426517
12469217
13484017
14489117
15491717

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
0.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.0b
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
Compiler

Compiled 50 to 35 computations (30% saved)

localize8.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))

series15.0ms (0.3%)

Counts
1 → 24
Calls

1 calls:

15.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))

rewrite8.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-cbrt-cube_binary64
add-exp-log_binary64
pow1_binary64
associate-*r*_binary64
*-un-lft-identity_binary64
Counts
1 → 25
Calls

1 calls:

7.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))

simplify76.0ms (1.3%)

Algorithm
egg-herbie
Rules
665×fma-neg_binary64
571×fma-def_binary64
389×times-frac_binary64
350×distribute-rgt-in_binary64
349×*-commutative_binary64
Counts
49 → 52
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01191187
13411009
21284991
33715991
44820991
54982991

prune33.0ms (0.6%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New51152
Fresh000
Picked011
Done000
Total51253
Error
0b
Counts
53 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
0.1b
(expm1.f64 (log1p.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))
Compiler

Compiled 1126 to 500 computations (55.6% saved)

localize11.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
0.2b
(expm1.f64 (log1p.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))
0.3b
(log1p.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))

series764.0ms (12.6%)

Counts
2 → 48
Calls

2 calls:

747.0ms
(log1p.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
16.0ms
(expm1.f64 (log1p.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.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 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
0.0ms
(expm1.f64 (log1p.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))

simplify125.0ms (2.1%)

Algorithm
egg-herbie
Rules
954×fma-def_binary64
256×cancel-sign-sub-inv_binary64
204×distribute-rgt-in_binary64
168×fma-neg_binary64
152×unswap-sqr_binary64
Counts
70 → 73
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02262725
16472365
225062275
347492275
449722275

prune96.0ms (1.6%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1250125
Fresh000
Picked011
Done011
Total1252127
Error
0b
Counts
127 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
0.1b
(expm1.f64 (log1p.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))
Compiler

Compiled 3928 to 2081 computations (47% saved)

regimes74.0ms (1.2%)

Accuracy

Total 0.0b remaining (4.4%)

Threshold costs 0.0b (4.4%)

Counts
12 → 1
Compiler

Compiled 848 to 632 computations (25.5% saved)

simplify3.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01118
11818
22018
32118
42118

end49.0ms (0.8%)

Compiler

Compiled 54 to 42 computations (22.2% saved)

Profiling

Loading profile data...