Details

Time bar (total: 4.7s)

analyze4.0ms (0.1%)

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

Compiled 14 to 11 computations (21.4% saved)

sample27.0ms (0.6%)

Algorithm
intervals
Results
8.0ms133×body128valid
7.0ms60×body1024valid
3.0ms38×body512valid
1.0ms19×body256valid
1.0msbody2048valid
Compiler

Compiled 27 to 22 computations (18.5% saved)

simplify232.0ms (4.9%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (72.0ms)

IterNodesCost
066819
166819

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 29.8b

Counts
2 → 1
Compiler

Compiled 26 to 20 computations (23.1% saved)

localize6.0ms (0.1%)

Local error

Found 3 expressions with local error:

0.0b
(/.f64 x (+.f64 x 1))
0.0b
(/.f64 (+.f64 x 1) (-.f64 x 1))
2.1b
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))

rewrite77.0ms (1.6%)

Algorithm
rewrite-expression-head
Rules
148×*-un-lft-identity_binary64_1442
88×times-frac_binary64_1448
85×add-sqr-sqrt_binary64_1464
37×add-cube-cbrt_binary64_1477
34×cancel-sign-sub-inv_binary64_1408
27×distribute-lft-out_binary64_1393
22×difference-of-squares_binary64_1411 distribute-lft-out--_binary64_1394
11×associate-/r*_binary64_1386
difference-of-sqr-1_binary64_1412
add-cbrt-cube_binary64_1478 associate-/l*_binary64_1387 add-exp-log_binary64_1480
associate-/r/_binary64_1388
add-log-exp_binary64_1481
div-inv_binary64_1439 flip3--_binary64_1446 flip--_binary64_1417 pow1_binary64_1503
cbrt-undiv_binary64_1476 associate-/l/_binary64_1389 clear-num_binary64_1441 frac-2neg_binary64_1453 flip3-+_binary64_1445 flip-+_binary64_1416 div-exp_binary64_1493
sub-neg_binary64_1435 frac-sub_binary64_1451 diff-log_binary64_1534
Counts
3 → 147
Calls

3 calls:

46.0ms
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
9.0ms
(/.f64 (+.f64 x 1) (-.f64 x 1))
6.0ms
(/.f64 x (+.f64 x 1))

series137.0ms (2.9%)

Counts
3 → 9
Calls

3 calls:

84.0ms
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
28.0ms
(/.f64 x (+.f64 x 1))
25.0ms
(/.f64 (+.f64 x 1) (-.f64 x 1))

simplify75.0ms (1.6%)

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
053692774

prune199.0ms (4.2%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1524156
Fresh000
Picked101
Done000
Total1534157

Merged error: 0.0b

Counts
157 → 4
Compiler

Compiled 3064 to 2161 computations (29.5% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(/.f64 (+.f64 x 1) (-.f64 x 1))
0.1b
(exp.f64 (log.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))))
2.1b
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
2.8b
(log.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1))))

rewrite162.0ms (3.4%)

Algorithm
rewrite-expression-head
Rules
227×*-un-lft-identity_binary64_1442
116×times-frac_binary64_1448
104×add-sqr-sqrt_binary64_1464
48×distribute-lft-out--_binary64_1394
39×distribute-lft-out_binary64_1393
34×cancel-sign-sub-inv_binary64_1408
32×log-prod_binary64_1528 add-cube-cbrt_binary64_1477
30×difference-of-squares_binary64_1411
16×exp-sum_binary64_1488
difference-of-sqr-1_binary64_1412
associate-/r*_binary64_1386 add-exp-log_binary64_1480
add-cbrt-cube_binary64_1478 add-log-exp_binary64_1481 pow1_binary64_1503 log-div_binary64_1529
flip3--_binary64_1446 flip--_binary64_1417
associate-/r/_binary64_1388 associate-/l*_binary64_1387 exp-prod_binary64_1494
frac-sub_binary64_1451 exp-diff_binary64_1490
associate-/l/_binary64_1389 div-inv_binary64_1439 log-pow_binary64_1531
cbrt-undiv_binary64_1476 sub-neg_binary64_1435 clear-num_binary64_1441 rem-exp-log_binary64_1482 rem-log-exp_binary64_1483 frac-2neg_binary64_1453 diff-log_binary64_1534 flip3-+_binary64_1445 flip-+_binary64_1416 div-exp_binary64_1493
Counts
4 → 173
Calls

4 calls:

47.0ms
(exp.f64 (log.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))))
43.0ms
(log.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1))))
42.0ms
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
9.0ms
(/.f64 (+.f64 x 1) (-.f64 x 1))

series327.0ms (6.9%)

Counts
4 → 12
Calls

4 calls:

114.0ms
(exp.f64 (log.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))))
104.0ms
(log.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1))))
83.0ms
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
25.0ms
(/.f64 (+.f64 x 1) (-.f64 x 1))

simplify89.0ms (1.9%)

Algorithm
egg-herbie
Counts
185 → 185
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
051414213

prune229.0ms (4.8%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1832185
Fresh033
Picked101
Done000
Total1845189

Merged error: 0.0b

Counts
189 → 5
Compiler

Compiled 4136 to 3061 computations (26% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(/.f64 (+.f64 x 1) (-.f64 x 1))
0.1b
(pow.f64 E.f64 (log.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))))
2.1b
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
2.8b
(log.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1))))

rewrite164.0ms (3.5%)

Algorithm
rewrite-expression-head
Rules
228×*-un-lft-identity_binary64_1442
116×times-frac_binary64_1448
105×add-sqr-sqrt_binary64_1464
48×distribute-lft-out--_binary64_1394
39×distribute-lft-out_binary64_1393
34×cancel-sign-sub-inv_binary64_1408
33×add-cube-cbrt_binary64_1477
32×log-prod_binary64_1528
30×difference-of-squares_binary64_1411
16×unpow-prod-up_binary64_1520
difference-of-sqr-1_binary64_1412
add-exp-log_binary64_1480
associate-/r*_binary64_1386 pow1_binary64_1503
add-cbrt-cube_binary64_1478 add-log-exp_binary64_1481 log-div_binary64_1529
flip3--_binary64_1446 flip--_binary64_1417
associate-/r/_binary64_1388 associate-/l*_binary64_1387 pow-unpow_binary64_1519
frac-sub_binary64_1451 pow-sub_binary64_1518 unpow-prod-down_binary64_1521
pow-exp_binary64_1510 associate-/l/_binary64_1389 div-inv_binary64_1439 log-pow_binary64_1531
cbrt-undiv_binary64_1476 sub-neg_binary64_1435 clear-num_binary64_1441 rem-log-exp_binary64_1483 e-exp-1_binary64_1487 frac-2neg_binary64_1453 diff-log_binary64_1534 sqr-pow_binary64_1414 flip3-+_binary64_1445 flip-+_binary64_1416 div-exp_binary64_1493 pow-to-exp_binary64_1511 pow-pow_binary64_1514
Counts
4 → 180
Calls

4 calls:

47.0ms
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
42.0ms
(pow.f64 E.f64 (log.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))))
40.0ms
(log.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1))))
12.0ms
(/.f64 (+.f64 x 1) (-.f64 x 1))

series309.0ms (6.5%)

Counts
4 → 12
Calls

4 calls:

120.0ms
(pow.f64 E.f64 (log.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))))
99.0ms
(log.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1))))
66.0ms
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
23.0ms
(/.f64 (+.f64 x 1) (-.f64 x 1))

simplify124.0ms (2.6%)

Algorithm
egg-herbie
Counts
192 → 192
Iterations

Useful iterations: 0 (78.0ms)

IterNodesCost
049234743
149234743

prune248.0ms (5.2%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1920192
Fresh044
Picked011
Done000
Total1925197

Merged error: 0.0b

Counts
197 → 5
Compiler

Compiled 4585 to 3267 computations (28.7% saved)

localize14.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(*.f64 x (-.f64 x 1))
0.0b
(*.f64 (-.f64 x 1) (+.f64 1 (*.f64 x (-.f64 x 1))))
2.1b
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 (pow.f64 x 3) (pow.f64 1 3)) (*.f64 (-.f64 x 1) (+.f64 1 (*.f64 x (-.f64 x 1))))))
19.2b
(/.f64 (+.f64 (pow.f64 x 3) (pow.f64 1 3)) (*.f64 (-.f64 x 1) (+.f64 1 (*.f64 x (-.f64 x 1)))))

rewrite105.0ms (2.2%)

Algorithm
rewrite-expression-head
Rules
55×*-un-lft-identity_binary64_1442
31×add-sqr-sqrt_binary64_1464
28×cancel-sign-sub-inv_binary64_1408
21×times-frac_binary64_1448
18×distribute-lft-out_binary64_1393
16×associate-/r/_binary64_1388
14×add-cube-cbrt_binary64_1477
13×add-cbrt-cube_binary64_1478 add-exp-log_binary64_1480
12×cube-prod_binary64_1470 frac-times_binary64_1452 unpow-prod-down_binary64_1521
11×flip3--_binary64_1446 flip--_binary64_1417
10×associate-*r*_binary64_1382 associate-/l*_binary64_1387 associate-*l*_binary64_1383 flip3-+_binary64_1445 flip-+_binary64_1416
associate-*r/_binary64_1384 pow1_binary64_1503
add-log-exp_binary64_1481 difference-of-squares_binary64_1411 associate-*l/_binary64_1385
distribute-lft-in_binary64_1391 distribute-rgt-in_binary64_1392
cube-mult_binary64_1472 cbrt-unprod_binary64_1475 sub-neg_binary64_1435 prod-exp_binary64_1491 distribute-lft-out--_binary64_1394 sum-cubes_binary64_1443
cbrt-undiv_binary64_1476 associate-/l/_binary64_1389 div-inv_binary64_1439 pow-prod-down_binary64_1513 *-commutative_binary64_1373 difference-of-sqr-1_binary64_1412 div-exp_binary64_1493 unswap-sqr_binary64_1410
associate-/r*_binary64_1386 clear-num_binary64_1441 frac-sub_binary64_1451 frac-2neg_binary64_1453 diff-log_binary64_1534
Counts
4 → 146
Calls

4 calls:

45.0ms
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 (pow.f64 x 3) (pow.f64 1 3)) (*.f64 (-.f64 x 1) (+.f64 1 (*.f64 x (-.f64 x 1))))))
23.0ms
(/.f64 (+.f64 (pow.f64 x 3) (pow.f64 1 3)) (*.f64 (-.f64 x 1) (+.f64 1 (*.f64 x (-.f64 x 1)))))
11.0ms
(*.f64 (-.f64 x 1) (+.f64 1 (*.f64 x (-.f64 x 1))))
9.0ms
(*.f64 x (-.f64 x 1))

series229.0ms (4.8%)

Counts
4 → 12
Calls

4 calls:

104.0ms
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 (pow.f64 x 3) (pow.f64 1 3)) (*.f64 (-.f64 x 1) (+.f64 1 (*.f64 x (-.f64 x 1))))))
49.0ms
(*.f64 x (-.f64 x 1))
46.0ms
(/.f64 (+.f64 (pow.f64 x 3) (pow.f64 1 3)) (*.f64 (-.f64 x 1) (+.f64 1 (*.f64 x (-.f64 x 1)))))
29.0ms
(*.f64 (-.f64 x 1) (+.f64 1 (*.f64 x (-.f64 x 1))))

simplify84.0ms (1.8%)

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
054244016

prune282.0ms (5.9%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1580158
Fresh033
Picked011
Done011
Total1585163

Merged error: 0.0b

Counts
163 → 5
Compiler

Compiled 4969 to 3698 computations (25.6% saved)

regimes185.0ms (3.9%)

Compiler

Compiled 1725 to 1340 computations (22.3% saved)

bsearch2.0ms (0.1%)

Compiler

Compiled 13 to 10 computations (23.1% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
08571
18571

end0.0ms (0%)

sample1.4s (29.6%)

Algorithm
intervals
Results
239.0ms2006×body1024valid
142.0ms4238×body128valid
94.0ms993×body512valid
36.0ms239×body2048valid
32.0ms524×body256valid
Compiler

Compiled 859 to 667 computations (22.4% saved)

Profiling

Loading profile data...