Details

Time bar (total: 11.4s)

analyze1.4s (12.4%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0508396
033
133
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
Symmetry

sort(c s)

Compiler

Compiled 17 to 15 computations (11.8% saved)

sample61.0ms (0.5%)

Algorithm
intervals
Results
14.0ms194×body128valid
9.0ms29×body1024valid
5.0ms61×body128invalid
4.0ms20×body512valid
2.0msbody1024invalid
2.0ms13×body256valid
1.0msbody512invalid
1.0msbody256invalid
Compiler

Compiled 33 to 32 computations (3% saved)

simplify172.0ms (1.5%)

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
29.3b
Counts
2 → 1
Compiler

Compiled 32 to 26 computations (18.8% saved)

localize16.0ms (0.1%)

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)))
2.6b
(*.f64 (*.f64 x (pow.f64 s 2)) x)
8.7b
(*.f64 x (pow.f64 s 2))
19.3b
(*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x))

rewrite216.0ms (1.9%)

Algorithm
rewrite-expression-head
Error
13.8b
Rules
122×add-exp-log_binary64_457
82×prod-exp_binary64_468
34×add-cbrt-cube_binary64_455
18×pow-to-exp_binary64_488 pow-exp_binary64_487 add-sqr-sqrt_binary64_441
16×cbrt-unprod_binary64_452 div-exp_binary64_470
12×add-cube-cbrt_binary64_454 *-un-lft-identity_binary64_419 associate-*l*_binary64_360 associate-*r*_binary64_359
unpow-prod-down_binary64_498
pow1_binary64_480
add-log-exp_binary64_458 unswap-sqr_binary64_387 cbrt-undiv_binary64_453
unpow2_binary64_484 sqr-pow_binary64_391 *-commutative_binary64_350 times-frac_binary64_425 associate-/l*_binary64_364
pow-prod-down_binary64_490 frac-2neg_binary64_430 cos-2_binary64_561 div-sub_binary64_424 clear-num_binary64_418 div-inv_binary64_416 associate-/r*_binary64_363
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))
Compiler

Compiled 2836 to 1920 computations (32.3% saved)

series678.0ms (6%)

Error
28.3b
Counts
4 → 31
Calls

4 calls:

329.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x)))
187.0ms
(*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x))
77.0ms
(*.f64 (*.f64 x (pow.f64 s 2)) x)
57.0ms
(*.f64 x (pow.f64 s 2))
Compiler

Compiled 1507 to 1303 computations (13.5% saved)

simplify77.0ms (0.7%)

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
049912501
149912501

prune159.0ms (1.4%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New13812150
Fresh000
Picked101
Done000
Total13912151
Error
1.8b
Counts
151 → 12
Compiler

Compiled 3056 to 1479 computations (51.6% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.2b
(*.f64 (fabs.f64 (*.f64 s (*.f64 x c))) (fabs.f64 (*.f64 s (*.f64 x c))))
0.5b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (fabs.f64 (*.f64 s (*.f64 x c))) (fabs.f64 (*.f64 s (*.f64 x c)))))
6.1b
(*.f64 s (*.f64 x c))
6.1b
(*.f64 s (*.f64 x c))

rewrite129.0ms (1.1%)

Algorithm
rewrite-expression-head
Error
1.4b
Rules
21×pow1_binary64_480 add-exp-log_binary64_457 add-cbrt-cube_binary64_455
14×add-sqr-sqrt_binary64_441
12×add-cube-cbrt_binary64_454 *-un-lft-identity_binary64_419
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
*-commutative_binary64_350 times-frac_binary64_425 associate-/l*_binary64_364 swap-sqr_binary64_386
div-exp_binary64_470 cbrt-undiv_binary64_453
frac-2neg_binary64_430 cos-2_binary64_561 div-sub_binary64_424 clear-num_binary64_418 div-inv_binary64_416 associate-/r*_binary64_363 pow2_binary64_500 pow-prod-up_binary64_489 pow-plus_binary64_482 sqr-abs_binary64_434 pow-sqr_binary64_392 unswap-sqr_binary64_387
Counts
4 → 84
Calls

4 calls:

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

Compiled 2197 to 640 computations (70.9% saved)

series669.0ms (5.9%)

Error
1.8b
Counts
4 → 39
Calls

4 calls:

358.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (fabs.f64 (*.f64 s (*.f64 x c))) (fabs.f64 (*.f64 s (*.f64 x c)))))
94.0ms
(*.f64 s (*.f64 x c))
94.0ms
(*.f64 (fabs.f64 (*.f64 s (*.f64 x c))) (fabs.f64 (*.f64 s (*.f64 x c))))
93.0ms
(*.f64 s (*.f64 x c))
Compiler

Compiled 1895 to 1137 computations (40% saved)

simplify70.0ms (0.6%)

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
049571759
149571759

prune146.0ms (1.3%)

Pruning

16 alts after pruning (16 fresh and 0 done)

PrunedKeptTotal
New11211123
Fresh6511
Picked101
Done000
Total11916135
Error
1.4b
Counts
135 → 16
Compiler

Compiled 2724 to 1145 computations (58% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.5b
(/.f64 1 (fabs.f64 (*.f64 s (*.f64 x c))))
0.5b
(/.f64 (cos.f64 (*.f64 x 2)) (fabs.f64 (*.f64 s (*.f64 x c))))
6.1b
(*.f64 s (*.f64 x c))
6.1b
(*.f64 s (*.f64 x c))

rewrite131.0ms (1.2%)

Algorithm
rewrite-expression-head
Error
1.4b
Rules
22×add-cube-cbrt_binary64_454 add-sqr-sqrt_binary64_441 *-un-lft-identity_binary64_419
20×add-exp-log_binary64_457
18×add-cbrt-cube_binary64_455 times-frac_binary64_425
15×pow1_binary64_480
pow-prod-down_binary64_490 prod-exp_binary64_468 cbrt-unprod_binary64_452 associate-*l*_binary64_360 associate-/l*_binary64_364 associate-/r*_binary64_363
add-log-exp_binary64_458
div-exp_binary64_470
associate-*r*_binary64_359 *-commutative_binary64_350 cbrt-undiv_binary64_453 frac-2neg_binary64_430 clear-num_binary64_418 div-inv_binary64_416
inv-pow_binary64_504 pow-flip_binary64_493 1-exp_binary64_463 rec-exp_binary64_469
Counts
4 → 94
Calls

4 calls:

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

Compiled 2631 to 1016 computations (61.4% saved)

series553.0ms (4.8%)

Error
1.4b
Counts
4 → 39
Calls

4 calls:

211.0ms
(/.f64 (cos.f64 (*.f64 x 2)) (fabs.f64 (*.f64 s (*.f64 x c))))
120.0ms
(/.f64 1 (fabs.f64 (*.f64 s (*.f64 x c))))
96.0ms
(*.f64 s (*.f64 x c))
93.0ms
(*.f64 s (*.f64 x c))
Compiler

Compiled 2392 to 1297 computations (45.8% saved)

simplify83.0ms (0.7%)

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
050222128

prune162.0ms (1.4%)

Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New1276133
Fresh6915
Picked101
Done000
Total13415149
Error
1.4b
Counts
149 → 15
Compiler

Compiled 3693 to 1498 computations (59.4% saved)

localize17.0ms (0.1%)

Local error

Found 4 expressions with local error:

6.1b
(*.f64 s (*.f64 x c))
6.1b
(*.f64 s (*.f64 x c))
14.4b
(sqrt.f64 (fabs.f64 (*.f64 s (*.f64 x c))))
14.4b
(sqrt.f64 (fabs.f64 (*.f64 s (*.f64 x c))))

rewrite97.0ms (0.9%)

Algorithm
rewrite-expression-head
Error
1.4b
Rules
16×pow1_binary64_480
14×add-exp-log_binary64_457 add-cbrt-cube_binary64_455
10×add-sqr-sqrt_binary64_441
add-cube-cbrt_binary64_454 *-un-lft-identity_binary64_419
sqrt-prod_binary64_435 pow-prod-down_binary64_490 prod-exp_binary64_468 cbrt-unprod_binary64_452 associate-*l*_binary64_360
add-log-exp_binary64_458
pow1/2_binary64_499 sqrt-pow1_binary64_437 rem-sqrt-square_binary64_432 associate-*r*_binary64_359 *-commutative_binary64_350
Counts
4 → 62
Calls

4 calls:

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

Compiled 2290 to 781 computations (65.9% saved)

series398.0ms (3.5%)

Error
1.4b
Counts
4 → 36
Calls

4 calls:

100.0ms
(*.f64 s (*.f64 x c))
100.0ms
(*.f64 s (*.f64 x c))
82.0ms
(sqrt.f64 (fabs.f64 (*.f64 s (*.f64 x c))))
80.0ms
(sqrt.f64 (fabs.f64 (*.f64 s (*.f64 x c))))
Compiler

Compiled 3348 to 1591 computations (52.5% saved)

simplify80.0ms (0.7%)

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 0 (64.0ms)

IterNodesCost
04985980
14985980

prune110.0ms (1%)

Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New98098
Fresh01414
Picked011
Done000
Total9815113
Error
1.4b
Counts
113 → 15
Compiler

Compiled 3290 to 1132 computations (65.6% saved)

regimes1.6s (13.9%)

Accuracy

Total 1.5b remaining (58%)

Threshold costs 0b (0%)

Compiler

Compiled 22169 to 15139 computations (31.7% saved)

bsearch0.0ms (0%)

simplify9.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01528
11528
Removed

((sort c s))

Compiler

Compiled 36 to 22 computations (38.9% saved)

end0.0ms (0%)

sample4.3s (38.1%)

Algorithm
intervals
Results
465.0ms6091×body128valid
305.0ms952×body1024valid
160.0ms1885×body128invalid
148.0ms606×body512valid
60.0ms193×body1024invalid
54.0ms348×body256valid
53.0ms237×body512invalid
22.0ms140×body256invalid
1.0msbody2048valid
Compiler

Compiled 3447 to 2311 computations (33% saved)

Profiling

Loading profile data...