Details

Time bar (total: 6.0s)

analyze493.0ms (8.2%)

Algorithm
search
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.5%)

Algorithm
intervals
Results
11.0ms68×body1024valid
9.0ms135×body128valid
3.0ms27×body512valid
2.0ms26×body256valid
Compiler

Compiled 31 to 18 computations (41.9% saved)

simplify199.0ms (3.3%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (108.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.1b
(/.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))

rewrite35.0ms (0.6%)

Algorithm
rewrite-expression-head
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 difference-of-squares_binary64_729 add-cbrt-cube_binary64_796
tan-quot_binary64_919
add-log-exp_binary64_799 swap-sqr_binary64_727 associate-*r*_binary64_700 associate-*l*_binary64_701
associate-/l*_binary64_705
associate-/r*_binary64_704
pow2_binary64_841 unswap-sqr_binary64_728 associate-*l/_binary64_703 prod-exp_binary64_809 associate-/r/_binary64_706 associate-/l/_binary64_707 pow-sqr_binary64_733 pow-plus_binary64_823 frac-times_binary64_770 associate-*r/_binary64_702 cbrt-unprod_binary64_793 pow-prod-up_binary64_830 pow-prod-down_binary64_831 *-commutative_binary64_691 flip--_binary64_735 flip3--_binary64_764
diff-log_binary64_852 frac-2neg_binary64_771 cbrt-undiv_binary64_794 flip3-+_binary64_763 cancel-sign-sub-inv_binary64_726 div-inv_binary64_757 flip-+_binary64_734 div-sub_binary64_765 div-exp_binary64_811 clear-num_binary64_759 sub-neg_binary64_753
Counts
4 → 110
Calls

4 calls:

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))
5.0ms
(*.f64 (tan.f64 x) (tan.f64 x))
3.0ms
(-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))

series338.0ms (5.6%)

Counts
4 → 12
Calls

4 calls:

204.0ms
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
48.0ms
(-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))
45.0ms
(*.f64 (tan.f64 x) (tan.f64 x))
42.0ms
(*.f64 (tan.f64 x) (tan.f64 x))

simplify103.0ms (1.7%)

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 0 (69.0ms)

IterNodesCost
049562005
149562005

prune170.0ms (2.8%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New11012122
Fresh000
Picked101
Done000
Total11112123
Error
0.0b
Counts
123 → 12
Compiler

Compiled 2709 to 1578 computations (41.7% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite33.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
23×*-un-lft-identity_binary64_760 add-sqr-sqrt_binary64_782
13×add-cube-cbrt_binary64_795 pow1_binary64_821
cancel-sign-sub-inv_binary64_726 associate-*r*_binary64_700
add-exp-log_binary64_798 add-log-exp_binary64_799 add-cbrt-cube_binary64_796
associate-*l*_binary64_701
frac-times_binary64_770
flip3-+_binary64_763 distribute-lft-in_binary64_709 difference-of-squares_binary64_729 distribute-rgt-in_binary64_710 flip-+_binary64_734 tan-quot_binary64_919 flip--_binary64_735 flip3--_binary64_764
associate-*l/_binary64_703 swap-sqr_binary64_727 associate-*r/_binary64_702 sub-neg_binary64_753
unswap-sqr_binary64_728 distribute-lft-out_binary64_711 prod-exp_binary64_809 distribute-lft-out--_binary64_712 cbrt-unprod_binary64_793 pow-prod-down_binary64_831 *-commutative_binary64_691
pow2_binary64_841 diff-log_binary64_852 pow-sqr_binary64_733 pow-plus_binary64_823 +-commutative_binary64_690 sum-log_binary64_851 pow-prod-up_binary64_830
Counts
4 → 95
Calls

4 calls:

12.0ms
(*.f64 (+.f64 (tan.f64 x) 1) (-.f64 1 (tan.f64 x)))
5.0ms
(*.f64 (tan.f64 x) (tan.f64 x))
4.0ms
(+.f64 (tan.f64 x) 1)
4.0ms
(-.f64 1 (tan.f64 x))

series165.0ms (2.7%)

Counts
4 → 12
Calls

4 calls:

67.0ms
(*.f64 (+.f64 (tan.f64 x) 1) (-.f64 1 (tan.f64 x)))
45.0ms
(*.f64 (tan.f64 x) (tan.f64 x))
26.0ms
(-.f64 1 (tan.f64 x))
26.0ms
(+.f64 (tan.f64 x) 1)

simplify82.0ms (1.4%)

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
052811370

prune124.0ms (2.1%)

Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1052107
Fresh2911
Picked011
Done000
Total10712119
Error
0.0b
Counts
119 → 12
Compiler

Compiled 2582 to 1429 computations (44.7% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite29.0ms (0.5%)

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

4 calls:

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

series236.0ms (3.9%)

Counts
4 → 12
Calls

4 calls:

76.0ms
(/.f64 (*.f64 (tan.f64 x) (sin.f64 x)) (cos.f64 x))
73.0ms
(-.f64 1 (/.f64 (*.f64 (tan.f64 x) (sin.f64 x)) (cos.f64 x)))
44.0ms
(*.f64 (tan.f64 x) (tan.f64 x))
43.0ms
(*.f64 (tan.f64 x) (sin.f64 x))

simplify95.0ms (1.6%)

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 0 (71.0ms)

IterNodesCost
049301378
149301378

prune109.0ms (1.8%)

Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1002102
Fresh1910
Picked101
Done011
Total10212114
Error
0.0b
Counts
114 → 12
Compiler

Compiled 2489 to 1019 computations (59.1% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite71.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
317×*-un-lft-identity_binary64_760
264×times-frac_binary64_766
179×add-sqr-sqrt_binary64_782
104×add-cube-cbrt_binary64_795
69×distribute-lft-out_binary64_711
50×difference-of-squares_binary64_729
36×associate-/r*_binary64_704
25×distribute-lft-out--_binary64_712
13×associate-/r/_binary64_706
12×add-exp-log_binary64_798
11×add-cbrt-cube_binary64_796
associate-/l*_binary64_705
div-inv_binary64_757
add-log-exp_binary64_799 flip--_binary64_735 flip3--_binary64_764
pow1_binary64_821
cbrt-undiv_binary64_794 associate-/l/_binary64_707 div-exp_binary64_811
flip3-+_binary64_763 flip-+_binary64_734 pow-unpow_binary64_837 unpow-prod-down_binary64_839
frac-2neg_binary64_771 clear-num_binary64_759
unpow2_binary64_825 pow-exp_binary64_828 pow-to-exp_binary64_829 +-commutative_binary64_690 sum-log_binary64_851 sqr-pow_binary64_732 pow-pow_binary64_832
Counts
4 → 251
Calls

4 calls:

23.0ms
(/.f64 (+.f64 1 (tan.f64 x)) (/.f64 (+.f64 (pow.f64 (tan.f64 x) 2) 1) (-.f64 1 (tan.f64 x))))
11.0ms
(/.f64 (+.f64 (pow.f64 (tan.f64 x) 2) 1) (-.f64 1 (tan.f64 x)))
3.0ms
(pow.f64 (tan.f64 x) 2)
3.0ms
(+.f64 1 (tan.f64 x))

series419.0ms (6.9%)

Counts
4 → 12
Calls

4 calls:

222.0ms
(/.f64 (+.f64 1 (tan.f64 x)) (/.f64 (+.f64 (pow.f64 (tan.f64 x) 2) 1) (-.f64 1 (tan.f64 x))))
128.0ms
(/.f64 (+.f64 (pow.f64 (tan.f64 x) 2) 1) (-.f64 1 (tan.f64 x)))
41.0ms
(pow.f64 (tan.f64 x) 2)
27.0ms
(+.f64 1 (tan.f64 x))

simplify142.0ms (2.4%)

Algorithm
egg-herbie
Counts
263 → 263
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
049629358
149629358

prune414.0ms (6.9%)

Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New2612263
Fresh1910
Picked011
Done101
Total26312275
Error
0.0b
Counts
275 → 12
Compiler

Compiled 7395 to 4860 computations (34.3% saved)

regimes463.0ms (7.7%)

Accuracy

Total 0.3b remaining (89%)

Threshold costs 0.3b (89%)

Compiler

Compiled 5582 to 4096 computations (26.6% saved)

bsearch0.0ms (0%)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02724
12724

end0.0ms (0%)

sample2.2s (37%)

Algorithm
intervals
Results
332.0ms1946×body1024valid
183.0ms4504×body128valid
124.0ms1025×body512valid
47.0ms520×body256valid
1.0msbody2048valid
Compiler

Compiled 1415 to 1035 computations (26.9% saved)

Profiling

Loading profile data...