Details

Time bar (total: 6.0s)

analyze542.0ms (9%)

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.7s (78.6%)

Results
1.5s2068×body1024valid
1.2s2047×body1024invalid
701.0ms4642×body128valid
407.0ms1028×body512valid
381.0ms1006×body512invalid
159.0ms745×body128invalid
149.0ms513×body256valid
137.0ms508×body256invalid
7.0msbody2048valid
1.0msbody2048invalid
Compiler

Compiled 44 to 35 computations (20.5% saved)

simplify75.0ms (1.3%)

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

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 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))
Compiler

Compiled 53 to 38 computations (28.3% saved)

localize8.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))

series16.0ms (0.3%)

Counts
1 → 24
Calls

1 calls:

16.0ms
(*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))

rewrite13.0ms (0.2%)

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:

11.0ms
(*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))

simplify87.0ms (1.4%)

Algorithm
egg-herbie
Rules
809×fma-neg_binary64
639×fma-def_binary64
407×times-frac_binary64
375×*-commutative_binary64
336×distribute-rgt-in_binary64
Counts
49 → 54
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01291214
13651025
213501003
338691002
449671002
551621002

prune40.0ms (0.7%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New53154
Fresh000
Picked011
Done000
Total53255
Error
0b
Counts
55 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))
0.4b
(log1p.f64 (expm1.f64 (*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))))
Compiler

Compiled 1250 to 725 computations (42% saved)

localize11.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))
0.1b
(expm1.f64 (*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im))))
0.2b
(log1p.f64 (expm1.f64 (*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))))

series52.0ms (0.9%)

Counts
2 → 48
Calls

2 calls:

35.0ms
(expm1.f64 (*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im))))
17.0ms
(log1p.f64 (expm1.f64 (*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))))

rewrite2.0ms (0%)

Algorithm
rewrite-expression-head
Rules
log1p-expm1-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
(expm1.f64 (*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im))))
0.0ms
(log1p.f64 (expm1.f64 (*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))))

simplify105.0ms (1.7%)

Algorithm
egg-herbie
Rules
331×cancel-sign-sub-inv_binary64
293×fma-neg_binary64
289×associate-*r*_binary64
286×fma-def_binary64
216×unswap-sqr_binary64
Counts
70 → 71
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02232306
16452005
225371893
346581887
450621887

prune169.0ms (2.8%)

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 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))
0.4b
(log1p.f64 (expm1.f64 (*.f64 (*.f64 1/2 (sin.f64 re)) (+.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))))
Compiler

Compiled 3543 to 2110 computations (40.4% saved)

regimes96.0ms (1.6%)

Accuracy

Total 0.0b remaining (7.2%)

Threshold costs 0.0b (7.2%)

Counts
14 → 1
Compiler

Compiled 1092 to 804 computations (26.4% saved)

simplify2.0ms (0%)

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

end59.0ms (1%)

Compiler

Compiled 56 to 44 computations (21.4% saved)

Profiling

Loading profile data...