Details

Time bar (total: 9.9s)

analyze696.0ms (7.1%)

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)

sample32.0ms (0.3%)

Algorithm
intervals
Results
11.0ms63×body1024valid
5.0ms133×body128valid
5.0ms39×body512valid
2.0ms21×body256valid
Compiler

Compiled 31 to 18 computations (41.9% saved)

simplify109.0ms (1.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (104.0ms)

IterNodesCost
0485324
1485324

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 30 to 16 computations (46.7% saved)

localize7.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite188.0ms (1.9%)

Algorithm
rewrite-expression-head
Error
0.1b
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)

series348.0ms (3.5%)

Error
0.4b
Counts
4 → 14
Calls

4 calls:

180.0ms
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
60.0ms
(-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))
53.0ms
(*.f64 (tan.f64 x) (tan.f64 x))
41.0ms
(*.f64 (tan.f64 x) (tan.f64 x))
Compiler

Compiled 662 to 482 computations (27.2% saved)

simplify78.0ms (0.8%)

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
049291953
149291953

prune180.0ms (1.8%)

Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New11113124
Fresh000
Picked101
Done000
Total11213125
Error
0.1b
Counts
125 → 13
Compiler

Compiled 2733 to 1598 computations (41.5% saved)

localize16.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.3b
(pow.f64 (tan.f64 x) 2)
0.3b
(*.f64 (tan.f64 x) (tan.f64 x))
0.5b
(pow.f64 (tan.f64 x) 4)
0.7b
(pow.f64 (tan.f64 x) 6)

rewrite139.0ms (1.4%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
16×add-sqr-sqrt_binary64_782
14×add-cube-cbrt_binary64_795 *-un-lft-identity_binary64_760 pow1_binary64_821
unpow-prod-down_binary64_839 pow-unpow_binary64_837 add-exp-log_binary64_798
add-cbrt-cube_binary64_796
add-log-exp_binary64_799 tan-quot_binary64_919
pow-pow_binary64_832 pow-to-exp_binary64_829 pow-exp_binary64_828 sqr-pow_binary64_732 swap-sqr_binary64_727 associate-*l*_binary64_701 associate-*r*_binary64_700
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 unpow2_binary64_825
Counts
4 → 80
Calls

4 calls:

5.0ms
(*.f64 (tan.f64 x) (tan.f64 x))
3.0ms
(pow.f64 (tan.f64 x) 6)
3.0ms
(pow.f64 (tan.f64 x) 2)
3.0ms
(pow.f64 (tan.f64 x) 4)
Compiler

Compiled 2498 to 1461 computations (41.5% saved)

series282.0ms (2.9%)

Error
0.1b
Counts
4 → 12
Calls

4 calls:

100.0ms
(pow.f64 (tan.f64 x) 6)
69.0ms
(pow.f64 (tan.f64 x) 4)
50.0ms
(pow.f64 (tan.f64 x) 2)
44.0ms
(*.f64 (tan.f64 x) (tan.f64 x))
Compiler

Compiled 1059 to 753 computations (28.9% saved)

simplify51.0ms (0.5%)

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
05154707

prune143.0ms (1.4%)

Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New89392
Fresh11112
Picked011
Done000
Total9015105
Error
0.1b
Counts
105 → 15
Compiler

Compiled 3018 to 1881 computations (37.7% saved)

localize8.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.2b
(/.f64 1 (/.f64 (+.f64 1 (pow.f64 (tan.f64 x) 2)) (-.f64 1 (pow.f64 (tan.f64 x) 2))))
0.2b
(-.f64 1 (pow.f64 (tan.f64 x) 2))
0.3b
(pow.f64 (tan.f64 x) 2)
0.3b
(pow.f64 (tan.f64 x) 2)

rewrite721.0ms (7.3%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
354×times-frac_binary64_766
331×*-un-lft-identity_binary64_760
269×add-sqr-sqrt_binary64_782
136×difference-of-squares_binary64_729
133×add-cube-cbrt_binary64_795
54×associate-/r*_binary64_704
48×distribute-lft-out_binary64_711
43×unpow-prod-down_binary64_839
37×unpow2_binary64_825 sqr-pow_binary64_732
17×add-exp-log_binary64_798 distribute-lft-out--_binary64_712
add-cbrt-cube_binary64_796 associate-/r/_binary64_706
cancel-sign-sub-inv_binary64_726
pow1_binary64_821 div-exp_binary64_811
pow-unpow_binary64_837 add-log-exp_binary64_799
flip3--_binary64_764 flip--_binary64_735 div-inv_binary64_757
cbrt-undiv_binary64_794 associate-/l*_binary64_705
pow-pow_binary64_832 pow-to-exp_binary64_829 pow-exp_binary64_828 1-exp_binary64_804 rec-exp_binary64_810
diff-log_binary64_852 sub-neg_binary64_753 inv-pow_binary64_845 pow-flip_binary64_834 frac-2neg_binary64_771 clear-num_binary64_759
Counts
4 → 304
Calls

4 calls:

24.0ms
(/.f64 1 (/.f64 (+.f64 1 (pow.f64 (tan.f64 x) 2)) (-.f64 1 (pow.f64 (tan.f64 x) 2))))
6.0ms
(-.f64 1 (pow.f64 (tan.f64 x) 2))
3.0ms
(pow.f64 (tan.f64 x) 2)
3.0ms
(pow.f64 (tan.f64 x) 2)
Compiler

Compiled 9297 to 7140 computations (23.2% saved)

series341.0ms (3.5%)

Error
0.1b
Counts
4 → 14
Calls

4 calls:

167.0ms
(/.f64 1 (/.f64 (+.f64 1 (pow.f64 (tan.f64 x) 2)) (-.f64 1 (pow.f64 (tan.f64 x) 2))))
61.0ms
(-.f64 1 (pow.f64 (tan.f64 x) 2))
51.0ms
(pow.f64 (tan.f64 x) 2)
48.0ms
(pow.f64 (tan.f64 x) 2)
Compiler

Compiled 691 to 578 computations (16.4% saved)

simplify149.0ms (1.5%)

Algorithm
egg-herbie
Counts
318 → 318
Iterations

Useful iterations: 0 (68.0ms)

IterNodesCost
051408995

prune565.0ms (5.7%)

Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New3144318
Fresh31013
Picked011
Done101
Total31815333
Error
0.0b
Counts
333 → 15
Compiler

Compiled 8065 to 5820 computations (27.8% saved)

localize12.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.3b
(pow.f64 (tan.f64 x) 2)
0.3b
(pow.f64 (tan.f64 x) 2)
0.4b
(-.f64 1 (sqrt.f64 (pow.f64 (tan.f64 x) 2)))
12.2b
(sqrt.f64 (pow.f64 (tan.f64 x) 2))

rewrite139.0ms (1.4%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
27×add-sqr-sqrt_binary64_782
25×sqrt-prod_binary64_776
21×*-un-lft-identity_binary64_760
15×unpow-prod-down_binary64_839
13×add-cube-cbrt_binary64_795
11×cancel-sign-sub-inv_binary64_726
10×difference-of-squares_binary64_729
unpow2_binary64_825 sqr-pow_binary64_732
pow1_binary64_821 add-log-exp_binary64_799 add-exp-log_binary64_798 pow-unpow_binary64_837
add-cbrt-cube_binary64_796 rem-sqrt-square_binary64_773
distribute-lft-out--_binary64_712 pow-pow_binary64_832 pow-to-exp_binary64_829 pow-exp_binary64_828
pow1/2_binary64_840 sqrt-pow1_binary64_778 diff-log_binary64_852 flip3--_binary64_764 sub-neg_binary64_753 flip--_binary64_735
Counts
4 → 91
Calls

4 calls:

7.0ms
(-.f64 1 (sqrt.f64 (pow.f64 (tan.f64 x) 2)))
3.0ms
(sqrt.f64 (pow.f64 (tan.f64 x) 2))
3.0ms
(pow.f64 (tan.f64 x) 2)
3.0ms
(pow.f64 (tan.f64 x) 2)
Compiler

Compiled 2418 to 1617 computations (33.1% saved)

series173.0ms (1.8%)

Error
0.0b
Counts
4 → 13
Calls

4 calls:

47.0ms
(pow.f64 (tan.f64 x) 2)
42.0ms
(pow.f64 (tan.f64 x) 2)
40.0ms
(-.f64 1 (sqrt.f64 (pow.f64 (tan.f64 x) 2)))
31.0ms
(sqrt.f64 (pow.f64 (tan.f64 x) 2))
Compiler

Compiled 802 to 609 computations (24.1% saved)

simplify76.0ms (0.8%)

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
04964959
14964959

prune116.0ms (1.2%)

Pruning

15 alts after pruning (13 fresh and 2 done)

PrunedKeptTotal
New1040104
Fresh01313
Picked011
Done011
Total10415119
Error
0.0b
Counts
119 → 15
Compiler

Compiled 2320 to 1396 computations (39.8% saved)

regimes1.4s (13.8%)

Accuracy

Total 0.3b remaining (91.1%)

Threshold costs 0.3b (91.1%)

Compiler

Compiled 15625 to 10308 computations (34% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02327
12327

end0.0ms (0%)

sample3.9s (39.9%)

Algorithm
intervals
Results
333.0ms1976×body1024valid
187.0ms4517×body128valid
133.0ms1005×body512valid
43.0ms498×body256valid
1.0msbody2048valid
Compiler

Compiled 3673 to 2463 computations (32.9% saved)

Profiling

Loading profile data...