Details

Time bar (total: 6.9s)

analyze649.0ms (9.4%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0493636
1493636
022
122
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)

sample85.0ms (1.2%)

Algorithm
intervals
Results
22.0ms60×body1024valid
16.0ms65×body1024invalid
9.0ms142×body128valid
7.0ms36×body512valid
6.0ms33×body512invalid
3.0ms22×body256invalid
2.0ms18×body256valid
2.0ms31×body128invalid
Compiler

Compiled 23 to 23 computations (0% saved)

simplify155.0ms (2.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (149.0ms)

IterNodesCost
0529018

prune3.0ms (0%)

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)

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

rewrite46.0ms (0.7%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
pow1_binary64_1844 add-exp-log_binary64_1821 add-cbrt-cube_binary64_1819 *-un-lft-identity_binary64_1783
add-log-exp_binary64_1822 associate-*r*_binary64_1723
pow-prod-down_binary64_1854 prod-exp_binary64_1832 add-cube-cbrt_binary64_1818 cbrt-unprod_binary64_1816 add-sqr-sqrt_binary64_1805
flip3-+_binary64_1786 associate-*r/_binary64_1725 flip-+_binary64_1757 distribute-lft-out_binary64_1734
distribute-rgt-in_binary64_1733 distribute-lft-in_binary64_1732 associate-*l*_binary64_1724 *-commutative_binary64_1714 sum-log_binary64_1874 +-commutative_binary64_1713
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))
Compiler

Compiled 692 to 227 computations (67.2% saved)

series423.0ms (6.1%)

Error
0.0b
Counts
2 → 18
Calls

2 calls:

374.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))
Compiler

Compiled 740 to 530 computations (28.4% saved)

simplify129.0ms (1.9%)

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 0 (114.0ms)

IterNodesCost
04922964
14922964

prune67.0ms (1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New52153
Fresh000
Picked101
Done000
Total53154
Error
0.0b
Counts
54 → 1
Compiler

Compiled 847 to 332 computations (60.8% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite155.0ms (2.2%)

Algorithm
rewrite-expression-head
Error
0b
Rules
26×add-sqr-sqrt_binary64_1805
21×add-cube-cbrt_binary64_1818 *-un-lft-identity_binary64_1783
19×times-frac_binary64_1789
16×add-cbrt-cube_binary64_1819 associate-*l*_binary64_1724
12×add-exp-log_binary64_1821
11×pow1_binary64_1844
add-log-exp_binary64_1822
prod-exp_binary64_1832 cbrt-unprod_binary64_1816
pow-prod-down_binary64_1854 associate-*r*_binary64_1723
associate-/l*_binary64_1728 associate-/r*_binary64_1727
div-exp_binary64_1834 cbrt-undiv_binary64_1817 div-inv_binary64_1780 unswap-sqr_binary64_1751 *-commutative_binary64_1714
frac-2neg_binary64_1794 clear-num_binary64_1782 associate-*l/_binary64_1726 sum-log_binary64_1874 flip3-+_binary64_1786 flip-+_binary64_1757 +-commutative_binary64_1713
Counts
4 → 88
Calls

4 calls:

16.0ms
(+.f64 (*.f64 (/.f64 1/2 (exp.f64 im)) (cos.f64 re)) (*.f64 (exp.f64 im) (*.f64 1/2 (cos.f64 re))))
12.0ms
(*.f64 (exp.f64 im) (*.f64 1/2 (cos.f64 re)))
8.0ms
(*.f64 (/.f64 1/2 (exp.f64 im)) (cos.f64 re))
4.0ms
(/.f64 1/2 (exp.f64 im))
Compiler

Compiled 2033 to 1037 computations (49% saved)

series658.0ms (9.5%)

Error
0.0b
Counts
4 → 42
Calls

4 calls:

275.0ms
(+.f64 (*.f64 (/.f64 1/2 (exp.f64 im)) (cos.f64 re)) (*.f64 (exp.f64 im) (*.f64 1/2 (cos.f64 re))))
179.0ms
(*.f64 (/.f64 1/2 (exp.f64 im)) (cos.f64 re))
126.0ms
(*.f64 (exp.f64 im) (*.f64 1/2 (cos.f64 re)))
37.0ms
(/.f64 1/2 (exp.f64 im))
Compiler

Compiled 2018 to 1331 computations (34% saved)

simplify95.0ms (1.4%)

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 0 (68.0ms)

IterNodesCost
050232120

prune168.0ms (2.4%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1291130
Fresh000
Picked011
Done000
Total1292131
Error
0b
Counts
131 → 2
Compiler

Compiled 2625 to 1311 computations (50.1% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(*.f64 (cbrt.f64 (pow.f64 (/.f64 1/2 (exp.f64 im)) 3)) (cos.f64 re))
0.0b
(/.f64 1/2 (exp.f64 im))
0.0b
(pow.f64 (/.f64 1/2 (exp.f64 im)) 3)
1.0b
(cbrt.f64 (pow.f64 (/.f64 1/2 (exp.f64 im)) 3))

rewrite354.0ms (5.1%)

Algorithm
rewrite-expression-head
Error
0b
Rules
74×add-sqr-sqrt_binary64_1805
70×cbrt-prod_binary64_1814
65×times-frac_binary64_1789
59×add-cube-cbrt_binary64_1818 *-un-lft-identity_binary64_1783
41×unpow-prod-down_binary64_1862 cube-prod_binary64_1811
35×associate-*l*_binary64_1724
10×add-cbrt-cube_binary64_1819
add-exp-log_binary64_1821
pow1_binary64_1844 div-inv_binary64_1780 unswap-sqr_binary64_1751
add-log-exp_binary64_1822 sqr-pow_binary64_1755
cube-div_binary64_1812 unpow3_binary64_1849 cube-mult_binary64_1813 pow-unpow_binary64_1860 associate-/l*_binary64_1728 associate-/r*_binary64_1727 associate-*r*_binary64_1723
cbrt-div_binary64_1815 div-exp_binary64_1834 pow-exp_binary64_1851 rem-cube-cbrt_binary64_1806 cbrt-undiv_binary64_1817
pow1/3_binary64_1865 rem-cbrt-cube_binary64_1807 pow-pow_binary64_1855 pow-to-exp_binary64_1852 frac-2neg_binary64_1794 clear-num_binary64_1782 pow-prod-down_binary64_1854 prod-exp_binary64_1832 cbrt-unprod_binary64_1816 associate-*l/_binary64_1726 *-commutative_binary64_1714
Counts
4 → 172
Calls

4 calls:

31.0ms
(*.f64 (cbrt.f64 (pow.f64 (/.f64 1/2 (exp.f64 im)) 3)) (cos.f64 re))
9.0ms
(pow.f64 (/.f64 1/2 (exp.f64 im)) 3)
7.0ms
(/.f64 1/2 (exp.f64 im))
6.0ms
(cbrt.f64 (pow.f64 (/.f64 1/2 (exp.f64 im)) 3))
Compiler

Compiled 4675 to 2837 computations (39.3% saved)

series346.0ms (5%)

Error
0b
Counts
4 → 30
Calls

4 calls:

168.0ms
(*.f64 (cbrt.f64 (pow.f64 (/.f64 1/2 (exp.f64 im)) 3)) (cos.f64 re))
64.0ms
(pow.f64 (/.f64 1/2 (exp.f64 im)) 3)
46.0ms
(cbrt.f64 (pow.f64 (/.f64 1/2 (exp.f64 im)) 3))
32.0ms
(/.f64 1/2 (exp.f64 im))
Compiler

Compiled 1394 to 965 computations (30.8% saved)

simplify110.0ms (1.6%)

Algorithm
egg-herbie
Counts
202 → 202
Iterations

Useful iterations: 0 (61.0ms)

IterNodesCost
051582717

prune299.0ms (4.3%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New2020202
Fresh000
Picked011
Done011
Total2022204
Error
0b
Counts
204 → 2
Compiler

Compiled 4541 to 2586 computations (43.1% saved)

regimes178.0ms (2.6%)

Accuracy

Total 0.0b remaining (78%)

Threshold costs 0.0b (78%)

Compiler

Compiled 1132 to 923 computations (18.5% saved)

bsearch0.0ms (0%)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01524
11524

end0.0ms (0%)

sample2.9s (42.7%)

Algorithm
intervals
Results
824.0ms2010×body1024valid
523.0ms1859×body1024invalid
291.0ms4495×body128valid
213.0ms1015×body512valid
190.0ms972×body512invalid
63.0ms490×body256invalid
62.0ms476×body256valid
51.0ms710×body128invalid
3.0msbody2048valid
Compiler

Compiled 197 to 158 computations (19.8% saved)

Profiling

Loading profile data...