Details

Time bar (total: 4.0s)

analyze339.0ms (8.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)

sample65.0ms (1.6%)

Algorithm
intervals
Results
22.0ms68×body1024valid
11.0ms52×body1024invalid
7.0ms142×body128valid
5.0ms27×body512valid
4.0ms27×body512invalid
2.0ms19×body256valid
2.0ms31×body128invalid
2.0ms14×body256invalid
Compiler

Compiled 23 to 23 computations (0% saved)

simplify225.0ms (5.7%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (126.0ms)

IterNodesCost
0529018

prune3.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
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)))

rewrite19.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:

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

series78.0ms (2%)

Counts
2 → 6
Calls

2 calls:

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

simplify80.0ms (2%)

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 0 (66.0ms)

IterNodesCost
04922713
14922713

prune35.0ms (0.9%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New39241
Fresh000
Picked011
Done000
Total39342
Error
0b
Counts
42 → 3
Compiler

Compiled 684 to 268 computations (60.8% saved)

localize8.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

rewrite28.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
13×add-cbrt-cube_binary64_796
add-exp-log_binary64_798
pow1_binary64_821
*-un-lft-identity_binary64_760 add-cube-cbrt_binary64_795 add-sqr-sqrt_binary64_782
add-log-exp_binary64_799
prod-exp_binary64_809 cbrt-unprod_binary64_793
associate-/r*_binary64_704 associate-*r*_binary64_700 pow-prod-down_binary64_831 times-frac_binary64_766
cbrt-undiv_binary64_794 div-inv_binary64_757 div-exp_binary64_811
frac-2neg_binary64_771 distribute-lft-out_binary64_711 flip3-+_binary64_763 flip-+_binary64_734 associate-/l*_binary64_705 +-commutative_binary64_690 sum-log_binary64_851 associate-*l*_binary64_701 clear-num_binary64_759 *-commutative_binary64_691
Counts
3 → 51
Calls

3 calls:

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

series172.0ms (4.3%)

Counts
3 → 9
Calls

3 calls:

90.0ms
(+.f64 (/.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im)) (*.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im)))
47.0ms
(/.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im))
35.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im))

simplify78.0ms (2%)

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
04936972
14936972

prune52.0ms (1.3%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New60060
Fresh011
Picked011
Done011
Total60363
Error
0b
Counts
63 → 3
Compiler

Compiled 1146 to 579 computations (49.5% saved)

localize13.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 (cos.f64 re) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
0.3b
(pow.f64 (*.f64 (cos.f64 re) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) 3)
0.8b
(cbrt.f64 (*.f64 1/8 (pow.f64 (*.f64 (cos.f64 re) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) 3)))

rewrite34.0ms (0.9%)

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

series243.0ms (6.1%)

Counts
4 → 12
Calls

4 calls:

119.0ms
(pow.f64 (*.f64 (cos.f64 re) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) 3)
62.0ms
(cbrt.f64 (*.f64 1/8 (pow.f64 (*.f64 (cos.f64 re) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) 3)))
49.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))

simplify76.0ms (1.9%)

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
052821496

prune72.0ms (1.8%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New82082
Fresh000
Picked011
Done022
Total82385
Error
0b
Counts
85 → 3
Compiler

Compiled 1590 to 654 computations (58.9% saved)

regimes81.0ms (2%)

Accuracy

Total 0.0b remaining (74%)

Threshold costs 0.0b (74%)

Compiler

Compiled 590 to 452 computations (23.4% saved)

bsearch0.0ms (0%)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02118
12118

end0.0ms (0%)

sample2.3s (56.9%)

Algorithm
intervals
Results
674.0ms1974×body1024valid
426.0ms1979×body1024invalid
243.0ms4495×body128valid
180.0ms1013×body512valid
163.0ms1040×body512invalid
56.0ms513×body256valid
54.0ms513×body256invalid
44.0ms721×body128invalid
3.0msbody2048valid
Compiler

Compiled 113 to 89 computations (21.2% saved)

Profiling

Loading profile data...