Details

Time bar (total: 7.8s)

analyze707.0ms (9.1%)

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)

sample37.0ms (0.5%)

Algorithm
intervals
Results
15.0ms65×body1024valid
6.0ms137×body128valid
5.0ms33×body512valid
2.0ms21×body256valid
Compiler

Compiled 31 to 18 computations (41.9% saved)

simplify309.0ms (4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (138.0ms)

IterNodesCost
0571724

prune4.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.4b

Counts
2 → 1
Compiler

Compiled 30 to 16 computations (46.7% saved)

localize9.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.3b
(*.f64 (tan.f64 x) (tan.f64 x))
0.3b
(*.f64 (tan.f64 x) (tan.f64 x))

rewrite34.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt_binary64
27×*-un-lft-identity_binary64
22×add-cube-cbrt_binary64
18×pow1_binary64
15×times-frac_binary64
10×add-exp-log_binary64 add-cbrt-cube_binary64 difference-of-squares_binary64
tan-quot_binary64
add-log-exp_binary64 swap-sqr_binary64 associate-*r*_binary64 associate-*l*_binary64
associate-/l*_binary64
associate-/r*_binary64
pow-prod-down_binary64 associate-/l/_binary64 flip3--_binary64 cbrt-unprod_binary64 pow-prod-up_binary64 associate-*r/_binary64 associate-/r/_binary64 pow-plus_binary64 unswap-sqr_binary64 prod-exp_binary64 pow-sqr_binary64 flip--_binary64 frac-times_binary64 pow2_binary64 associate-*l/_binary64 *-commutative_binary64
flip3-+_binary64 sub-neg_binary64 diff-log_binary64 cbrt-undiv_binary64 div-sub_binary64 clear-num_binary64 frac-2neg_binary64 div-inv_binary64 div-exp_binary64 flip-+_binary64
Counts
4 → 109
Calls

4 calls:

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

series639.0ms (8.2%)

Counts
4 → 12
Calls

4 calls:

361.0ms
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
99.0ms
(-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))
92.0ms
(*.f64 (tan.f64 x) (tan.f64 x))
86.0ms
(*.f64 (tan.f64 x) (tan.f64 x))

simplify77.0ms (1%)

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
057151997

prune179.0ms (2.3%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New10912121
Fresh000
Picked101
Done000
Total11012122

Merged error: 0.1b

Counts
122 → 12
Compiler

Compiled 2660 to 1553 computations (41.6% saved)

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

rewrite74.0ms (1%)

Algorithm
rewrite-expression-head
Rules
317×*-un-lft-identity_binary64
264×times-frac_binary64
179×add-sqr-sqrt_binary64
104×add-cube-cbrt_binary64
69×distribute-lft-out_binary64
50×difference-of-squares_binary64
36×associate-/r*_binary64
25×distribute-lft-out--_binary64
13×associate-/r/_binary64
12×add-exp-log_binary64
11×add-cbrt-cube_binary64
associate-/l*_binary64
div-inv_binary64
add-log-exp_binary64 flip3--_binary64 flip--_binary64
pow1_binary64
associate-/l/_binary64 cbrt-undiv_binary64 div-exp_binary64
flip3-+_binary64 pow-unpow_binary64 unpow-prod-down_binary64 flip-+_binary64
clear-num_binary64 frac-2neg_binary64
pow-to-exp_binary64 unpow2_binary64 pow-pow_binary64 sqr-pow_binary64 +-commutative_binary64 pow-exp_binary64 sum-log_binary64
Counts
4 → 251
Calls

4 calls:

20.0ms
(/.f64 (+.f64 1 (tan.f64 x)) (/.f64 (+.f64 (pow.f64 (tan.f64 x) 2) 1) (-.f64 1 (tan.f64 x))))
13.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))

series759.0ms (9.7%)

Counts
4 → 12
Calls

4 calls:

410.0ms
(/.f64 (+.f64 1 (tan.f64 x)) (/.f64 (+.f64 (pow.f64 (tan.f64 x) 2) 1) (-.f64 1 (tan.f64 x))))
220.0ms
(/.f64 (+.f64 (pow.f64 (tan.f64 x) 2) 1) (-.f64 1 (tan.f64 x)))
76.0ms
(pow.f64 (tan.f64 x) 2)
52.0ms
(+.f64 1 (tan.f64 x))

simplify126.0ms (1.6%)

Algorithm
egg-herbie
Counts
263 → 263
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
049689358
149689358

prune485.0ms (6.2%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New2594263
Fresh3811
Picked101
Done000
Total26312275

Merged error: 0.0b

Counts
275 → 12
Compiler

Compiled 7679 to 5074 computations (33.9% saved)

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

rewrite40.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
39×add-sqr-sqrt_binary64
35×*-un-lft-identity_binary64
23×add-cube-cbrt_binary64
21×times-frac_binary64
15×add-exp-log_binary64 add-cbrt-cube_binary64
13×pow1_binary64
difference-of-squares_binary64
associate-/l*_binary64
associate-/r*_binary64 associate-*r*_binary64 associate-*l*_binary64 tan-quot_binary64
add-log-exp_binary64 distribute-lft-out--_binary64
associate-/l/_binary64 swap-sqr_binary64 cbrt-unprod_binary64 cbrt-undiv_binary64 prod-exp_binary64 div-exp_binary64 associate-*l/_binary64
pow-prod-down_binary64 associate-/r/_binary64 unswap-sqr_binary64 clear-num_binary64 frac-2neg_binary64 div-inv_binary64 *-commutative_binary64
flip3-+_binary64 flip3--_binary64 pow-prod-up_binary64 associate-*r/_binary64 pow-plus_binary64 div-sub_binary64 pow-sqr_binary64 flip--_binary64 flip-+_binary64 frac-times_binary64 pow2_binary64
Counts
4 → 113
Calls

4 calls:

11.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))
6.0ms
(*.f64 (tan.f64 x) (tan.f64 x))
5.0ms
(*.f64 (tan.f64 x) (sin.f64 x))

series706.0ms (9.1%)

Counts
4 → 12
Calls

4 calls:

403.0ms
(/.f64 (-.f64 1 (/.f64 (*.f64 (tan.f64 x) (sin.f64 x)) (cos.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
132.0ms
(/.f64 (*.f64 (tan.f64 x) (sin.f64 x)) (cos.f64 x))
86.0ms
(*.f64 (tan.f64 x) (tan.f64 x))
84.0ms
(*.f64 (tan.f64 x) (sin.f64 x))

simplify84.0ms (1.1%)

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
049532925
149532925

prune148.0ms (1.9%)

Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1223125
Fresh2911
Picked011
Done000
Total12413137

Merged error: 0.0b

Counts
137 → 13
Compiler

Compiled 3475 to 1377 computations (60.4% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite23.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity_binary64
add-log-exp_binary64 add-cube-cbrt_binary64 add-sqr-sqrt_binary64
exp-prod_binary64
pow1_binary64
log-pow_binary64 add-exp-log_binary64
log-prod_binary64 add-cbrt-cube_binary64
pow-unpow_binary64 distribute-lft-out_binary64 unpow-prod-down_binary64
rem-exp-log_binary64 exp-sum_binary64 sum-log_binary64
pow-to-exp_binary64 flip3-+_binary64 unpow2_binary64 rem-log-exp_binary64 pow-pow_binary64 sqr-pow_binary64 +-commutative_binary64 flip-+_binary64 pow-exp_binary64
Counts
4 → 61
Calls

4 calls:

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

series395.0ms (5.1%)

Counts
4 → 12
Calls

4 calls:

193.0ms
(log.f64 (exp.f64 (+.f64 (tan.f64 x) 1)))
80.0ms
(exp.f64 (+.f64 (tan.f64 x) 1))
71.0ms
(pow.f64 (tan.f64 x) 2)
51.0ms
(+.f64 (tan.f64 x) 1)

simplify49.0ms (0.6%)

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
05000701

prune81.0ms (1%)

Pruning

14 alts after pruning (12 fresh and 2 done)

PrunedKeptTotal
New72173
Fresh01111
Picked011
Done011
Total721486

Merged error: 0.0b

Counts
86 → 14
Compiler

Compiled 1578 to 1055 computations (33.1% saved)

regimes472.0ms (6.1%)

Compiler

Compiled 5702 to 4184 computations (26.6% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01920
11920

end0.0ms (0%)

sample2.3s (29.7%)

Algorithm
intervals
Results
426.0ms1975×body1024valid
198.0ms4512×body128valid
139.0ms991×body512valid
49.0ms516×body256valid
2.0msbody2048valid
Compiler

Compiled 1443 to 1060 computations (26.5% saved)

Profiling

Loading profile data...