Details

Time bar (total: 8.2s)

analyze213.0ms (2.6%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0480913
1480913
011
111
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%25%25%4
50%12.5%37.5%5
50%6.2%43.8%6
50%3.1%46.9%7
50%1.6%48.5%8
50%0.8%49.2%9
50.4%0.4%49.2%10
50.4%0.2%49.4%11
50.4%0.1%49.5%12
50.4%0%49.6%13
50.4%0%49.6%14
Compiler

Compiled 9 to 8 computations (11.1% saved)

sample130.0ms (1.6%)

Algorithm
intervals
Results
92.0ms132×body2048valid
21.0ms71×body1024valid
5.0ms33×body512valid
1.0ms14×body256valid
0.0msbody128valid
Compiler

Compiled 17 to 16 computations (5.9% saved)

simplify99.0ms (1.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (93.0ms)

IterNodesCost
0480913
1480913

prune3.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
30.7b
Counts
2 → 1
Compiler

Compiled 16 to 14 computations (12.5% saved)

localize11.0ms (0.1%)

Local error

Found 2 expressions with local error:

0.0b
(-.f64 (exp.f64 x) 2)
3.5b
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))

rewrite75.0ms (0.9%)

Algorithm
rewrite-expression-head
Error
30.6b
Rules
11×*-un-lft-identity_binary64_1783
add-log-exp_binary64_1822
add-sqr-sqrt_binary64_1805 cancel-sign-sub-inv_binary64_1749
add-cube-cbrt_binary64_1818 frac-add_binary64_1791 associate-+l+_binary64_1716
flip3--_binary64_1787 flip--_binary64_1758
diff-log_binary64_1875 sum-log_binary64_1874 pow1_binary64_1844 add-exp-log_binary64_1821 add-cbrt-cube_binary64_1819 neg-sub0_binary64_1778 exp-diff_binary64_1831 exp-neg_binary64_1830 distribute-lft-out_binary64_1734 distribute-lft-out--_binary64_1735 sub-neg_binary64_1776
flip3-+_binary64_1786 flip-+_binary64_1757 associate-+l-_binary64_1718 +-commutative_binary64_1713 difference-of-squares_binary64_1752
Counts
2 → 39
Calls

2 calls:

10.0ms
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
4.0ms
(-.f64 (exp.f64 x) 2)
Compiler

Compiled 663 to 349 computations (47.4% saved)

series89.0ms (1.1%)

Error
0.0b
Counts
2 → 12
Calls

2 calls:

37.0ms
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
28.0ms
(-.f64 (exp.f64 x) 2)
Compiler

Compiled 283 to 221 computations (21.9% saved)

simplify103.0ms (1.3%)

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 0 (79.0ms)

IterNodesCost
04844726
14844726

prune45.0ms (0.6%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New50151
Fresh000
Picked011
Done000
Total50252
Error
0.0b
Counts
52 → 2
Compiler

Compiled 666 to 336 computations (49.5% saved)

localize31.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (*.f64 x x) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/360 (pow.f64 x 6))))
0.0b
(*.f64 1/20160 (pow.f64 x 8))
0.1b
(*.f64 1/360 (pow.f64 x 6))
0.1b
(*.f64 1/12 (pow.f64 x 4))

rewrite219.0ms (2.7%)

Algorithm
rewrite-expression-head
Error
0b
Rules
28×add-sqr-sqrt_binary64_1805
21×associate-*r*_binary64_1723
19×add-exp-log_binary64_1821
13×add-cube-cbrt_binary64_1818 *-un-lft-identity_binary64_1783
12×unpow-prod-down_binary64_1862
10×add-cbrt-cube_binary64_1819
prod-exp_binary64_1832 add-log-exp_binary64_1822 unswap-sqr_binary64_1751 associate-*l*_binary64_1724
sqr-pow_binary64_1755
pow1_binary64_1844
pow-to-exp_binary64_1852 pow-exp_binary64_1851 cbrt-unprod_binary64_1816 *-commutative_binary64_1714 sum-log_binary64_1874
flip3-+_binary64_1786 flip-+_binary64_1757 associate-+r+_binary64_1715 +-commutative_binary64_1713
Counts
4 → 88
Calls

4 calls:

11.0ms
(*.f64 1/12 (pow.f64 x 4))
10.0ms
(*.f64 1/360 (pow.f64 x 6))
8.0ms
(+.f64 (*.f64 x x) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/360 (pow.f64 x 6))))
6.0ms
(*.f64 1/20160 (pow.f64 x 8))
Compiler

Compiled 2504 to 1849 computations (26.2% saved)

series391.0ms (4.8%)

Error
0.0b
Counts
4 → 18
Calls

4 calls:

218.0ms
(+.f64 (*.f64 x x) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/360 (pow.f64 x 6))))
53.0ms
(*.f64 1/20160 (pow.f64 x 8))
52.0ms
(*.f64 1/360 (pow.f64 x 6))
41.0ms
(*.f64 1/12 (pow.f64 x 4))
Compiler

Compiled 916 to 738 computations (19.4% saved)

simplify93.0ms (1.1%)

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
049141288
149141288

prune162.0ms (2%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1042106
Fresh000
Picked011
Done011
Total1044108
Error
0b
Counts
108 → 4
Compiler

Compiled 2685 to 1974 computations (26.5% saved)

localize17.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.1b
(*.f64 1/360 (pow.f64 x 6))
0.1b
(*.f64 1/12 (pow.f64 x 4))
3.1b
(exp.f64 (log.f64 (+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x)))))
29.2b
(log.f64 (+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x))))

rewrite206.0ms (2.5%)

Algorithm
rewrite-expression-head
Error
0b
Rules
23×add-sqr-sqrt_binary64_1805
15×add-exp-log_binary64_1821
14×associate-*r*_binary64_1723
13×add-cube-cbrt_binary64_1818 *-un-lft-identity_binary64_1783
add-cbrt-cube_binary64_1819 unpow-prod-down_binary64_1862
pow1_binary64_1844 log-prod_binary64_1869 prod-exp_binary64_1832 unswap-sqr_binary64_1751 associate-*l*_binary64_1724
log-div_binary64_1870 add-log-exp_binary64_1822 exp-prod_binary64_1835 sqr-pow_binary64_1755
exp-sum_binary64_1829
log-pow_binary64_1872 flip3-+_binary64_1786 flip-+_binary64_1757 exp-diff_binary64_1831 pow-to-exp_binary64_1852 pow-exp_binary64_1851 cbrt-unprod_binary64_1816 *-commutative_binary64_1714
rem-log-exp_binary64_1824 rem-exp-log_binary64_1823
Counts
4 → 81
Calls

4 calls:

10.0ms
(exp.f64 (log.f64 (+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x)))))
8.0ms
(log.f64 (+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x))))
6.0ms
(*.f64 1/12 (pow.f64 x 4))
6.0ms
(*.f64 1/360 (pow.f64 x 6))
Compiler

Compiled 2733 to 2054 computations (24.8% saved)

series608.0ms (7.5%)

Error
0b
Counts
4 → 21
Calls

4 calls:

423.0ms
(exp.f64 (log.f64 (+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x)))))
70.0ms
(log.f64 (+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x))))
46.0ms
(*.f64 1/360 (pow.f64 x 6))
43.0ms
(*.f64 1/12 (pow.f64 x 4))
Compiler

Compiled 1293 to 1104 computations (14.6% saved)

simplify86.0ms (1.1%)

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
056091823

prune175.0ms (2.2%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1020102
Fresh011
Picked011
Done022
Total1024106
Error
0b
Counts
106 → 4
Compiler

Compiled 2896 to 2159 computations (25.4% saved)

localize20.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.1b
(*.f64 1/360 (pow.f64 x 6))
0.1b
(*.f64 1/12 (pow.f64 x 4))
0.1b
(pow.f64 (+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x))) 3)
21.6b
(cbrt.f64 (pow.f64 (+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x))) 3))

rewrite310.0ms (3.8%)

Algorithm
rewrite-expression-head
Error
0b
Rules
26×add-sqr-sqrt_binary64_1805
16×add-cube-cbrt_binary64_1818 *-un-lft-identity_binary64_1783
15×add-exp-log_binary64_1821
14×unpow-prod-down_binary64_1862 associate-*r*_binary64_1723
12×cbrt-prod_binary64_1814
add-cbrt-cube_binary64_1819
cube-prod_binary64_1811 sqr-pow_binary64_1755 prod-exp_binary64_1832 unswap-sqr_binary64_1751 associate-*l*_binary64_1724
pow1_binary64_1844
add-log-exp_binary64_1822 cube-div_binary64_1812
pow-unpow_binary64_1860 pow-to-exp_binary64_1852 pow-exp_binary64_1851
flip3-+_binary64_1786 cbrt-div_binary64_1815 flip-+_binary64_1757 unpow3_binary64_1849 cube-mult_binary64_1813 cbrt-unprod_binary64_1816 *-commutative_binary64_1714
pow1/3_binary64_1865 rem-cbrt-cube_binary64_1807 pow-pow_binary64_1855 rem-cube-cbrt_binary64_1806
Counts
4 → 98
Calls

4 calls:

18.0ms
(pow.f64 (+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x))) 3)
16.0ms
(cbrt.f64 (pow.f64 (+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x))) 3))
11.0ms
(*.f64 1/12 (pow.f64 x 4))
10.0ms
(*.f64 1/360 (pow.f64 x 6))
Compiler

Compiled 3585 to 2714 computations (24.3% saved)

series323.0ms (4%)

Error
0b
Counts
4 → 21
Calls

4 calls:

178.0ms
(cbrt.f64 (pow.f64 (+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x))) 3))
46.0ms
(*.f64 1/360 (pow.f64 x 6))
40.0ms
(pow.f64 (+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x))) 3)
36.0ms
(*.f64 1/12 (pow.f64 x 4))
Compiler

Compiled 1017 to 847 computations (16.7% saved)

simplify108.0ms (1.3%)

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 0 (67.0ms)

IterNodesCost
051012391

prune238.0ms (2.9%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1190119
Fresh000
Picked011
Done033
Total1194123
Error
0b
Counts
123 → 4
Compiler

Compiled 3488 to 2622 computations (24.8% saved)

regimes97.0ms (1.2%)

Accuracy

Total 0.6b remaining (98.3%)

Threshold costs 0.6b (98.3%)

Compiler

Compiled 971 to 728 computations (25% saved)

bsearch0.0ms (0%)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02431
12431

end0.0ms (0%)

sample4.3s (52.7%)

Algorithm
intervals
Results
2.6s4177×body2048valid
554.0ms1994×body1024valid
144.0ms968×body512valid
42.0ms496×body256valid
16.0ms365×body128valid
Compiler

Compiled 484 to 367 computations (24.2% saved)

Profiling

Loading profile data...