Details

Time bar (total: 10.2s)

analyze1.5s (14.8%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%100%0%3
0%100%0%4
0%100%0%5
0%100%0%6
0%100%0%7
0%100%0%8
0%100%0%9
0%100%0%10
0%100%0%11
0%100%0%12
0%100%0%13
0.1%99.9%0%14
Compiler

Compiled 10 to 7 computations (30% saved)

sample242.0ms (2.4%)

Algorithm
intervals
Results
174.0ms62×body2048valid
34.0ms96×body1024valid
8.0ms42×body512valid
8.0msbody4096valid
5.0ms31×body256valid
2.0ms21×body128valid
Compiler

Compiled 19 to 14 computations (26.3% saved)

simplify171.0ms (1.7%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (71.0ms)

IterNodesCost
0100514
1100514

prune4.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 31.5b

Counts
2 → 1
Compiler

Compiled 18 to 12 computations (33.3% saved)

localize10.0ms (0.1%)

Local error

Found 3 expressions with local error:

0.0b
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
2.8b
(-.f64 x (tan.f64 x))
2.8b
(-.f64 x (sin.f64 x))

rewrite34.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
45×*-un-lft-identity_binary64 add-sqr-sqrt_binary64
25×times-frac_binary64
17×add-cube-cbrt_binary64
14×difference-of-squares_binary64 distribute-lft-out--_binary64
add-log-exp_binary64
cancel-sign-sub-inv_binary64
associate-/r*_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 associate-/l*_binary64
flip3--_binary64 flip--_binary64
pow1_binary64
associate-/l/_binary64 sub-neg_binary64 diff-log_binary64 associate-/r/_binary64
cbrt-undiv_binary64 div-sub_binary64 clear-num_binary64 frac-2neg_binary64 div-inv_binary64 div-exp_binary64
Counts
3 → 84
Calls

3 calls:

17.0ms
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
6.0ms
(-.f64 x (sin.f64 x))
4.0ms
(-.f64 x (tan.f64 x))

series143.0ms (1.4%)

Counts
3 → 9
Calls

3 calls:

59.0ms
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
50.0ms
(-.f64 x (tan.f64 x))
34.0ms
(-.f64 x (sin.f64 x))

simplify84.0ms (0.8%)

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
061991847

prune85.0ms (0.8%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New88593
Fresh000
Picked101
Done000
Total89594

Merged error: 0.0b

Counts
94 → 5
Compiler

Compiled 1641 to 361 computations (78% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(/.f64 (-.f64 x (tan.f64 x)) (-.f64 x (sin.f64 x)))
0.0b
(/.f64 1 (/.f64 (-.f64 x (tan.f64 x)) (-.f64 x (sin.f64 x))))
2.8b
(-.f64 x (tan.f64 x))
2.8b
(-.f64 x (sin.f64 x))

rewrite56.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
218×times-frac_binary64
202×*-un-lft-identity_binary64 add-sqr-sqrt_binary64
94×add-cube-cbrt_binary64
54×difference-of-squares_binary64 distribute-lft-out--_binary64
36×associate-/r*_binary64
17×add-exp-log_binary64
11×add-cbrt-cube_binary64 associate-/r/_binary64
add-log-exp_binary64 flip3--_binary64 associate-/l*_binary64 div-exp_binary64 flip--_binary64
cancel-sign-sub-inv_binary64 div-inv_binary64
pow1_binary64
cbrt-undiv_binary64
associate-/l/_binary64 sub-neg_binary64 diff-log_binary64 1-exp_binary64 clear-num_binary64 frac-2neg_binary64 rec-exp_binary64
div-sub_binary64 inv-pow_binary64 pow-flip_binary64
Counts
4 → 232
Calls

4 calls:

13.0ms
(/.f64 1 (/.f64 (-.f64 x (tan.f64 x)) (-.f64 x (sin.f64 x))))
8.0ms
(/.f64 (-.f64 x (tan.f64 x)) (-.f64 x (sin.f64 x)))
4.0ms
(-.f64 x (sin.f64 x))
3.0ms
(-.f64 x (tan.f64 x))

series181.0ms (1.8%)

Counts
4 → 12
Calls

4 calls:

59.0ms
(/.f64 1 (/.f64 (-.f64 x (tan.f64 x)) (-.f64 x (sin.f64 x))))
56.0ms
(/.f64 (-.f64 x (tan.f64 x)) (-.f64 x (sin.f64 x)))
44.0ms
(-.f64 x (tan.f64 x))
21.0ms
(-.f64 x (sin.f64 x))

simplify99.0ms (1%)

Algorithm
egg-herbie
Counts
244 → 244
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
050786321

prune185.0ms (1.8%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New2431244
Fresh044
Picked011
Done000
Total2436249

Merged error: 0b

Counts
249 → 6
Compiler

Compiled 5122 to 1165 computations (77.3% saved)

localize11.0ms (0.1%)

Local error

Found 3 expressions with local error:

0.1b
(*.f64 (pow.f64 x 4) 513/1400)
0.1b
(*.f64 (*.f64 x x) 9/10)
0.1b
(/.f64 1 (-.f64 -2 (+.f64 (*.f64 (*.f64 x x) 9/10) (*.f64 (pow.f64 x 4) 513/1400))))

rewrite27.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt_binary64
25×*-un-lft-identity_binary64
17×add-cube-cbrt_binary64 add-exp-log_binary64
15×times-frac_binary64
12×add-cbrt-cube_binary64
pow1_binary64
associate-*l*_binary64
associate-*r*_binary64 prod-exp_binary64
associate-/r*_binary64
cbrt-unprod_binary64 unswap-sqr_binary64 unpow-prod-down_binary64 difference-of-squares_binary64 distribute-lft-out--_binary64
pow-prod-down_binary64 add-log-exp_binary64 associate-/l*_binary64
sqr-pow_binary64 associate-/r/_binary64 div-exp_binary64 *-commutative_binary64
pow-to-exp_binary64 flip3--_binary64 1-exp_binary64 cbrt-undiv_binary64 clear-num_binary64 inv-pow_binary64 frac-2neg_binary64 rec-exp_binary64 div-inv_binary64 flip--_binary64 pow-flip_binary64 pow-exp_binary64
Counts
3 → 85
Calls

3 calls:

9.0ms
(/.f64 1 (-.f64 -2 (+.f64 (*.f64 (*.f64 x x) 9/10) (*.f64 (pow.f64 x 4) 513/1400))))
6.0ms
(*.f64 (*.f64 x x) 9/10)
5.0ms
(*.f64 (pow.f64 x 4) 513/1400)

series81.0ms (0.8%)

Counts
3 → 9
Calls

3 calls:

34.0ms
(/.f64 1 (-.f64 -2 (+.f64 (*.f64 (*.f64 x x) 9/10) (*.f64 (pow.f64 x 4) 513/1400))))
26.0ms
(*.f64 (pow.f64 x 4) 513/1400)
21.0ms
(*.f64 (*.f64 x x) 9/10)

simplify71.0ms (0.7%)

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
048601784
148601784

prune116.0ms (1.1%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New94094
Fresh044
Picked011
Done011
Total946100

Merged error: 0b

Counts
100 → 6
Compiler

Compiled 2109 to 1597 computations (24.3% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
0.0b
(log.f64 (exp.f64 (/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))))
2.8b
(-.f64 x (tan.f64 x))
2.8b
(-.f64 x (sin.f64 x))

rewrite39.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
78×*-un-lft-identity_binary64 add-sqr-sqrt_binary64
50×times-frac_binary64
32×log-pow_binary64
31×exp-prod_binary64
30×add-cube-cbrt_binary64
24×difference-of-squares_binary64 distribute-lft-out--_binary64
add-log-exp_binary64
add-exp-log_binary64 add-cbrt-cube_binary64 cancel-sign-sub-inv_binary64
associate-/r*_binary64 pow1_binary64 flip3--_binary64 associate-/l*_binary64 flip--_binary64
associate-/r/_binary64
log-prod_binary64
associate-/l/_binary64 sub-neg_binary64 diff-log_binary64 div-sub_binary64 div-inv_binary64
cbrt-undiv_binary64 rem-log-exp_binary64 exp-diff_binary64 clear-num_binary64 frac-2neg_binary64 div-exp_binary64 log-div_binary64
Counts
4 → 128
Calls

4 calls:

12.0ms
(log.f64 (exp.f64 (/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))))
9.0ms
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
4.0ms
(-.f64 x (sin.f64 x))
4.0ms
(-.f64 x (tan.f64 x))

series229.0ms (2.2%)

Counts
4 → 12
Calls

4 calls:

104.0ms
(log.f64 (exp.f64 (/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))))
58.0ms
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
46.0ms
(-.f64 x (tan.f64 x))
20.0ms
(-.f64 x (sin.f64 x))

simplify121.0ms (1.2%)

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 0 (90.0ms)

IterNodesCost
048922756
148922756

prune101.0ms (1%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1391140
Fresh123
Picked011
Done112
Total1415146

Merged error: 0b

Counts
146 → 5
Compiler

Compiled 2716 to 570 computations (79% saved)

regimes107.0ms (1.1%)

Compiler

Compiled 761 to 492 computations (35.3% saved)

bsearch46.0ms (0.5%)

Steps
ItersRangePoint
8
0.00029809493675648943
0.08642975904775185
0.029194764836342937
9
-1185.3069096958784
-3.493189002009014e-06
-0.026474350661182082
Compiler

Compiled 1 to 1 computations (0% saved)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
07163
17163

end0.0ms (0%)

sample6.4s (62.9%)

Algorithm
intervals
Results
4.1s2036×body2048valid
1.1s3056×body1024valid
315.0ms1457×body512valid
109.0ms106×body4096valid
103.0ms718×body256valid
63.0ms627×body128valid
Compiler

Compiled 392 to 254 computations (35.2% saved)

Profiling

Loading profile data...