Details

Time bar (total: 6.3s)

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)

sample102.0ms (1.6%)

Algorithm
intervals
Results
74.0ms131×body2048valid
14.0ms56×body1024valid
5.0ms35×body512valid
2.0ms19×body256valid
1.0ms15×body128valid
Compiler

Compiled 17 to 16 computations (5.9% saved)

simplify240.0ms (3.8%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (75.0ms)

IterNodesCost
0508713

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 30.6b

Counts
2 → 1
Compiler

Compiled 16 to 14 computations (12.5% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

rewrite18.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity_binary64_1799
add-log-exp_binary64_1838
add-sqr-sqrt_binary64_1821 cancel-sign-sub-inv_binary64_1765
add-cube-cbrt_binary64_1834 associate-+l+_binary64_1732 frac-add_binary64_1807
flip--_binary64_1774 flip3--_binary64_1803
pow1_binary64_1860 exp-diff_binary64_1847 sum-log_binary64_1890 sub-neg_binary64_1792 neg-sub0_binary64_1794 diff-log_binary64_1891 add-cbrt-cube_binary64_1835 exp-neg_binary64_1846 add-exp-log_binary64_1837 distribute-lft-out_binary64_1750 distribute-lft-out--_binary64_1751
+-commutative_binary64_1729 difference-of-squares_binary64_1768 flip3-+_binary64_1802 associate-+l-_binary64_1734 flip-+_binary64_1773
Counts
2 → 39
Calls

2 calls:

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

series71.0ms (1.1%)

Counts
2 → 6
Calls

2 calls:

57.0ms
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
14.0ms
(-.f64 (exp.f64 x) 2)

simplify58.0ms (0.9%)

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
04904654
14904654

prune144.0ms (2.3%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New42345
Fresh000
Picked101
Done000
Total43346

Merged error: 0.0b

Counts
46 → 3
Compiler

Compiled 2072 to 1379 computations (33.4% saved)

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

rewrite34.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt_binary64_1821
14×add-exp-log_binary64_1837 associate-*r*_binary64_1739
11×add-log-exp_binary64_1838
10×add-cube-cbrt_binary64_1834 *-un-lft-identity_binary64_1799
unpow-prod-down_binary64_1878 add-cbrt-cube_binary64_1835
prod-exp_binary64_1848 unswap-sqr_binary64_1767 associate-*l*_binary64_1740
pow1_binary64_1860 sum-log_binary64_1890 sqr-pow_binary64_1771
+-commutative_binary64_1729 pow-to-exp_binary64_1868 cbrt-unprod_binary64_1832 pow-exp_binary64_1867 *-commutative_binary64_1730 flip3-+_binary64_1802 flip-+_binary64_1773
associate-+r+_binary64_1731
Counts
4 → 74
Calls

4 calls:

9.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))
6.0ms
(*.f64 1/360 (pow.f64 x 6))
6.0ms
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4)))

series355.0ms (5.7%)

Counts
4 → 12
Calls

4 calls:

181.0ms
(+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4)))
62.0ms
(*.f64 1/360 (pow.f64 x 6))
59.0ms
(+.f64 (*.f64 x x) (+.f64 (*.f64 1/360 (pow.f64 x 6)) (*.f64 1/12 (pow.f64 x 4))))
52.0ms
(*.f64 1/12 (pow.f64 x 4))

simplify74.0ms (1.2%)

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
049791259
149791259

prune116.0ms (1.9%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New85186
Fresh022
Picked011
Done000
Total85489

Merged error: 0b

Counts
89 → 4
Compiler

Compiled 2101 to 1479 computations (29.6% saved)

localize15.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.4b
(*.f64 (cbrt.f64 (+.f64 (*.f64 x x) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/360 (pow.f64 x 6))))) (cbrt.f64 (+.f64 (*.f64 x x) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/360 (pow.f64 x 6))))))
28.8b
(cbrt.f64 (+.f64 (*.f64 x x) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/360 (pow.f64 x 6)))))
28.8b
(cbrt.f64 (+.f64 (*.f64 x x) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/360 (pow.f64 x 6)))))
28.8b
(cbrt.f64 (+.f64 (*.f64 x x) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/360 (pow.f64 x 6)))))

rewrite65.0ms (1%)

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod_binary64_1830
23×add-sqr-sqrt_binary64_1821
18×cbrt-div_binary64_1831
15×add-cube-cbrt_binary64_1834 *-un-lft-identity_binary64_1799
11×pow1_binary64_1860
pow1/3_binary64_1881 flip3-+_binary64_1802 flip-+_binary64_1773
associate-*l*_binary64_1740 add-exp-log_binary64_1837 swap-sqr_binary64_1766 associate-*r*_binary64_1739
add-log-exp_binary64_1838 unswap-sqr_binary64_1767 add-cbrt-cube_binary64_1835 frac-times_binary64_1809
pow-sqr_binary64_1772 associate-*r/_binary64_1741 pow-prod-up_binary64_1869 pow-prod-down_binary64_1870 associate-*l/_binary64_1742
pow2_binary64_1880 prod-exp_binary64_1848 cbrt-unprod_binary64_1832 *-commutative_binary64_1730 pow-plus_binary64_1862
Counts
4 → 87
Calls

4 calls:

21.0ms
(*.f64 (cbrt.f64 (+.f64 (*.f64 x x) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/360 (pow.f64 x 6))))) (cbrt.f64 (+.f64 (*.f64 x x) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/360 (pow.f64 x 6))))))
8.0ms
(cbrt.f64 (+.f64 (*.f64 x x) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/360 (pow.f64 x 6)))))
8.0ms
(cbrt.f64 (+.f64 (*.f64 x x) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/360 (pow.f64 x 6)))))
8.0ms
(cbrt.f64 (+.f64 (*.f64 x x) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/360 (pow.f64 x 6)))))

series571.0ms (9.1%)

Counts
4 → 12
Calls

4 calls:

161.0ms
(*.f64 (cbrt.f64 (+.f64 (*.f64 x x) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/360 (pow.f64 x 6))))) (cbrt.f64 (+.f64 (*.f64 x x) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/360 (pow.f64 x 6))))))
142.0ms
(cbrt.f64 (+.f64 (*.f64 x x) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/360 (pow.f64 x 6)))))
140.0ms
(cbrt.f64 (+.f64 (*.f64 x x) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/360 (pow.f64 x 6)))))
127.0ms
(cbrt.f64 (+.f64 (*.f64 x x) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/360 (pow.f64 x 6)))))

simplify105.0ms (1.7%)

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 0 (64.0ms)

IterNodesCost
049204267
149204267

prune365.0ms (5.8%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New99099
Fresh022
Picked011
Done011
Total994103

Merged error: 0b

Counts
103 → 4
Compiler

Compiled 6275 to 4542 computations (27.6% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(-.f64 (exp.f64 x) 2)
0.0b
(-.f64 (exp.f64 x) 2)
0.1b
(pow.f64 (exp.f64 x) -2)
4.9b
(-.f64 (*.f64 (-.f64 (exp.f64 x) 2) (-.f64 (exp.f64 x) 2)) (pow.f64 (exp.f64 x) -2))

rewrite43.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt_binary64_1821 cancel-sign-sub-inv_binary64_1765
17×*-un-lft-identity_binary64_1799
13×add-cube-cbrt_binary64_1834
10×add-log-exp_binary64_1838
associate--l+_binary64_1736
unpow-prod-down_binary64_1878
pow1_binary64_1860 sub-neg_binary64_1792 difference-of-squares_binary64_1768
distribute-rgt-in_binary64_1749 distribute-lft-in_binary64_1748 add-cbrt-cube_binary64_1835 add-exp-log_binary64_1837 pow-pow_binary64_1871
pow-unpow_binary64_1876 diff-log_binary64_1891 flip--_binary64_1774 flip3--_binary64_1803 sqr-pow_binary64_1771 exp-prod_binary64_1851
distribute-lft-out--_binary64_1751
pow-to-exp_binary64_1868 pow-exp_binary64_1867
Counts
4 → 81
Calls

4 calls:

18.0ms
(-.f64 (*.f64 (-.f64 (exp.f64 x) 2) (-.f64 (exp.f64 x) 2)) (pow.f64 (exp.f64 x) -2))
6.0ms
(pow.f64 (exp.f64 x) -2)
5.0ms
(-.f64 (exp.f64 x) 2)
5.0ms
(-.f64 (exp.f64 x) 2)

series215.0ms (3.4%)

Counts
4 → 12
Calls

4 calls:

134.0ms
(-.f64 (*.f64 (-.f64 (exp.f64 x) 2) (-.f64 (exp.f64 x) 2)) (pow.f64 (exp.f64 x) -2))
49.0ms
(pow.f64 (exp.f64 x) -2)
17.0ms
(-.f64 (exp.f64 x) 2)
13.0ms
(-.f64 (exp.f64 x) 2)

simplify101.0ms (1.6%)

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 0 (84.0ms)

IterNodesCost
048911150
148911150

prune128.0ms (2%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New93093
Fresh011
Picked011
Done022
Total93497

Merged error: 0b

Counts
97 → 4
Compiler

Compiled 2767 to 1564 computations (43.5% saved)

regimes14.0ms (0.2%)

Compiler

Compiled 119 to 85 computations (28.6% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01722
11722

end0.0ms (0%)

sample3.4s (54.3%)

Algorithm
intervals
Results
2.4s4138×body2048valid
493.0ms1926×body1024valid
138.0ms1004×body512valid
47.0ms534×body256valid
18.0ms398×body128valid
0.0msbody128invalid
Compiler

Compiled 149 to 112 computations (24.8% saved)

Profiling

Loading profile data...