Details

Time bar (total: 9.1s)

analyze1.4s (15.2%)

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)

sample192.0ms (2.1%)

Algorithm
intervals
Results
127.0ms74×body2048valid
34.0ms84×body1024valid
9.0ms43×body512valid
8.0ms30×body256valid
2.0msbody4096valid
2.0ms23×body128valid
Compiler

Compiled 19 to 14 computations (26.3% saved)

simplify175.0ms (1.9%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (72.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: 34.7b

Counts
2 → 1
Compiler

Compiled 18 to 12 computations (33.3% saved)

localize16.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.0b
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
2.0b
(-.f64 x (tan.f64 x))
2.1b
(-.f64 x (sin.f64 x))

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

8.0ms
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
6.0ms
(-.f64 x (sin.f64 x))
3.0ms
(-.f64 x (tan.f64 x))

series118.0ms (1.3%)

Counts
3 → 11
Calls

3 calls:

50.0ms
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
42.0ms
(-.f64 x (tan.f64 x))
26.0ms
(-.f64 x (sin.f64 x))
Compiler

Compiled 231 to 189 computations (18.2% saved)

simplify71.0ms (0.8%)

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
056121683

prune77.0ms (0.8%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New92395
Fresh000
Picked101
Done000
Total93396

Merged error: 0b

Counts
96 → 3
Compiler

Compiled 1508 to 296 computations (80.4% saved)

localize4.0ms (0%)

Local error

Found 1 expressions with local error:

0.1b
(*.f64 (*.f64 x x) 9/40)

rewrite7.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
pow1_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
pow-prod-down_binary64 cbrt-unprod_binary64 associate-*r*_binary64 prod-exp_binary64 add-sqr-sqrt_binary64
*-un-lft-identity_binary64 add-cube-cbrt_binary64
add-log-exp_binary64 associate-*l*_binary64 unswap-sqr_binary64 *-commutative_binary64
Counts
1 → 19
Calls

1 calls:

5.0ms
(*.f64 (*.f64 x x) 9/40)

series26.0ms (0.3%)

Counts
1 → 3
Calls

1 calls:

26.0ms
(*.f64 (*.f64 x x) 9/40)
Compiler

Compiled 42 to 42 computations (0% saved)

simplify73.0ms (0.8%)

Algorithm
egg-herbie
Counts
22 → 22
Iterations

Useful iterations: 0 (66.0ms)

IterNodesCost
05175182

prune19.0ms (0.2%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New22022
Fresh022
Picked011
Done000
Total22325

Merged error: 0b

Counts
25 → 3
Compiler

Compiled 241 to 165 computations (31.5% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

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

11.0ms
(log.f64 (exp.f64 (/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))))
8.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))

series147.0ms (1.6%)

Counts
4 → 14
Calls

4 calls:

59.0ms
(log.f64 (exp.f64 (/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))))
45.0ms
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
26.0ms
(-.f64 x (tan.f64 x))
16.0ms
(-.f64 x (sin.f64 x))
Compiler

Compiled 319 to 275 computations (13.8% saved)

simplify78.0ms (0.9%)

Algorithm
egg-herbie
Counts
142 → 142
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
057522440

prune97.0ms (1.1%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1420142
Fresh011
Picked011
Done011
Total1423145

Merged error: 0b

Counts
145 → 3
Compiler

Compiled 2538 to 509 computations (79.9% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.2b
(*.f64 (sin.f64 x) (sin.f64 x))
2.0b
(-.f64 x (tan.f64 x))
2.0b
(-.f64 (*.f64 x x) (*.f64 (sin.f64 x) (sin.f64 x)))
11.7b
(/.f64 (-.f64 (*.f64 x x) (*.f64 (sin.f64 x) (sin.f64 x))) (*.f64 (+.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x))))

rewrite32.0ms (0.3%)

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

4 calls:

12.0ms
(/.f64 (-.f64 (*.f64 x x) (*.f64 (sin.f64 x) (sin.f64 x))) (*.f64 (+.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x))))
5.0ms
(*.f64 (sin.f64 x) (sin.f64 x))
4.0ms
(-.f64 (*.f64 x x) (*.f64 (sin.f64 x) (sin.f64 x)))
4.0ms
(-.f64 x (tan.f64 x))

series171.0ms (1.9%)

Counts
4 → 15
Calls

4 calls:

77.0ms
(/.f64 (-.f64 (*.f64 x x) (*.f64 (sin.f64 x) (sin.f64 x))) (*.f64 (+.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x))))
38.0ms
(-.f64 x (tan.f64 x))
29.0ms
(*.f64 (sin.f64 x) (sin.f64 x))
27.0ms
(-.f64 (*.f64 x x) (*.f64 (sin.f64 x) (sin.f64 x)))
Compiler

Compiled 491 to 350 computations (28.7% saved)

simplify43.0ms (0.5%)

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
050841591

prune78.0ms (0.9%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1060106
Fresh000
Picked011
Done022
Total1063109

Merged error: 0b

Counts
109 → 3
Compiler

Compiled 2338 to 448 computations (80.8% saved)

regimes85.0ms (0.9%)

Compiler

Compiled 442 to 282 computations (36.2% saved)

bsearch46.0ms (0.5%)

Steps
ItersRangePoint
8
8.287038062754078e-05
3.932882794229564
0.004611415987775008
9
-8.993527003606488
-3.264713502883343e-05
-0.0055547518031396894
Compiler

Compiled 1 to 1 computations (0% saved)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05362
15362

end0.0ms (0%)

sample6.1s (66.7%)

Algorithm
intervals
Results
4.1s2040×body2048valid
1.0s2963×body1024valid
285.0ms1493×body512valid
112.0ms104×body4096valid
93.0ms726×body256valid
53.0ms674×body128valid
Compiler

Compiled 241 to 149 computations (38.2% saved)

Profiling

Loading profile data...