Details

Time bar (total: 6.3s)

analyze483.0ms (7.7%)

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

Algorithm
intervals
Results
11.0ms69×body1024valid
5.0ms136×body128valid
4.0ms30×body512valid
2.0ms21×body256valid
Compiler

Compiled 31 to 18 computations (41.9% saved)

simplify192.0ms (3.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

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

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

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

series323.0ms (5.2%)

Counts
4 → 12
Calls

4 calls:

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

simplify82.0ms (1.3%)

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
049562005
149562005

prune173.0ms (2.8%)

Pruning

12 alts after pruning (12 fresh and 0 done)

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

Compiled 2679 to 1564 computations (41.6% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite16.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity_binary64_760 add-cube-cbrt_binary64_795 pow-unpow_binary64_837 unpow-prod-down_binary64_839 add-sqr-sqrt_binary64_782
add-exp-log_binary64_798 pow1_binary64_821
unpow2_binary64_825 add-log-exp_binary64_799 pow-exp_binary64_828 add-cbrt-cube_binary64_796 pow-to-exp_binary64_829 sqr-pow_binary64_732 pow-pow_binary64_832
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)

series60.0ms (1%)

Counts
4 → 12
Calls

4 calls:

15.0ms
(pow.f64 (cos.f64 x) 2)
15.0ms
(pow.f64 (sin.f64 x) 2)
15.0ms
(pow.f64 (sin.f64 x) 2)
15.0ms
(pow.f64 (cos.f64 x) 2)

simplify93.0ms (1.5%)

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (79.0ms)

IterNodesCost
04882660
14882660

prune126.0ms (2%)

Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New82284
Fresh11011
Picked011
Done000
Total831396
Error
0.1b
Counts
96 → 13
Compiler

Compiled 2451 to 1620 computations (33.9% saved)

localize9.0ms (0.1%)

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

rewrite69.0ms (1.1%)

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:

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

series403.0ms (6.4%)

Counts
4 → 12
Calls

4 calls:

220.0ms
(/.f64 (+.f64 1 (tan.f64 x)) (/.f64 (+.f64 (pow.f64 (tan.f64 x) 2) 1) (-.f64 1 (tan.f64 x))))
120.0ms
(/.f64 (+.f64 (pow.f64 (tan.f64 x) 2) 1) (-.f64 1 (tan.f64 x)))
38.0ms
(pow.f64 (tan.f64 x) 2)
25.0ms
(+.f64 1 (tan.f64 x))

simplify128.0ms (2%)

Algorithm
egg-herbie
Counts
263 → 263
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
049629358
149629358

prune469.0ms (7.5%)

Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New2603263
Fresh2911
Picked101
Done011
Total26313276
Error
0.1b
Counts
276 → 13
Compiler

Compiled 7652 to 5058 computations (33.9% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite47.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
82×*-un-lft-identity_binary64_760
68×add-sqr-sqrt_binary64_782
55×log-pow_binary64_849
54×exp-prod_binary64_812
48×times-frac_binary64_766
40×difference-of-squares_binary64_729
28×add-cube-cbrt_binary64_795
19×unpow-prod-down_binary64_839
13×unpow2_binary64_825 sqr-pow_binary64_732
12×distribute-lft-out_binary64_711
cancel-sign-sub-inv_binary64_726
pow1_binary64_821
add-exp-log_binary64_798 add-log-exp_binary64_799 pow-unpow_binary64_837
distribute-lft-out--_binary64_712
add-cbrt-cube_binary64_796
log-prod_binary64_846
associate-/r/_binary64_706 pow-exp_binary64_828 pow-to-exp_binary64_829 pow-pow_binary64_832
diff-log_binary64_852 log-div_binary64_847 flip3-+_binary64_763 exp-diff_binary64_808 div-inv_binary64_757 flip-+_binary64_734 div-sub_binary64_765 rem-log-exp_binary64_801 sub-neg_binary64_753 flip--_binary64_735 flip3--_binary64_764
Counts
4 → 131
Calls

4 calls:

20.0ms
(log.f64 (exp.f64 (/.f64 (-.f64 1 (pow.f64 (tan.f64 x) 2)) (+.f64 (pow.f64 (tan.f64 x) 2) 1))))
6.0ms
(-.f64 1 (pow.f64 (tan.f64 x) 2))
5.0ms
(pow.f64 (tan.f64 x) 2)
3.0ms
(pow.f64 (tan.f64 x) 2)

series554.0ms (8.9%)

Counts
4 → 12
Calls

4 calls:

437.0ms
(log.f64 (exp.f64 (/.f64 (-.f64 1 (pow.f64 (tan.f64 x) 2)) (+.f64 (pow.f64 (tan.f64 x) 2) 1))))
43.0ms
(-.f64 1 (pow.f64 (tan.f64 x) 2))
38.0ms
(pow.f64 (tan.f64 x) 2)
37.0ms
(pow.f64 (tan.f64 x) 2)

simplify88.0ms (1.4%)

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 0 (61.0ms)

IterNodesCost
053522120

prune177.0ms (2.8%)

Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1403143
Fresh3811
Picked101
Done011
Total14412156
Error
0.1b
Counts
156 → 12
Compiler

Compiled 3098 to 2209 computations (28.7% saved)

regimes459.0ms (7.3%)

Accuracy

Total 0.3b remaining (89.6%)

Threshold costs 0.3b (89.6%)

Compiler

Compiled 5578 to 4220 computations (24.3% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02724
12724

end0.0ms (0%)

sample2.2s (35.3%)

Algorithm
intervals
Results
339.0ms2026×body1024valid
180.0ms4473×body128valid
121.0ms990×body512valid
45.0ms509×body256valid
0.0msbody2048valid
Compiler

Compiled 1414 to 1066 computations (24.6% saved)

Profiling

Loading profile data...