Details

Time bar (total: 5.2s)

analyze4.0ms (0.1%)

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

sample93.0ms (1.8%)

Algorithm
intervals
Results
66.0ms127×body2048valid
14.0ms65×body1024valid
4.0ms33×body512valid
1.0ms18×body256valid
0.0ms13×body128valid
Compiler

Compiled 17 to 16 computations (5.9% saved)

simplify180.0ms (3.4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (88.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.9b
Counts
2 → 1
Compiler

Compiled 16 to 14 computations (12.5% saved)

localize10.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

rewrite15.0ms (0.3%)

Algorithm
rewrite-expression-head
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
add-cbrt-cube_binary64_1819 exp-diff_binary64_1831 add-exp-log_binary64_1821 distribute-lft-out_binary64_1734 distribute-lft-out--_binary64_1735 diff-log_binary64_1875 exp-neg_binary64_1830 sum-log_binary64_1874 neg-sub0_binary64_1778 sub-neg_binary64_1776 pow1_binary64_1844
difference-of-squares_binary64_1752 +-commutative_binary64_1713 flip-+_binary64_1757 associate-+l-_binary64_1718 flip3-+_binary64_1786
Counts
2 → 39
Calls

2 calls:

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

series35.0ms (0.7%)

Counts
2 → 6
Calls

2 calls:

27.0ms
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
8.0ms
(-.f64 (exp.f64 x) 2)

simplify52.0ms (1%)

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
04887654
14887654

prune49.0ms (0.9%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New42345
Fresh000
Picked101
Done000
Total43346
Error
0.0b
Counts
46 → 3
Compiler

Compiled 636 to 337 computations (47% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite29.0ms (0.5%)

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

4 calls:

7.0ms
(+.f64 (*.f64 x x) (+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4))))
6.0ms
(*.f64 1/12 (pow.f64 x 4))
5.0ms
(*.f64 1/360 (pow.f64 x 6))
5.0ms
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4)))

series172.0ms (3.3%)

Counts
4 → 12
Calls

4 calls:

81.0ms
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4)))
35.0ms
(*.f64 1/360 (pow.f64 x 6))
30.0ms
(+.f64 (*.f64 x x) (+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4))))
26.0ms
(*.f64 1/12 (pow.f64 x 4))

simplify80.0ms (1.5%)

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
050061259

prune98.0ms (1.9%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New86086
Fresh022
Picked011
Done000
Total86389
Error
0.0b
Counts
89 → 3
Compiler

Compiled 1764 to 1242 computations (29.6% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

0.0b
(-.f64 2 (exp.f64 (neg.f64 x)))
4.9b
(-.f64 (exp.f64 x) (-.f64 2 (exp.f64 (neg.f64 x))))

rewrite16.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity_binary64_1783
11×add-sqr-sqrt_binary64_1805 cancel-sign-sub-inv_binary64_1749
add-log-exp_binary64_1822
add-cube-cbrt_binary64_1818 distribute-lft-out--_binary64_1735
diff-log_binary64_1875 associate--r+_binary64_1719
difference-of-squares_binary64_1752 sub-neg_binary64_1776
flip3--_binary64_1787 add-cbrt-cube_binary64_1819 add-exp-log_binary64_1821 flip--_binary64_1758 pow1_binary64_1844
associate--r-_binary64_1722
Counts
2 → 41
Calls

2 calls:

8.0ms
(-.f64 (exp.f64 x) (-.f64 2 (exp.f64 (neg.f64 x))))
4.0ms
(-.f64 2 (exp.f64 (neg.f64 x)))

series41.0ms (0.8%)

Counts
2 → 6
Calls

2 calls:

31.0ms
(-.f64 (exp.f64 x) (-.f64 2 (exp.f64 (neg.f64 x))))
9.0ms
(-.f64 2 (exp.f64 (neg.f64 x)))

simplify84.0ms (1.6%)

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 0 (69.0ms)

IterNodesCost
04832659
14832659

prune33.0ms (0.6%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New46147
Fresh011
Picked011
Done011
Total46450
Error
0.0b
Counts
50 → 4
Compiler

Compiled 653 to 339 computations (48.1% saved)

localize15.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(pow.f64 (-.f64 (exp.f64 x) 2) 3)
0.1b
(pow.f64 (exp.f64 x) -3)
0.3b
(/.f64 (+.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) (pow.f64 (exp.f64 x) -3)) (+.f64 (pow.f64 (exp.f64 x) -2) (*.f64 (-.f64 (exp.f64 x) 2) (-.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x))))))
4.3b
(+.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) (pow.f64 (exp.f64 x) -3))

rewrite58.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
33×*-un-lft-identity_binary64_1783
23×add-sqr-sqrt_binary64_1805
19×add-cube-cbrt_binary64_1818
12×times-frac_binary64_1789
unpow-prod-down_binary64_1862
add-cbrt-cube_binary64_1819 add-exp-log_binary64_1821
pow-unpow_binary64_1860 add-log-exp_binary64_1822 pow1_binary64_1844
distribute-lft-out_binary64_1734 pow-pow_binary64_1855 cube-prod_binary64_1811
associate-/l*_binary64_1728
flip-+_binary64_1757 associate-/r*_binary64_1727 flip3-+_binary64_1786 exp-prod_binary64_1835
associate-/l/_binary64_1730 associate-/r/_binary64_1729 difference-of-squares_binary64_1752 sqr-pow_binary64_1755 distribute-lft-out--_binary64_1735 cube-div_binary64_1812 pow-to-exp_binary64_1852 pow-exp_binary64_1851
flip3--_binary64_1787 +-commutative_binary64_1713 rem-cube-cbrt_binary64_1806 cube-mult_binary64_1813 unpow3_binary64_1849 div-inv_binary64_1780 cbrt-undiv_binary64_1817 frac-2neg_binary64_1794 sum-log_binary64_1874 div-exp_binary64_1834 clear-num_binary64_1782 flip--_binary64_1758
Counts
4 → 96
Calls

4 calls:

20.0ms
(/.f64 (+.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) (pow.f64 (exp.f64 x) -3)) (+.f64 (pow.f64 (exp.f64 x) -2) (*.f64 (-.f64 (exp.f64 x) 2) (-.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x))))))
17.0ms
(+.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) (pow.f64 (exp.f64 x) -3))
5.0ms
(pow.f64 (-.f64 (exp.f64 x) 2) 3)
3.0ms
(pow.f64 (exp.f64 x) -3)

series704.0ms (13.4%)

Counts
4 → 12
Calls

4 calls:

507.0ms
(/.f64 (+.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) (pow.f64 (exp.f64 x) -3)) (+.f64 (pow.f64 (exp.f64 x) -2) (*.f64 (-.f64 (exp.f64 x) 2) (-.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x))))))
126.0ms
(+.f64 (pow.f64 (-.f64 (exp.f64 x) 2) 3) (pow.f64 (exp.f64 x) -3))
39.0ms
(pow.f64 (exp.f64 x) -3)
32.0ms
(pow.f64 (-.f64 (exp.f64 x) 2) 3)

simplify84.0ms (1.6%)

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
050383530

prune202.0ms (3.8%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1080108
Fresh011
Picked011
Done022
Total1084112
Error
0.0b
Counts
112 → 4
Compiler

Compiled 4355 to 2598 computations (40.3% saved)

regimes45.0ms (0.9%)

Accuracy

Total 0.6b remaining (97%)

Threshold costs 0.6b (97%)

Compiler

Compiled 446 to 338 computations (24.2% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01722
11722

end0.0ms (0%)

sample3.1s (59.6%)

Algorithm
intervals
Results
2.1s4124×body2048valid
454.0ms2027×body1024valid
114.0ms972×body512valid
36.0ms510×body256valid
14.0ms367×body128valid
0.0msbody128invalid
Compiler

Compiled 246 to 190 computations (22.8% saved)

Profiling

Loading profile data...