Details

Time bar (total: 6.3s)

analyze601.0ms (9.5%)

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)

sample116.0ms (1.8%)

Algorithm
intervals
Results
41.0ms69×body1024valid
21.0ms57×body1024invalid
12.0ms135×body128valid
9.0ms30×body512valid
8.0ms30×body512invalid
4.0ms22×body256valid
2.0ms26×body128invalid
2.0ms13×body256invalid
Compiler

Compiled 23 to 23 computations (0% saved)

simplify356.0ms (5.6%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (214.0ms)

IterNodesCost
0529018

prune4.0ms (0.1%)

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)

localize18.0ms (0.3%)

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)))

rewrite33.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64_760 add-exp-log_binary64_798 add-cbrt-cube_binary64_796 pow1_binary64_821
add-log-exp_binary64_799 associate-*r*_binary64_700
prod-exp_binary64_809 add-cube-cbrt_binary64_795 cbrt-unprod_binary64_793 pow-prod-down_binary64_831 add-sqr-sqrt_binary64_782
distribute-lft-out_binary64_711 flip3-+_binary64_763 flip-+_binary64_734 associate-*r/_binary64_702
distribute-lft-in_binary64_709 distribute-rgt-in_binary64_710 +-commutative_binary64_690 sum-log_binary64_851 associate-*l*_binary64_701 *-commutative_binary64_691
Counts
2 → 35
Calls

2 calls:

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

series123.0ms (1.9%)

Counts
2 → 6
Calls

2 calls:

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

simplify130.0ms (2.1%)

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 0 (107.0ms)

IterNodesCost
04922713
14922713

prune50.0ms (0.8%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New39241
Fresh000
Picked011
Done000
Total39342

Merged error: 0b

Counts
42 → 3
Compiler

Compiled 704 to 277 computations (60.7% saved)

localize37.0ms (0.6%)

Local error

Found 4 expressions with local error:

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

rewrite63.0ms (1%)

Algorithm
rewrite-expression-head
Rules
24×exp-prod_binary64_812
23×add-sqr-sqrt_binary64_782
21×*-un-lft-identity_binary64_760 add-cube-cbrt_binary64_795
13×pow1_binary64_821
pow-pow_binary64_832
add-cbrt-cube_binary64_796
add-log-exp_binary64_799 pow-unpow_binary64_837 unpow-prod-down_binary64_839
add-exp-log_binary64_798 pow-sqr_binary64_733 pow-prod-up_binary64_830 pow-prod-down_binary64_831
swap-sqr_binary64_727 associate-*r*_binary64_700 associate-*l*_binary64_701 cube-prod_binary64_788
pow-exp_binary64_828 pow-to-exp_binary64_829 sqr-pow_binary64_732
cube-mult_binary64_790 pow2_binary64_841 diff-log_binary64_852 unswap-sqr_binary64_728 prod-exp_binary64_809 unpow3_binary64_826 cancel-sign-sub-inv_binary64_726 pow-plus_binary64_823 rem-cube-cbrt_binary64_783 cbrt-unprod_binary64_793 sub-neg_binary64_753 distribute-rgt-out--_binary64_714 *-commutative_binary64_691 flip--_binary64_735 flip3--_binary64_764
Counts
4 → 93
Calls

4 calls:

16.0ms
(-.f64 (*.f64 (exp.f64 im) (exp.f64 im)) (*.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
13.0ms
(*.f64 (exp.f64 im) (exp.f64 im))
7.0ms
(pow.f64 (exp.f64 im) 3)
6.0ms
(pow.f64 (exp.f64 im) -3)

series171.0ms (2.7%)

Counts
4 → 12
Calls

4 calls:

71.0ms
(-.f64 (*.f64 (exp.f64 im) (exp.f64 im)) (*.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
53.0ms
(pow.f64 (exp.f64 im) -3)
23.0ms
(*.f64 (exp.f64 im) (exp.f64 im))
23.0ms
(pow.f64 (exp.f64 im) 3)

simplify142.0ms (2.2%)

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 0 (109.0ms)

IterNodesCost
04833802
14833802

prune205.0ms (3.2%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1050105
Fresh011
Picked011
Done011
Total1053108

Merged error: 0b

Counts
108 → 3
Compiler

Compiled 3903 to 1368 computations (65% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
0.0b
(*.f64 (cos.f64 re) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
0.4b
(pow.f64 (*.f64 (cos.f64 re) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) 3)
0.4b
(cbrt.f64 (*.f64 1/8 (pow.f64 (*.f64 (cos.f64 re) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) 3)))

rewrite36.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity_binary64_760
add-exp-log_binary64_798 add-cbrt-cube_binary64_796 pow1_binary64_821 add-sqr-sqrt_binary64_782
associate-*r/_binary64_702
add-cube-cbrt_binary64_795
add-log-exp_binary64_799
flip3-+_binary64_763 flip-+_binary64_734 associate-*r*_binary64_700 cube-div_binary64_789
associate-*l*_binary64_701 pow-unpow_binary64_837
distribute-lft-out_binary64_711 prod-exp_binary64_809 pow-exp_binary64_828 rem-cube-cbrt_binary64_783 cbrt-div_binary64_792 cbrt-unprod_binary64_793 pow-prod-down_binary64_831 pow-pow_binary64_832
pow1/3_binary64_842 cube-mult_binary64_790 unswap-sqr_binary64_728 unpow3_binary64_826 distribute-lft-in_binary64_709 distribute-rgt-in_binary64_710 pow-to-exp_binary64_829 +-commutative_binary64_690 sum-log_binary64_851 cbrt-prod_binary64_791 sqr-pow_binary64_732 cube-prod_binary64_788 *-commutative_binary64_691 unpow-prod-down_binary64_839
Counts
4 → 70
Calls

4 calls:

9.0ms
(pow.f64 (*.f64 (cos.f64 re) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) 3)
9.0ms
(*.f64 (cos.f64 re) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
6.0ms
(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
4.0ms
(cbrt.f64 (*.f64 1/8 (pow.f64 (*.f64 (cos.f64 re) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) 3)))

series373.0ms (5.9%)

Counts
4 → 12
Calls

4 calls:

181.0ms
(pow.f64 (*.f64 (cos.f64 re) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) 3)
117.0ms
(cbrt.f64 (*.f64 1/8 (pow.f64 (*.f64 (cos.f64 re) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) 3)))
62.0ms
(*.f64 (cos.f64 re) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
13.0ms
(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))

simplify135.0ms (2.1%)

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 0 (100.0ms)

IterNodesCost
052821496

prune120.0ms (1.9%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New82082
Fresh000
Picked011
Done022
Total82385

Merged error: 0b

Counts
85 → 3
Compiler

Compiled 1590 to 654 computations (58.9% saved)

regimes99.0ms (1.6%)

Compiler

Compiled 602 to 452 computations (24.9% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02118
12118

end0.0ms (0%)

sample3.5s (55.4%)

Algorithm
intervals
Results
1.1s2014×body1024valid
683.0ms2005×body1024invalid
381.0ms4460×body128valid
267.0ms987×body512valid
247.0ms976×body512invalid
96.0ms530×body256valid
87.0ms522×body256invalid
65.0ms718×body128invalid
9.0msbody2048valid
1.0msbody2048invalid
Compiler

Compiled 115 to 89 computations (22.6% saved)

Profiling

Loading profile data...