Details

Time bar (total: 8.2s)

analyze996.0ms (12.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
0%99.9%0.1%5
0%99.9%0.1%6
12.5%87.4%0.1%7
18.7%81.1%0.1%8
26.5%72.9%0.5%9
38.2%60.7%1.1%10
41.7%54.9%3.4%11
47.6%47.4%5%12
53.4%39.4%7.2%13
54.9%34.5%10.6%14
Compiler

Compiled 17 to 15 computations (11.8% saved)

sample59.0ms (0.7%)

Algorithm
intervals
Results
20.0ms195×body128valid
12.0ms31×body1024valid
4.0ms17×body512valid
4.0ms47×body128invalid
3.0msbody1024invalid
2.0ms13×body256valid
2.0ms10×body512invalid
1.0msbody256invalid
Compiler

Compiled 33 to 32 computations (3% saved)

simplify337.0ms (4.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (164.0ms)

IterNodesCost
0489224
1489224

prune3.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 27.1b

Counts
2 → 1
Compiler

Compiled 32 to 26 computations (18.8% saved)

localize17.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.6b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x)))
4.7b
(*.f64 (*.f64 x (pow.f64 s 2)) x)
9.2b
(*.f64 x (pow.f64 s 2))
15.9b
(*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x))

rewrite47.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
122×add-exp-log_binary64_461
82×prod-exp_binary64_472
34×add-cbrt-cube_binary64_459
18×pow-to-exp_binary64_492 pow-exp_binary64_491 add-sqr-sqrt_binary64_445
16×div-exp_binary64_474 cbrt-unprod_binary64_456
12×*-un-lft-identity_binary64_423 associate-*l*_binary64_364 add-cube-cbrt_binary64_458 associate-*r*_binary64_363
unpow-prod-down_binary64_502
pow1_binary64_484
add-log-exp_binary64_462 unswap-sqr_binary64_391 cbrt-undiv_binary64_457
times-frac_binary64_429 *-commutative_binary64_354 unpow2_binary64_488 associate-/l*_binary64_368 sqr-pow_binary64_395
cos-2_binary64_565 pow-prod-down_binary64_494 div-sub_binary64_428 clear-num_binary64_422 frac-2neg_binary64_434 div-inv_binary64_420 associate-/r*_binary64_367
Counts
4 → 119
Calls

4 calls:

12.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x)))
10.0ms
(*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x))
6.0ms
(*.f64 (*.f64 x (pow.f64 s 2)) x)
6.0ms
(*.f64 x (pow.f64 s 2))

series333.0ms (4.1%)

Counts
4 → 12
Calls

4 calls:

129.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x)))
104.0ms
(*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x))
51.0ms
(*.f64 x (pow.f64 s 2))
49.0ms
(*.f64 (*.f64 x (pow.f64 s 2)) x)

simplify89.0ms (1.1%)

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
049462214
149462214

prune338.0ms (4.1%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New12011131
Fresh000
Picked101
Done000
Total12111132

Merged error: 1.4b

Counts
132 → 11
Compiler

Compiled 6273 to 3810 computations (39.3% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.3b
(*.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (fabs.f64 (*.f64 s (*.f64 c x))))
0.6b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (fabs.f64 (*.f64 s (*.f64 c x)))))
4.8b
(*.f64 s (*.f64 c x))
4.8b
(*.f64 s (*.f64 c x))

rewrite28.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
21×pow1_binary64_484 add-exp-log_binary64_461 add-cbrt-cube_binary64_459
14×add-sqr-sqrt_binary64_445
12×*-un-lft-identity_binary64_423 add-cube-cbrt_binary64_458
associate-*l*_binary64_364
prod-exp_binary64_472 cbrt-unprod_binary64_456
pow-prod-down_binary64_494
associate-*r*_binary64_363
add-log-exp_binary64_462
times-frac_binary64_429 swap-sqr_binary64_390 *-commutative_binary64_354 associate-/l*_binary64_368
cbrt-undiv_binary64_457 div-exp_binary64_474
cos-2_binary64_565 pow-sqr_binary64_396 sqr-abs_binary64_438 pow-prod-up_binary64_493 div-sub_binary64_428 pow-plus_binary64_486 clear-num_binary64_422 frac-2neg_binary64_434 div-inv_binary64_420 unswap-sqr_binary64_391 associate-/r*_binary64_367 pow2_binary64_504
Counts
4 → 84
Calls

4 calls:

5.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (fabs.f64 (*.f64 s (*.f64 c x)))))
5.0ms
(*.f64 s (*.f64 c x))
5.0ms
(*.f64 s (*.f64 c x))
4.0ms
(*.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (fabs.f64 (*.f64 s (*.f64 c x))))

series355.0ms (4.3%)

Counts
4 → 12
Calls

4 calls:

207.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (fabs.f64 (*.f64 s (*.f64 c x)))))
52.0ms
(*.f64 s (*.f64 c x))
52.0ms
(*.f64 s (*.f64 c x))
44.0ms
(*.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (fabs.f64 (*.f64 s (*.f64 c x))))

simplify63.0ms (0.8%)

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
049761306
149761306

prune599.0ms (7.3%)

Pruning

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New841296
Fresh4610
Picked101
Done000
Total8918107

Merged error: 1.2b

Counts
107 → 18
Compiler

Compiled 11083 to 7109 computations (35.9% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.2b
(/.f64 (/.f64 (cos.f64 (*.f64 x 2)) (fabs.f64 (*.f64 s (*.f64 c x)))) (fabs.f64 (*.f64 s (*.f64 c x))))
0.6b
(/.f64 (cos.f64 (*.f64 x 2)) (fabs.f64 (*.f64 s (*.f64 c x))))
4.8b
(*.f64 s (*.f64 c x))
4.8b
(*.f64 s (*.f64 c x))

rewrite37.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
84×times-frac_binary64_429
56×*-un-lft-identity_binary64_423 add-cube-cbrt_binary64_458 add-sqr-sqrt_binary64_445
21×add-exp-log_binary64_461 add-cbrt-cube_binary64_459
16×associate-/l*_binary64_368
14×pow1_binary64_484
pow-prod-down_binary64_494 associate-*l*_binary64_364 prod-exp_binary64_472 div-inv_binary64_420 associate-/r*_binary64_367 cbrt-unprod_binary64_456
add-log-exp_binary64_462 cbrt-undiv_binary64_457 div-exp_binary64_474
*-commutative_binary64_354 clear-num_binary64_422 associate-*r*_binary64_363 frac-2neg_binary64_434
associate-/l/_binary64_370
Counts
4 → 133
Calls

4 calls:

7.0ms
(/.f64 (/.f64 (cos.f64 (*.f64 x 2)) (fabs.f64 (*.f64 s (*.f64 c x)))) (fabs.f64 (*.f64 s (*.f64 c x))))
5.0ms
(*.f64 s (*.f64 c x))
5.0ms
(*.f64 s (*.f64 c x))
4.0ms
(/.f64 (cos.f64 (*.f64 x 2)) (fabs.f64 (*.f64 s (*.f64 c x))))

series384.0ms (4.7%)

Counts
4 → 12
Calls

4 calls:

185.0ms
(/.f64 (/.f64 (cos.f64 (*.f64 x 2)) (fabs.f64 (*.f64 s (*.f64 c x)))) (fabs.f64 (*.f64 s (*.f64 c x))))
100.0ms
(/.f64 (cos.f64 (*.f64 x 2)) (fabs.f64 (*.f64 s (*.f64 c x))))
54.0ms
(*.f64 s (*.f64 c x))
45.0ms
(*.f64 s (*.f64 c x))

simplify90.0ms (1.1%)

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
049774039
149774039

prune537.0ms (6.6%)

Pruning

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New1369145
Fresh8917
Picked101
Done000
Total14518163

Merged error: 1.2b

Counts
163 → 18
Compiler

Compiled 10867 to 6154 computations (43.4% saved)

localize12.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.2b
(/.f64 (/.f64 1 (/.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (cos.f64 (*.f64 x 2)))) (fabs.f64 (*.f64 s (*.f64 c x))))
0.6b
(/.f64 1 (/.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (cos.f64 (*.f64 x 2))))
4.8b
(*.f64 s (*.f64 c x))
4.8b
(*.f64 s (*.f64 c x))

rewrite86.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
471×times-frac_binary64_429
233×*-un-lft-identity_binary64_423 add-cube-cbrt_binary64_458 add-sqr-sqrt_binary64_445
47×associate-/l*_binary64_368
44×add-exp-log_binary64_461
28×add-cbrt-cube_binary64_459
22×div-inv_binary64_420
21×div-exp_binary64_474
16×associate-/r*_binary64_367
15×pow1_binary64_484
cbrt-undiv_binary64_457
pow-prod-down_binary64_494 associate-*l*_binary64_364 prod-exp_binary64_472 cbrt-unprod_binary64_456
associate-/r/_binary64_369
rec-exp_binary64_473 1-exp_binary64_467 add-log-exp_binary64_462
*-commutative_binary64_354 clear-num_binary64_422 associate-*r*_binary64_363 frac-2neg_binary64_434
associate-/l/_binary64_370 pow-flip_binary64_497 inv-pow_binary64_508
Counts
4 → 312
Calls

4 calls:

18.0ms
(/.f64 (/.f64 1 (/.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (cos.f64 (*.f64 x 2)))) (fabs.f64 (*.f64 s (*.f64 c x))))
7.0ms
(/.f64 1 (/.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (cos.f64 (*.f64 x 2))))
5.0ms
(*.f64 s (*.f64 c x))
5.0ms
(*.f64 s (*.f64 c x))

series412.0ms (5%)

Counts
4 → 12
Calls

4 calls:

192.0ms
(/.f64 (/.f64 1 (/.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (cos.f64 (*.f64 x 2)))) (fabs.f64 (*.f64 s (*.f64 c x))))
112.0ms
(/.f64 1 (/.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (cos.f64 (*.f64 x 2))))
57.0ms
(*.f64 s (*.f64 c x))
51.0ms
(*.f64 s (*.f64 c x))

simplify193.0ms (2.4%)

Algorithm
egg-herbie
Counts
324 → 324
Iterations

Useful iterations: 0 (91.0ms)

IterNodesCost
0494211714
1494211714

prune815.0ms (10%)

Pruning

18 alts after pruning (17 fresh and 1 done)

PrunedKeptTotal
New3222324
Fresh21517
Picked011
Done000
Total32418342

Merged error: 1.2b

Counts
342 → 18
Compiler

Compiled 13744 to 7064 computations (48.6% saved)

regimes187.0ms (2.3%)

Compiler

Compiled 2218 to 1493 computations (32.7% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01831
11831

end0.0ms (0%)

sample2.2s (26.3%)

Algorithm
intervals
Results
563.0ms6156×body128valid
372.0ms961×body1024valid
152.0ms1788×body128invalid
144.0ms547×body512valid
72.0ms198×body1024invalid
61.0ms245×body512invalid
59.0ms331×body256valid
23.0ms141×body256invalid
3.0msbody2048valid
1.0msbody2048invalid
Compiler

Compiled 477 to 322 computations (32.5% saved)

Profiling

Loading profile data...