Details

Time bar (total: 17.0s)

analyze172.0ms (1%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
019222
119222
011
111
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)

sample57.0ms (0.3%)

Algorithm
intervals
Results
16.0ms48×body512valid
13.0ms48×body1024valid
10.0ms133×body128valid
4.0ms27×body256valid
Compiler

Compiled 31 to 28 computations (9.7% saved)

simplify25.0ms (0.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (15.0ms)

IterNodesCost
019222
119222

prune5.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 30 to 26 computations (13.3% saved)

localize19.0ms (0.1%)

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.2b
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))

rewrite576.0ms (3.4%)

Algorithm
rewrite-expression-head
Error
12.2b
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×associate-+l+_binary64_1716 difference-of-squares_binary64_1752
12×add-exp-log_binary64_1821
11×add-log-exp_binary64_1822 associate-/r*_binary64_1727
10×div-inv_binary64_1780
add-cbrt-cube_binary64_1819
pow1_binary64_1844 associate-/l*_binary64_1728
div-exp_binary64_1834 associate-/r/_binary64_1729 difference-of-sqr-1_binary64_1753
frac-add_binary64_1791 flip3--_binary64_1787 flip--_binary64_1758
diff-log_binary64_1875 sum-log_binary64_1874 frac-sub_binary64_1792 flip3-+_binary64_1786 flip-+_binary64_1757 sub-neg_binary64_1776 inv-pow_binary64_1868 pow-flip_binary64_1857 1-exp_binary64_1827 rec-exp_binary64_1833 cbrt-undiv_binary64_1817 frac-2neg_binary64_1794 clear-num_binary64_1782
associate-+l-_binary64_1718 +-commutative_binary64_1713
Counts
4 → 161
Calls

4 calls:

72.0ms
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
38.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x))
10.0ms
(/.f64 1 (-.f64 x 1))
9.0ms
(/.f64 1 (+.f64 x 1))
Compiler

Compiled 3810 to 3089 computations (18.9% saved)

series362.0ms (2.1%)

Error
0.2b
Counts
4 → 44
Calls

4 calls:

120.0ms
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
60.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x))
56.0ms
(/.f64 1 (-.f64 x 1))
49.0ms
(/.f64 1 (+.f64 x 1))
Compiler

Compiled 1590 to 1321 computations (16.9% saved)

simplify146.0ms (0.9%)

Algorithm
egg-herbie
Counts
205 → 205
Iterations

Useful iterations: 0 (86.0ms)

IterNodesCost
049303185
149303185

prune713.0ms (4.2%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2023205
Fresh000
Picked101
Done000
Total2033206
Error
0.2b
Counts
206 → 3
Compiler

Compiled 4123 to 3268 computations (20.7% saved)

localize30.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.1b
(+.f64 (/.f64 2 x) (/.f64 1 (+.f64 x 1)))
0.2b
(*.f64 (+.f64 (/.f64 2 x) (/.f64 1 (+.f64 x 1))) (+.f64 (*.f64 (+.f64 (/.f64 -2 x) (/.f64 1 (+.f64 x 1))) (+.f64 x -1)) 1))
5.9b
(+.f64 (*.f64 (+.f64 (/.f64 -2 x) (/.f64 1 (+.f64 x 1))) (+.f64 x -1)) 1)
11.3b
(/.f64 (*.f64 (+.f64 (/.f64 2 x) (/.f64 1 (+.f64 x 1))) (+.f64 (*.f64 (+.f64 (/.f64 -2 x) (/.f64 1 (+.f64 x 1))) (+.f64 x -1)) 1)) (*.f64 (+.f64 x -1) (+.f64 (/.f64 2 x) (/.f64 1 (+.f64 x 1)))))

rewrite873.0ms (5.1%)

Algorithm
rewrite-expression-head
Error
0.2b
Rules
30×*-un-lft-identity_binary64_1783
23×flip3-+_binary64_1786 flip-+_binary64_1757
18×add-exp-log_binary64_1821 add-cbrt-cube_binary64_1819 frac-times_binary64_1793
11×associate-/l/_binary64_1730 associate-/r/_binary64_1729
10×frac-add_binary64_1791 distribute-lft-out_binary64_1734
times-frac_binary64_1789
add-log-exp_binary64_1822 add-sqr-sqrt_binary64_1805 associate-*l/_binary64_1726
associate-*r/_binary64_1725 associate-*l*_binary64_1724
pow1_binary64_1844 add-cube-cbrt_binary64_1818
prod-exp_binary64_1832 cbrt-unprod_binary64_1816
div-exp_binary64_1834 cbrt-undiv_binary64_1817
div-inv_binary64_1780 associate-*r*_binary64_1723
sum-log_binary64_1874 distribute-rgt-in_binary64_1733 associate-+l+_binary64_1716 distribute-lft-in_binary64_1732 +-commutative_binary64_1713
frac-2neg_binary64_1794 clear-num_binary64_1782 associate-/l*_binary64_1728 associate-/r*_binary64_1727 pow-prod-down_binary64_1854 unswap-sqr_binary64_1751 *-commutative_binary64_1714
Counts
4 → 107
Calls

4 calls:

121.0ms
(/.f64 (*.f64 (+.f64 (/.f64 2 x) (/.f64 1 (+.f64 x 1))) (+.f64 (*.f64 (+.f64 (/.f64 -2 x) (/.f64 1 (+.f64 x 1))) (+.f64 x -1)) 1)) (*.f64 (+.f64 x -1) (+.f64 (/.f64 2 x) (/.f64 1 (+.f64 x 1)))))
84.0ms
(*.f64 (+.f64 (/.f64 2 x) (/.f64 1 (+.f64 x 1))) (+.f64 (*.f64 (+.f64 (/.f64 -2 x) (/.f64 1 (+.f64 x 1))) (+.f64 x -1)) 1))
41.0ms
(+.f64 (*.f64 (+.f64 (/.f64 -2 x) (/.f64 1 (+.f64 x 1))) (+.f64 x -1)) 1)
29.0ms
(+.f64 (/.f64 2 x) (/.f64 1 (+.f64 x 1)))
Compiler

Compiled 6737 to 5408 computations (19.7% saved)

series586.0ms (3.5%)

Error
0.0b
Counts
4 → 40
Calls

4 calls:

171.0ms
(*.f64 (+.f64 (/.f64 2 x) (/.f64 1 (+.f64 x 1))) (+.f64 (*.f64 (+.f64 (/.f64 -2 x) (/.f64 1 (+.f64 x 1))) (+.f64 x -1)) 1))
149.0ms
(/.f64 (*.f64 (+.f64 (/.f64 2 x) (/.f64 1 (+.f64 x 1))) (+.f64 (*.f64 (+.f64 (/.f64 -2 x) (/.f64 1 (+.f64 x 1))) (+.f64 x -1)) 1)) (*.f64 (+.f64 x -1) (+.f64 (/.f64 2 x) (/.f64 1 (+.f64 x 1)))))
105.0ms
(+.f64 (*.f64 (+.f64 (/.f64 -2 x) (/.f64 1 (+.f64 x 1))) (+.f64 x -1)) 1)
61.0ms
(+.f64 (/.f64 2 x) (/.f64 1 (+.f64 x 1)))
Compiler

Compiled 2618 to 2179 computations (16.8% saved)

simplify170.0ms (1%)

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 0 (96.0ms)

IterNodesCost
049345193
149345193

prune549.0ms (3.2%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1461147
Fresh022
Picked011
Done000
Total1464150
Error
0.0b
Counts
150 → 4
Compiler

Compiled 6731 to 5313 computations (21.1% saved)

localize35.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.3b
(/.f64 2 (pow.f64 x 3))
0.4b
(/.f64 2 (*.f64 x x))
4.0b
(/.f64 (*.f64 (+.f64 (/.f64 2 x) (/.f64 1 (+.f64 x 1))) (-.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3)))) (*.f64 (+.f64 x -1) (+.f64 (/.f64 2 x) (/.f64 1 (+.f64 x 1)))))
6.0b
(-.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3)))

rewrite1.2s (7.3%)

Algorithm
rewrite-expression-head
Error
0b
Rules
102×times-frac_binary64_1789
83×add-sqr-sqrt_binary64_1805
61×*-un-lft-identity_binary64_1783
57×add-cube-cbrt_binary64_1818
40×cancel-sign-sub-inv_binary64_1749
26×add-exp-log_binary64_1821
23×add-cbrt-cube_binary64_1819 unpow-prod-down_binary64_1862 cube-prod_binary64_1811
15×frac-times_binary64_1793 associate-/l/_binary64_1730
14×associate-/r*_binary64_1727
11×cube-mult_binary64_1813 flip3-+_binary64_1786 flip-+_binary64_1757 associate-/r/_binary64_1729
10×difference-of-squares_binary64_1752 unpow3_binary64_1849
sqr-pow_binary64_1755 div-exp_binary64_1834
cbrt-undiv_binary64_1817 frac-add_binary64_1791 associate-/l*_binary64_1728
add-log-exp_binary64_1822 div-inv_binary64_1780 associate-*r/_binary64_1725
frac-sub_binary64_1792 flip3--_binary64_1787 flip--_binary64_1758 distribute-lft-out--_binary64_1735 prod-exp_binary64_1832 cbrt-unprod_binary64_1816 associate-*l/_binary64_1726
pow1_binary64_1844 distribute-rgt-out--_binary64_1737
frac-2neg_binary64_1794 clear-num_binary64_1782
diff-log_binary64_1875 sub-neg_binary64_1776 pow-to-exp_binary64_1852 pow-exp_binary64_1851
Counts
4 → 204
Calls

4 calls:

126.0ms
(/.f64 (*.f64 (+.f64 (/.f64 2 x) (/.f64 1 (+.f64 x 1))) (-.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3)))) (*.f64 (+.f64 x -1) (+.f64 (/.f64 2 x) (/.f64 1 (+.f64 x 1)))))
42.0ms
(-.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3)))
10.0ms
(/.f64 2 (pow.f64 x 3))
8.0ms
(/.f64 2 (*.f64 x x))
Compiler

Compiled 9855 to 7390 computations (25% saved)

series374.0ms (2.2%)

Error
0.0b
Counts
4 → 15
Calls

4 calls:

125.0ms
(-.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3)))
109.0ms
(/.f64 (*.f64 (+.f64 (/.f64 2 x) (/.f64 1 (+.f64 x 1))) (-.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3)))) (*.f64 (+.f64 x -1) (+.f64 (/.f64 2 x) (/.f64 1 (+.f64 x 1)))))
60.0ms
(/.f64 2 (pow.f64 x 3))
43.0ms
(/.f64 2 (*.f64 x x))
Compiler

Compiled 1200 to 983 computations (18.1% saved)

simplify116.0ms (0.7%)

Algorithm
egg-herbie
Counts
219 → 219
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
051835147

prune890.0ms (5.2%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New2172219
Fresh022
Picked011
Done011
Total2176223
Error
0b
Counts
223 → 6
Compiler

Compiled 9437 to 7022 computations (25.6% saved)

localize47.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.4b
(/.f64 2 (*.f64 x x))
6.0b
(-.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3)))
13.1b
(*.f64 (+.f64 (*.f64 2 (+.f64 x 1)) (*.f64 x 1)) (-.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3))))
13.4b
(*.f64 (+.f64 (/.f64 2 x) (/.f64 1 (+.f64 x 1))) (+.f64 (*.f64 x x) -1))

rewrite1.7s (9.9%)

Algorithm
rewrite-expression-head
Error
0b
Rules
167×times-frac_binary64_1789
140×add-sqr-sqrt_binary64_1805
120×cancel-sign-sub-inv_binary64_1749
104×*-un-lft-identity_binary64_1783
84×add-cube-cbrt_binary64_1818
42×distribute-rgt-in_binary64_1733 distribute-lft-in_binary64_1732
31×unpow-prod-down_binary64_1862 cube-prod_binary64_1811
26×associate-*r*_binary64_1723
20×difference-of-squares_binary64_1752
17×cube-mult_binary64_1813
15×unpow3_binary64_1849
13×add-exp-log_binary64_1821 add-cbrt-cube_binary64_1819 sqr-pow_binary64_1755
12×frac-times_binary64_1793
11×flip3-+_binary64_1786 flip-+_binary64_1757
10×associate-*l*_binary64_1724 distribute-lft-out--_binary64_1735
div-inv_binary64_1780
pow1_binary64_1844 distribute-rgt-out--_binary64_1737
add-log-exp_binary64_1822
associate-*l/_binary64_1726 associate-*r/_binary64_1725 distribute-lft-out_binary64_1734
frac-sub_binary64_1792 flip3--_binary64_1787 flip--_binary64_1758
prod-exp_binary64_1832 cbrt-unprod_binary64_1816 frac-add_binary64_1791 sub-neg_binary64_1776 associate-/l*_binary64_1728
pow-prod-down_binary64_1854 unswap-sqr_binary64_1751 *-commutative_binary64_1714 div-exp_binary64_1834 cbrt-undiv_binary64_1817
difference-of-sqr--1_binary64_1754 diff-log_binary64_1875 frac-2neg_binary64_1794 clear-num_binary64_1782 associate-/r*_binary64_1727
Counts
4 → 258
Calls

4 calls:

74.0ms
(*.f64 (+.f64 (*.f64 2 (+.f64 x 1)) (*.f64 x 1)) (-.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3))))
49.0ms
(-.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3)))
43.0ms
(*.f64 (+.f64 (/.f64 2 x) (/.f64 1 (+.f64 x 1))) (+.f64 (*.f64 x x) -1))
8.0ms
(/.f64 2 (*.f64 x x))
Compiler

Compiled 14103 to 10112 computations (28.3% saved)

series418.0ms (2.5%)

Error
0b
Counts
4 → 23
Calls

4 calls:

112.0ms
(-.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3)))
108.0ms
(*.f64 (+.f64 (*.f64 2 (+.f64 x 1)) (*.f64 x 1)) (-.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3))))
95.0ms
(*.f64 (+.f64 (/.f64 2 x) (/.f64 1 (+.f64 x 1))) (+.f64 (*.f64 x x) -1))
44.0ms
(/.f64 2 (*.f64 x x))
Compiler

Compiled 1970 to 1532 computations (22.2% saved)

simplify230.0ms (1.4%)

Algorithm
egg-herbie
Counts
281 → 281
Iterations

Useful iterations: 0 (106.0ms)

IterNodesCost
049748495
149748495

prune1.5s (9%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New2810281
Fresh033
Picked011
Done022
Total2816287
Error
0b
Counts
287 → 6
Compiler

Compiled 13274 to 9329 computations (29.7% saved)

regimes829.0ms (4.9%)

Accuracy

Total 0.3b remaining (98.7%)

Threshold costs 0.3b (98.7%)

Compiler

Compiled 4943 to 4069 computations (17.7% saved)

bsearch78.0ms (0.5%)

Steps
ItersRangePoint
9
0.20399754887421748
23033.462253650297
604.3633384530846
10
-4161743171.7642694
-0.00883836587369371
-17522.19903136883
Compiler

Compiled 1 to 1 computations (0% saved)

simplify7.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
0129111
1129111

end0.0ms (0%)

sample5.2s (30.8%)

Algorithm
intervals
Results
363.0ms1312×body1024valid
323.0ms4529×body128valid
290.0ms1399×body512valid
106.0ms760×body256valid
Compiler

Compiled 2492 to 2045 computations (17.9% saved)

Profiling

Loading profile data...