Details

Time bar (total: 7.3s)

analyze1.0s (14.1%)

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)

sample60.0ms (0.8%)

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

Compiled 33 to 32 computations (3% saved)

simplify327.0ms (4.5%)

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)

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_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:

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 x (pow.f64 s 2))
6.0ms
(*.f64 (*.f64 x (pow.f64 s 2)) x)

series330.0ms (4.5%)

Counts
4 → 12
Calls

4 calls:

130.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))
50.0ms
(*.f64 x (pow.f64 s 2))
45.0ms
(*.f64 (*.f64 x (pow.f64 s 2)) x)

simplify88.0ms (1.2%)

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 0 (61.0ms)

IterNodesCost
049442214
149442214

prune150.0ms (2.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 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))

rewrite27.0ms (0.4%)

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

series350.0ms (4.8%)

Counts
4 → 12
Calls

4 calls:

196.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (fabs.f64 (*.f64 s (*.f64 c x)))))
59.0ms
(*.f64 s (*.f64 c x))
48.0ms
(*.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (fabs.f64 (*.f64 s (*.f64 c x))))
46.0ms
(*.f64 s (*.f64 c x))

simplify83.0ms (1.1%)

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 0 (65.0ms)

IterNodesCost
049011303
149011303

prune122.0ms (1.7%)

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)

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

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

series239.0ms (3.3%)

Counts
4 → 12
Calls

4 calls:

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

simplify85.0ms (1.2%)

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 0 (65.0ms)

IterNodesCost
048891714
148891714

prune136.0ms (1.9%)

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)

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

rewrite40.0ms (0.5%)

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

series250.0ms (3.4%)

Counts
4 → 12
Calls

4 calls:

111.0ms
(/.f64 1 (/.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (cos.f64 (*.f64 x 2))))
49.0ms
(*.f64 s (*.f64 c x))
47.0ms
(*.f64 s (*.f64 c x))
43.0ms
(/.f64 1 (fabs.f64 (*.f64 s (*.f64 c x))))

simplify126.0ms (1.7%)

Algorithm
egg-herbie
Counts
155 → 155
Iterations

Useful iterations: 0 (93.0ms)

IterNodesCost
050563409

prune176.0ms (2.4%)

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)

regimes615.0ms (8.4%)

Compiler

Compiled 7438 to 5212 computations (29.9% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01528
11528

end0.0ms (0%)

sample2.9s (40.1%)

Algorithm
intervals
Results
695.0ms6156×body128valid
379.0ms961×body1024valid
157.0ms1788×body128invalid
142.0ms547×body512valid
77.0ms198×body1024invalid
67.0ms245×body512invalid
59.0ms331×body256valid
24.0ms141×body256invalid
3.0msbody2048valid
1.0msbody2048invalid
Compiler

Compiled 1238 to 862 computations (30.4% saved)

Profiling

Loading profile data...