Details

Time bar (total: 3.8s)

analyze223.0ms (5.9%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
75%25%0%4
75%25%0%5
75%25%0%6
78.1%21.9%0%7
78.1%21.9%0%8
78.1%21.9%0%9
78.1%21.9%0%10
78.1%21.9%0%11
78.1%21.9%0%12
78.1%21.9%0%13
78.1%21.8%0%14
Compiler

Compiled 9 to 7 computations (22.2% saved)

sample50.0ms (1.3%)

Algorithm
intervals
Results
26.0ms64×body2048valid
6.0ms49×body512valid
6.0ms31×body1024valid
3.0ms88×body128valid
2.0ms21×body256valid
1.0msbody4096valid
Compiler

Compiled 17 to 14 computations (17.6% saved)

simplify23.0ms (0.6%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (16.0ms)

IterNodesCost
036412
136412

prune6.0ms (0.2%)

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 16 to 12 computations (25% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

2.2b
(-.f64 1 (cos.f64 x))
15.5b
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))

rewrite16.0ms (0.4%)

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

2 calls:

9.0ms
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
4.0ms
(-.f64 1 (cos.f64 x))

series78.0ms (2%)

Counts
2 → 6
Calls

2 calls:

57.0ms
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
20.0ms
(-.f64 1 (cos.f64 x))

simplify53.0ms (1.4%)

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
05002700

prune62.0ms (1.6%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New42850
Fresh000
Picked011
Done000
Total42951

Merged error: 0.0b

Counts
51 → 9
Compiler

Compiled 783 to 431 computations (45% saved)

localize12.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.2b
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
0.2b
(*.f64 (sin.f64 x) (sin.f64 x))
0.5b
(+.f64 1 (cos.f64 x))
15.7b
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))

rewrite39.0ms (1%)

Algorithm
rewrite-expression-head
Rules
32×add-exp-log_binary64 add-cbrt-cube_binary64
24×*-un-lft-identity_binary64
22×times-frac_binary64
16×add-sqr-sqrt_binary64
14×add-cube-cbrt_binary64
12×cbrt-undiv_binary64 div-exp_binary64
11×pow1_binary64 associate-/l*_binary64
cbrt-unprod_binary64 prod-exp_binary64
add-log-exp_binary64 associate-/r/_binary64
associate-/r*_binary64 distribute-lft-out_binary64
flip3-+_binary64 div-inv_binary64 flip-+_binary64
swap-sqr_binary64 associate-*r*_binary64 associate-*l*_binary64 div-sub_binary64 sqr-sin-a_binary64
associate-/l/_binary64 clear-num_binary64 frac-2neg_binary64 sin-mult_binary64
pow-prod-down_binary64 pow-prod-up_binary64 pow-plus_binary64 unswap-sqr_binary64 pow-sqr_binary64 +-commutative_binary64 pow2_binary64 sum-log_binary64 *-commutative_binary64
Counts
4 → 111
Calls

4 calls:

12.0ms
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))
9.0ms
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
5.0ms
(*.f64 (sin.f64 x) (sin.f64 x))
4.0ms
(+.f64 1 (cos.f64 x))

series263.0ms (6.9%)

Counts
4 → 12
Calls

4 calls:

129.0ms
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))
88.0ms
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
30.0ms
(*.f64 (sin.f64 x) (sin.f64 x))
15.0ms
(+.f64 1 (cos.f64 x))

simplify62.0ms (1.6%)

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
049701781
149701781

prune108.0ms (2.9%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1203123
Fresh437
Picked101
Done011
Total1257132

Merged error: 0b

Counts
132 → 7
Compiler

Compiled 2164 to 1092 computations (49.5% saved)

localize9.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.1b
(*.f64 (/.f64 (sin.f64 x) x) (/.f64 (tan.f64 (/.f64 x 2)) x))
0.1b
(/.f64 (sin.f64 x) x)
0.1b
(/.f64 (tan.f64 (/.f64 x 2)) x)

rewrite32.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
45×add-sqr-sqrt_binary64
40×times-frac_binary64
33×*-un-lft-identity_binary64 add-cube-cbrt_binary64
19×add-exp-log_binary64 add-cbrt-cube_binary64
13×associate-*r*_binary64 associate-*l*_binary64
associate-/r*_binary64 cbrt-undiv_binary64 associate-/l*_binary64 div-exp_binary64
pow1_binary64
cbrt-unprod_binary64 unswap-sqr_binary64 prod-exp_binary64 div-inv_binary64
add-log-exp_binary64
clear-num_binary64 frac-2neg_binary64
pow-prod-down_binary64 associate-/l/_binary64 associate-*r/_binary64 frac-times_binary64 tan-quot_binary64 associate-*l/_binary64 *-commutative_binary64
Counts
3 → 105
Calls

3 calls:

11.0ms
(*.f64 (/.f64 (sin.f64 x) x) (/.f64 (tan.f64 (/.f64 x 2)) x))
5.0ms
(/.f64 (tan.f64 (/.f64 x 2)) x)
4.0ms
(/.f64 (sin.f64 x) x)

series264.0ms (6.9%)

Counts
3 → 9
Calls

3 calls:

124.0ms
(*.f64 (/.f64 (sin.f64 x) x) (/.f64 (tan.f64 (/.f64 x 2)) x))
105.0ms
(/.f64 (tan.f64 (/.f64 x 2)) x)
35.0ms
(/.f64 (sin.f64 x) x)

simplify88.0ms (2.3%)

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 0 (67.0ms)

IterNodesCost
050581953

prune101.0ms (2.6%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1140114
Fresh055
Picked011
Done011
Total1147121

Merged error: 0b

Counts
121 → 7
Compiler

Compiled 2066 to 1065 computations (48.5% saved)

localize9.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.1b
(/.f64 (*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2))) x)
0.1b
(/.f64 (sin.f64 x) x)
0.2b
(*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2)))

rewrite28.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt_binary64
22×times-frac_binary64
21×*-un-lft-identity_binary64 add-cube-cbrt_binary64
19×add-exp-log_binary64 add-cbrt-cube_binary64
13×associate-*l*_binary64
associate-/r*_binary64 cbrt-undiv_binary64 div-exp_binary64
pow1_binary64
cbrt-unprod_binary64 prod-exp_binary64 associate-/l*_binary64 tan-quot_binary64
associate-/l/_binary64 add-log-exp_binary64 associate-*r*_binary64 div-inv_binary64
associate-*r/_binary64 unswap-sqr_binary64 clear-num_binary64 frac-2neg_binary64 frac-times_binary64 associate-*l/_binary64
pow-prod-down_binary64 *-commutative_binary64
Counts
3 → 87
Calls

3 calls:

9.0ms
(/.f64 (*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2))) x)
8.0ms
(*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2)))
4.0ms
(/.f64 (sin.f64 x) x)

series333.0ms (8.8%)

Counts
3 → 9
Calls

3 calls:

160.0ms
(*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2)))
139.0ms
(/.f64 (*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2))) x)
34.0ms
(/.f64 (sin.f64 x) x)

simplify82.0ms (2.1%)

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 0 (61.0ms)

IterNodesCost
049931539
149931539

prune74.0ms (2%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New96096
Fresh044
Picked011
Done022
Total967103

Merged error: 0b

Counts
103 → 7
Compiler

Compiled 1573 to 774 computations (50.8% saved)

regimes32.0ms (0.8%)

Compiler

Compiled 210 to 156 computations (25.7% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01017
11017

end0.0ms (0%)

sample1.7s (45.9%)

Algorithm
intervals
Results
843.0ms2033×body2048valid
225.0ms1124×body1024valid
189.0ms1468×body512valid
99.0ms2485×body128valid
66.0ms787×body256valid
42.0ms103×body4096valid
Compiler

Compiled 116 to 87 computations (25% saved)

Profiling

Loading profile data...