Details

Time bar (total: 8.7s)

analyze701.0ms (8%)

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)

sample30.0ms (0.3%)

Algorithm
intervals
Results
10.0ms62×body1024valid
6.0ms147×body128valid
4.0ms35×body512valid
1.0ms12×body256valid
Compiler

Compiled 31 to 18 computations (41.9% saved)

simplify108.0ms (1.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (103.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)

localize7.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite178.0ms (2%)

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:

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)

series393.0ms (4.5%)

Error
0.3b
Counts
4 → 24
Calls

4 calls:

185.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))
58.0ms
(-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))
55.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 (58.0ms)

IterNodesCost
049362173
149362173

prune198.0ms (2.3%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New12311134
Fresh000
Picked101
Done000
Total12411135
Error
0.0b
Counts
135 → 11
Compiler

Compiled 2880 to 1668 computations (42.1% saved)

localize9.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.3b
(pow.f64 (tan.f64 x) 2)
0.3b
(-.f64 (/.f64 1 (+.f64 1 (pow.f64 (tan.f64 x) 2))) (/.f64 (pow.f64 (tan.f64 x) 2) (+.f64 1 (pow.f64 (tan.f64 x) 2))))

rewrite321.0ms (3.7%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
81×*-un-lft-identity_binary64_760
70×add-sqr-sqrt_binary64_782
68×times-frac_binary64_766
38×cancel-sign-sub-inv_binary64_726
29×add-cube-cbrt_binary64_795
24×unpow-prod-down_binary64_839
15×difference-of-squares_binary64_729
13×distribute-lft-out_binary64_711
10×unpow2_binary64_825 sqr-pow_binary64_732
pow-unpow_binary64_837
distribute-lft-out--_binary64_712
pow1_binary64_821 add-exp-log_binary64_798 div-inv_binary64_757
add-log-exp_binary64_799 associate-/r/_binary64_706 distribute-rgt-out--_binary64_714
add-cbrt-cube_binary64_796
flip3-+_binary64_763 flip-+_binary64_734 pow-pow_binary64_832 pow-to-exp_binary64_829 pow-exp_binary64_828
diff-log_binary64_852 frac-sub_binary64_769 sub-div_binary64_767 flip3--_binary64_764 sub-neg_binary64_753 flip--_binary64_735
Counts
4 → 134
Calls

4 calls:

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

Compiled 4250 to 3040 computations (28.5% saved)

series492.0ms (5.6%)

Error
0.0b
Counts
4 → 24
Calls

4 calls:

287.0ms
(-.f64 (/.f64 1 (+.f64 1 (pow.f64 (tan.f64 x) 2))) (/.f64 (pow.f64 (tan.f64 x) 2) (+.f64 1 (pow.f64 (tan.f64 x) 2))))
61.0ms
(pow.f64 (tan.f64 x) 2)
57.0ms
(pow.f64 (tan.f64 x) 2)
54.0ms
(pow.f64 (tan.f64 x) 2)
Compiler

Compiled 1412 to 1120 computations (20.7% saved)

simplify97.0ms (1.1%)

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 0 (63.0ms)

IterNodesCost
049433538
149433538

prune247.0ms (2.8%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1544158
Fresh4610
Picked101
Done000
Total15910169
Error
0.0b
Counts
169 → 10
Compiler

Compiled 4342 to 3090 computations (28.8% saved)

localize15.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.4b
(pow.f64 (tan.f64 x) 4)
0.6b
(pow.f64 (tan.f64 x) 6)

rewrite143.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:

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

Compiled 2498 to 1461 computations (41.5% saved)

series370.0ms (4.2%)

Error
0.0b
Counts
4 → 22
Calls

4 calls:

120.0ms
(pow.f64 (tan.f64 x) 6)
88.0ms
(pow.f64 (tan.f64 x) 4)
66.0ms
(*.f64 (tan.f64 x) (tan.f64 x))
65.0ms
(pow.f64 (tan.f64 x) 2)
Compiler

Compiled 1732 to 1245 computations (28.1% saved)

simplify58.0ms (0.7%)

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
05252890

prune170.0ms (2%)

Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1002102
Fresh099
Picked011
Done000
Total10012112
Error
0.0b
Counts
112 → 12
Compiler

Compiled 3302 to 2058 computations (37.7% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite110.0ms (1.3%)

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)

series162.0ms (1.8%)

Error
0.0b
Counts
4 → 24
Calls

4 calls:

32.0ms
(pow.f64 (cos.f64 x) 2)
32.0ms
(pow.f64 (sin.f64 x) 2)
32.0ms
(pow.f64 (sin.f64 x) 2)
31.0ms
(pow.f64 (cos.f64 x) 2)
Compiler

Compiled 1488 to 1139 computations (23.5% saved)

simplify73.0ms (0.8%)

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
05000822

prune128.0ms (1.5%)

Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New95196
Fresh1910
Picked011
Done011
Total9612108
Error
0.0b
Counts
108 → 12
Compiler

Compiled 2516 to 1634 computations (35.1% saved)

regimes1.0s (11.5%)

Accuracy

Total 0.3b remaining (89.7%)

Threshold costs 0.3b (89.7%)

Compiler

Compiled 12827 to 8185 computations (36.2% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02922
12922

end0.0ms (0%)

sample3.6s (41.4%)

Algorithm
intervals
Results
350.0ms2023×body1024valid
184.0ms4537×body128valid
118.0ms940×body512valid
45.0ms495×body256valid
1.0msbody2048valid
Compiler

Compiled 2974 to 1933 computations (35% saved)

Profiling

Loading profile data...