Details

Time bar (total: 13.3s)

analyze9.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%50%0%4
75%25%0%5
87.5%12.5%0%6
93.7%6.2%0%7
96.8%3.1%0%8
98.4%1.6%0%9
99.2%0.8%0%10
99.6%0.4%0%11
99.8%0.2%0%12
99.9%0.1%0%13
99.9%0.1%0.1%14
Compiler

Compiled 16 to 14 computations (12.5% saved)

sample25.0ms (0.2%)

Algorithm
intervals
Results
7.0ms47×body1024valid
5.0ms130×body128valid
5.0ms46×body512valid
2.0ms33×body256valid
Compiler

Compiled 31 to 28 computations (9.7% saved)

simplify127.0ms (1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (15.0ms)

IterNodesCost
019222
119222

prune4.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 30 to 26 computations (13.3% saved)

localize17.0ms (0.1%)

Local error

Found 3 expressions with local error:

0.0b
(/.f64 1 (+.f64 x 1))
0.0b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x))
3.5b
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))

rewrite157.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
87×*-un-lft-identity_binary64_419
53×times-frac_binary64_425
43×add-sqr-sqrt_binary64_441
26×add-cube-cbrt_binary64_454 cancel-sign-sub-inv_binary64_385
17×distribute-lft-out_binary64_370
14×distribute-lft-out--_binary64_371 associate-+l+_binary64_352
10×add-log-exp_binary64_458
div-inv_binary64_416
add-exp-log_binary64_457
difference-of-squares_binary64_388
add-cbrt-cube_binary64_455
associate-/r*_binary64_363 pow1_binary64_480
frac-add_binary64_427 associate-/l*_binary64_364
flip3-+_binary64_422 sub-neg_binary64_412 sum-log_binary64_510 flip3--_binary64_423 associate-/r/_binary64_365 flip-+_binary64_393 diff-log_binary64_511 flip--_binary64_394 div-exp_binary64_470 frac-sub_binary64_428
clear-num_binary64_418 1-exp_binary64_463 inv-pow_binary64_504 associate-+l-_binary64_354 rec-exp_binary64_469 frac-2neg_binary64_430 pow-flip_binary64_493 +-commutative_binary64_349 cbrt-undiv_binary64_453
Counts
3 → 112
Calls

3 calls:

82.0ms
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
44.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x))
11.0ms
(/.f64 1 (+.f64 x 1))

series128.0ms (1%)

Counts
3 → 9
Calls

3 calls:

87.0ms
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
26.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x))
15.0ms
(/.f64 1 (+.f64 x 1))

simplify132.0ms (1%)

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 0 (84.0ms)

IterNodesCost
050392123

prune195.0ms (1.5%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1183121
Fresh000
Picked101
Done000
Total1193122
Error
0.4b
Counts
122 → 3
Compiler

Compiled 2553 to 2057 computations (19.4% saved)

localize26.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.1b
(/.f64 (/.f64 1 (-.f64 x 1)) (-.f64 x 1))
0.3b
(*.f64 (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x)) (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x)))
6.2b
(-.f64 (*.f64 (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x)) (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x))) (/.f64 (/.f64 1 (-.f64 x 1)) (-.f64 x 1)))
16.7b
(/.f64 (-.f64 (*.f64 (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x)) (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x))) (/.f64 (/.f64 1 (-.f64 x 1)) (-.f64 x 1))) (-.f64 (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1))))

rewrite822.0ms (6.2%)

Algorithm
rewrite-expression-head
Rules
1125×times-frac_binary64_425
1051×*-un-lft-identity_binary64_419
960×add-sqr-sqrt_binary64_441
341×difference-of-squares_binary64_388
308×distribute-lft-out--_binary64_371
283×add-cube-cbrt_binary64_454
247×cancel-sign-sub-inv_binary64_385
100×difference-of-sqr-1_binary64_389
93×div-inv_binary64_416
58×frac-sub_binary64_428
45×flip3--_binary64_423 flip--_binary64_394
39×associate-/r/_binary64_365
35×associate-/l*_binary64_364
28×associate--l+_binary64_356 distribute-rgt-in_binary64_369 distribute-lft-in_binary64_368
27×frac-times_binary64_429
24×distribute-lft-out_binary64_370
23×associate-/r*_binary64_363
21×swap-sqr_binary64_386
18×associate-/l/_binary64_366
17×add-exp-log_binary64_457
14×pow1_binary64_480
13×associate-*r*_binary64_359 associate-*l*_binary64_360 add-cbrt-cube_binary64_455
associate-*l/_binary64_362 associate-*r/_binary64_361
div-exp_binary64_470
add-log-exp_binary64_458
sub-neg_binary64_412
cbrt-undiv_binary64_453
clear-num_binary64_418 pow-div_binary64_494 frac-2neg_binary64_430
pow-prod-down_binary64_490 1-exp_binary64_463 inv-pow_binary64_504 unswap-sqr_binary64_387 prod-exp_binary64_468 cbrt-unprod_binary64_452 rec-exp_binary64_469 pow-plus_binary64_482 *-commutative_binary64_350 pow-flip_binary64_493 diff-log_binary64_511 pow-sqr_binary64_392 pow-prod-up_binary64_489 pow2_binary64_500 div-sub_binary64_424
Counts
4 → 791
Calls

4 calls:

237.0ms
(/.f64 (-.f64 (*.f64 (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x)) (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x))) (/.f64 (/.f64 1 (-.f64 x 1)) (-.f64 x 1))) (-.f64 (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1))))
151.0ms
(-.f64 (*.f64 (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x)) (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x))) (/.f64 (/.f64 1 (-.f64 x 1)) (-.f64 x 1)))
92.0ms
(*.f64 (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x)) (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x)))
27.0ms
(/.f64 (/.f64 1 (-.f64 x 1)) (-.f64 x 1))

series371.0ms (2.8%)

Counts
4 → 12
Calls

4 calls:

258.0ms
(/.f64 (-.f64 (*.f64 (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x)) (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x))) (/.f64 (/.f64 1 (-.f64 x 1)) (-.f64 x 1))) (-.f64 (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1))))
67.0ms
(-.f64 (*.f64 (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x)) (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x))) (/.f64 (/.f64 1 (-.f64 x 1)) (-.f64 x 1)))
34.0ms
(*.f64 (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x)) (-.f64 (/.f64 1 (+.f64 1 x)) (/.f64 2 x)))
12.0ms
(/.f64 (/.f64 1 (-.f64 x 1)) (-.f64 x 1))

simplify460.0ms (3.5%)

Algorithm
egg-herbie
Counts
803 → 803
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
0500436837

prune7.5s (56.6%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New8021803
Fresh022
Picked011
Done000
Total8024806
Error
0.4b
Counts
806 → 4
Compiler

Compiled 47554 to 37793 computations (20.5% saved)

localize16.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(*.f64 x (+.f64 1 x))
0.0b
(*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2)))
0.0b
(/.f64 (+.f64 (*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2))) (*.f64 x (+.f64 1 x))) (+.f64 (pow.f64 x 3) (neg.f64 x)))
18.9b
(+.f64 (*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2))) (*.f64 x (+.f64 1 x)))

rewrite125.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
45×*-un-lft-identity_binary64_419
44×associate-*r/_binary64_361
32×frac-add_binary64_427
30×flip3--_binary64_423 flip--_binary64_394
28×add-sqr-sqrt_binary64_441
21×times-frac_binary64_425
20×flip3-+_binary64_422 add-cube-cbrt_binary64_454 frac-times_binary64_429 flip-+_binary64_393
18×associate-/l/_binary64_366
10×associate-*l/_binary64_362 associate-*l*_binary64_360 add-cbrt-cube_binary64_455 add-exp-log_binary64_457
distribute-lft-out_binary64_370
unpow3_binary64_485 pow1_binary64_480 distribute-rgt-out_binary64_372
associate-*r*_binary64_359 associate-/r*_binary64_363
add-log-exp_binary64_458 distribute-rgt-in_binary64_369 distribute-lft-in_binary64_368
distribute-lft-neg-in_binary64_376 sub-neg_binary64_412 neg-mul-1_binary64_415 distribute-rgt-neg-in_binary64_377 cancel-sign-sub-inv_binary64_385 associate-+l+_binary64_352
associate-/l*_binary64_364
associate-+r+_binary64_351 pow-prod-down_binary64_490 difference-of-squares_binary64_388 unswap-sqr_binary64_387 prod-exp_binary64_468 cbrt-unprod_binary64_452 associate-/r/_binary64_365 *-commutative_binary64_350
clear-num_binary64_418 difference-of-sqr-1_binary64_389 div-inv_binary64_416 sum-log_binary64_510 distribute-lft-out--_binary64_371 frac-2neg_binary64_430 +-commutative_binary64_349 div-exp_binary64_470 cbrt-undiv_binary64_453
Counts
4 → 153
Calls

4 calls:

48.0ms
(/.f64 (+.f64 (*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2))) (*.f64 x (+.f64 1 x))) (+.f64 (pow.f64 x 3) (neg.f64 x)))
21.0ms
(*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2)))
17.0ms
(+.f64 (*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2))) (*.f64 x (+.f64 1 x)))
13.0ms
(*.f64 x (+.f64 1 x))

series75.0ms (0.6%)

Counts
4 → 12
Calls

4 calls:

32.0ms
(/.f64 (+.f64 (*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2))) (*.f64 x (+.f64 1 x))) (+.f64 (pow.f64 x 3) (neg.f64 x)))
26.0ms
(*.f64 x (+.f64 1 x))
12.0ms
(*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2)))
5.0ms
(+.f64 (*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2))) (*.f64 x (+.f64 1 x)))

simplify92.0ms (0.7%)

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
054126096

prune441.0ms (3.3%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1641165
Fresh112
Picked101
Done101
Total1672169
Error
0.4b
Counts
169 → 2
Compiler

Compiled 6902 to 4747 computations (31.2% saved)

localize5.0ms (0%)

Local error

Found 1 expressions with local error:

0.4b
(/.f64 2 (+.f64 (pow.f64 x 3) (neg.f64 x)))

rewrite26.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
33×*-un-lft-identity_binary64_419
21×times-frac_binary64_425
13×add-cube-cbrt_binary64_454 add-sqr-sqrt_binary64_441
unpow3_binary64_485 distribute-lft-out_binary64_370 distribute-rgt-out_binary64_372
associate-/r*_binary64_363
distribute-lft-neg-in_binary64_376 neg-mul-1_binary64_415 distribute-rgt-neg-in_binary64_377
add-cbrt-cube_binary64_455 add-exp-log_binary64_457 associate-/l*_binary64_364
associate-/r/_binary64_365
flip3-+_binary64_422 clear-num_binary64_418 add-log-exp_binary64_458 div-inv_binary64_416 frac-2neg_binary64_430 flip-+_binary64_393 pow1_binary64_480 div-exp_binary64_470 cbrt-undiv_binary64_453
Counts
1 → 45
Calls

1 calls:

19.0ms
(/.f64 2 (+.f64 (pow.f64 x 3) (neg.f64 x)))

series30.0ms (0.2%)

Counts
1 → 3
Calls

1 calls:

30.0ms
(/.f64 2 (+.f64 (pow.f64 x 3) (neg.f64 x)))

simplify67.0ms (0.5%)

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
04913775
14913775

prune89.0ms (0.7%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New44448
Fresh101
Picked011
Done000
Total45550
Error
0b
Counts
50 → 5
Compiler

Compiled 661 to 498 computations (24.7% saved)

regimes186.0ms (1.4%)

Accuracy

Total 0.1b remaining (96.8%)

Threshold costs 0.1b (96.8%)

Compiler

Compiled 1708 to 1422 computations (16.7% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0913
1913

end0.0ms (0%)

sample2.2s (16.2%)

Algorithm
intervals
Results
275.0ms1310×body1024valid
244.0ms4434×body128valid
232.0ms1492×body512valid
82.0ms764×body256valid
Compiler

Compiled 872 to 726 computations (16.7% saved)

Profiling

Loading profile data...