Details

Time bar (total: 3.0s)

analyze6.0ms (0.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%50%0%4
75%25%0%5
87.5%12.5%0%6
93.7%6.2%0%7
96.8%3.1%0%8
98.4%1.6%0%9
99.2%0.8%0%10
99.6%0.4%0%11
99.8%0.2%0%12
99.9%0.1%0%13
99.9%0.1%0.1%14
Compiler

Compiled 16 to 14 computations (12.5% saved)

sample28.0ms (0.9%)

Algorithm
intervals
Results
9.0ms48×body512valid
6.0ms152×body128valid
6.0ms37×body1024valid
1.0ms19×body256valid
Compiler

Compiled 31 to 28 computations (9.7% saved)

simplify98.0ms (3.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (8.0ms)

IterNodesCost
019222
119222

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112
Error
9.2b
Counts
2 → 1
Compiler

Compiled 30 to 26 computations (13.3% saved)

localize9.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(/.f64 1 (-.f64 x 1))
0.0b
(/.f64 1 (+.f64 x 1))
0.0b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x))
2.7b
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))

rewrite93.0ms (3.1%)

Algorithm
rewrite-expression-head
Rules
112×*-un-lft-identity_binary64_1783
74×times-frac_binary64_1789
72×add-sqr-sqrt_binary64_1805
39×add-cube-cbrt_binary64_1818
26×cancel-sign-sub-inv_binary64_1749
18×distribute-lft-out--_binary64_1735
17×distribute-lft-out_binary64_1734
14×difference-of-squares_binary64_1752 associate-+l+_binary64_1716
12×add-exp-log_binary64_1821
11×associate-/r*_binary64_1727 add-log-exp_binary64_1822
10×div-inv_binary64_1780
add-cbrt-cube_binary64_1819
associate-/l*_binary64_1728 pow1_binary64_1844
associate-/r/_binary64_1729 difference-of-sqr-1_binary64_1753 div-exp_binary64_1834
flip3--_binary64_1787 frac-add_binary64_1791 flip--_binary64_1758
inv-pow_binary64_1868 1-exp_binary64_1827 flip-+_binary64_1757 pow-flip_binary64_1857 diff-log_binary64_1875 frac-sub_binary64_1792 cbrt-undiv_binary64_1817 frac-2neg_binary64_1794 sum-log_binary64_1874 flip3-+_binary64_1786 clear-num_binary64_1782 sub-neg_binary64_1776 rec-exp_binary64_1833
+-commutative_binary64_1713 associate-+l-_binary64_1718
Counts
4 → 161
Calls

4 calls:

47.0ms
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
20.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x))
6.0ms
(/.f64 1 (-.f64 x 1))
6.0ms
(/.f64 1 (+.f64 x 1))

series83.0ms (2.7%)

Counts
4 → 12
Calls

4 calls:

51.0ms
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
13.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x))
10.0ms
(/.f64 1 (-.f64 x 1))
8.0ms
(/.f64 1 (+.f64 x 1))

simplify94.0ms (3.1%)

Algorithm
egg-herbie
Counts
173 → 173
Iterations

Useful iterations: 0 (64.0ms)

IterNodesCost
049632797
149632797

prune223.0ms (7.4%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1694173
Fresh000
Picked101
Done000
Total1704174
Error
0.2b
Counts
174 → 4
Compiler

Compiled 3671 to 2946 computations (19.7% saved)

localize13.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.0b
(*.f64 x (+.f64 1 x))
0.0b
(*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2)))
0.0b
(-.f64 x (*.f64 (+.f64 1 x) 2))
13.8b
(+.f64 (*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2))) (*.f64 x (+.f64 1 x)))

rewrite46.0ms (1.5%)

Algorithm
rewrite-expression-head
Rules
24×associate-*r/_binary64_1725
19×flip3--_binary64_1787 flip--_binary64_1758
16×add-sqr-sqrt_binary64_1805 frac-add_binary64_1791
13×*-un-lft-identity_binary64_1783
12×frac-times_binary64_1793
10×flip-+_binary64_1757 associate-*l*_binary64_1724 flip3-+_binary64_1786
add-cbrt-cube_binary64_1819 add-exp-log_binary64_1821 add-cube-cbrt_binary64_1818 add-log-exp_binary64_1822 pow1_binary64_1844
associate-*r*_binary64_1723
distribute-lft-in_binary64_1732 associate-*l/_binary64_1726 distribute-rgt-in_binary64_1733
cancel-sign-sub-inv_binary64_1749 sub-neg_binary64_1776
associate-+l+_binary64_1716
associate-+r+_binary64_1715 difference-of-squares_binary64_1752 cbrt-unprod_binary64_1816 prod-exp_binary64_1832 *-commutative_binary64_1714 pow-prod-down_binary64_1854 unswap-sqr_binary64_1751
+-commutative_binary64_1713 distribute-lft-out_binary64_1734 difference-of-sqr-1_binary64_1753 distribute-lft-out--_binary64_1735 diff-log_binary64_1875 sum-log_binary64_1874
Counts
4 → 102
Calls

4 calls:

12.0ms
(+.f64 (*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2))) (*.f64 x (+.f64 1 x)))
9.0ms
(*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2)))
6.0ms
(*.f64 x (+.f64 1 x))
3.0ms
(-.f64 x (*.f64 (+.f64 1 x) 2))

series55.0ms (1.8%)

Counts
4 → 12
Calls

4 calls:

25.0ms
(*.f64 x (+.f64 1 x))
12.0ms
(-.f64 x (*.f64 (+.f64 1 x) 2))
12.0ms
(*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2)))
5.0ms
(+.f64 (*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2))) (*.f64 x (+.f64 1 x)))

simplify61.0ms (2%)

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
051233216

prune179.0ms (5.9%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New1131114
Fresh303
Picked101
Done000
Total1171118
Error
0.2b
Counts
118 → 1
Compiler

Compiled 3927 to 2715 computations (30.9% saved)

localize5.0ms (0.2%)

Local error

Found 1 expressions with local error:

0.2b
(/.f64 2 (-.f64 (pow.f64 x 3) x))

rewrite16.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
43×add-sqr-sqrt_binary64_1805
27×*-un-lft-identity_binary64_1783 times-frac_binary64_1789
16×difference-of-squares_binary64_1752
15×add-cube-cbrt_binary64_1818
associate-/r*_binary64_1727
sqr-pow_binary64_1755 unpow3_binary64_1849 unpow-prod-down_binary64_1862 distribute-lft-out--_binary64_1735 distribute-rgt-out--_binary64_1737 cube-prod_binary64_1811
add-cbrt-cube_binary64_1819 associate-/l*_binary64_1728 add-exp-log_binary64_1821
associate-/r/_binary64_1729
flip3--_binary64_1787 div-inv_binary64_1780 cbrt-undiv_binary64_1817 frac-2neg_binary64_1794 div-exp_binary64_1834 clear-num_binary64_1782 flip--_binary64_1758 add-log-exp_binary64_1822 pow1_binary64_1844
Counts
1 → 53
Calls

1 calls:

9.0ms
(/.f64 2 (-.f64 (pow.f64 x 3) x))

series24.0ms (0.8%)

Counts
1 → 3
Calls

1 calls:

24.0ms
(/.f64 2 (-.f64 (pow.f64 x 3) x))

simplify73.0ms (2.4%)

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
049131071
149131071

prune61.0ms (2%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New53356
Fresh000
Picked011
Done000
Total53457
Error
0b
Counts
57 → 4
Compiler

Compiled 900 to 667 computations (25.9% saved)

localize6.0ms (0.2%)

Local error

Found 1 expressions with local error:

0.1b
(/.f64 (/.f64 2 x) (-.f64 (*.f64 x x) 1))

rewrite21.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
141×times-frac_binary64_1789
78×add-sqr-sqrt_binary64_1805 *-un-lft-identity_binary64_1783
64×add-cube-cbrt_binary64_1818
28×difference-of-squares_binary64_1752
14×difference-of-sqr-1_binary64_1753
13×associate-/l*_binary64_1728
div-inv_binary64_1780
add-cbrt-cube_binary64_1819 add-exp-log_binary64_1821 associate-/r*_binary64_1727
cbrt-undiv_binary64_1817 div-exp_binary64_1834
associate-/r/_binary64_1729
flip3--_binary64_1787 associate-/l/_binary64_1730 frac-2neg_binary64_1794 clear-num_binary64_1782 flip--_binary64_1758 add-log-exp_binary64_1822 pow1_binary64_1844
Counts
1 → 114
Calls

1 calls:

10.0ms
(/.f64 (/.f64 2 x) (-.f64 (*.f64 x x) 1))

series30.0ms (1%)

Counts
1 → 3
Calls

1 calls:

30.0ms
(/.f64 (/.f64 2 x) (-.f64 (*.f64 x x) 1))

simplify71.0ms (2.3%)

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
050272916

prune110.0ms (3.6%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1161117
Fresh112
Picked011
Done011
Total1174121
Error
0b
Counts
121 → 4
Compiler

Compiled 2168 to 1441 computations (33.5% saved)

regimes134.0ms (4.4%)

Accuracy

Total 0.1b remaining (95.1%)

Threshold costs 0.1b (95.1%)

Compiler

Compiled 1638 to 1360 computations (17% saved)

bsearch0.0ms (0%)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01813
11813

end0.0ms (0%)

sample1.5s (49%)

Algorithm
intervals
Results
182.0ms1281×body1024valid
172.0ms4475×body128valid
166.0ms1509×body512valid
52.0ms735×body256valid
Compiler

Compiled 837 to 695 computations (17% saved)

Profiling

Loading profile data...