Details

Time bar (total: 6.2s)

analyze1.0s (16.3%)

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

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

Compiled 33 to 32 computations (3% saved)

simplify329.0ms (5.3%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (160.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)

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

rewrite49.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
122×add-exp-log_binary64_449
82×prod-exp_binary64_460
34×add-cbrt-cube_binary64_447
18×pow-exp_binary64_479 pow-to-exp_binary64_480 add-sqr-sqrt_binary64_435
16×cbrt-unprod_binary64_444 div-exp_binary64_462
12×add-cube-cbrt_binary64_446 *-un-lft-identity_binary64_414 associate-*l*_binary64_357 associate-*r*_binary64_356
unpow-prod-down_binary64_490
pow1_binary64_472
cbrt-undiv_binary64_445 add-log-exp_binary64_450 unswap-sqr_binary64_382
times-frac_binary64_420 *-commutative_binary64_347 sqr-pow_binary64_386 unpow2_binary64_476 associate-/l*_binary64_361
clear-num_binary64_413 cos-2_binary64_553 div-inv_binary64_411 pow-prod-down_binary64_482 frac-2neg_binary64_425 div-sub_binary64_419 associate-/r*_binary64_360
Counts
4 → 119
Calls

4 calls:

13.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x)))
11.0ms
(*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x))
7.0ms
(*.f64 (*.f64 x (pow.f64 s 2)) x)
6.0ms
(*.f64 x (pow.f64 s 2))

series340.0ms (5.5%)

Counts
4 → 12
Calls

4 calls:

134.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x)))
112.0ms
(*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x))
48.0ms
(*.f64 (*.f64 x (pow.f64 s 2)) x)
47.0ms
(*.f64 x (pow.f64 s 2))

simplify83.0ms (1.4%)

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
049442214
149442214

prune148.0ms (2.4%)

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 2732 to 1362 computations (50.1% saved)

localize11.0ms (0.2%)

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

Algorithm
rewrite-expression-head
Rules
21×pow1_binary64_472 add-exp-log_binary64_449 add-cbrt-cube_binary64_447
14×add-sqr-sqrt_binary64_435
12×add-cube-cbrt_binary64_446 *-un-lft-identity_binary64_414
associate-*l*_binary64_357
prod-exp_binary64_460 cbrt-unprod_binary64_444
pow-prod-down_binary64_482
associate-*r*_binary64_356
add-log-exp_binary64_450
times-frac_binary64_420 *-commutative_binary64_347 swap-sqr_binary64_381 associate-/l*_binary64_361
cbrt-undiv_binary64_445 div-exp_binary64_462
pow-plus_binary64_474 clear-num_binary64_413 cos-2_binary64_553 div-inv_binary64_411 pow-prod-up_binary64_481 pow-sqr_binary64_387 frac-2neg_binary64_425 unswap-sqr_binary64_382 div-sub_binary64_419 pow2_binary64_492 associate-/r*_binary64_360
Counts
4 → 83
Calls

4 calls:

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

series357.0ms (5.8%)

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)))))
58.0ms
(*.f64 s (*.f64 c x))
49.0ms
(*.f64 s (*.f64 c x))
42.0ms
(*.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (fabs.f64 (*.f64 s (*.f64 c x))))

simplify83.0ms (1.4%)

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 0 (64.0ms)

IterNodesCost
049011303
149011303

prune125.0ms (2%)

Pruning

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New841195
Fresh3710
Picked101
Done000
Total8818106

Merged error: 1.2b

Counts
106 → 18
Compiler

Compiled 2206 to 995 computations (54.9% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.5b
(/.f64 1 (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))

rewrite28.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
22×add-cube-cbrt_binary64_446 *-un-lft-identity_binary64_414 add-sqr-sqrt_binary64_435
20×add-exp-log_binary64_449
18×times-frac_binary64_420 add-cbrt-cube_binary64_447
15×pow1_binary64_472
prod-exp_binary64_460 pow-prod-down_binary64_482 associate-*l*_binary64_357 associate-/l*_binary64_361 cbrt-unprod_binary64_444 associate-/r*_binary64_360
add-log-exp_binary64_450
div-exp_binary64_462
clear-num_binary64_413 div-inv_binary64_411 *-commutative_binary64_347 cbrt-undiv_binary64_445 frac-2neg_binary64_425 associate-*r*_binary64_356
1-exp_binary64_455 inv-pow_binary64_496 pow-flip_binary64_485 rec-exp_binary64_461
Counts
4 → 94
Calls

4 calls:

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))))
3.0ms
(/.f64 1 (fabs.f64 (*.f64 s (*.f64 c x))))

series263.0ms (4.3%)

Counts
4 → 12
Calls

4 calls:

113.0ms
(/.f64 (cos.f64 (*.f64 x 2)) (fabs.f64 (*.f64 s (*.f64 c x))))
58.0ms
(*.f64 s (*.f64 c x))
47.0ms
(*.f64 s (*.f64 c x))
45.0ms
(/.f64 1 (fabs.f64 (*.f64 s (*.f64 c x))))

simplify86.0ms (1.4%)

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 0 (65.0ms)

IterNodesCost
048891714
148891714

prune137.0ms (2.2%)

Pruning

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New1015106
Fresh41317
Picked101
Done000
Total10618124

Merged error: 1.2b

Counts
124 → 18
Compiler

Compiled 3083 to 1321 computations (57.2% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.5b
(/.f64 1 (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))

rewrite38.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
84×times-frac_binary64_420
56×add-cube-cbrt_binary64_446 *-un-lft-identity_binary64_414 add-sqr-sqrt_binary64_435
29×add-exp-log_binary64_449
21×add-cbrt-cube_binary64_447
16×pow1_binary64_472 associate-/r*_binary64_360
div-exp_binary64_462
div-inv_binary64_411 prod-exp_binary64_460 pow-prod-down_binary64_482 associate-*l*_binary64_357 associate-/l*_binary64_361 cbrt-unprod_binary64_444
cbrt-undiv_binary64_445 add-log-exp_binary64_450
1-exp_binary64_455 rec-exp_binary64_461
clear-num_binary64_413 inv-pow_binary64_496 pow-flip_binary64_485 *-commutative_binary64_347 frac-2neg_binary64_425 associate-*r*_binary64_356
associate-/r/_binary64_362
Counts
4 → 143
Calls

4 calls:

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

series270.0ms (4.4%)

Counts
4 → 12
Calls

4 calls:

126.0ms
(/.f64 1 (/.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (cos.f64 (*.f64 x 2))))
53.0ms
(*.f64 s (*.f64 c x))
46.0ms
(/.f64 1 (fabs.f64 (*.f64 s (*.f64 c x))))
45.0ms
(*.f64 s (*.f64 c x))

simplify128.0ms (2.1%)

Algorithm
egg-herbie
Counts
155 → 155
Iterations

Useful iterations: 0 (94.0ms)

IterNodesCost
050563409

prune186.0ms (3%)

Pruning

18 alts after pruning (17 fresh and 1 done)

PrunedKeptTotal
New1550155
Fresh01717
Picked011
Done000
Total15518173

Merged error: 1.2b

Counts
173 → 18
Compiler

Compiled 4545 to 1959 computations (56.9% saved)

regimes181.0ms (2.9%)

Compiler

Compiled 1983 to 1453 computations (26.7% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02034
12034

end0.0ms (0%)

sample2.2s (35.3%)

Algorithm
intervals
Results
572.0ms6156×body128valid
379.0ms961×body1024valid
157.0ms1788×body128invalid
150.0ms547×body512valid
74.0ms198×body1024invalid
62.0ms245×body512invalid
60.0ms331×body256valid
29.0ms141×body256invalid
7.0msbody2048valid
1.0msbody2048invalid
Compiler

Compiled 432 to 316 computations (26.9% saved)

Profiling

Loading profile data...