Details

Time bar (total: 5.0s)

analyze349.0ms (6.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%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 12 to 11 computations (8.3% saved)

sample65.0ms (1.3%)

Algorithm
intervals
Results
20.0ms57×body1024valid
13.0ms64×body1024invalid
8.0ms148×body128valid
5.0ms31×body512valid
4.0ms23×body512invalid
2.0ms20×body256valid
1.0ms12×body256invalid
1.0ms17×body128invalid
Compiler

Compiled 23 to 23 computations (0% saved)

simplify218.0ms (4.3%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (122.0ms)

IterNodesCost
0529018

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 1
Compiler

Compiled 22 to 20 computations (9.1% saved)

localize9.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

rewrite18.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64_419 add-cbrt-cube_binary64_455 add-exp-log_binary64_457 pow1_binary64_480
add-log-exp_binary64_458 associate-*r*_binary64_359
pow-prod-down_binary64_490 add-cube-cbrt_binary64_454 prod-exp_binary64_468 cbrt-unprod_binary64_452 add-sqr-sqrt_binary64_441
flip3-+_binary64_422 distribute-lft-out_binary64_370 associate-*r/_binary64_361 flip-+_binary64_393
distribute-rgt-in_binary64_369 sum-log_binary64_510 distribute-lft-in_binary64_368 *-commutative_binary64_350 associate-*l*_binary64_360 +-commutative_binary64_349
Counts
2 → 35
Calls

2 calls:

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

series76.0ms (1.5%)

Counts
2 → 6
Calls

2 calls:

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

simplify76.0ms (1.5%)

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 0 (61.0ms)

IterNodesCost
04922713
14922713

prune35.0ms (0.7%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New38341
Fresh000
Picked011
Done000
Total38442

Merged error: 0b

Counts
42 → 4
Compiler

Compiled 731 to 289 computations (60.5% saved)

localize18.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.0b
(pow.f64 (exp.f64 im) 3)
0.0b
(*.f64 (exp.f64 (neg.f64 im)) (exp.f64 (neg.f64 im)))
0.1b
(pow.f64 (exp.f64 im) -3)
5.3b
(-.f64 (*.f64 (exp.f64 im) (exp.f64 im)) (*.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))

rewrite48.0ms (1%)

Algorithm
rewrite-expression-head
Rules
82×exp-prod_binary64_471
47×*-un-lft-identity_binary64_419
35×add-sqr-sqrt_binary64_441
33×add-cube-cbrt_binary64_454
24×distribute-rgt-neg-in_binary64_377
20×distribute-lft-neg-in_binary64_376
15×pow-prod-down_binary64_490
13×pow-sqr_binary64_392 pow1_binary64_480 pow-prod-up_binary64_489
neg-mul-1_binary64_415 pow-pow_binary64_491
exp-neg_binary64_466 add-cbrt-cube_binary64_455
exp-diff_binary64_467 unpow-prod-down_binary64_498 add-log-exp_binary64_458 pow-unpow_binary64_496 neg-sub0_binary64_414
frac-times_binary64_429 add-exp-log_binary64_457
associate-*r*_binary64_359 cube-prod_binary64_447 swap-sqr_binary64_386 associate-*l*_binary64_360
associate-*l/_binary64_362 pow-exp_binary64_487 sqr-pow_binary64_391 associate-*r/_binary64_361 pow-to-exp_binary64_488
distribute-rgt-out--_binary64_373 sub-neg_binary64_412 unpow3_binary64_485 cube-mult_binary64_449 rem-cube-cbrt_binary64_442 unswap-sqr_binary64_387 prod-exp_binary64_468 cbrt-unprod_binary64_452 flip3--_binary64_423 pow-plus_binary64_482 *-commutative_binary64_350 diff-log_binary64_511 un-div-inv_binary64_417 flip--_binary64_394 cancel-sign-sub-inv_binary64_385 pow2_binary64_500
Counts
4 → 131
Calls

4 calls:

15.0ms
(*.f64 (exp.f64 (neg.f64 im)) (exp.f64 (neg.f64 im)))
9.0ms
(-.f64 (*.f64 (exp.f64 im) (exp.f64 im)) (*.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
3.0ms
(pow.f64 (exp.f64 im) 3)
3.0ms
(pow.f64 (exp.f64 im) -3)

series116.0ms (2.3%)

Counts
4 → 12
Calls

4 calls:

38.0ms
(-.f64 (*.f64 (exp.f64 im) (exp.f64 im)) (*.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
37.0ms
(pow.f64 (exp.f64 im) -3)
25.0ms
(pow.f64 (exp.f64 im) 3)
16.0ms
(*.f64 (exp.f64 (neg.f64 im)) (exp.f64 (neg.f64 im)))

simplify81.0ms (1.6%)

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
048931061
148931061

prune210.0ms (4.2%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1430143
Fresh022
Picked011
Done011
Total1434147

Merged error: 0b

Counts
147 → 4
Compiler

Compiled 5243 to 1871 computations (64.3% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.2b
(*.f64 (*.f64 1/2 (cos.f64 re)) (*.f64 (cbrt.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (cbrt.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))
1.0b
(cbrt.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
1.0b
(cbrt.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
1.0b
(cbrt.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))

rewrite44.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
18×cbrt-div_binary64_451
16×add-exp-log_binary64_457 pow1_binary64_480
13×*-un-lft-identity_binary64_419
12×cbrt-prod_binary64_450 add-cbrt-cube_binary64_455
10×associate-*r/_binary64_361
flip3-+_binary64_422 flip-+_binary64_393
pow-prod-down_binary64_490 prod-exp_binary64_468 cbrt-unprod_binary64_452
add-cube-cbrt_binary64_454 add-sqr-sqrt_binary64_441
add-log-exp_binary64_458 frac-times_binary64_429
pow1/3_binary64_501 distribute-lft-out_binary64_370
associate-*l/_binary64_362
associate-*r*_binary64_359 *-commutative_binary64_350 associate-*l*_binary64_360
Counts
4 → 72
Calls

4 calls:

19.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (*.f64 (cbrt.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (cbrt.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))
5.0ms
(cbrt.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
5.0ms
(cbrt.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
5.0ms
(cbrt.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))

series521.0ms (10.3%)

Counts
4 → 12
Calls

4 calls:

189.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (*.f64 (cbrt.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (cbrt.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))
116.0ms
(cbrt.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
115.0ms
(cbrt.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
101.0ms
(cbrt.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))

simplify85.0ms (1.7%)

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (64.0ms)

IterNodesCost
049941806
149941806

prune95.0ms (1.9%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New84084
Fresh011
Picked011
Done022
Total84488

Merged error: 0b

Counts
88 → 4
Compiler

Compiled 2825 to 758 computations (73.2% saved)

localize14.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

rewrite40.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
21×pow1_binary64_480
15×add-exp-log_binary64_457
10×*-un-lft-identity_binary64_419
pow-prod-down_binary64_490 add-cbrt-cube_binary64_455
add-log-exp_binary64_458 add-cube-cbrt_binary64_454 prod-exp_binary64_468 add-sqr-sqrt_binary64_441 exp-prod_binary64_471 associate-*r/_binary64_361 log-pow_binary64_508
flip3-+_binary64_422 associate-*r*_binary64_359 flip-+_binary64_393 log-div_binary64_506
rem-log-exp_binary64_460 cbrt-unprod_binary64_452
exp-diff_binary64_467 log-prod_binary64_505 distribute-lft-out_binary64_370
distribute-rgt-in_binary64_369 sum-log_binary64_510 distribute-lft-in_binary64_368 *-commutative_binary64_350 associate-*l*_binary64_360 exp-sum_binary64_465 rem-exp-log_binary64_459 +-commutative_binary64_349
Counts
4 → 68
Calls

4 calls:

10.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
10.0ms
(exp.f64 (log.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))
9.0ms
(log.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
5.0ms
(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))

series333.0ms (6.6%)

Counts
4 → 12
Calls

4 calls:

135.0ms
(log.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
116.0ms
(exp.f64 (log.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))
69.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
14.0ms
(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))

simplify70.0ms (1.4%)

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
050661490

prune78.0ms (1.5%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New80080
Fresh000
Picked011
Done033
Total80484

Merged error: 0b

Counts
84 → 4
Compiler

Compiled 1437 to 624 computations (56.6% saved)

regimes112.0ms (2.2%)

Compiler

Compiled 1022 to 770 computations (24.7% saved)

bsearch0.0ms (0%)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02118
12118

end0.0ms (0%)

sample2.3s (45.9%)

Algorithm
intervals
Results
659.0ms1947×body1024valid
415.0ms1966×body1024invalid
259.0ms4501×body128valid
196.0ms1053×body512valid
157.0ms976×body512invalid
55.0ms497×body256valid
54.0ms504×body256invalid
46.0ms650×body128invalid
2.0msbody2048valid
Compiler

Compiled 185 to 142 computations (23.2% saved)

Profiling

Loading profile data...