Details

Time bar (total: 4.4s)

analyze237.0ms (5.4%)

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.1%)

Algorithm
intervals
Results
24.0ms59×body2048valid
7.0ms35×body1024valid
5.0ms42×body512valid
3.0ms89×body128valid
2.0ms26×body256valid
2.0msbody4096valid
Compiler

Compiled 17 to 14 computations (17.6% saved)

simplify116.0ms (2.6%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (17.0ms)

IterNodesCost
036612
136612

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
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.4b
(-.f64 1 (cos.f64 x))
14.9b
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))

rewrite15.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt_binary64_100 *-un-lft-identity_binary64_78
add-cbrt-cube_binary64_114 add-exp-log_binary64_116
times-frac_binary64_84 associate-/l*_binary64_23 difference-of-squares_binary64_47
add-cube-cbrt_binary64_113
add-log-exp_binary64_117
distribute-lft-out--_binary64_30 cancel-sign-sub-inv_binary64_44
cbrt-undiv_binary64_112 div-exp_binary64_129 flip3--_binary64_82 flip--_binary64_53 associate-/l/_binary64_25 pow1_binary64_139
cbrt-unprod_binary64_111 prod-exp_binary64_127 diff-log_binary64_170 frac-2neg_binary64_89 div-inv_binary64_75 associate-/r*_binary64_22 clear-num_binary64_77 div-sub_binary64_83 sub-neg_binary64_71
Counts
2 → 47
Calls

2 calls:

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

series41.0ms (0.9%)

Counts
2 → 6
Calls

2 calls:

30.0ms
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
11.0ms
(-.f64 1 (cos.f64 x))

simplify65.0ms (1.5%)

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
06395715

prune67.0ms (1.5%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New45853
Fresh000
Picked101
Done000
Total46854
Error
0.0b
Counts
54 → 8
Compiler

Compiled 797 to 431 computations (45.9% saved)

localize9.0ms (0.2%)

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

rewrite37.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
32×add-cbrt-cube_binary64_114 add-exp-log_binary64_116
24×*-un-lft-identity_binary64_78
22×times-frac_binary64_84
16×add-sqr-sqrt_binary64_100
14×add-cube-cbrt_binary64_113
12×cbrt-undiv_binary64_112 div-exp_binary64_129
11×associate-/l*_binary64_23 pow1_binary64_139
cbrt-unprod_binary64_111 prod-exp_binary64_127
add-log-exp_binary64_117 associate-/r/_binary64_24
associate-/r*_binary64_22 distribute-lft-out_binary64_29
flip-+_binary64_52 div-inv_binary64_75 flip3-+_binary64_81
associate-*l*_binary64_19 swap-sqr_binary64_45 associate-*r*_binary64_18 sqr-sin-a_binary64_226 div-sub_binary64_83
frac-2neg_binary64_89 sin-mult_binary64_233 clear-num_binary64_77 associate-/l/_binary64_25
+-commutative_binary64_8 pow2_binary64_159 *-commutative_binary64_9 pow-sqr_binary64_51 pow-prod-up_binary64_148 pow-prod-down_binary64_149 unswap-sqr_binary64_46 pow-plus_binary64_141 sum-log_binary64_169
Counts
4 → 111
Calls

4 calls:

11.0ms
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))
8.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))

series137.0ms (3.1%)

Counts
4 → 12
Calls

4 calls:

65.0ms
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))
49.0ms
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
16.0ms
(*.f64 (sin.f64 x) (sin.f64 x))
7.0ms
(+.f64 1 (cos.f64 x))

simplify67.0ms (1.5%)

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
049631781
149631781

prune115.0ms (2.6%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1185123
Fresh437
Picked101
Done000
Total1238131
Error
0b
Counts
131 → 8
Compiler

Compiled 2200 to 1113 computations (49.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 (tan.f64 (/.f64 x 2)) x)
0.2b
(/.f64 (sin.f64 x) x)

rewrite28.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
45×add-sqr-sqrt_binary64_100
40×times-frac_binary64_84
33×add-cube-cbrt_binary64_113 *-un-lft-identity_binary64_78
19×add-cbrt-cube_binary64_114 add-exp-log_binary64_116
13×associate-*l*_binary64_19 associate-*r*_binary64_18
cbrt-undiv_binary64_112 div-exp_binary64_129 associate-/l*_binary64_23 associate-/r*_binary64_22
pow1_binary64_139
cbrt-unprod_binary64_111 prod-exp_binary64_127 div-inv_binary64_75 unswap-sqr_binary64_46
add-log-exp_binary64_117
frac-2neg_binary64_89 clear-num_binary64_77
tan-quot_binary64_237 *-commutative_binary64_9 frac-times_binary64_88 associate-*l/_binary64_21 pow-prod-down_binary64_149 associate-*r/_binary64_20 associate-/l/_binary64_25
Counts
3 → 105
Calls

3 calls:

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

series153.0ms (3.5%)

Counts
3 → 9
Calls

3 calls:

70.0ms
(*.f64 (/.f64 (sin.f64 x) x) (/.f64 (tan.f64 (/.f64 x 2)) x))
60.0ms
(/.f64 (tan.f64 (/.f64 x 2)) x)
22.0ms
(/.f64 (sin.f64 x) x)

simplify98.0ms (2.2%)

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 0 (71.0ms)

IterNodesCost
049711953
149711953

prune104.0ms (2.4%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1113114
Fresh437
Picked101
Done000
Total1166122
Error
0b
Counts
122 → 6
Compiler

Compiled 2070 to 1063 computations (48.6% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite61.0ms (1.4%)

Algorithm
rewrite-expression-head
Rules
185×times-frac_binary64_84
137×add-sqr-sqrt_binary64_100
108×*-un-lft-identity_binary64_78
104×add-cube-cbrt_binary64_113
64×add-exp-log_binary64_116
44×associate-*l*_binary64_19
34×add-cbrt-cube_binary64_114
30×div-exp_binary64_129
19×associate-/r*_binary64_22
14×cbrt-undiv_binary64_112 prod-exp_binary64_127
13×associate-*r*_binary64_18
12×div-inv_binary64_75
10×unswap-sqr_binary64_46
associate-/l*_binary64_23
pow1_binary64_139
cbrt-unprod_binary64_111 1-exp_binary64_122 rec-exp_binary64_128
add-log-exp_binary64_117
frac-2neg_binary64_89 clear-num_binary64_77
associate-/r/_binary64_24
tan-quot_binary64_237 *-commutative_binary64_9 inv-pow_binary64_163 frac-times_binary64_88 pow-flip_binary64_152 associate-*l/_binary64_21 pow-prod-down_binary64_149 associate-*r/_binary64_20 associate-/l/_binary64_25
Counts
4 → 230
Calls

4 calls:

23.0ms
(*.f64 (/.f64 1 (/.f64 x (sin.f64 x))) (/.f64 (tan.f64 (/.f64 x 2)) x))
8.0ms
(/.f64 1 (/.f64 x (sin.f64 x)))
4.0ms
(/.f64 (tan.f64 (/.f64 x 2)) x)
3.0ms
(/.f64 x (sin.f64 x))

series174.0ms (3.9%)

Counts
4 → 12
Calls

4 calls:

66.0ms
(*.f64 (/.f64 1 (/.f64 x (sin.f64 x))) (/.f64 (tan.f64 (/.f64 x 2)) x))
61.0ms
(/.f64 (tan.f64 (/.f64 x 2)) x)
28.0ms
(/.f64 x (sin.f64 x))
19.0ms
(/.f64 1 (/.f64 x (sin.f64 x)))

simplify132.0ms (3%)

Algorithm
egg-herbie
Counts
242 → 242
Iterations

Useful iterations: 0 (85.0ms)

IterNodesCost
049554347
149554347

prune215.0ms (4.9%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New2420242
Fresh055
Picked011
Done000
Total2426248
Error
0b
Counts
248 → 6
Compiler

Compiled 4725 to 2369 computations (49.9% saved)

regimes140.0ms (3.2%)

Accuracy

Total 0.1b remaining (99.7%)

Threshold costs 0.1b (99.7%)

Compiler

Compiled 1431 to 1014 computations (29.1% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01017
11017

end0.0ms (0%)

sample2.3s (52.7%)

Algorithm
intervals
Results
851.0ms1973×body2048valid
204.0ms1049×body1024valid
202.0ms1578×body512valid
105.0ms2582×body128valid
59.0ms714×body256valid
44.0ms104×body4096valid
Compiler

Compiled 675 to 480 computations (28.9% saved)

Profiling

Loading profile data...