Details

Time bar (total: 7.0s)

analyze1.0s (14.4%)

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)

sample57.0ms (0.8%)

Algorithm
intervals
Results
17.0ms199×body128valid
11.0ms28×body1024valid
5.0ms18×body512valid
4.0ms48×body128invalid
3.0ms12×body512invalid
2.0msbody1024invalid
2.0ms11×body256valid
0.0msbody256invalid
Compiler

Compiled 33 to 32 computations (3% saved)

simplify341.0ms (4.9%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (168.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.8b

Counts
2 → 1
Compiler

Compiled 32 to 26 computations (18.8% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.5b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x)))
3.5b
(*.f64 (*.f64 x (pow.f64 s 2)) x)
9.3b
(*.f64 x (pow.f64 s 2))
17.9b
(*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x))

rewrite48.0ms (0.7%)

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

series325.0ms (4.6%)

Counts
4 → 12
Calls

4 calls:

128.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x)))
105.0ms
(*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x))
47.0ms
(*.f64 (*.f64 x (pow.f64 s 2)) x)
45.0ms
(*.f64 x (pow.f64 s 2))

simplify87.0ms (1.2%)

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
049462214
149462214

prune326.0ms (4.7%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New12011131
Fresh000
Picked101
Done000
Total12111132

Merged error: 1.5b

Counts
132 → 11
Compiler

Compiled 6147 to 3688 computations (40% 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.5b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (fabs.f64 (*.f64 s (*.f64 c x)))))
3.5b
(*.f64 s (*.f64 c x))
3.5b
(*.f64 s (*.f64 c x))

rewrite28.0ms (0.4%)

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:

6.0ms
(*.f64 s (*.f64 c x))
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))
4.0ms
(*.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (fabs.f64 (*.f64 s (*.f64 c x))))

series347.0ms (5%)

Counts
4 → 12
Calls

4 calls:

201.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (fabs.f64 (*.f64 s (*.f64 c x)))))
53.0ms
(*.f64 s (*.f64 c x))
49.0ms
(*.f64 s (*.f64 c x))
44.0ms
(*.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (fabs.f64 (*.f64 s (*.f64 c x))))

simplify65.0ms (0.9%)

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
049761306
149761306

prune523.0ms (7.5%)

Pruning

16 alts after pruning (16 fresh and 0 done)

PrunedKeptTotal
New851196
Fresh5510
Picked101
Done000
Total9116107

Merged error: 1.0b

Counts
107 → 16
Compiler

Compiled 9979 to 6227 computations (37.6% saved)

localize11.0ms (0.2%)

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.4b
(/.f64 (cos.f64 (*.f64 x 2)) (fabs.f64 (*.f64 s (*.f64 c x))))
3.5b
(*.f64 s (*.f64 c x))
3.5b
(*.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))))

series411.0ms (5.9%)

Counts
4 → 12
Calls

4 calls:

193.0ms
(/.f64 (/.f64 (cos.f64 (*.f64 x 2)) (fabs.f64 (*.f64 s (*.f64 c x)))) (fabs.f64 (*.f64 s (*.f64 c x))))
113.0ms
(/.f64 (cos.f64 (*.f64 x 2)) (fabs.f64 (*.f64 s (*.f64 c x))))
53.0ms
(*.f64 s (*.f64 c x))
52.0ms
(*.f64 s (*.f64 c x))

simplify90.0ms (1.3%)

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
049774039
149774039

prune429.0ms (6.1%)

Pruning

17 alts after pruning (16 fresh and 1 done)

PrunedKeptTotal
New1378145
Fresh7815
Picked011
Done000
Total14417161

Merged error: 1.0b

Counts
161 → 17
Compiler

Compiled 8946 to 4911 computations (45.1% saved)

localize15.0ms (0.2%)

Local error

Found 4 expressions with local error:

3.5b
(*.f64 s (*.f64 c x))
3.5b
(*.f64 s (*.f64 c x))
12.0b
(sqrt.f64 (fabs.f64 (*.f64 s (*.f64 c x))))
12.0b
(sqrt.f64 (fabs.f64 (*.f64 s (*.f64 c x))))

rewrite20.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
16×pow1_binary64_484
14×add-exp-log_binary64_461 add-cbrt-cube_binary64_459
10×add-sqr-sqrt_binary64_445
*-un-lft-identity_binary64_423 add-cube-cbrt_binary64_458
pow-prod-down_binary64_494 associate-*l*_binary64_364 sqrt-prod_binary64_439 prod-exp_binary64_472 cbrt-unprod_binary64_456
add-log-exp_binary64_462
rem-sqrt-square_binary64_436 *-commutative_binary64_354 associate-*r*_binary64_363 pow1/2_binary64_503 sqrt-pow1_binary64_441
Counts
4 → 62
Calls

4 calls:

6.0ms
(*.f64 s (*.f64 c x))
5.0ms
(*.f64 s (*.f64 c x))
2.0ms
(sqrt.f64 (fabs.f64 (*.f64 s (*.f64 c x))))
1.0ms
(sqrt.f64 (fabs.f64 (*.f64 s (*.f64 c x))))

series176.0ms (2.5%)

Counts
4 → 12
Calls

4 calls:

47.0ms
(*.f64 s (*.f64 c x))
45.0ms
(*.f64 s (*.f64 c x))
43.0ms
(sqrt.f64 (fabs.f64 (*.f64 s (*.f64 c x))))
41.0ms
(sqrt.f64 (fabs.f64 (*.f64 s (*.f64 c x))))

simplify76.0ms (1.1%)

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 0 (63.0ms)

IterNodesCost
04996752
14996752

prune81.0ms (1.2%)

Pruning

17 alts after pruning (15 fresh and 2 done)

PrunedKeptTotal
New74074
Fresh01515
Picked011
Done011
Total741791

Merged error: 1.0b

Counts
91 → 17
Compiler

Compiled 2390 to 741 computations (69% saved)

regimes148.0ms (2.1%)

Compiler

Compiled 1688 to 1144 computations (32.2% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01528
11528

end0.0ms (0%)

sample2.3s (33.1%)

Algorithm
intervals
Results
580.0ms6144×body128valid
371.0ms958×body1024valid
311.0ms1880×body128invalid
152.0ms562×body512valid
79.0ms202×body1024invalid
65.0ms332×body256valid
56.0ms221×body512invalid
25.0ms145×body256invalid
3.0msbody2048valid
Compiler

Compiled 454 to 308 computations (32.2% saved)

Profiling

Loading profile data...