Details

Time bar (total: 13.8s)

analyze1.1s (8.2%)

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
Compiler

Compiled 17 to 15 computations (11.8% saved)

sample65.0ms (0.5%)

Algorithm
intervals
Results
17.0ms190×body128valid
12.0ms39×body1024valid
5.0ms65×body128invalid
4.0ms19×body512valid
2.0msbody1024invalid
1.0msbody512invalid
1.0msbody256valid
0.0msbody256invalid
Compiler

Compiled 33 to 32 computations (3% saved)

simplify176.0ms (1.3%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (169.0ms)

IterNodesCost
0727824

prune3.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112
Error
29.6b
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.6b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x)))
4.6b
(*.f64 (*.f64 x (pow.f64 s 2)) x)
6.4b
(*.f64 x (pow.f64 s 2))
20.7b
(*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x))

rewrite363.0ms (2.6%)

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

series656.0ms (4.8%)

Error
27.4b
Counts
4 → 31
Calls

4 calls:

323.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x)))
175.0ms
(*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x))
75.0ms
(*.f64 (*.f64 x (pow.f64 s 2)) x)
51.0ms
(*.f64 x (pow.f64 s 2))
Compiler

Compiled 1507 to 1303 computations (13.5% saved)

simplify76.0ms (0.5%)

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
049912501
149912501

prune166.0ms (1.2%)

Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New13515150
Fresh000
Picked101
Done000
Total13615151
Error
1.4b
Counts
151 → 15
Compiler

Compiled 3126 to 1527 computations (51.2% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.3b
(*.f64 (fabs.f64 (*.f64 s (*.f64 x c))) (fabs.f64 (*.f64 s (*.f64 x c))))
0.6b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (fabs.f64 (*.f64 s (*.f64 x c))) (fabs.f64 (*.f64 s (*.f64 x c)))))
4.9b
(*.f64 s (*.f64 x c))
4.9b
(*.f64 s (*.f64 x c))

rewrite125.0ms (0.9%)

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

series655.0ms (4.7%)

Error
1.4b
Counts
4 → 39
Calls

4 calls:

344.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (fabs.f64 (*.f64 s (*.f64 x c))) (fabs.f64 (*.f64 s (*.f64 x c)))))
97.0ms
(*.f64 s (*.f64 x c))
91.0ms
(*.f64 s (*.f64 x c))
91.0ms
(*.f64 (fabs.f64 (*.f64 s (*.f64 x c))) (fabs.f64 (*.f64 s (*.f64 x c))))
Compiler

Compiled 1895 to 1137 computations (40% saved)

simplify68.0ms (0.5%)

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
049571759
149571759

prune144.0ms (1%)

Pruning

17 alts after pruning (17 fresh and 0 done)

PrunedKeptTotal
New11211123
Fresh8614
Picked101
Done000
Total12117138
Error
1.1b
Counts
138 → 17
Compiler

Compiled 2731 to 1152 computations (57.8% 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.9b
(/.f64 (cos.f64 (*.f64 x 2)) (fabs.f64 (*.f64 s (*.f64 x c))))
4.9b
(*.f64 s (*.f64 x c))
4.9b
(*.f64 s (*.f64 x c))

rewrite193.0ms (1.4%)

Algorithm
rewrite-expression-head
Error
1.1b
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:

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

series776.0ms (5.6%)

Error
1.1b
Counts
4 → 42
Calls

4 calls:

341.0ms
(/.f64 (/.f64 (cos.f64 (*.f64 x 2)) (fabs.f64 (*.f64 s (*.f64 x c)))) (fabs.f64 (*.f64 s (*.f64 x c))))
216.0ms
(/.f64 (cos.f64 (*.f64 x 2)) (fabs.f64 (*.f64 s (*.f64 x c))))
97.0ms
(*.f64 s (*.f64 x c))
91.0ms
(*.f64 s (*.f64 x c))
Compiler

Compiled 2252 to 1220 computations (45.8% saved)

simplify82.0ms (0.6%)

Algorithm
egg-herbie
Counts
175 → 175
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
049754664
149754664

prune204.0ms (1.5%)

Pruning

19 alts after pruning (19 fresh and 0 done)

PrunedKeptTotal
New1687175
Fresh41216
Picked101
Done000
Total17319192
Error
1.1b
Counts
192 → 19
Compiler

Compiled 4889 to 1923 computations (60.7% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.2b
(/.f64 (/.f64 1 (/.f64 (fabs.f64 (*.f64 s (*.f64 x c))) (cos.f64 (*.f64 x 2)))) (fabs.f64 (*.f64 s (*.f64 x c))))
0.9b
(/.f64 1 (/.f64 (fabs.f64 (*.f64 s (*.f64 x c))) (cos.f64 (*.f64 x 2))))
4.9b
(*.f64 s (*.f64 x c))
4.9b
(*.f64 s (*.f64 x c))

rewrite595.0ms (4.3%)

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

4 calls:

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

Compiled 12312 to 5142 computations (58.2% saved)

series783.0ms (5.7%)

Error
1.1b
Counts
4 → 42
Calls

4 calls:

366.0ms
(/.f64 (/.f64 1 (/.f64 (fabs.f64 (*.f64 s (*.f64 x c))) (cos.f64 (*.f64 x 2)))) (fabs.f64 (*.f64 s (*.f64 x c))))
204.0ms
(/.f64 1 (/.f64 (fabs.f64 (*.f64 s (*.f64 x c))) (cos.f64 (*.f64 x 2))))
94.0ms
(*.f64 s (*.f64 x c))
86.0ms
(*.f64 s (*.f64 x c))
Compiler

Compiled 2360 to 1328 computations (43.7% saved)

simplify175.0ms (1.3%)

Algorithm
egg-herbie
Counts
354 → 354
Iterations

Useful iterations: 0 (64.0ms)

IterNodesCost
0497413080
1497413080

prune531.0ms (3.8%)

Pruning

19 alts after pruning (18 fresh and 1 done)

PrunedKeptTotal
New3540354
Fresh01818
Picked011
Done000
Total35419373
Error
1.1b
Counts
373 → 19
Compiler

Compiled 11058 to 4673 computations (57.7% saved)

regimes1.8s (13.2%)

Accuracy

Total 1.7b remaining (61.9%)

Threshold costs 0b (0%)

Compiler

Compiled 24812 to 17243 computations (30.5% saved)

bsearch0.0ms (0%)

simplify9.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01831
11831
Compiler

Compiled 40 to 26 computations (35% saved)

end0.0ms (0%)

sample5.0s (36%)

Algorithm
intervals
Results
464.0ms6067×body128valid
332.0ms995×body1024valid
158.0ms1925×body128invalid
142.0ms607×body512valid
73.0ms195×body1024invalid
53.0ms238×body512invalid
50.0ms327×body256valid
26.0ms167×body256invalid
2.0msbody2048valid
Compiler

Compiled 3828 to 2617 computations (31.6% saved)

Profiling

Loading profile data...