Details

Time bar (total: 8.7s)

analyze926.0ms (10.6%)

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)

sample58.0ms (0.7%)

Algorithm
intervals
Results
15.0ms193×body128valid
10.0ms32×body1024valid
6.0ms10×body1024invalid
4.0ms58×body128invalid
4.0ms20×body512valid
4.0ms15×body512invalid
2.0ms11×body256valid
1.0msbody256invalid
Compiler

Compiled 33 to 32 computations (3% saved)

simplify255.0ms (2.9%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (166.0ms)

IterNodesCost
0727824

prune3.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112
Error
28.0b
Counts
2 → 1
Compiler

Compiled 32 to 26 computations (18.8% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.4b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x)))
4.3b
(*.f64 (*.f64 x (pow.f64 s 2)) x)
7.9b
(*.f64 x (pow.f64 s 2))
18.3b
(*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x))

rewrite48.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
122×add-exp-log_binary64_457
82×prod-exp_binary64_468
34×add-cbrt-cube_binary64_455
18×add-sqr-sqrt_binary64_441 pow-exp_binary64_487 pow-to-exp_binary64_488
16×cbrt-unprod_binary64_452 div-exp_binary64_470
12×*-un-lft-identity_binary64_419 add-cube-cbrt_binary64_454 associate-*r*_binary64_359 associate-*l*_binary64_360
unpow-prod-down_binary64_498
pow1_binary64_480
add-log-exp_binary64_458 unswap-sqr_binary64_387 cbrt-undiv_binary64_453
times-frac_binary64_425 sqr-pow_binary64_391 *-commutative_binary64_350 unpow2_binary64_484 associate-/l*_binary64_364
cos-2_binary64_561 pow-prod-down_binary64_490 clear-num_binary64_418 div-inv_binary64_416 frac-2neg_binary64_430 associate-/r*_binary64_363 div-sub_binary64_424
Counts
4 → 119
Calls

4 calls:

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

series630.0ms (7.2%)

Counts
4 → 31
Calls

4 calls:

335.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x)))
172.0ms
(*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x))
67.0ms
(*.f64 (*.f64 x (pow.f64 s 2)) x)
55.0ms
(*.f64 x (pow.f64 s 2))
Compiler

Compiled 1005 to 928 computations (7.7% saved)

simplify76.0ms (0.9%)

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
049912501
149912501

prune155.0ms (1.8%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New13911150
Fresh000
Picked101
Done000
Total14011151
Error
2.2b
Counts
151 → 11
Compiler

Compiled 3019 to 1459 computations (51.7% saved)

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

rewrite25.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
21×add-cbrt-cube_binary64_455 add-exp-log_binary64_457 pow1_binary64_480
14×add-sqr-sqrt_binary64_441
12×*-un-lft-identity_binary64_419 add-cube-cbrt_binary64_454
associate-*l*_binary64_360
prod-exp_binary64_468 cbrt-unprod_binary64_452
pow-prod-down_binary64_490
associate-*r*_binary64_359
add-log-exp_binary64_458
times-frac_binary64_425 *-commutative_binary64_350 swap-sqr_binary64_386 associate-/l*_binary64_364
div-exp_binary64_470 cbrt-undiv_binary64_453
cos-2_binary64_561 clear-num_binary64_418 div-inv_binary64_416 unswap-sqr_binary64_387 sqr-abs_binary64_434 pow-plus_binary64_482 frac-2neg_binary64_430 pow-sqr_binary64_392 associate-/r*_binary64_363 pow-prod-up_binary64_489 pow2_binary64_500 div-sub_binary64_424
Counts
4 → 84
Calls

4 calls:

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

series620.0ms (7.1%)

Counts
4 → 39
Calls

4 calls:

331.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (fabs.f64 (*.f64 s (*.f64 c x)))))
101.0ms
(*.f64 s (*.f64 c x))
100.0ms
(*.f64 s (*.f64 c x))
88.0ms
(*.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (fabs.f64 (*.f64 s (*.f64 c x))))
Compiler

Compiled 1220 to 1000 computations (18% saved)

simplify69.0ms (0.8%)

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
049621744
149621744

prune136.0ms (1.6%)

Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New1149123
Fresh4610
Picked101
Done000
Total11915134
Error
2.0b
Counts
134 → 15
Compiler

Compiled 2697 to 1134 computations (58% 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.4b
(/.f64 (cos.f64 (*.f64 x 2)) (fabs.f64 (*.f64 s (*.f64 c x))))
6.1b
(*.f64 s (*.f64 c x))
6.1b
(*.f64 s (*.f64 c x))

rewrite33.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
84×times-frac_binary64_425
56×*-un-lft-identity_binary64_419 add-cube-cbrt_binary64_454 add-sqr-sqrt_binary64_441
21×add-cbrt-cube_binary64_455 add-exp-log_binary64_457
16×associate-/l*_binary64_364
14×pow1_binary64_480
pow-prod-down_binary64_490 div-inv_binary64_416 prod-exp_binary64_468 cbrt-unprod_binary64_452 associate-*l*_binary64_360 associate-/r*_binary64_363
add-log-exp_binary64_458 div-exp_binary64_470 cbrt-undiv_binary64_453
clear-num_binary64_418 associate-*r*_binary64_359 *-commutative_binary64_350 frac-2neg_binary64_430
associate-/l/_binary64_366
Counts
4 → 133
Calls

4 calls:

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

series757.0ms (8.7%)

Counts
4 → 42
Calls

4 calls:

345.0ms
(/.f64 (/.f64 (cos.f64 (*.f64 x 2)) (fabs.f64 (*.f64 s (*.f64 c x)))) (fabs.f64 (*.f64 s (*.f64 c x))))
220.0ms
(/.f64 (cos.f64 (*.f64 x 2)) (fabs.f64 (*.f64 s (*.f64 c x))))
99.0ms
(*.f64 s (*.f64 c x))
92.0ms
(*.f64 s (*.f64 c x))
Compiler

Compiled 1412 to 1092 computations (22.7% saved)

simplify96.0ms (1.1%)

Algorithm
egg-herbie
Counts
175 → 175
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
049834643
149834643

prune202.0ms (2.3%)

Pruning

17 alts after pruning (17 fresh and 0 done)

PrunedKeptTotal
New1705175
Fresh21214
Picked101
Done000
Total17317190
Error
2.0b
Counts
190 → 17
Compiler

Compiled 4830 to 1911 computations (60.4% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.3b
(/.f64 (cos.f64 (*.f64 x 2)) (pow.f64 (fabs.f64 (*.f64 s (*.f64 c x))) 3/2))
6.1b
(*.f64 s (*.f64 c x))
6.1b
(*.f64 s (*.f64 c x))
13.5b
(sqrt.f64 (fabs.f64 (*.f64 s (*.f64 c x))))

rewrite25.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt_binary64_441
23×*-un-lft-identity_binary64_419 add-cube-cbrt_binary64_454
21×times-frac_binary64_425
19×add-exp-log_binary64_457
16×add-cbrt-cube_binary64_455
15×pow1_binary64_480
12×unpow-prod-down_binary64_498
associate-/r*_binary64_363
pow-prod-down_binary64_490 prod-exp_binary64_468 cbrt-unprod_binary64_452 associate-*l*_binary64_360
add-log-exp_binary64_458 sqr-pow_binary64_391
sqrt-prod_binary64_435 div-exp_binary64_470 associate-/l*_binary64_364
associate-*r*_binary64_359 *-commutative_binary64_350
clear-num_binary64_418 pow1/2_binary64_499 div-inv_binary64_416 pow-exp_binary64_487 pow-to-exp_binary64_488 frac-2neg_binary64_430 sqrt-pow1_binary64_437 rem-sqrt-square_binary64_432 cbrt-undiv_binary64_453
Counts
4 → 94
Calls

4 calls:

5.0ms
(*.f64 s (*.f64 c x))
5.0ms
(/.f64 (cos.f64 (*.f64 x 2)) (pow.f64 (fabs.f64 (*.f64 s (*.f64 c x))) 3/2))
5.0ms
(*.f64 s (*.f64 c x))
1.0ms
(sqrt.f64 (fabs.f64 (*.f64 s (*.f64 c x))))

series758.0ms (8.7%)

Counts
4 → 37
Calls

4 calls:

487.0ms
(/.f64 (cos.f64 (*.f64 x 2)) (pow.f64 (fabs.f64 (*.f64 s (*.f64 c x))) 3/2))
101.0ms
(*.f64 s (*.f64 c x))
93.0ms
(*.f64 s (*.f64 c x))
76.0ms
(sqrt.f64 (fabs.f64 (*.f64 s (*.f64 c x))))
Compiler

Compiled 1629 to 1319 computations (19% saved)

simplify83.0ms (0.9%)

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
049282475
149282475

prune144.0ms (1.6%)

Pruning

16 alts after pruning (16 fresh and 0 done)

PrunedKeptTotal
New1274131
Fresh41216
Picked101
Done000
Total13216148
Error
2.0b
Counts
148 → 16
Compiler

Compiled 3501 to 1375 computations (60.7% saved)

regimes822.0ms (9.4%)

Accuracy

Total 1.5b remaining (60.8%)

Threshold costs 0b (0%)

Compiler

Compiled 8751 to 6275 computations (28.3% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01833
11833

end0.0ms (0%)

sample2.8s (31.6%)

Algorithm
intervals
Results
468.0ms6126×body128valid
313.0ms963×body1024valid
149.0ms1914×body128invalid
145.0ms612×body512valid
75.0ms210×body1024invalid
53.0ms239×body512invalid
45.0ms298×body256valid
24.0ms159×body256invalid
0.0msbody2048valid
Compiler

Compiled 1451 to 1037 computations (28.5% saved)

Profiling

Loading profile data...