Details

Time bar (total: 7.3s)

analyze911.0ms (12.5%)

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)

sample53.0ms (0.7%)

Algorithm
intervals
Results
15.0ms205×body128valid
9.0ms28×body1024valid
5.0ms64×body128invalid
4.0ms19×body512valid
3.0ms13×body512invalid
2.0msbody1024invalid
1.0msbody256invalid
1.0msbody256valid
Compiler

Compiled 33 to 32 computations (3% saved)

simplify257.0ms (3.5%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (163.0ms)

IterNodesCost
0727824

prune3.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 25.6b

Counts
2 → 1
Compiler

Compiled 32 to 26 computations (18.8% saved)

localize15.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.3b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x)))
4.0b
(*.f64 (*.f64 x (pow.f64 s 2)) x)
8.2b
(*.f64 x (pow.f64 s 2))
17.5b
(*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x))

rewrite43.0ms (0.6%)

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:

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

series179.0ms (2.5%)

Counts
4 → 12
Calls

4 calls:

69.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x)))
57.0ms
(*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x))
30.0ms
(*.f64 (*.f64 x (pow.f64 s 2)) x)
23.0ms
(*.f64 x (pow.f64 s 2))

simplify62.0ms (0.8%)

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
050012228

prune136.0ms (1.9%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1247131
Fresh000
Picked101
Done000
Total1257132

Merged error: 1.1b

Counts
132 → 7
Compiler

Compiled 2651 to 1206 computations (54.5% saved)

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

rewrite25.0ms (0.4%)

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

series186.0ms (2.6%)

Counts
4 → 12
Calls

4 calls:

113.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (fabs.f64 (*.f64 s (*.f64 c x)))))
25.0ms
(*.f64 s (*.f64 c x))
24.0ms
(*.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (fabs.f64 (*.f64 s (*.f64 c x))))
24.0ms
(*.f64 s (*.f64 c x))

simplify61.0ms (0.8%)

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
050211306

prune120.0ms (1.6%)

Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New861096
Fresh246
Picked101
Done000
Total8914103

Merged error: 0.8b

Counts
103 → 14
Compiler

Compiled 2191 to 954 computations (56.5% saved)

localize15.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.4b
(/.f64 (*.f64 (cbrt.f64 (cos.f64 (*.f64 x 2))) (cbrt.f64 (cos.f64 (*.f64 x 2)))) (fabs.f64 (*.f64 s (*.f64 c x))))
0.4b
(/.f64 (cbrt.f64 (cos.f64 (*.f64 x 2))) (fabs.f64 (*.f64 s (*.f64 c x))))
4.6b
(*.f64 s (*.f64 c x))
4.6b
(*.f64 s (*.f64 c x))

rewrite33.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
23×*-un-lft-identity_binary64_419 add-cube-cbrt_binary64_454 add-sqr-sqrt_binary64_441
21×times-frac_binary64_425 add-exp-log_binary64_457
18×add-cbrt-cube_binary64_455
14×pow1_binary64_480
12×cbrt-prod_binary64_450
prod-exp_binary64_468 cbrt-unprod_binary64_452 associate-/l*_binary64_364
pow-prod-down_binary64_490 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 div-inv_binary64_416 associate-*r*_binary64_359 *-commutative_binary64_350 frac-2neg_binary64_430
Counts
4 → 96
Calls

4 calls:

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

series278.0ms (3.8%)

Counts
4 → 12
Calls

4 calls:

124.0ms
(/.f64 (*.f64 (cbrt.f64 (cos.f64 (*.f64 x 2))) (cbrt.f64 (cos.f64 (*.f64 x 2)))) (fabs.f64 (*.f64 s (*.f64 c x))))
104.0ms
(/.f64 (cbrt.f64 (cos.f64 (*.f64 x 2))) (fabs.f64 (*.f64 s (*.f64 c x))))
26.0ms
(*.f64 s (*.f64 c x))
24.0ms
(*.f64 s (*.f64 c x))

simplify86.0ms (1.2%)

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
049742258
149742258

prune203.0ms (2.8%)

Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New1053108
Fresh21113
Picked011
Done000
Total10715122

Merged error: 0.8b

Counts
122 → 15
Compiler

Compiled 4337 to 2291 computations (47.2% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.1b
(/.f64 (pow.f64 (fabs.f64 (*.f64 s (*.f64 c x))) 2) (cos.f64 (*.f64 x 2)))
0.3b
(pow.f64 (fabs.f64 (*.f64 s (*.f64 c x))) 2)
0.3b
(/.f64 1 (/.f64 (pow.f64 (fabs.f64 (*.f64 s (*.f64 c x))) 2) (cos.f64 (*.f64 x 2))))
4.6b
(*.f64 s (*.f64 c x))

rewrite47.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
204×times-frac_binary64_425
113×*-un-lft-identity_binary64_419 add-cube-cbrt_binary64_454 add-sqr-sqrt_binary64_441
51×unpow-prod-down_binary64_498
37×add-exp-log_binary64_457
31×associate-/r*_binary64_363
20×div-exp_binary64_470
17×sqr-pow_binary64_391 unpow2_binary64_484
16×add-cbrt-cube_binary64_455
11×pow1_binary64_480 associate-/l*_binary64_364
div-inv_binary64_416
pow-exp_binary64_487 pow-to-exp_binary64_488
1-exp_binary64_463 add-log-exp_binary64_458 rec-exp_binary64_469 cbrt-undiv_binary64_453
pow-prod-down_binary64_490 prod-exp_binary64_468 cbrt-unprod_binary64_452 associate-*l*_binary64_360 pow-unpow_binary64_496
clear-num_binary64_418 frac-2neg_binary64_430
inv-pow_binary64_504 associate-*r*_binary64_359 associate-/r/_binary64_365 *-commutative_binary64_350 pow-flip_binary64_493 pow-pow_binary64_491
Counts
4 → 227
Calls

4 calls:

10.0ms
(/.f64 1 (/.f64 (pow.f64 (fabs.f64 (*.f64 s (*.f64 c x))) 2) (cos.f64 (*.f64 x 2))))
5.0ms
(*.f64 s (*.f64 c x))
5.0ms
(/.f64 (pow.f64 (fabs.f64 (*.f64 s (*.f64 c x))) 2) (cos.f64 (*.f64 x 2)))
2.0ms
(pow.f64 (fabs.f64 (*.f64 s (*.f64 c x))) 2)

series238.0ms (3.3%)

Counts
4 → 12
Calls

4 calls:

97.0ms
(/.f64 1 (/.f64 (pow.f64 (fabs.f64 (*.f64 s (*.f64 c x))) 2) (cos.f64 (*.f64 x 2))))
90.0ms
(/.f64 (pow.f64 (fabs.f64 (*.f64 s (*.f64 c x))) 2) (cos.f64 (*.f64 x 2)))
28.0ms
(*.f64 s (*.f64 c x))
22.0ms
(pow.f64 (fabs.f64 (*.f64 s (*.f64 c x))) 2)

simplify100.0ms (1.4%)

Algorithm
egg-herbie
Counts
239 → 239
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
050127106

prune301.0ms (4.1%)

Pruning

16 alts after pruning (15 fresh and 1 done)

PrunedKeptTotal
New2363239
Fresh11213
Picked101
Done011
Total23816254

Merged error: 0.0b

Counts
254 → 16
Compiler

Compiled 5854 to 3177 computations (45.7% saved)

regimes928.0ms (12.8%)

Compiler

Compiled 10601 to 7442 computations (29.8% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01823
11823

end0.0ms (0%)

sample3.0s (40.8%)

Algorithm
intervals
Results
464.0ms6146×body128valid
298.0ms925×body1024valid
154.0ms1874×body128invalid
139.0ms616×body512valid
66.0ms199×body1024invalid
56.0ms239×body512invalid
47.0ms308×body256valid
29.0ms158×body256invalid
2.0msbody2048valid
Compiler

Compiled 1750 to 1229 computations (29.8% saved)

Profiling

Loading profile data...