Details

Time bar (total: 4.3s)

analyze239.0ms (5.5%)

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)

sample49.0ms (1.1%)

Algorithm
intervals
Results
21.0ms49×body2048valid
8.0ms41×body1024valid
6.0ms47×body512valid
4.0ms90×body128valid
2.0ms26×body256valid
1.0msbody4096valid
Compiler

Compiled 17 to 14 computations (17.6% saved)

simplify180.0ms (4.2%)

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: 29.4b

Counts
2 → 1
Compiler

Compiled 16 to 12 computations (25% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

1.7b
(-.f64 1 (cos.f64 x))
12.2b
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))

rewrite18.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt_binary64_101 *-un-lft-identity_binary64_79
add-exp-log_binary64_117 add-cbrt-cube_binary64_115
times-frac_binary64_85 associate-/l*_binary64_24 difference-of-squares_binary64_48
add-cube-cbrt_binary64_114
add-log-exp_binary64_118
distribute-lft-out--_binary64_31 cancel-sign-sub-inv_binary64_45
cbrt-undiv_binary64_113 div-exp_binary64_130 flip--_binary64_54 flip3--_binary64_83 associate-/l/_binary64_26 pow1_binary64_140
associate-/r*_binary64_23 div-sub_binary64_84 div-inv_binary64_76 cbrt-unprod_binary64_112 prod-exp_binary64_128 diff-log_binary64_171 clear-num_binary64_78 sub-neg_binary64_72 frac-2neg_binary64_90
Counts
2 → 47
Calls

2 calls:

10.0ms
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
5.0ms
(-.f64 1 (cos.f64 x))

series86.0ms (2%)

Counts
2 → 6
Calls

2 calls:

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

simplify59.0ms (1.4%)

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
04925715
14925715

prune226.0ms (5.2%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New45853
Fresh000
Picked101
Done000
Total46854

Merged error: 0.0b

Counts
54 → 8
Compiler

Compiled 3264 to 2160 computations (33.8% saved)

localize11.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.3b
(*.f64 (sin.f64 x) (sin.f64 x))
0.5b
(+.f64 1 (cos.f64 x))
12.2b
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))

rewrite44.0ms (1%)

Algorithm
rewrite-expression-head
Rules
32×add-exp-log_binary64_117 add-cbrt-cube_binary64_115
24×*-un-lft-identity_binary64_79
22×times-frac_binary64_85
16×add-sqr-sqrt_binary64_101
14×add-cube-cbrt_binary64_114
12×cbrt-undiv_binary64_113 div-exp_binary64_130
11×associate-/l*_binary64_24 pow1_binary64_140
cbrt-unprod_binary64_112 prod-exp_binary64_128
associate-/r/_binary64_25 add-log-exp_binary64_118
associate-/r*_binary64_23 distribute-lft-out_binary64_30
flip-+_binary64_53 div-inv_binary64_76 flip3-+_binary64_82
associate-*l*_binary64_20 div-sub_binary64_84 sqr-sin-a_binary64_227 swap-sqr_binary64_46 associate-*r*_binary64_19
sin-mult_binary64_234 clear-num_binary64_78 associate-/l/_binary64_26 frac-2neg_binary64_90
sum-log_binary64_170 +-commutative_binary64_9 pow-prod-up_binary64_149 unswap-sqr_binary64_47 pow-sqr_binary64_52 *-commutative_binary64_10 pow-prod-down_binary64_150 pow-plus_binary64_142 pow2_binary64_160
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)))
6.0ms
(*.f64 (sin.f64 x) (sin.f64 x))
4.0ms
(+.f64 1 (cos.f64 x))

series260.0ms (6%)

Counts
4 → 12
Calls

4 calls:

131.0ms
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))
90.0ms
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
27.0ms
(*.f64 (sin.f64 x) (sin.f64 x))
12.0ms
(+.f64 1 (cos.f64 x))

simplify68.0ms (1.6%)

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
049731781
149731781

prune191.0ms (4.4%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1203123
Fresh347
Picked101
Done000
Total1247131

Merged error: 0b

Counts
131 → 7
Compiler

Compiled 3193 to 1838 computations (42.4% saved)

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

rewrite32.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt_binary64_101
22×times-frac_binary64_85
21×add-cube-cbrt_binary64_114 *-un-lft-identity_binary64_79
19×add-exp-log_binary64_117 add-cbrt-cube_binary64_115
13×associate-*l*_binary64_20
associate-/r*_binary64_23 cbrt-undiv_binary64_113 div-exp_binary64_130
pow1_binary64_140
associate-/l*_binary64_24 tan-quot_binary64_238 cbrt-unprod_binary64_112 prod-exp_binary64_128
div-inv_binary64_76 add-log-exp_binary64_118 associate-/l/_binary64_26 associate-*r*_binary64_19
frac-times_binary64_89 associate-*l/_binary64_22 associate-*r/_binary64_21 unswap-sqr_binary64_47 clear-num_binary64_78 frac-2neg_binary64_90
*-commutative_binary64_10 pow-prod-down_binary64_150
Counts
3 → 87
Calls

3 calls:

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

series340.0ms (7.9%)

Counts
3 → 9
Calls

3 calls:

170.0ms
(*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2)))
135.0ms
(/.f64 (*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2))) x)
35.0ms
(/.f64 (sin.f64 x) x)

simplify83.0ms (1.9%)

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 0 (65.0ms)

IterNodesCost
049371539
149371539

prune89.0ms (2.1%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New96096
Fresh066
Picked011
Done000
Total967103

Merged error: 0b

Counts
103 → 7
Compiler

Compiled 1747 to 902 computations (48.4% saved)

localize12.0ms (0.3%)

Local error

Found 3 expressions with local error:

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

rewrite32.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
45×add-sqr-sqrt_binary64_101
40×times-frac_binary64_85
33×add-cube-cbrt_binary64_114 *-un-lft-identity_binary64_79
19×add-exp-log_binary64_117 add-cbrt-cube_binary64_115
13×associate-*l*_binary64_20 associate-*r*_binary64_19
associate-/r*_binary64_23 cbrt-undiv_binary64_113 div-exp_binary64_130 associate-/l*_binary64_24
pow1_binary64_140
div-inv_binary64_76 unswap-sqr_binary64_47 cbrt-unprod_binary64_112 prod-exp_binary64_128
add-log-exp_binary64_118
clear-num_binary64_78 frac-2neg_binary64_90
frac-times_binary64_89 tan-quot_binary64_238 associate-*l/_binary64_22 associate-*r/_binary64_21 *-commutative_binary64_10 pow-prod-down_binary64_150 associate-/l/_binary64_26
Counts
3 → 105
Calls

3 calls:

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

series289.0ms (6.7%)

Counts
3 → 9
Calls

3 calls:

150.0ms
(*.f64 (/.f64 (sin.f64 x) x) (/.f64 (tan.f64 (/.f64 x 2)) x))
102.0ms
(/.f64 (tan.f64 (/.f64 x 2)) x)
37.0ms
(/.f64 (sin.f64 x) x)

simplify89.0ms (2.1%)

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 0 (67.0ms)

IterNodesCost
050041953

prune96.0ms (2.2%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1140114
Fresh055
Picked011
Done011
Total1147121

Merged error: 0b

Counts
121 → 7
Compiler

Compiled 1989 to 1010 computations (49.2% saved)

regimes15.0ms (0.3%)

Compiler

Compiled 89 to 66 computations (25.8% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01017
11017

end0.0ms (0%)

sample1.8s (41.4%)

Algorithm
intervals
Results
864.0ms2008×body2048valid
219.0ms1106×body1024valid
206.0ms1462×body512valid
106.0ms2631×body128valid
62.0ms691×body256valid
47.0ms102×body4096valid
Compiler

Compiled 107 to 80 computations (25.2% saved)

Profiling

Loading profile data...