Details

Time bar (total: 5.4s)

analyze255.0ms (4.7%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
25%75%0%3
25%50%25%4
25%37.5%37.5%5
25%31.2%43.8%6
25%28.1%46.9%7
25%26.5%48.5%8
25%25.8%49.2%9
25%25.4%49.6%10
25%25.2%49.8%11
25%25.1%49.9%12
25%25%50%13
25%25%50%14
Compiler

Compiled 10 to 8 computations (20% saved)

sample52.0ms (1%)

Algorithm
intervals
Results
20.0ms131×body2048nan
11.0ms256×body128valid
6.0ms54×body1024nan
3.0ms38×body512nan
1.0ms13×body256nan
1.0ms16×body128nan
Compiler

Compiled 19 to 16 computations (15.8% saved)

simplify241.0ms (4.5%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (144.0ms)

IterNodesCost
0492214
1492214

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 28.4b

Counts
2 → 1
Compiler

Compiled 18 to 14 computations (22.2% saved)

localize7.0ms (0.1%)

Local error

Found 3 expressions with local error:

0.0b
(+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1)))
0.2b
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1))))
26.3b
(sqrt.f64 (-.f64 (*.f64 x x) 1))

rewrite21.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity_binary64_419
add-sqr-sqrt_binary64_441
sqrt-prod_binary64_435
add-log-exp_binary64_458 add-cube-cbrt_binary64_454 pow1_binary64_480
log-prod_binary64_505 add-exp-log_binary64_457
add-cbrt-cube_binary64_455
flip3-+_binary64_422 sqrt-div_binary64_436 difference-of-squares_binary64_388 distribute-lft-out_binary64_370 flip-+_binary64_393 log-div_binary64_506
rem-log-exp_binary64_460 pow1/2_binary64_499 difference-of-sqr-1_binary64_389 sum-log_binary64_510 flip3--_binary64_423 log-pow_binary64_508 sqrt-pow1_binary64_437 flip--_binary64_394 rem-sqrt-square_binary64_432 +-commutative_binary64_349
Counts
3 → 45
Calls

3 calls:

7.0ms
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1))))
7.0ms
(+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1)))
5.0ms
(sqrt.f64 (-.f64 (*.f64 x x) 1))

series119.0ms (2.2%)

Counts
3 → 9
Calls

3 calls:

59.0ms
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1))))
38.0ms
(+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1)))
22.0ms
(sqrt.f64 (-.f64 (*.f64 x x) 1))

simplify94.0ms (1.7%)

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 0 (69.0ms)

IterNodesCost
04931923
14931923

prune75.0ms (1.4%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New52254
Fresh000
Picked101
Done000
Total53255

Merged error: 0.0b

Counts
55 → 2
Compiler

Compiled 837 to 557 computations (33.5% saved)

localize17.0ms (0.3%)

Local error

Found 3 expressions with local error:

0.0b
(+.f64 x (*.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 (-.f64 x 1))))
0.2b
(log.f64 (+.f64 x (*.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 (-.f64 x 1)))))
0.5b
(*.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 (-.f64 x 1)))

rewrite26.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt_binary64_441
15×sqrt-prod_binary64_435
13×*-un-lft-identity_binary64_419
12×sqrt-div_binary64_436
10×associate-*r*_binary64_359
add-cube-cbrt_binary64_454 pow1_binary64_480
associate-*l*_binary64_360
add-exp-log_binary64_457
flip3-+_binary64_422 add-log-exp_binary64_458 flip-+_binary64_393 add-cbrt-cube_binary64_455
unswap-sqr_binary64_387 frac-times_binary64_429
pow-prod-down_binary64_490 log-prod_binary64_505 flip3--_binary64_423 flip--_binary64_394
associate-*l/_binary64_362 difference-of-squares_binary64_388 pow1/2_binary64_499 associate-*r/_binary64_361 sqrt-pow1_binary64_437 log-div_binary64_506
sqrt-unprod_binary64_439 rem-log-exp_binary64_460 difference-of-sqr-1_binary64_389 prod-exp_binary64_468 cbrt-unprod_binary64_452 sum-log_binary64_510 distribute-lft-out_binary64_370 distribute-lft-out--_binary64_371 log-pow_binary64_508 *-commutative_binary64_350 +-commutative_binary64_349
Counts
3 → 68
Calls

3 calls:

15.0ms
(*.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 (-.f64 x 1)))
3.0ms
(log.f64 (+.f64 x (*.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 (-.f64 x 1)))))
3.0ms
(+.f64 x (*.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 (-.f64 x 1))))

series106.0ms (2%)

Counts
3 → 9
Calls

3 calls:

43.0ms
(log.f64 (+.f64 x (*.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 (-.f64 x 1)))))
35.0ms
(*.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 (-.f64 x 1)))
29.0ms
(+.f64 x (*.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 (-.f64 x 1))))

simplify74.0ms (1.4%)

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
049771681
149771681

prune83.0ms (1.5%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New77077
Fresh011
Picked011
Done000
Total77279

Merged error: 0.0b

Counts
79 → 2
Compiler

Compiled 1524 to 1157 computations (24.1% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(-.f64 (/.f64 1/4 (*.f64 x x)) (log.f64 x))
0.1b
(/.f64 3/32 (pow.f64 x 4))
0.1b
(-.f64 (log.f64 2) (+.f64 (/.f64 3/32 (pow.f64 x 4)) (-.f64 (/.f64 1/4 (*.f64 x x)) (log.f64 x))))
0.5b
(/.f64 1/4 (*.f64 x x))

rewrite55.0ms (1%)

Algorithm
rewrite-expression-head
Rules
56×*-un-lft-identity_binary64_419
32×add-sqr-sqrt_binary64_441
26×add-cube-cbrt_binary64_454
25×times-frac_binary64_425
16×distribute-lft-out--_binary64_371
14×add-exp-log_binary64_457
13×pow1_binary64_480
12×unpow-prod-down_binary64_498
11×add-cbrt-cube_binary64_455
10×add-log-exp_binary64_458 cancel-sign-sub-inv_binary64_385
distribute-lft-out_binary64_370 log-pow_binary64_508
associate-/r*_binary64_363
log-prod_binary64_505 associate-/l*_binary64_364
diff-log_binary64_511 div-exp_binary64_470
sqr-pow_binary64_391 associate--r+_binary64_355
associate--l+_binary64_356 difference-of-squares_binary64_388 cbrt-undiv_binary64_453
clear-num_binary64_418 sub-neg_binary64_412 div-inv_binary64_416 sum-log_binary64_510 flip3--_binary64_423 frac-2neg_binary64_430 flip--_binary64_394
associate--r-_binary64_358 prod-exp_binary64_468 cbrt-unprod_binary64_452 pow-exp_binary64_487 pow-to-exp_binary64_488 associate-+r-_binary64_353
Counts
4 → 121
Calls

4 calls:

27.0ms
(-.f64 (log.f64 2) (+.f64 (/.f64 3/32 (pow.f64 x 4)) (-.f64 (/.f64 1/4 (*.f64 x x)) (log.f64 x))))
8.0ms
(-.f64 (/.f64 1/4 (*.f64 x x)) (log.f64 x))
5.0ms
(/.f64 3/32 (pow.f64 x 4))
5.0ms
(/.f64 1/4 (*.f64 x x))

series180.0ms (3.3%)

Counts
4 → 12
Calls

4 calls:

100.0ms
(-.f64 (/.f64 1/4 (*.f64 x x)) (log.f64 x))
42.0ms
(-.f64 (log.f64 2) (+.f64 (/.f64 3/32 (pow.f64 x 4)) (-.f64 (/.f64 1/4 (*.f64 x x)) (log.f64 x))))
22.0ms
(/.f64 3/32 (pow.f64 x 4))
16.0ms
(/.f64 1/4 (*.f64 x x))

simplify84.0ms (1.6%)

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
049462312
149462312

prune160.0ms (3%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1321133
Fresh000
Picked011
Done011
Total1323135

Merged error: 0b

Counts
135 → 3
Compiler

Compiled 2992 to 2021 computations (32.5% saved)

localize18.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.5b
(*.f64 (cbrt.f64 (-.f64 (log.f64 2) (+.f64 (/.f64 3/32 (pow.f64 x 4)) (-.f64 (/.f64 1/4 (*.f64 x x)) (log.f64 x))))) (cbrt.f64 (-.f64 (log.f64 2) (+.f64 (/.f64 3/32 (pow.f64 x 4)) (-.f64 (/.f64 1/4 (*.f64 x x)) (log.f64 x))))))
0.5b
(/.f64 1/4 (*.f64 x x))
0.5b
(/.f64 1/4 (*.f64 x x))
0.5b
(/.f64 1/4 (*.f64 x x))

rewrite130.0ms (2.4%)

Algorithm
rewrite-expression-head
Rules
434×*-un-lft-identity_binary64_419
240×distribute-lft-out--_binary64_371
196×cbrt-prod_binary64_450
131×pow1_binary64_480
120×distribute-lft-out_binary64_370 log-pow_binary64_508
87×swap-sqr_binary64_386
34×add-sqr-sqrt_binary64_441
21×add-exp-log_binary64_457
19×add-cbrt-cube_binary64_455
18×add-cube-cbrt_binary64_454
15×associate-*r*_binary64_359 associate-*l*_binary64_360
12×cbrt-div_binary64_451
times-frac_binary64_425 associate-/l*_binary64_364
pow1/3_binary64_501 flip3--_binary64_423 flip--_binary64_394 div-exp_binary64_470 cbrt-undiv_binary64_453
difference-of-squares_binary64_388 add-log-exp_binary64_458 unswap-sqr_binary64_387 frac-times_binary64_429 prod-exp_binary64_468 cbrt-unprod_binary64_452
clear-num_binary64_418 div-inv_binary64_416 frac-2neg_binary64_430 associate-/r*_binary64_363
associate-*l/_binary64_362 pow-prod-down_binary64_490 associate-*r/_binary64_361 pow-sqr_binary64_392 pow-prod-up_binary64_489
pow-plus_binary64_482 *-commutative_binary64_350 pow2_binary64_500
Counts
4 → 210
Calls

4 calls:

61.0ms
(*.f64 (cbrt.f64 (-.f64 (log.f64 2) (+.f64 (/.f64 3/32 (pow.f64 x 4)) (-.f64 (/.f64 1/4 (*.f64 x x)) (log.f64 x))))) (cbrt.f64 (-.f64 (log.f64 2) (+.f64 (/.f64 3/32 (pow.f64 x 4)) (-.f64 (/.f64 1/4 (*.f64 x x)) (log.f64 x))))))
5.0ms
(/.f64 1/4 (*.f64 x x))
5.0ms
(/.f64 1/4 (*.f64 x x))
5.0ms
(/.f64 1/4 (*.f64 x x))

series620.0ms (11.5%)

Counts
4 → 12
Calls

4 calls:

567.0ms
(*.f64 (cbrt.f64 (-.f64 (log.f64 2) (+.f64 (/.f64 3/32 (pow.f64 x 4)) (-.f64 (/.f64 1/4 (*.f64 x x)) (log.f64 x))))) (cbrt.f64 (-.f64 (log.f64 2) (+.f64 (/.f64 3/32 (pow.f64 x 4)) (-.f64 (/.f64 1/4 (*.f64 x x)) (log.f64 x))))))
19.0ms
(/.f64 1/4 (*.f64 x x))
17.0ms
(/.f64 1/4 (*.f64 x x))
16.0ms
(/.f64 1/4 (*.f64 x x))

simplify125.0ms (2.3%)

Algorithm
egg-herbie
Counts
222 → 222
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
051728237

prune1.0s (18.6%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New2220222
Fresh000
Picked011
Done022
Total2223225

Merged error: 0b

Counts
225 → 3
Compiler

Compiled 12857 to 9181 computations (28.6% saved)

regimes57.0ms (1.1%)

Compiler

Compiled 477 to 367 computations (23.1% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02319
12319

end0.0ms (0%)

sample1.8s (32.8%)

Algorithm
intervals
Results
629.0ms4059×body2048nan
344.0ms8000×body128valid
234.0ms1950×body1024nan
92.0ms1032×body512nan
28.0ms461×body256nan
16.0ms480×body128nan
1.0msbody4096nan
Compiler

Compiled 169 to 132 computations (21.9% saved)

Profiling

Loading profile data...