Details

Time bar (total: 12.2s)

analyze1.5s (12%)

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)

sample62.0ms (0.5%)

Algorithm
intervals
Results
15.0ms201×body128valid
12.0ms39×body1024valid
4.0ms58×body128invalid
3.0ms14×body512valid
2.0msbody512invalid
2.0msbody1024invalid
1.0msbody256invalid
0.0msbody256valid
Compiler

Compiled 33 to 32 computations (3% saved)

simplify174.0ms (1.4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (168.0ms)

IterNodesCost
0727824

prune8.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 32 to 26 computations (18.8% saved)

localize12.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.2b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x)))
3.2b
(*.f64 (*.f64 x (pow.f64 s 2)) x)
8.9b
(*.f64 x (pow.f64 s 2))
19.6b
(*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x))

rewrite218.0ms (1.8%)

Algorithm
rewrite-expression-head
Error
13.6b
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)

series664.0ms (5.5%)

Error
26.0b
Counts
4 → 31
Calls

4 calls:

337.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x)))
168.0ms
(*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x))
76.0ms
(*.f64 (*.f64 x (pow.f64 s 2)) x)
54.0ms
(*.f64 x (pow.f64 s 2))
Compiler

Compiled 1507 to 1303 computations (13.5% saved)

simplify79.0ms (0.6%)

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
049912501
149912501

prune163.0ms (1.3%)

Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New13911150
Fresh000
Picked011
Done000
Total13912151
Error
0.8b
Counts
151 → 12
Compiler

Compiled 3013 to 1459 computations (51.6% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.2b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (fabs.f64 (*.f64 s (*.f64 x c))) (fabs.f64 (*.f64 s (*.f64 x c)))))
0.3b
(*.f64 (fabs.f64 (*.f64 s (*.f64 x c))) (fabs.f64 (*.f64 s (*.f64 x c))))
4.7b
(*.f64 s (*.f64 x c))
4.7b
(*.f64 s (*.f64 x c))

rewrite129.0ms (1.1%)

Algorithm
rewrite-expression-head
Error
0.6b
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 swap-sqr_binary64_386 times-frac_binary64_425 associate-/l*_binary64_364
div-exp_binary64_470 cbrt-undiv_binary64_453
pow2_binary64_500 pow-prod-up_binary64_489 pow-plus_binary64_482 sqr-abs_binary64_434 pow-sqr_binary64_392 unswap-sqr_binary64_387 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 → 84
Calls

4 calls:

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

series651.0ms (5.4%)

Error
0.8b
Counts
4 → 38
Calls

4 calls:

334.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (fabs.f64 (*.f64 s (*.f64 x c))) (fabs.f64 (*.f64 s (*.f64 x c)))))
99.0ms
(*.f64 s (*.f64 x c))
99.0ms
(*.f64 s (*.f64 x c))
90.0ms
(*.f64 (fabs.f64 (*.f64 s (*.f64 x c))) (fabs.f64 (*.f64 s (*.f64 x c))))
Compiler

Compiled 1840 to 1109 computations (39.7% saved)

simplify54.0ms (0.4%)

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
050171675

prune144.0ms (1.2%)

Pruning

17 alts after pruning (16 fresh and 1 done)

PrunedKeptTotal
New11111122
Fresh5510
Picked101
Done011
Total11717134
Error
0.6b
Counts
134 → 17
Compiler

Compiled 2645 to 1103 computations (58.3% saved)

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

rewrite203.0ms (1.7%)

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

4 calls:

7.0ms
(/.f64 (/.f64 (cos.f64 (*.f64 x 2)) (fabs.f64 (*.f64 s (*.f64 x c)))) (fabs.f64 (*.f64 s (*.f64 x c))))
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))))
Compiler

Compiled 4262 to 1412 computations (66.9% saved)

series751.0ms (6.2%)

Error
0.6b
Counts
4 → 40
Calls

4 calls:

338.0ms
(/.f64 (/.f64 (cos.f64 (*.f64 x 2)) (fabs.f64 (*.f64 s (*.f64 x c)))) (fabs.f64 (*.f64 s (*.f64 x c))))
200.0ms
(/.f64 (cos.f64 (*.f64 x 2)) (fabs.f64 (*.f64 s (*.f64 x c))))
93.0ms
(*.f64 s (*.f64 x c))
92.0ms
(*.f64 s (*.f64 x c))
Compiler

Compiled 2143 to 1171 computations (45.4% saved)

simplify81.0ms (0.7%)

Algorithm
egg-herbie
Counts
173 → 173
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
050464502

prune210.0ms (1.7%)

Pruning

19 alts after pruning (18 fresh and 1 done)

PrunedKeptTotal
New1658173
Fresh51015
Picked101
Done011
Total17119190
Error
0.5b
Counts
190 → 19
Compiler

Compiled 4759 to 1867 computations (60.8% saved)

localize15.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite145.0ms (1.2%)

Algorithm
rewrite-expression-head
Error
0.5b
Rules
24×add-sqr-sqrt_binary64_441
23×add-cube-cbrt_binary64_454 *-un-lft-identity_binary64_419
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
pow1/2_binary64_499 sqrt-pow1_binary64_437 rem-sqrt-square_binary64_432 pow-to-exp_binary64_488 pow-exp_binary64_487 cbrt-undiv_binary64_453 frac-2neg_binary64_430 clear-num_binary64_418 div-inv_binary64_416
Counts
4 → 94
Calls

4 calls:

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

Compiled 2880 to 1163 computations (59.6% saved)

series858.0ms (7.1%)

Error
0.5b
Counts
4 → 38
Calls

4 calls:

535.0ms
(/.f64 (cos.f64 (*.f64 x 2)) (pow.f64 (fabs.f64 (*.f64 s (*.f64 x c))) 3/2))
106.0ms
(*.f64 s (*.f64 x c))
104.0ms
(*.f64 s (*.f64 x c))
78.0ms
(sqrt.f64 (fabs.f64 (*.f64 s (*.f64 x c))))
Compiler

Compiled 2572 to 1473 computations (42.7% saved)

simplify75.0ms (0.6%)

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
049662513
149662513

prune153.0ms (1.3%)

Pruning

16 alts after pruning (15 fresh and 1 done)

PrunedKeptTotal
New1311132
Fresh31417
Picked101
Done011
Total13516151
Error
0.5b
Counts
151 → 16
Compiler

Compiled 3534 to 1391 computations (60.6% saved)

regimes1.5s (12.6%)

Accuracy

Total 1.5b remaining (60.4%)

Threshold costs 0b (0%)

Compiler

Compiled 20883 to 14445 computations (30.8% saved)

bsearch0.0ms (0%)

simplify12.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02031
12031
Remove

(sort c s)

Compiler

Compiled 40 to 26 computations (35% saved)

end0.0ms (0%)

sample4.3s (35.3%)

Algorithm
intervals
Results
474.0ms6111×body128valid
328.0ms984×body1024valid
161.0ms1906×body128invalid
147.0ms603×body512valid
61.0ms195×body1024invalid
54.0ms238×body512invalid
52.0ms298×body256valid
24.0ms158×body256invalid
2.0msbody2048valid
Compiler

Compiled 3242 to 2205 computations (32% saved)

Profiling

Loading profile data...