Details

Time bar (total: 4.4s)

analyze231.0ms (5.2%)

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)

sample51.0ms (1.2%)

Algorithm
intervals
Results
24.0ms56×body2048valid
8.0ms45×body1024valid
6.0ms48×body512valid
3.0ms77×body128valid
2.0ms28×body256valid
1.0msbody4096valid
Compiler

Compiled 17 to 14 computations (17.6% saved)

simplify23.0ms (0.5%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (17.0ms)

IterNodesCost
036412
136412

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

localize10.0ms (0.2%)

Local error

Found 2 expressions with local error:

2.4b
(-.f64 1 (cos.f64 x))
13.1b
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))

rewrite17.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
14×*-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-cube-cbrt_binary64
add-log-exp_binary64
cancel-sign-sub-inv_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 → 47
Calls

2 calls:

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

series82.0ms (1.8%)

Counts
2 → 6
Calls

2 calls:

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

simplify58.0ms (1.3%)

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
04889715
14889715

prune223.0ms (5%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New46753
Fresh000
Picked101
Done000
Total47754

Merged error: 0.0b

Counts
54 → 7
Compiler

Compiled 3383 to 2224 computations (34.3% saved)

localize13.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.6b
(+.f64 1 (cos.f64 x))
13.2b
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))

rewrite41.0ms (0.9%)

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:

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

series249.0ms (5.6%)

Counts
4 → 12
Calls

4 calls:

122.0ms
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))
86.0ms
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
29.0ms
(*.f64 (sin.f64 x) (sin.f64 x))
12.0ms
(+.f64 1 (cos.f64 x))

simplify64.0ms (1.4%)

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
049751783
149751783

prune158.0ms (3.5%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1203123
Fresh336
Picked101
Done000
Total1246130

Merged error: 0b

Counts
130 → 6
Compiler

Compiled 2978 to 1655 computations (44.4% 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.2b
(/.f64 (tan.f64 (/.f64 x 2)) x)

rewrite30.0ms (0.7%)

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:

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

series282.0ms (6.3%)

Counts
3 → 9
Calls

3 calls:

143.0ms
(*.f64 (/.f64 (sin.f64 x) x) (/.f64 (tan.f64 (/.f64 x 2)) x))
105.0ms
(/.f64 (tan.f64 (/.f64 x 2)) x)
34.0ms
(/.f64 (sin.f64 x) x)

simplify93.0ms (2.1%)

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 0 (72.0ms)

IterNodesCost
050031953

prune100.0ms (2.3%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1140114
Fresh055
Picked011
Done000
Total1146120

Merged error: 0b

Counts
120 → 6
Compiler

Compiled 2061 to 1060 computations (48.6% saved)

localize12.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.2b
(/.f64 (tan.f64 (/.f64 x 2)) x)
0.6b
(*.f64 (sqrt.f64 (*.f64 (/.f64 (sin.f64 x) x) (/.f64 (tan.f64 (/.f64 x 2)) x))) (sqrt.f64 (*.f64 (/.f64 (sin.f64 x) x) (/.f64 (tan.f64 (/.f64 x 2)) x))))
13.1b
(sqrt.f64 (*.f64 (/.f64 (sin.f64 x) x) (/.f64 (tan.f64 (/.f64 x 2)) x)))
13.1b
(sqrt.f64 (*.f64 (/.f64 (sin.f64 x) x) (/.f64 (tan.f64 (/.f64 x 2)) x)))

rewrite48.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
59×pow1_binary64
32×sqrt-pow1_binary64
30×sqrt-div_binary64
22×pow-prod-down_binary64
19×frac-times_binary64
18×add-sqr-sqrt_binary64
16×*-un-lft-identity_binary64 add-cube-cbrt_binary64
13×associate-*r/_binary64 associate-*l/_binary64
12×pow1/2_binary64
10×pow-prod-up_binary64
times-frac_binary64
add-exp-log_binary64 add-cbrt-cube_binary64
pow-sqr_binary64 sqrt-prod_binary64
add-log-exp_binary64 swap-sqr_binary64 associate-*r*_binary64 associate-*l*_binary64
associate-/r*_binary64 associate-/l*_binary64
associate-/l/_binary64 cbrt-unprod_binary64 cbrt-undiv_binary64 rem-square-sqrt_binary64 pow-plus_binary64 sqrt-unprod_binary64 unswap-sqr_binary64 clear-num_binary64 prod-exp_binary64 frac-2neg_binary64 div-inv_binary64 div-exp_binary64 pow2_binary64 tan-quot_binary64 *-commutative_binary64
Counts
4 → 120
Calls

4 calls:

18.0ms
(*.f64 (sqrt.f64 (*.f64 (/.f64 (sin.f64 x) x) (/.f64 (tan.f64 (/.f64 x 2)) x))) (sqrt.f64 (*.f64 (/.f64 (sin.f64 x) x) (/.f64 (tan.f64 (/.f64 x 2)) x))))
6.0ms
(sqrt.f64 (*.f64 (/.f64 (sin.f64 x) x) (/.f64 (tan.f64 (/.f64 x 2)) x)))
6.0ms
(sqrt.f64 (*.f64 (/.f64 (sin.f64 x) x) (/.f64 (tan.f64 (/.f64 x 2)) x)))
5.0ms
(/.f64 (tan.f64 (/.f64 x 2)) x)

series624.0ms (14%)

Counts
4 → 12
Calls

4 calls:

198.0ms
(sqrt.f64 (*.f64 (/.f64 (sin.f64 x) x) (/.f64 (tan.f64 (/.f64 x 2)) x)))
176.0ms
(sqrt.f64 (*.f64 (/.f64 (sin.f64 x) x) (/.f64 (tan.f64 (/.f64 x 2)) x)))
145.0ms
(*.f64 (sqrt.f64 (*.f64 (/.f64 (sin.f64 x) x) (/.f64 (tan.f64 (/.f64 x 2)) x))) (sqrt.f64 (*.f64 (/.f64 (sin.f64 x) x) (/.f64 (tan.f64 (/.f64 x 2)) x))))
104.0ms
(/.f64 (tan.f64 (/.f64 x 2)) x)

simplify58.0ms (1.3%)

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
050952351

prune190.0ms (4.3%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1320132
Fresh044
Picked011
Done011
Total1326138

Merged error: 0b

Counts
138 → 6
Compiler

Compiled 3200 to 1862 computations (41.8% saved)

regimes14.0ms (0.3%)

Compiler

Compiled 85 to 62 computations (27.1% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01017
11017

end0.0ms (0%)

sample1.8s (39.7%)

Algorithm
intervals
Results
863.0ms2036×body2048valid
225.0ms1122×body1024valid
197.0ms1462×body512valid
102.0ms2537×body128valid
67.0ms734×body256valid
44.0ms109×body4096valid
Compiler

Compiled 103 to 76 computations (26.2% saved)

Profiling

Loading profile data...