Details

Time bar (total: 9.8s)

analyze832.0ms (8.5%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0485324
1485324
011
111
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%50%0%4
50%50%0%5
50%50%0%6
50%50%0%7
50%50%0%8
50%50%0%9
50%50%0%10
50%50%0%11
50%50%0%12
50%50%0%13
50%49.9%0%14
Compiler

Compiled 16 to 9 computations (43.8% saved)

sample55.0ms (0.6%)

Algorithm
intervals
Results
23.0ms75×body1024valid
9.0ms137×body128valid
6.0ms28×body512valid
2.0ms16×body256valid
Compiler

Compiled 31 to 18 computations (41.9% saved)

simplify138.0ms (1.4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (132.0ms)

IterNodesCost
0485324
1485324

prune3.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.3b
Counts
2 → 1
Compiler

Compiled 30 to 16 computations (46.7% saved)

localize12.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite227.0ms (2.3%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
31×add-sqr-sqrt_binary64_782
27×*-un-lft-identity_binary64_760
22×add-cube-cbrt_binary64_795
18×pow1_binary64_821
15×times-frac_binary64_766
10×add-exp-log_binary64_798 add-cbrt-cube_binary64_796 difference-of-squares_binary64_729
tan-quot_binary64_919
add-log-exp_binary64_799 swap-sqr_binary64_727 associate-*l*_binary64_701 associate-*r*_binary64_700
associate-/l*_binary64_705
associate-/r*_binary64_704
pow2_binary64_841 pow-prod-down_binary64_831 pow-prod-up_binary64_830 pow-plus_binary64_823 prod-exp_binary64_809 cbrt-unprod_binary64_793 frac-times_binary64_770 pow-sqr_binary64_733 unswap-sqr_binary64_728 associate-*l/_binary64_703 associate-*r/_binary64_702 *-commutative_binary64_691 flip3--_binary64_764 flip--_binary64_735 associate-/l/_binary64_707 associate-/r/_binary64_706
diff-log_binary64_852 sub-neg_binary64_753 cancel-sign-sub-inv_binary64_726 div-exp_binary64_811 cbrt-undiv_binary64_794 frac-2neg_binary64_771 div-sub_binary64_765 clear-num_binary64_759 div-inv_binary64_757 flip3-+_binary64_763 flip-+_binary64_734
Counts
4 → 110
Calls

4 calls:

7.0ms
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
5.0ms
(*.f64 (tan.f64 x) (tan.f64 x))
5.0ms
(*.f64 (tan.f64 x) (tan.f64 x))
3.0ms
(-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))
Compiler

Compiled 2625 to 1007 computations (61.6% saved)

series462.0ms (4.7%)

Error
0.2b
Counts
4 → 18
Calls

4 calls:

246.0ms
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
71.0ms
(-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))
66.0ms
(*.f64 (tan.f64 x) (tan.f64 x))
59.0ms
(*.f64 (tan.f64 x) (tan.f64 x))
Compiler

Compiled 826 to 606 computations (26.6% saved)

simplify107.0ms (1.1%)

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 0 (84.0ms)

IterNodesCost
049082014
149082014

prune225.0ms (2.3%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New11612128
Fresh000
Picked101
Done000
Total11712129
Error
0.0b
Counts
129 → 12
Compiler

Compiled 2737 to 1580 computations (42.3% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.1b
(-.f64 1 (/.f64 (*.f64 (sin.f64 x) (tan.f64 x)) (cos.f64 x)))
0.2b
(/.f64 (*.f64 (sin.f64 x) (tan.f64 x)) (cos.f64 x))
0.2b
(*.f64 (sin.f64 x) (tan.f64 x))
0.2b
(*.f64 (tan.f64 x) (tan.f64 x))

rewrite156.0ms (1.6%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
21×add-sqr-sqrt_binary64_782
17×*-un-lft-identity_binary64_760
14×add-cube-cbrt_binary64_795
13×pow1_binary64_821 add-exp-log_binary64_798 add-cbrt-cube_binary64_796
cancel-sign-sub-inv_binary64_726
add-log-exp_binary64_799 tan-quot_binary64_919 associate-*l*_binary64_701 associate-*r*_binary64_700 times-frac_binary64_766
prod-exp_binary64_809 cbrt-unprod_binary64_793 swap-sqr_binary64_727 associate-*r/_binary64_702 associate-/r*_binary64_704
pow-prod-down_binary64_831 unswap-sqr_binary64_728 *-commutative_binary64_691 div-exp_binary64_811 cbrt-undiv_binary64_794 div-inv_binary64_757 difference-of-squares_binary64_729
pow2_binary64_841 pow-prod-up_binary64_830 pow-plus_binary64_823 frac-times_binary64_770 pow-sqr_binary64_733 associate-*l/_binary64_703 frac-2neg_binary64_771 clear-num_binary64_759 associate-/l/_binary64_707 associate-/l*_binary64_705 diff-log_binary64_852 flip3--_binary64_764 sub-neg_binary64_753 flip--_binary64_735 distribute-lft-out--_binary64_712
Counts
4 → 90
Calls

4 calls:

12.0ms
(-.f64 1 (/.f64 (*.f64 (sin.f64 x) (tan.f64 x)) (cos.f64 x)))
10.0ms
(/.f64 (*.f64 (sin.f64 x) (tan.f64 x)) (cos.f64 x))
8.0ms
(*.f64 (sin.f64 x) (tan.f64 x))
5.0ms
(*.f64 (tan.f64 x) (tan.f64 x))
Compiler

Compiled 2243 to 719 computations (67.9% saved)

series356.0ms (3.6%)

Error
0.0b
Counts
4 → 17
Calls

4 calls:

114.0ms
(-.f64 1 (/.f64 (*.f64 (sin.f64 x) (tan.f64 x)) (cos.f64 x)))
84.0ms
(/.f64 (*.f64 (sin.f64 x) (tan.f64 x)) (cos.f64 x))
65.0ms
(*.f64 (sin.f64 x) (tan.f64 x))
63.0ms
(*.f64 (tan.f64 x) (tan.f64 x))
Compiler

Compiled 884 to 609 computations (31.1% saved)

simplify84.0ms (0.9%)

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
050041400

prune156.0ms (1.6%)

Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1052107
Fresh11011
Picked011
Done000
Total10613119
Error
0.0b
Counts
119 → 13
Compiler

Compiled 2595 to 1032 computations (60.2% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.2b
(/.f64 (*.f64 (sin.f64 x) (tan.f64 x)) (cos.f64 x))
0.2b
(/.f64 (*.f64 (sin.f64 x) (tan.f64 x)) (cos.f64 x))
0.2b
(*.f64 (sin.f64 x) (tan.f64 x))
0.2b
(*.f64 (sin.f64 x) (tan.f64 x))

rewrite112.0ms (1.1%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
18×add-exp-log_binary64_798 add-cbrt-cube_binary64_796
16×add-sqr-sqrt_binary64_782
12×add-cube-cbrt_binary64_795 *-un-lft-identity_binary64_760
pow1_binary64_821
associate-*l*_binary64_701 associate-*r*_binary64_700 times-frac_binary64_766 associate-/r*_binary64_704
prod-exp_binary64_809 add-log-exp_binary64_799 cbrt-unprod_binary64_793 tan-quot_binary64_919 associate-*r/_binary64_702 div-exp_binary64_811 cbrt-undiv_binary64_794
pow-prod-down_binary64_831 unswap-sqr_binary64_728 *-commutative_binary64_691 frac-2neg_binary64_771 clear-num_binary64_759 div-inv_binary64_757 associate-/l/_binary64_707 associate-/l*_binary64_705
Counts
4 → 82
Calls

4 calls:

6.0ms
(/.f64 (*.f64 (sin.f64 x) (tan.f64 x)) (cos.f64 x))
6.0ms
(/.f64 (*.f64 (sin.f64 x) (tan.f64 x)) (cos.f64 x))
5.0ms
(*.f64 (sin.f64 x) (tan.f64 x))
5.0ms
(*.f64 (sin.f64 x) (tan.f64 x))
Compiler

Compiled 2226 to 576 computations (74.1% saved)

series361.0ms (3.7%)

Error
0.0b
Counts
4 → 16
Calls

4 calls:

106.0ms
(/.f64 (*.f64 (sin.f64 x) (tan.f64 x)) (cos.f64 x))
103.0ms
(/.f64 (*.f64 (sin.f64 x) (tan.f64 x)) (cos.f64 x))
72.0ms
(*.f64 (sin.f64 x) (tan.f64 x))
62.0ms
(*.f64 (sin.f64 x) (tan.f64 x))
Compiler

Compiled 986 to 632 computations (35.9% saved)

simplify86.0ms (0.9%)

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 0 (69.0ms)

IterNodesCost
049441240
149441240

prune115.0ms (1.2%)

Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New98098
Fresh01111
Picked011
Done011
Total9813111
Error
0.0b
Counts
111 → 13
Compiler

Compiled 2686 to 906 computations (66.3% saved)

localize12.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.2b
(pow.f64 (cos.f64 x) 2)
0.2b
(pow.f64 (cos.f64 x) 2)
0.3b
(pow.f64 (sin.f64 x) 2)
0.3b
(pow.f64 (sin.f64 x) 2)

rewrite115.0ms (1.2%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
12×add-cube-cbrt_binary64_795 unpow-prod-down_binary64_839 add-sqr-sqrt_binary64_782 *-un-lft-identity_binary64_760 pow-unpow_binary64_837
pow1_binary64_821 add-exp-log_binary64_798
pow-pow_binary64_832 pow-to-exp_binary64_829 pow-exp_binary64_828 unpow2_binary64_825 add-log-exp_binary64_799 add-cbrt-cube_binary64_796 sqr-pow_binary64_732
Counts
4 → 72
Calls

4 calls:

3.0ms
(pow.f64 (sin.f64 x) 2)
3.0ms
(pow.f64 (sin.f64 x) 2)
2.0ms
(pow.f64 (cos.f64 x) 2)
2.0ms
(pow.f64 (cos.f64 x) 2)
Compiler

Compiled 2016 to 1337 computations (33.7% saved)

series397.0ms (4%)

Error
0.0b
Counts
4 → 16
Calls

4 calls:

252.0ms
(pow.f64 (cos.f64 x) 2)
46.0ms
(pow.f64 (sin.f64 x) 2)
33.0ms
(pow.f64 (sin.f64 x) 2)
32.0ms
(pow.f64 (cos.f64 x) 2)
Compiler

Compiled 1056 to 805 computations (23.8% saved)

simplify74.0ms (0.8%)

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
04947634
14947634

prune128.0ms (1.3%)

Pruning

13 alts after pruning (10 fresh and 3 done)

PrunedKeptTotal
New88088
Fresh01010
Picked011
Done022
Total8813101
Error
0.0b
Counts
101 → 13
Compiler

Compiled 2236 to 1442 computations (35.5% saved)

regimes1.4s (14.1%)

Accuracy

Total 0.3b remaining (89.3%)

Threshold costs 0.3b (89.3%)

Compiler

Compiled 14169 to 8717 computations (38.5% saved)

bsearch0.0ms (0%)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04634
14634

end0.0ms (0%)

sample4.2s (42.8%)

Algorithm
intervals
Results
409.0ms2054×body1024valid
215.0ms4460×body128valid
150.0ms1016×body512valid
55.0ms465×body256valid
2.0msbody2048valid
Compiler

Compiled 2752 to 1718 computations (37.6% saved)

Profiling

Loading profile data...