Details

Time bar (total: 17.1s)

analyze2.4s (13.9%)

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)

sample115.0ms (0.7%)

Algorithm
intervals
Results
28.0ms197×body128valid
21.0ms34×body1024valid
9.0ms60×body128invalid
8.0ms18×body512valid
5.0msbody1024invalid
3.0ms10×body256invalid
2.0msbody256valid
2.0msbody512invalid
Compiler

Compiled 33 to 32 computations (3% saved)

simplify453.0ms (2.6%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (440.0ms)

IterNodesCost
0727824

prune7.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 32 to 26 computations (18.8% saved)

localize26.0ms (0.2%)

Local error

Found 4 expressions with local error:

1.0b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x)))
3.7b
(*.f64 (*.f64 x (pow.f64 s 2)) x)
5.9b
(*.f64 x (pow.f64 s 2))
22.8b
(*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x))

rewrite108.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:

33.0ms
(*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x))
24.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x)))
14.0ms
(*.f64 x (pow.f64 s 2))
13.0ms
(*.f64 (*.f64 x (pow.f64 s 2)) x)

series1.1s (6.7%)

Counts
4 → 31
Calls

4 calls:

571.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x)))
335.0ms
(*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x))
126.0ms
(*.f64 (*.f64 x (pow.f64 s 2)) x)
112.0ms
(*.f64 x (pow.f64 s 2))
Compiler

Compiled 1005 to 928 computations (7.7% saved)

simplify153.0ms (0.9%)

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 0 (104.0ms)

IterNodesCost
049912501
149912501

prune272.0ms (1.6%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1419150
Fresh000
Picked101
Done000
Total1429151
Error
1.4b
Counts
151 → 9
Compiler

Compiled 2993 to 1428 computations (52.3% saved)

localize19.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))))
1.0b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (fabs.f64 (*.f64 s (*.f64 c x)))))
4.2b
(*.f64 s (*.f64 c x))
4.2b
(*.f64 s (*.f64 c x))

rewrite48.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:

10.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (fabs.f64 (*.f64 s (*.f64 c x)))))
9.0ms
(*.f64 s (*.f64 c x))
9.0ms
(*.f64 s (*.f64 c x))
7.0ms
(*.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (fabs.f64 (*.f64 s (*.f64 c x))))

series1.0s (6.1%)

Counts
4 → 37
Calls

4 calls:

558.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (fabs.f64 (*.f64 s (*.f64 c x)))))
178.0ms
(*.f64 s (*.f64 c x))
159.0ms
(*.f64 s (*.f64 c x))
147.0ms
(*.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (fabs.f64 (*.f64 s (*.f64 c x))))
Compiler

Compiled 1165 to 966 computations (17.1% saved)

simplify141.0ms (0.8%)

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 0 (104.0ms)

IterNodesCost
050211609

prune267.0ms (1.6%)

Pruning

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New10714121
Fresh448
Picked101
Done000
Total11218130
Error
0.8b
Counts
130 → 18
Compiler

Compiled 2677 to 1135 computations (57.6% saved)

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

rewrite63.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:

12.0ms
(/.f64 (/.f64 (cos.f64 (*.f64 x 2)) (fabs.f64 (*.f64 s (*.f64 c x)))) (fabs.f64 (*.f64 s (*.f64 c x))))
9.0ms
(*.f64 s (*.f64 c x))
9.0ms
(*.f64 s (*.f64 c x))
7.0ms
(/.f64 (cos.f64 (*.f64 x 2)) (fabs.f64 (*.f64 s (*.f64 c x))))

series1.2s (7.3%)

Counts
4 → 38
Calls

4 calls:

537.0ms
(/.f64 (/.f64 (cos.f64 (*.f64 x 2)) (fabs.f64 (*.f64 s (*.f64 c x)))) (fabs.f64 (*.f64 s (*.f64 c x))))
356.0ms
(/.f64 (cos.f64 (*.f64 x 2)) (fabs.f64 (*.f64 s (*.f64 c x))))
180.0ms
(*.f64 s (*.f64 c x))
170.0ms
(*.f64 s (*.f64 c x))
Compiler

Compiled 1303 to 1028 computations (21.1% saved)

simplify190.0ms (1.1%)

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 0 (118.0ms)

IterNodesCost
049714384
149714384

prune625.0ms (3.6%)

Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New1656171
Fresh9817
Picked011
Done000
Total17415189
Error
0.8b
Counts
189 → 15
Compiler

Compiled 4587 to 1781 computations (61.2% saved)

localize29.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))
4.2b
(*.f64 s (*.f64 c x))
4.2b
(*.f64 s (*.f64 c x))
13.7b
(sqrt.f64 (fabs.f64 (*.f64 s (*.f64 c x))))

rewrite48.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:

10.0ms
(*.f64 s (*.f64 c x))
10.0ms
(/.f64 (cos.f64 (*.f64 x 2)) (pow.f64 (fabs.f64 (*.f64 s (*.f64 c x))) 3/2))
9.0ms
(*.f64 s (*.f64 c x))
2.0ms
(sqrt.f64 (fabs.f64 (*.f64 s (*.f64 c x))))

series1.3s (7.8%)

Counts
4 → 37
Calls

4 calls:

838.0ms
(/.f64 (cos.f64 (*.f64 x 2)) (pow.f64 (fabs.f64 (*.f64 s (*.f64 c x))) 3/2))
179.0ms
(*.f64 s (*.f64 c x))
172.0ms
(*.f64 s (*.f64 c x))
143.0ms
(sqrt.f64 (fabs.f64 (*.f64 s (*.f64 c x))))
Compiler

Compiled 1629 to 1319 computations (19% saved)

simplify179.0ms (1%)

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 0 (130.0ms)

IterNodesCost
049282475
149282475

prune268.0ms (1.6%)

Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New1283131
Fresh21113
Picked101
Done011
Total13115146
Error
0.8b
Counts
146 → 15
Compiler

Compiled 3501 to 1375 computations (60.7% saved)

regimes1.4s (8.2%)

Accuracy

Total 1.5b remaining (57.5%)

Threshold costs 0b (0%)

Compiler

Compiled 9173 to 6530 computations (28.8% saved)

bsearch0.0ms (0%)

simplify16.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01528
11528
Compiler

Compiled 36 to 22 computations (38.9% saved)

end0.0ms (0%)

sample5.5s (32.3%)

Algorithm
intervals
Results
864.0ms6126×body128valid
565.0ms953×body1024valid
260.0ms586×body512valid
259.0ms1820×body128invalid
124.0ms216×body1024invalid
92.0ms331×body256valid
90.0ms222×body512invalid
54.0ms164×body256invalid
4.0msbody2048valid
Compiler

Compiled 1515 to 1074 computations (29.1% saved)

Profiling

Loading profile data...