Details

Time bar (total: 6.5s)

analyze505.0ms (7.8%)

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)

sample28.0ms (0.4%)

Algorithm
intervals
Results
10.0ms62×body1024valid
6.0ms150×body128valid
3.0ms28×body512valid
1.0ms16×body256valid
Compiler

Compiled 31 to 18 computations (41.9% saved)

simplify192.0ms (3%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (102.0ms)

IterNodesCost
0485324
1485324

prune3.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.2b

Counts
2 → 1
Compiler

Compiled 30 to 16 computations (46.7% saved)

localize8.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.1b
(-.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))

rewrite33.0ms (0.5%)

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:

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

series339.0ms (5.2%)

Counts
4 → 12
Calls

4 calls:

201.0ms
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
47.0ms
(-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))
46.0ms
(*.f64 (tan.f64 x) (tan.f64 x))
45.0ms
(*.f64 (tan.f64 x) (tan.f64 x))

simplify83.0ms (1.3%)

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
049562005
149562005

prune168.0ms (2.6%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New11111122
Fresh000
Picked101
Done000
Total11211123

Merged error: 0.0b

Counts
123 → 11
Compiler

Compiled 2657 to 1539 computations (42.1% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite45.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
44×*-un-lft-identity_binary64_760
38×add-sqr-sqrt_binary64_782
28×add-cube-cbrt_binary64_795
26×times-frac_binary64_766
21×associate-*r*_binary64_700
20×add-exp-log_binary64_798
15×pow1_binary64_821
13×add-cbrt-cube_binary64_796
associate-*l*_binary64_701
distribute-lft-out_binary64_711
prod-exp_binary64_809
unswap-sqr_binary64_728 associate-/r/_binary64_706 associate-/r*_binary64_704 add-log-exp_binary64_799 tan-quot_binary64_919 div-exp_binary64_811
associate-*l/_binary64_703 associate-/l*_binary64_705 swap-sqr_binary64_727 frac-times_binary64_770 cbrt-unprod_binary64_793 pow-unpow_binary64_837 unpow-prod-down_binary64_839
cbrt-undiv_binary64_794 flip3-+_binary64_763 div-inv_binary64_757 difference-of-squares_binary64_729 flip-+_binary64_734 associate-*r/_binary64_702 rec-exp_binary64_810 pow-prod-down_binary64_831 1-exp_binary64_804 *-commutative_binary64_691 flip--_binary64_735 flip3--_binary64_764
pow2_binary64_841 frac-2neg_binary64_771 unpow2_binary64_825 pow-sqr_binary64_733 pow-exp_binary64_828 pow-plus_binary64_823 inv-pow_binary64_845 pow-to-exp_binary64_829 sqr-pow_binary64_732 clear-num_binary64_759 pow-prod-up_binary64_830 un-div-inv_binary64_758 pow-pow_binary64_832 pow-flip_binary64_834
Counts
4 → 130
Calls

4 calls:

16.0ms
(*.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (/.f64 1 (+.f64 (pow.f64 (tan.f64 x) 2) 1)))
8.0ms
(/.f64 1 (+.f64 (pow.f64 (tan.f64 x) 2) 1))
5.0ms
(*.f64 (tan.f64 x) (tan.f64 x))
3.0ms
(pow.f64 (tan.f64 x) 2)

series386.0ms (6%)

Counts
4 → 12
Calls

4 calls:

199.0ms
(*.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (/.f64 1 (+.f64 (pow.f64 (tan.f64 x) 2) 1)))
104.0ms
(/.f64 1 (+.f64 (pow.f64 (tan.f64 x) 2) 1))
42.0ms
(*.f64 (tan.f64 x) (tan.f64 x))
41.0ms
(pow.f64 (tan.f64 x) 2)

simplify80.0ms (1.2%)

Algorithm
egg-herbie
Counts
142 → 142
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
057552247

prune172.0ms (2.7%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1420142
Fresh01010
Picked011
Done000
Total14211153

Merged error: 0.0b

Counts
153 → 11
Compiler

Compiled 3175 to 2111 computations (33.5% saved)

localize15.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite36.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
39×add-sqr-sqrt_binary64_782
35×*-un-lft-identity_binary64_760
23×add-cube-cbrt_binary64_795
21×times-frac_binary64_766
15×add-exp-log_binary64_798 add-cbrt-cube_binary64_796
13×pow1_binary64_821
difference-of-squares_binary64_729
associate-/l*_binary64_705
associate-/r*_binary64_704 associate-*r*_binary64_700 associate-*l*_binary64_701 tan-quot_binary64_919
add-log-exp_binary64_799 distribute-lft-out--_binary64_712
cbrt-undiv_binary64_794 associate-*l/_binary64_703 prod-exp_binary64_809 associate-/l/_binary64_707 swap-sqr_binary64_727 cbrt-unprod_binary64_793 div-exp_binary64_811
unswap-sqr_binary64_728 frac-2neg_binary64_771 associate-/r/_binary64_706 div-inv_binary64_757 clear-num_binary64_759 pow-prod-down_binary64_831 *-commutative_binary64_691
pow2_binary64_841 flip3-+_binary64_763 pow-sqr_binary64_733 pow-plus_binary64_823 flip-+_binary64_734 frac-times_binary64_770 div-sub_binary64_765 associate-*r/_binary64_702 pow-prod-up_binary64_830 flip--_binary64_735 flip3--_binary64_764
Counts
4 → 113
Calls

4 calls:

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

series393.0ms (6.1%)

Counts
4 → 12
Calls

4 calls:

226.0ms
(/.f64 (-.f64 1 (/.f64 (*.f64 (tan.f64 x) (sin.f64 x)) (cos.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
85.0ms
(/.f64 (*.f64 (tan.f64 x) (sin.f64 x)) (cos.f64 x))
42.0ms
(*.f64 (tan.f64 x) (tan.f64 x))
41.0ms
(*.f64 (tan.f64 x) (sin.f64 x))

simplify100.0ms (1.5%)

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 0 (71.0ms)

IterNodesCost
049752783
149752783

prune145.0ms (2.2%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1241125
Fresh099
Picked101
Done011
Total12511136

Merged error: 0.0b

Counts
136 → 11
Compiler

Compiled 3330 to 1466 computations (56% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite91.0ms (1.4%)

Algorithm
rewrite-expression-head
Rules
402×times-frac_binary64_766
397×*-un-lft-identity_binary64_760
317×add-sqr-sqrt_binary64_782
168×difference-of-squares_binary64_729
149×add-cube-cbrt_binary64_795
66×associate-/r*_binary64_704
61×distribute-lft-out_binary64_711
48×unpow-prod-down_binary64_839
44×unpow2_binary64_825 sqr-pow_binary64_732
21×distribute-lft-out--_binary64_712
19×add-exp-log_binary64_798
11×associate-/r/_binary64_706 add-cbrt-cube_binary64_796
div-exp_binary64_811
associate-/l*_binary64_705 pow1_binary64_821
div-inv_binary64_757 pow-unpow_binary64_837
flip--_binary64_735 flip3--_binary64_764
cbrt-undiv_binary64_794 add-log-exp_binary64_799
frac-2neg_binary64_771 associate-/l/_binary64_707 pow-exp_binary64_828 pow-to-exp_binary64_829 rec-exp_binary64_810 clear-num_binary64_759 1-exp_binary64_804 pow-pow_binary64_832
flip3-+_binary64_763 inv-pow_binary64_845 flip-+_binary64_734 pow-flip_binary64_834
Counts
4 → 356
Calls

4 calls:

21.0ms
(/.f64 1 (/.f64 (+.f64 (pow.f64 (tan.f64 x) 2) 1) (-.f64 1 (pow.f64 (tan.f64 x) 2))))
15.0ms
(/.f64 (+.f64 (pow.f64 (tan.f64 x) 2) 1) (-.f64 1 (pow.f64 (tan.f64 x) 2)))
3.0ms
(pow.f64 (tan.f64 x) 2)
3.0ms
(pow.f64 (tan.f64 x) 2)

series510.0ms (7.9%)

Counts
4 → 12
Calls

4 calls:

228.0ms
(/.f64 1 (/.f64 (+.f64 (pow.f64 (tan.f64 x) 2) 1) (-.f64 1 (pow.f64 (tan.f64 x) 2))))
194.0ms
(/.f64 (+.f64 (pow.f64 (tan.f64 x) 2) 1) (-.f64 1 (pow.f64 (tan.f64 x) 2)))
50.0ms
(pow.f64 (tan.f64 x) 2)
38.0ms
(pow.f64 (tan.f64 x) 2)

simplify142.0ms (2.2%)

Algorithm
egg-herbie
Counts
368 → 368
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
0536911254

prune626.0ms (9.6%)

Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New3671368
Fresh189
Picked011
Done011
Total36811379

Merged error: 0.0b

Counts
379 → 11
Compiler

Compiled 9182 to 6615 computations (28% saved)

regimes377.0ms (5.8%)

Compiler

Compiled 4270 to 3208 computations (24.9% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01920
11920

end0.0ms (0%)

sample2.0s (30.7%)

Algorithm
intervals
Results
353.0ms2029×body1024valid
188.0ms4457×body128valid
132.0ms1027×body512valid
45.0ms482×body256valid
1.0msbody2048valid
Compiler

Compiled 1085 to 816 computations (24.8% saved)

Profiling

Loading profile data...