Details

Time bar (total: 8.9s)

analyze699.0ms (7.9%)

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)

sample31.0ms (0.3%)

Algorithm
intervals
Results
11.0ms69×body1024valid
6.0ms144×body128valid
3.0ms27×body512valid
1.0ms16×body256valid
Compiler

Compiled 31 to 18 computations (41.9% saved)

simplify109.0ms (1.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (103.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.3b
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 1 (*.f64 (tan.f64 x) (tan.f64 x)))
0.2b
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.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))

rewrite188.0ms (2.1%)

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 associate-/l/_binary64_707 flip--_binary64_735 associate-/r/_binary64_706
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 diff-log_binary64_852 sub-neg_binary64_753 cancel-sign-sub-inv_binary64_726
Counts
4 → 110
Calls

4 calls:

9.0ms
(*.f64 (tan.f64 x) (tan.f64 x))
8.0ms
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
6.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)

series401.0ms (4.5%)

Error
0.2b
Counts
4 → 24
Calls

4 calls:

183.0ms
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
66.0ms
(*.f64 (tan.f64 x) (tan.f64 x))
65.0ms
(-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))
61.0ms
(*.f64 (tan.f64 x) (tan.f64 x))
Compiler

Compiled 1044 to 767 computations (26.5% saved)

simplify82.0ms (0.9%)

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
049362173
149362173

prune194.0ms (2.2%)

Pruning

17 alts after pruning (17 fresh and 0 done)

PrunedKeptTotal
New11717134
Fresh000
Picked101
Done000
Total11817135
Error
0.0b
Counts
135 → 17
Compiler

Compiled 2966 to 1738 computations (41.4% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite163.0ms (1.8%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
30×add-sqr-sqrt_binary64_782
28×*-un-lft-identity_binary64_760
21×associate-*r*_binary64_700
19×add-cube-cbrt_binary64_795
16×add-exp-log_binary64_798
14×pow1_binary64_821 times-frac_binary64_766
11×add-cbrt-cube_binary64_796
associate-*l*_binary64_701
add-log-exp_binary64_799
prod-exp_binary64_809
tan-quot_binary64_919 unswap-sqr_binary64_728 difference-of-squares_binary64_729
unpow-prod-down_binary64_839 pow-unpow_binary64_837 cbrt-unprod_binary64_793 frac-times_binary64_770 swap-sqr_binary64_727 associate-*l/_binary64_703 flip3--_binary64_764 flip--_binary64_735 distribute-lft-out_binary64_711
pow-prod-down_binary64_831 associate-*r/_binary64_702 *-commutative_binary64_691 div-exp_binary64_811 associate-/r/_binary64_706
pow-pow_binary64_832 pow-to-exp_binary64_829 pow-exp_binary64_828 unpow2_binary64_825 sqr-pow_binary64_732 pow2_binary64_841 pow-prod-up_binary64_830 pow-plus_binary64_823 pow-sqr_binary64_733 1-exp_binary64_804 rec-exp_binary64_810 cbrt-undiv_binary64_794 un-div-inv_binary64_758 div-inv_binary64_757 flip3-+_binary64_763 flip-+_binary64_734 diff-log_binary64_852 sub-neg_binary64_753 cancel-sign-sub-inv_binary64_726
Counts
4 → 107
Calls

4 calls:

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

Compiled 2649 to 1560 computations (41.1% saved)

series393.0ms (4.4%)

Error
0.0b
Counts
4 → 24
Calls

4 calls:

183.0ms
(*.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (/.f64 1 (+.f64 1 (pow.f64 (tan.f64 x) 2))))
63.0ms
(*.f64 (tan.f64 x) (tan.f64 x))
62.0ms
(pow.f64 (tan.f64 x) 2)
61.0ms
(-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))
Compiler

Compiled 1100 to 891 computations (19% saved)

simplify76.0ms (0.9%)

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
050691975

prune164.0ms (1.9%)

Pruning

16 alts after pruning (16 fresh and 0 done)

PrunedKeptTotal
New1292131
Fresh21416
Picked101
Done000
Total13216148
Error
0.0b
Counts
148 → 16
Compiler

Compiled 2948 to 2022 computations (31.4% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite256.0ms (2.9%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
89×*-un-lft-identity_binary64_760
66×add-sqr-sqrt_binary64_782
49×times-frac_binary64_766
31×add-cube-cbrt_binary64_795
30×associate-*r*_binary64_700
20×difference-of-squares_binary64_729
14×distribute-lft-out_binary64_711
12×add-exp-log_binary64_798
11×add-cbrt-cube_binary64_796
10×distribute-lft-out--_binary64_712
pow1_binary64_821
add-log-exp_binary64_799 associate-/l*_binary64_705
flip3-+_binary64_763 associate-/r/_binary64_706 flip-+_binary64_734 associate-/r*_binary64_704 associate-*l*_binary64_701
unpow-prod-down_binary64_839 pow-unpow_binary64_837 cancel-sign-sub-inv_binary64_726
flip3--_binary64_764 flip--_binary64_735 div-exp_binary64_811 cbrt-undiv_binary64_794 div-inv_binary64_757 associate-/l/_binary64_707 prod-exp_binary64_809 cbrt-unprod_binary64_793 frac-times_binary64_770 unswap-sqr_binary64_728 associate-*l/_binary64_703
pow-pow_binary64_832 pow-to-exp_binary64_829 pow-exp_binary64_828 unpow2_binary64_825 sqr-pow_binary64_732 diff-log_binary64_852 sub-neg_binary64_753 frac-2neg_binary64_771 div-sub_binary64_765 clear-num_binary64_759 pow-prod-down_binary64_831 associate-*r/_binary64_702 *-commutative_binary64_691
Counts
4 → 140
Calls

4 calls:

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

Compiled 3760 to 2482 computations (34% saved)

series469.0ms (5.3%)

Error
0.0b
Counts
4 → 24
Calls

4 calls:

201.0ms
(*.f64 (+.f64 1 (tan.f64 x)) (/.f64 (-.f64 1 (tan.f64 x)) (+.f64 1 (pow.f64 (tan.f64 x) 2))))
147.0ms
(/.f64 (-.f64 1 (tan.f64 x)) (+.f64 1 (pow.f64 (tan.f64 x) 2)))
62.0ms
(pow.f64 (tan.f64 x) 2)
37.0ms
(-.f64 1 (tan.f64 x))
Compiler

Compiled 1058 to 775 computations (26.7% saved)

simplify116.0ms (1.3%)

Algorithm
egg-herbie
Counts
164 → 164
Iterations

Useful iterations: 0 (79.0ms)

IterNodesCost
049923537
149923537

prune232.0ms (2.6%)

Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1595164
Fresh7815
Picked101
Done000
Total16713180
Error
0.0b
Counts
180 → 13
Compiler

Compiled 4175 to 2737 computations (34.4% saved)

localize15.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.2b
(pow.f64 (tan.f64 x) 2)
0.2b
(*.f64 (tan.f64 x) (tan.f64 x))
0.5b
(pow.f64 (tan.f64 x) 4)
0.6b
(pow.f64 (tan.f64 x) 6)

rewrite138.0ms (1.6%)

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:

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

Compiled 2498 to 1461 computations (41.5% saved)

series348.0ms (3.9%)

Error
0.0b
Counts
4 → 24
Calls

4 calls:

104.0ms
(pow.f64 (tan.f64 x) 6)
86.0ms
(pow.f64 (tan.f64 x) 4)
60.0ms
(*.f64 (tan.f64 x) (tan.f64 x))
59.0ms
(pow.f64 (tan.f64 x) 2)
Compiler

Compiled 1818 to 1305 computations (28.2% saved)

simplify59.0ms (0.7%)

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
05045968

prune153.0ms (1.7%)

Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1031104
Fresh11112
Picked011
Done000
Total10413117
Error
0.0b
Counts
117 → 13
Compiler

Compiled 3073 to 1884 computations (38.7% saved)

regimes1.2s (13.2%)

Accuracy

Total 0.3b remaining (89.9%)

Threshold costs 0.3b (89.9%)

Compiler

Compiled 13099 to 8332 computations (36.4% saved)

bsearch0.0ms (0%)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02922
12922

end0.0ms (0%)

sample3.4s (38.1%)

Algorithm
intervals
Results
345.0ms2009×body1024valid
190.0ms4493×body128valid
125.0ms971×body512valid
45.0ms521×body256valid
1.0msbody2048valid
Compiler

Compiled 3031 to 1965 computations (35.2% saved)

Profiling

Loading profile data...