Details

Time bar (total: 4.4s)

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

sample47.0ms (1.1%)

Algorithm
intervals
Results
22.0ms54×body2048valid
7.0ms38×body1024valid
6.0ms51×body512valid
3.0ms84×body128valid
2.0ms28×body256valid
0.0msbody4096valid
Compiler

Compiled 17 to 14 computations (17.6% saved)

simplify172.0ms (3.9%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (16.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: 28.7b

Counts
2 → 1
Compiler

Compiled 16 to 12 computations (25% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

1.9b
(-.f64 1 (cos.f64 x))
11.8b
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))

rewrite17.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity_binary64_77 add-sqr-sqrt_binary64_98
add-exp-log_binary64_112 add-cbrt-cube_binary64_110
times-frac_binary64_83 associate-/l*_binary64_24 difference-of-squares_binary64_46
add-log-exp_binary64_113 add-cube-cbrt_binary64_109
distribute-lft-out--_binary64_31
cbrt-undiv_binary64_108 pow1_binary64_135 flip--_binary64_52 div-exp_binary64_125 flip3--_binary64_81 associate-/l/_binary64_26
associate-/r*_binary64_23 cbrt-unprod_binary64_107 div-sub_binary64_82 sub-neg_binary64_70 prod-exp_binary64_123 clear-num_binary64_76 diff-log_binary64_166 frac-2neg_binary64_88 div-inv_binary64_74
Counts
2 → 44
Calls

2 calls:

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

series77.0ms (1.8%)

Counts
2 → 6
Calls

2 calls:

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

simplify56.0ms (1.3%)

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
05002700

prune62.0ms (1.4%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New43750
Fresh000
Picked011
Done000
Total43851

Merged error: 0.0b

Counts
51 → 8
Compiler

Compiled 750 to 411 computations (45.2% 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.4b
(+.f64 1 (cos.f64 x))
11.7b
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))

rewrite43.0ms (1%)

Algorithm
rewrite-expression-head
Rules
32×add-exp-log_binary64_112 add-cbrt-cube_binary64_110
24×*-un-lft-identity_binary64_77
22×times-frac_binary64_83
16×add-sqr-sqrt_binary64_98
14×add-cube-cbrt_binary64_109
12×cbrt-undiv_binary64_108 div-exp_binary64_125
11×pow1_binary64_135 associate-/l*_binary64_24
cbrt-unprod_binary64_107 prod-exp_binary64_123
add-log-exp_binary64_113 associate-/r/_binary64_25
associate-/r*_binary64_23 distribute-lft-out_binary64_30
flip-+_binary64_51 flip3-+_binary64_80 div-inv_binary64_74
associate-*l*_binary64_20 div-sub_binary64_82 sqr-sin-a_binary64_222 swap-sqr_binary64_44 associate-*r*_binary64_19
sin-mult_binary64_229 clear-num_binary64_76 associate-/l/_binary64_26 frac-2neg_binary64_88
pow2_binary64_155 pow-prod-down_binary64_145 pow-sqr_binary64_50 pow-plus_binary64_137 pow-prod-up_binary64_144 +-commutative_binary64_9 unswap-sqr_binary64_45 *-commutative_binary64_10 sum-log_binary64_165
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))

series267.0ms (6.1%)

Counts
4 → 12
Calls

4 calls:

135.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)))
31.0ms
(*.f64 (sin.f64 x) (sin.f64 x))
12.0ms
(+.f64 1 (cos.f64 x))

simplify68.0ms (1.5%)

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
049701781
149701781

prune114.0ms (2.6%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1212123
Fresh246
Picked101
Done101
Total1256131

Merged error: 0b

Counts
131 → 6
Compiler

Compiled 2150 to 1082 computations (49.7% 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_98
22×times-frac_binary64_83
21×add-cube-cbrt_binary64_109 *-un-lft-identity_binary64_77
19×add-exp-log_binary64_112 add-cbrt-cube_binary64_110
13×associate-*l*_binary64_20
associate-/r*_binary64_23 cbrt-undiv_binary64_108 div-exp_binary64_125
pow1_binary64_135
cbrt-unprod_binary64_107 tan-quot_binary64_233 associate-/l*_binary64_24 prod-exp_binary64_123
add-log-exp_binary64_113 associate-/l/_binary64_26 associate-*r*_binary64_19 div-inv_binary64_74
frac-times_binary64_87 associate-*l/_binary64_22 associate-*r/_binary64_21 unswap-sqr_binary64_45 clear-num_binary64_76 frac-2neg_binary64_88
pow-prod-down_binary64_145 *-commutative_binary64_10
Counts
3 → 87
Calls

3 calls:

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

series328.0ms (7.5%)

Counts
3 → 9
Calls

3 calls:

155.0ms
(*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2)))
136.0ms
(/.f64 (*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2))) x)
37.0ms
(/.f64 (sin.f64 x) x)

simplify85.0ms (1.9%)

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 0 (64.0ms)

IterNodesCost
049931539
149931539

prune84.0ms (1.9%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New96096
Fresh055
Picked011
Done000
Total966102

Merged error: 0b

Counts
102 → 6
Compiler

Compiled 1636 to 821 computations (49.8% saved)

localize11.0ms (0.3%)

Local error

Found 2 expressions with local error:

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

rewrite23.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt_binary64_98 associate-*r*_binary64_19
add-exp-log_binary64_112 add-cbrt-cube_binary64_110
add-cube-cbrt_binary64_109 *-un-lft-identity_binary64_77
associate-/r*_binary64_23 times-frac_binary64_83
distribute-lft-neg-in_binary64_36 distribute-rgt-neg-in_binary64_37
pow1_binary64_135
associate-*l*_binary64_20 neg-mul-1_binary64_73
add-log-exp_binary64_113 cbrt-unprod_binary64_107 cbrt-undiv_binary64_108 tan-quot_binary64_233 associate-*l/_binary64_22 div-exp_binary64_125 prod-exp_binary64_123 distribute-rgt-neg-out_binary64_39
pow-prod-down_binary64_145 associate-/l*_binary64_24 unswap-sqr_binary64_45 *-commutative_binary64_10 distribute-frac-neg_binary64_42 clear-num_binary64_76 associate-/l/_binary64_26 frac-2neg_binary64_88 div-inv_binary64_74
Counts
2 → 56
Calls

2 calls:

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

series248.0ms (5.7%)

Counts
2 → 6
Calls

2 calls:

133.0ms
(/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (neg.f64 (sin.f64 x))) (neg.f64 (*.f64 x x)))
115.0ms
(*.f64 (tan.f64 (/.f64 x 2)) (neg.f64 (sin.f64 x)))

simplify69.0ms (1.6%)

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
049271105
149271105

prune53.0ms (1.2%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New61162
Fresh134
Picked011
Done011
Total62668

Merged error: 0b

Counts
68 → 6
Compiler

Compiled 1044 to 496 computations (52.5% saved)

regimes111.0ms (2.5%)

Compiler

Compiled 889 to 642 computations (27.8% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01017
11017

end0.0ms (0%)

sample2.2s (49.2%)

Algorithm
intervals
Results
867.0ms1946×body2048valid
241.0ms1183×body1024valid
214.0ms1500×body512valid
108.0ms2482×body128valid
82.0ms783×body256valid
46.0ms106×body4096valid
Compiler

Compiled 409 to 298 computations (27.1% saved)

Profiling

Loading profile data...