Details

Time bar (total: 5.9s)

analyze678.0ms (11.6%)

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)

sample28.0ms (0.5%)

Algorithm
intervals
Results
11.0ms68×body1024valid
6.0ms144×body128valid
4.0ms31×body512valid
1.0ms13×body256valid
Compiler

Compiled 31 to 18 computations (41.9% saved)

simplify108.0ms (1.8%)

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.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))

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

8.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)))

series335.0ms (5.7%)

Counts
4 → 12
Calls

4 calls:

200.0ms
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
48.0ms
(*.f64 (tan.f64 x) (tan.f64 x))
44.0ms
(-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))
42.0ms
(*.f64 (tan.f64 x) (tan.f64 x))

simplify79.0ms (1.3%)

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
049562005
149562005

prune171.0ms (2.9%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New11210122
Fresh000
Picked101
Done000
Total11310123
Error
0.0b
Counts
123 → 10
Compiler

Compiled 2637 to 1523 computations (42.2% saved)

localize9.0ms (0.2%)

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)

rewrite42.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)

series387.0ms (6.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)))
101.0ms
(/.f64 1 (+.f64 (pow.f64 (tan.f64 x) 2) 1))
44.0ms
(pow.f64 (tan.f64 x) 2)
42.0ms
(*.f64 (tan.f64 x) (tan.f64 x))

simplify80.0ms (1.4%)

Algorithm
egg-herbie
Counts
142 → 142
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
057552247

prune171.0ms (2.9%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1402142
Fresh279
Picked011
Done000
Total14210152
Error
0.0b
Counts
152 → 10
Compiler

Compiled 3146 to 2092 computations (33.5% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite36.0ms (0.6%)

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:

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

series389.0ms (6.6%)

Counts
4 → 12
Calls

4 calls:

229.0ms
(/.f64 (-.f64 1 (/.f64 (*.f64 (tan.f64 x) (sin.f64 x)) (cos.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
78.0ms
(/.f64 (*.f64 (tan.f64 x) (sin.f64 x)) (cos.f64 x))
41.0ms
(*.f64 (tan.f64 x) (sin.f64 x))
41.0ms
(*.f64 (tan.f64 x) (tan.f64 x))

simplify100.0ms (1.7%)

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 0 (72.0ms)

IterNodesCost
049752783
149752783

prune139.0ms (2.4%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1241125
Fresh088
Picked101
Done011
Total12510135
Error
0.0b
Counts
135 → 10
Compiler

Compiled 3301 to 1448 computations (56.1% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite44.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt_binary64_782
29×*-un-lft-identity_binary64_760
21×add-exp-log_binary64_798 associate-*r*_binary64_700
19×add-cube-cbrt_binary64_795
17×times-frac_binary64_766
16×add-cbrt-cube_binary64_796
associate-*l*_binary64_701 pow1_binary64_821
prod-exp_binary64_809
unswap-sqr_binary64_728 associate-*l/_binary64_703 add-log-exp_binary64_799 cbrt-unprod_binary64_793 div-exp_binary64_811
cbrt-undiv_binary64_794 distribute-lft-out_binary64_711 associate-/r*_binary64_704 pow-unpow_binary64_837 unpow-prod-down_binary64_839
associate-/r/_binary64_706 div-inv_binary64_757 difference-of-squares_binary64_729 frac-times_binary64_770 tan-quot_binary64_919 pow-prod-down_binary64_831 *-commutative_binary64_691 flip--_binary64_735 flip3--_binary64_764
frac-2neg_binary64_771 unpow2_binary64_825 flip3-+_binary64_763 associate-/l/_binary64_707 pow-exp_binary64_828 flip-+_binary64_734 associate-/l*_binary64_705 pow-to-exp_binary64_829 distribute-lft-out--_binary64_712 associate-*r/_binary64_702 sqr-pow_binary64_732 rec-exp_binary64_810 clear-num_binary64_759 un-div-inv_binary64_758 1-exp_binary64_804 pow-pow_binary64_832
Counts
4 → 107
Calls

4 calls:

21.0ms
(*.f64 (-.f64 1 (/.f64 (*.f64 (tan.f64 x) (sin.f64 x)) (cos.f64 x))) (/.f64 1 (+.f64 (pow.f64 (tan.f64 x) 2) 1)))
6.0ms
(/.f64 (*.f64 (tan.f64 x) (sin.f64 x)) (cos.f64 x))
5.0ms
(*.f64 (tan.f64 x) (sin.f64 x))
3.0ms
(pow.f64 (tan.f64 x) 2)

series391.0ms (6.7%)

Counts
4 → 12
Calls

4 calls:

228.0ms
(*.f64 (-.f64 1 (/.f64 (*.f64 (tan.f64 x) (sin.f64 x)) (cos.f64 x))) (/.f64 1 (+.f64 (pow.f64 (tan.f64 x) 2) 1)))
80.0ms
(/.f64 (*.f64 (tan.f64 x) (sin.f64 x)) (cos.f64 x))
45.0ms
(*.f64 (tan.f64 x) (sin.f64 x))
38.0ms
(pow.f64 (tan.f64 x) 2)

simplify66.0ms (1.1%)

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
050182418

prune127.0ms (2.2%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1190119
Fresh088
Picked011
Done011
Total11910129
Error
0.0b
Counts
129 → 10
Compiler

Compiled 2961 to 1528 computations (48.4% saved)

regimes400.0ms (6.8%)

Accuracy

Total 0.3b remaining (86.8%)

Threshold costs 0.3b (86.8%)

Compiler

Compiled 4706 to 3532 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 (34.4%)

Algorithm
intervals
Results
343.0ms2044×body1024valid
188.0ms4407×body128valid
119.0ms987×body512valid
48.0ms555×body256valid
2.0msbody2048valid
Compiler

Compiled 1194 to 897 computations (24.9% saved)

Profiling

Loading profile data...