Details

Time bar (total: 9.2s)

analyze766.0ms (8.4%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
12.5%87.4%0.1%5
18.7%81.2%0.1%6
21.9%78%0.1%7
23.4%76.5%0.1%8
24.2%75.7%0.1%9
24.6%75.3%0.1%10
24.8%75.1%0.1%11
24.9%75%0.1%12
24.9%75%0.1%13
25%75%0.1%14
Compiler

Compiled 8 to 7 computations (12.5% saved)

sample64.0ms (0.7%)

Algorithm
intervals
Results
27.0ms95×body1024valid
18.0ms44×body2048valid
6.0ms45×body512valid
2.0ms26×body256valid
2.0ms46×body128valid
Compiler

Compiled 15 to 15 computations (0% saved)

simplify99.0ms (1.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (4.0ms)

IterNodesCost
07211
17211

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 35.6b

Counts
2 → 1
Compiler

Compiled 14 to 12 computations (14.3% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

2.3b
(-.f64 (tan.f64 (+.f64 x eps)) (tan.f64 x))
3.4b
(tan.f64 (+.f64 x eps))

rewrite13.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64_1805 *-un-lft-identity_binary64_1783
tan-quot_binary64_1942 add-log-exp_binary64_1822
add-cube-cbrt_binary64_1818 cancel-sign-sub-inv_binary64_1749
add-cbrt-cube_binary64_1819 add-exp-log_binary64_1821 tan-sum_binary64_1918 frac-sub_binary64_1792 pow1_binary64_1844
flip3--_binary64_1787 difference-of-squares_binary64_1752 distribute-lft-out--_binary64_1735 diff-log_binary64_1875 flip--_binary64_1758 sub-neg_binary64_1776
Counts
2 → 27
Calls

2 calls:

8.0ms
(-.f64 (tan.f64 (+.f64 x eps)) (tan.f64 x))
4.0ms
(tan.f64 (+.f64 x eps))

series180.0ms (2%)

Counts
2 → 6
Calls

2 calls:

111.0ms
(-.f64 (tan.f64 (+.f64 x eps)) (tan.f64 x))
69.0ms
(tan.f64 (+.f64 x eps))

simplify92.0ms (1%)

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 0 (81.0ms)

IterNodesCost
04834544
14834544

prune38.0ms (0.4%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New25833
Fresh000
Picked101
Done000
Total26834

Merged error: 17.4b

Counts
34 → 8
Compiler

Compiled 567 to 180 computations (68.3% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (tan.f64 x) (tan.f64 eps))
0.1b
(/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))))
0.2b
(*.f64 (tan.f64 x) (tan.f64 eps))
3.7b
(-.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))) (tan.f64 x))

rewrite42.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
28×*-un-lft-identity_binary64_1783
23×add-sqr-sqrt_binary64_1805
16×add-cube-cbrt_binary64_1818
13×times-frac_binary64_1789
tan-quot_binary64_1942
add-cbrt-cube_binary64_1819 add-exp-log_binary64_1821 add-log-exp_binary64_1822
pow1_binary64_1844
distribute-lft-out_binary64_1734
associate-/l*_binary64_1728
associate-/l/_binary64_1730 cancel-sign-sub-inv_binary64_1749 associate-/r*_binary64_1727 associate-*l*_binary64_1724 associate-*r*_binary64_1723
flip3--_binary64_1787 associate-/r/_binary64_1729 difference-of-squares_binary64_1752 frac-add_binary64_1791 flip-+_binary64_1757 flip3-+_binary64_1786 flip--_binary64_1758
associate-*r/_binary64_1725 +-commutative_binary64_1713 cbrt-unprod_binary64_1816 prod-exp_binary64_1832 div-inv_binary64_1780 distribute-lft-out--_binary64_1735 associate-*l/_binary64_1726 diff-log_binary64_1875 frac-sub_binary64_1792 cbrt-undiv_binary64_1817 *-commutative_binary64_1714 frac-2neg_binary64_1794 sum-log_binary64_1874 div-exp_binary64_1834 frac-times_binary64_1793 clear-num_binary64_1782 pow-prod-down_binary64_1854 unswap-sqr_binary64_1751 sub-neg_binary64_1776
Counts
4 → 88
Calls

4 calls:

13.0ms
(-.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))) (tan.f64 x))
9.0ms
(/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))))
5.0ms
(*.f64 (tan.f64 x) (tan.f64 eps))
4.0ms
(+.f64 (tan.f64 x) (tan.f64 eps))

series1.0s (10.9%)

Counts
4 → 12
Calls

4 calls:

515.0ms
(-.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))) (tan.f64 x))
285.0ms
(/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))))
104.0ms
(+.f64 (tan.f64 x) (tan.f64 eps))
96.0ms
(*.f64 (tan.f64 x) (tan.f64 eps))

simplify83.0ms (0.9%)

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
056192567

prune132.0ms (1.4%)

Pruning

16 alts after pruning (16 fresh and 0 done)

PrunedKeptTotal
New8812100
Fresh347
Picked101
Done000
Total9216108

Merged error: 17.3b

Counts
108 → 16
Compiler

Compiled 2947 to 1001 computations (66% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.1b
(/.f64 1 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))))
0.1b
(*.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (/.f64 1 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))))
0.2b
(*.f64 (tan.f64 x) (tan.f64 eps))
3.7b
(-.f64 (*.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (/.f64 1 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))))) (tan.f64 x))

rewrite51.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt_binary64_1805
26×*-un-lft-identity_binary64_1783
23×add-cube-cbrt_binary64_1818
20×tan-quot_binary64_1942 times-frac_binary64_1789
19×add-exp-log_binary64_1821
18×associate-*r*_binary64_1723
13×add-cbrt-cube_binary64_1819
pow1_binary64_1844
frac-sub_binary64_1792
associate-*l*_binary64_1724 associate-*l/_binary64_1726 frac-times_binary64_1793
add-log-exp_binary64_1822
prod-exp_binary64_1832
associate-/r/_binary64_1729 frac-add_binary64_1791 flip-+_binary64_1757 div-exp_binary64_1834 flip3-+_binary64_1786 unswap-sqr_binary64_1751
flip3--_binary64_1787 associate-*r/_binary64_1725 associate-/l*_binary64_1728 cbrt-unprod_binary64_1816 cancel-sign-sub-inv_binary64_1749 associate-/r*_binary64_1727 flip--_binary64_1758
un-div-inv_binary64_1781 1-exp_binary64_1827 div-inv_binary64_1780 cbrt-undiv_binary64_1817 *-commutative_binary64_1714 pow-prod-down_binary64_1854 rec-exp_binary64_1833
inv-pow_binary64_1868 distribute-lft-out_binary64_1734 pow-flip_binary64_1857 diff-log_binary64_1875 frac-2neg_binary64_1794 clear-num_binary64_1782 sub-neg_binary64_1776
Counts
4 → 121
Calls

4 calls:

15.0ms
(-.f64 (*.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (/.f64 1 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))))) (tan.f64 x))
14.0ms
(*.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (/.f64 1 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))))
5.0ms
(*.f64 (tan.f64 x) (tan.f64 eps))
5.0ms
(/.f64 1 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))))

series1.1s (11.7%)

Counts
4 → 12
Calls

4 calls:

516.0ms
(-.f64 (*.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (/.f64 1 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))))) (tan.f64 x))
279.0ms
(*.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (/.f64 1 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))))
172.0ms
(/.f64 1 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))))
103.0ms
(*.f64 (tan.f64 x) (tan.f64 eps))

simplify91.0ms (1%)

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
049753463
149753463

prune159.0ms (1.7%)

Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New1285133
Fresh51015
Picked101
Done000
Total13415149

Merged error: 17.3b

Counts
149 → 15
Compiler

Compiled 4033 to 1503 computations (62.7% saved)

localize24.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.2b
(/.f64 (*.f64 (cos.f64 x) (-.f64 (/.f64 (+.f64 (*.f64 (sin.f64 x) (cos.f64 eps)) (*.f64 (cos.f64 x) (sin.f64 eps))) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))) (*.f64 (sin.f64 x) (cos.f64 eps)))) (*.f64 (cos.f64 x) (*.f64 (cos.f64 eps) (cos.f64 x))))
0.2b
(*.f64 (tan.f64 x) (tan.f64 eps))
0.2b
(*.f64 (cos.f64 x) (*.f64 (cos.f64 eps) (cos.f64 x)))
3.7b
(-.f64 (/.f64 (+.f64 (*.f64 (sin.f64 x) (cos.f64 eps)) (*.f64 (cos.f64 x) (sin.f64 eps))) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))) (*.f64 (sin.f64 x) (cos.f64 eps)))

rewrite56.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
32×add-cbrt-cube_binary64_1819 add-exp-log_binary64_1821
13×cbrt-unprod_binary64_1816 prod-exp_binary64_1832
11×pow1_binary64_1844
add-sqr-sqrt_binary64_1805
add-cube-cbrt_binary64_1818 *-un-lft-identity_binary64_1783
associate-*r/_binary64_1725 associate-*l*_binary64_1724 cbrt-undiv_binary64_1817 div-exp_binary64_1834 add-log-exp_binary64_1822
tan-quot_binary64_1942 pow-prod-down_binary64_1854 associate-*r*_binary64_1723
associate-/l/_binary64_1730
flip3--_binary64_1787 cos-mult_binary64_1937 sin-cos-mult_binary64_1939 frac-sub_binary64_1792 *-commutative_binary64_1714 flip--_binary64_1758
associate-/r/_binary64_1729 associate-/l*_binary64_1728 div-inv_binary64_1780 cancel-sign-sub-inv_binary64_1749 associate-/r*_binary64_1727 associate-*l/_binary64_1726 diff-log_binary64_1875 times-frac_binary64_1789 frac-2neg_binary64_1794 frac-times_binary64_1793 clear-num_binary64_1782 unswap-sqr_binary64_1751 sub-neg_binary64_1776
Counts
4 → 82
Calls

4 calls:

21.0ms
(/.f64 (*.f64 (cos.f64 x) (-.f64 (/.f64 (+.f64 (*.f64 (sin.f64 x) (cos.f64 eps)) (*.f64 (cos.f64 x) (sin.f64 eps))) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))) (*.f64 (sin.f64 x) (cos.f64 eps)))) (*.f64 (cos.f64 x) (*.f64 (cos.f64 eps) (cos.f64 x))))
13.0ms
(-.f64 (/.f64 (+.f64 (*.f64 (sin.f64 x) (cos.f64 eps)) (*.f64 (cos.f64 x) (sin.f64 eps))) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))) (*.f64 (sin.f64 x) (cos.f64 eps)))
6.0ms
(*.f64 (tan.f64 x) (tan.f64 eps))
6.0ms
(*.f64 (cos.f64 x) (*.f64 (cos.f64 eps) (cos.f64 x)))

series1.3s (13.9%)

Counts
4 → 12
Calls

4 calls:

613.0ms
(/.f64 (*.f64 (cos.f64 x) (-.f64 (/.f64 (+.f64 (*.f64 (sin.f64 x) (cos.f64 eps)) (*.f64 (cos.f64 x) (sin.f64 eps))) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))) (*.f64 (sin.f64 x) (cos.f64 eps)))) (*.f64 (cos.f64 x) (*.f64 (cos.f64 eps) (cos.f64 x))))
504.0ms
(-.f64 (/.f64 (+.f64 (*.f64 (sin.f64 x) (cos.f64 eps)) (*.f64 (cos.f64 x) (sin.f64 eps))) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))) (*.f64 (sin.f64 x) (cos.f64 eps)))
103.0ms
(*.f64 (tan.f64 x) (tan.f64 eps))
53.0ms
(*.f64 (cos.f64 x) (*.f64 (cos.f64 eps) (cos.f64 x)))

simplify74.0ms (0.8%)

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
049743227
149743227

prune126.0ms (1.4%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New89594
Fresh11314
Picked101
Done000
Total1018109

Merged error: 15.1b

Counts
109 → 8
Compiler

Compiled 4056 to 934 computations (77% saved)

regimes365.0ms (4%)

Compiler

Compiled 5248 to 2760 computations (47.4% saved)

bsearch0.0ms (0%)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05979
15979

end0.0ms (0%)

sample3.3s (36.3%)

Algorithm
intervals
Results
803.0ms3448×body1024valid
602.0ms1267×body2048valid
190.0ms1365×body512valid
62.0ms1285×body128valid
60.0ms631×body256valid
3.0msbody4096valid
Compiler

Compiled 1785 to 936 computations (47.6% saved)

Profiling

Loading profile data...