Details

Time bar (total: 6.5s)

analyze1.5s (23.1%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0504576
033
133
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
25%74.9%0.1%3
25%74.9%0.1%4
25%74.9%0.1%5
31.2%68.6%0.1%6
32.8%67.1%0.1%7
34.3%65.5%0.1%8
38.2%61.2%0.5%9
39.6%53%7.4%10
40.3%52.4%7.4%11
41.6%49.6%8.8%12
42%39.9%18.1%13
42.3%39.6%18.2%14
Compiler

Compiled 16 to 13 computations (18.8% saved)

sample48.0ms (0.7%)

Algorithm
intervals
Results
20.0ms256×body128valid
10.0ms111×body128invalid
4.0ms78×body128nan
Compiler

Compiled 31 to 28 computations (9.7% saved)

simplify124.0ms (1.9%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (118.0ms)

IterNodesCost
0501919

prune4.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112
Error
1.8b
Counts
2 → 1
Compiler

Compiled 26 to 22 computations (15.4% saved)

localize10.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.0b
(*.f64 k (+.f64 k 10))
0.0b
(*.f64 a (pow.f64 k m))
1.7b
(/.f64 (*.f64 a (pow.f64 k m)) (+.f64 1 (*.f64 k (+.f64 k 10))))

rewrite22.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
20×add-exp-log_binary64_1480
17×add-sqr-sqrt_binary64_1464
12×add-cbrt-cube_binary64_1478 *-un-lft-identity_binary64_1442
11×associate-*r*_binary64_1382
10×add-cube-cbrt_binary64_1477
prod-exp_binary64_1491
associate-*l*_binary64_1383
pow1_binary64_1503
div-exp_binary64_1493 unpow-prod-down_binary64_1521 unswap-sqr_binary64_1410
associate-/r*_binary64_1386 cbrt-unprod_binary64_1475 times-frac_binary64_1448 add-log-exp_binary64_1481
associate-*r/_binary64_1384 cbrt-undiv_binary64_1476 pow-exp_binary64_1510 associate-/r/_binary64_1388 *-commutative_binary64_1373 sqr-pow_binary64_1414 flip3-+_binary64_1445 flip-+_binary64_1416 pow-to-exp_binary64_1511
div-inv_binary64_1439 clear-num_binary64_1441 associate-/l*_binary64_1387 pow-prod-down_binary64_1513 distribute-lft-out_binary64_1393 frac-2neg_binary64_1453 distribute-lft-in_binary64_1391 distribute-rgt-in_binary64_1392
Counts
3 → 73
Calls

3 calls:

7.0ms
(/.f64 (*.f64 a (pow.f64 k m)) (+.f64 1 (*.f64 k (+.f64 k 10))))
6.0ms
(*.f64 k (+.f64 k 10))
5.0ms
(*.f64 a (pow.f64 k m))

series218.0ms (3.4%)

Counts
3 → 9
Calls

3 calls:

137.0ms
(/.f64 (*.f64 a (pow.f64 k m)) (+.f64 1 (*.f64 k (+.f64 k 10))))
56.0ms
(*.f64 a (pow.f64 k m))
25.0ms
(*.f64 k (+.f64 k 10))

simplify60.0ms (0.9%)

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
049561226
149561226

prune87.0ms (1.3%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New77582
Fresh000
Picked101
Done000
Total78583
Error
1.7b
Counts
83 → 5
Compiler

Compiled 1623 to 886 computations (45.4% saved)

localize16.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.6b
(cbrt.f64 k)
0.6b
(cbrt.f64 k)
0.6b
(cbrt.f64 k)
1.7b
(/.f64 (*.f64 (*.f64 a (pow.f64 (*.f64 (cbrt.f64 k) (cbrt.f64 k)) m)) (pow.f64 (cbrt.f64 k) m)) (+.f64 1 (*.f64 k (+.f64 k 10))))

rewrite24.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
58×add-exp-log_binary64_1480
30×prod-exp_binary64_1491
16×div-exp_binary64_1493
13×add-cbrt-cube_binary64_1478
11×pow-exp_binary64_1510
cbrt-prod_binary64_1473 add-sqr-sqrt_binary64_1464 add-cube-cbrt_binary64_1477 *-un-lft-identity_binary64_1442
pow-to-exp_binary64_1511
add-log-exp_binary64_1481 pow1_binary64_1503
cbrt-undiv_binary64_1476 associate-/r*_binary64_1386 cbrt-unprod_binary64_1475 times-frac_binary64_1448 pow1/3_binary64_1524
associate-/r/_binary64_1388
div-inv_binary64_1439 clear-num_binary64_1441 associate-/l*_binary64_1387 frac-2neg_binary64_1453 flip3-+_binary64_1445 flip-+_binary64_1416
Counts
4 → 71
Calls

4 calls:

11.0ms
(/.f64 (*.f64 (*.f64 a (pow.f64 (*.f64 (cbrt.f64 k) (cbrt.f64 k)) m)) (pow.f64 (cbrt.f64 k) m)) (+.f64 1 (*.f64 k (+.f64 k 10))))
1.0ms
(cbrt.f64 k)
1.0ms
(cbrt.f64 k)
1.0ms
(cbrt.f64 k)

series620.0ms (9.6%)

Counts
4 → 12
Calls

4 calls:

376.0ms
(/.f64 (*.f64 (*.f64 a (pow.f64 (*.f64 (cbrt.f64 k) (cbrt.f64 k)) m)) (pow.f64 (cbrt.f64 k) m)) (+.f64 1 (*.f64 k (+.f64 k 10))))
85.0ms
(cbrt.f64 k)
80.0ms
(cbrt.f64 k)
79.0ms
(cbrt.f64 k)

simplify50.0ms (0.8%)

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
053911576

prune99.0ms (1.5%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New82183
Fresh134
Picked011
Done000
Total83588
Error
1.7b
Counts
88 → 5
Compiler

Compiled 2163 to 1098 computations (49.2% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(/.f64 (pow.f64 k m) (sqrt.f64 (+.f64 1 (*.f64 k (+.f64 k 10)))))
0.1b
(*.f64 (/.f64 a (sqrt.f64 (+.f64 1 (*.f64 k (+.f64 k 10))))) (/.f64 (pow.f64 k m) (sqrt.f64 (+.f64 1 (*.f64 k (+.f64 k 10))))))
12.6b
(sqrt.f64 (+.f64 1 (*.f64 k (+.f64 k 10))))
12.6b
(sqrt.f64 (+.f64 1 (*.f64 k (+.f64 k 10))))

rewrite76.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
146×add-sqr-sqrt_binary64_1464
134×times-frac_binary64_1448
76×sqrt-prod_binary64_1458 add-cube-cbrt_binary64_1477 *-un-lft-identity_binary64_1442
48×associate-*r*_binary64_1382
45×unpow-prod-down_binary64_1521
33×add-exp-log_binary64_1480
24×associate-*l*_binary64_1383
21×unswap-sqr_binary64_1410
19×sqr-pow_binary64_1414
18×add-cbrt-cube_binary64_1478
13×div-exp_binary64_1493
10×sqrt-div_binary64_1459
prod-exp_binary64_1491 pow1_binary64_1503
associate-/l*_binary64_1387
associate-/r*_binary64_1386 associate-/r/_binary64_1388
cbrt-undiv_binary64_1476 flip3-+_binary64_1445 flip-+_binary64_1416
cbrt-unprod_binary64_1475 add-log-exp_binary64_1481
pow-exp_binary64_1510 div-inv_binary64_1439 pow-to-exp_binary64_1511
sqrt-pow1_binary64_1460 rem-sqrt-square_binary64_1455 pow1/2_binary64_1522
associate-*r/_binary64_1384 clear-num_binary64_1441 pow-prod-down_binary64_1513 *-commutative_binary64_1373 frac-2neg_binary64_1453 frac-times_binary64_1452 associate-*l/_binary64_1385
Counts
4 → 218
Calls

4 calls:

33.0ms
(*.f64 (/.f64 a (sqrt.f64 (+.f64 1 (*.f64 k (+.f64 k 10))))) (/.f64 (pow.f64 k m) (sqrt.f64 (+.f64 1 (*.f64 k (+.f64 k 10))))))
7.0ms
(/.f64 (pow.f64 k m) (sqrt.f64 (+.f64 1 (*.f64 k (+.f64 k 10)))))
3.0ms
(sqrt.f64 (+.f64 1 (*.f64 k (+.f64 k 10))))
3.0ms
(sqrt.f64 (+.f64 1 (*.f64 k (+.f64 k 10))))

series231.0ms (3.6%)

Counts
4 → 12
Calls

4 calls:

134.0ms
(*.f64 (/.f64 a (sqrt.f64 (+.f64 1 (*.f64 k (+.f64 k 10))))) (/.f64 (pow.f64 k m) (sqrt.f64 (+.f64 1 (*.f64 k (+.f64 k 10))))))
69.0ms
(/.f64 (pow.f64 k m) (sqrt.f64 (+.f64 1 (*.f64 k (+.f64 k 10)))))
15.0ms
(sqrt.f64 (+.f64 1 (*.f64 k (+.f64 k 10))))
13.0ms
(sqrt.f64 (+.f64 1 (*.f64 k (+.f64 k 10))))

simplify173.0ms (2.7%)

Algorithm
egg-herbie
Counts
230 → 230
Iterations

Useful iterations: 0 (101.0ms)

IterNodesCost
049237913
149237913

prune446.0ms (6.9%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New2300230
Fresh033
Picked011
Done011
Total2305235
Error
1.7b
Counts
235 → 5
Compiler

Compiled 8023 to 5256 computations (34.5% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(*.f64 k (+.f64 k 10))
0.0b
(*.f64 a (pow.f64 k m))
0.2b
(/.f64 1 (/.f64 (+.f64 1 (*.f64 k (+.f64 k 10))) (*.f64 a (pow.f64 k m))))
1.7b
(/.f64 (+.f64 1 (*.f64 k (+.f64 k 10))) (*.f64 a (pow.f64 k m)))

rewrite38.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
59×add-exp-log_binary64_1480
36×times-frac_binary64_1448
34×add-sqr-sqrt_binary64_1464
29×*-un-lft-identity_binary64_1442
27×add-cube-cbrt_binary64_1477
26×div-exp_binary64_1493
22×add-cbrt-cube_binary64_1478
16×prod-exp_binary64_1491
11×associate-*r*_binary64_1382
associate-/r*_binary64_1386
cbrt-undiv_binary64_1476 pow1_binary64_1503
div-inv_binary64_1439 associate-/l*_binary64_1387 associate-*l*_binary64_1383
pow-exp_binary64_1510 1-exp_binary64_1486 rec-exp_binary64_1492 pow-to-exp_binary64_1511
cbrt-unprod_binary64_1475 add-log-exp_binary64_1481 unpow-prod-down_binary64_1521 unswap-sqr_binary64_1410
associate-*r/_binary64_1384 associate-/l/_binary64_1389 clear-num_binary64_1441 *-commutative_binary64_1373 frac-2neg_binary64_1453 sqr-pow_binary64_1414 flip3-+_binary64_1445 flip-+_binary64_1416
inv-pow_binary64_1527 associate-/r/_binary64_1388 pow-prod-down_binary64_1513 pow-flip_binary64_1516 distribute-lft-out_binary64_1393 distribute-lft-in_binary64_1391 distribute-rgt-in_binary64_1392
Counts
4 → 135
Calls

4 calls:

9.0ms
(/.f64 1 (/.f64 (+.f64 1 (*.f64 k (+.f64 k 10))) (*.f64 a (pow.f64 k m))))
8.0ms
(/.f64 (+.f64 1 (*.f64 k (+.f64 k 10))) (*.f64 a (pow.f64 k m)))
6.0ms
(*.f64 k (+.f64 k 10))
5.0ms
(*.f64 a (pow.f64 k m))

series316.0ms (4.9%)

Counts
4 → 12
Calls

4 calls:

120.0ms
(/.f64 (+.f64 1 (*.f64 k (+.f64 k 10))) (*.f64 a (pow.f64 k m)))
117.0ms
(/.f64 1 (/.f64 (+.f64 1 (*.f64 k (+.f64 k 10))) (*.f64 a (pow.f64 k m))))
55.0ms
(*.f64 a (pow.f64 k m))
25.0ms
(*.f64 k (+.f64 k 10))

simplify129.0ms (2%)

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 0 (96.0ms)

IterNodesCost
049212954
149212954

prune152.0ms (2.3%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1461147
Fresh112
Picked101
Done022
Total1484152
Error
0.1b
Counts
152 → 4
Compiler

Compiled 3061 to 1791 computations (41.5% saved)

regimes184.0ms (2.9%)

Accuracy

Total 0.1b remaining (55.6%)

Threshold costs 0.1b (55.6%)

Compiler

Compiled 1588 to 1294 computations (18.5% saved)

bsearch31.0ms (0.5%)

Steps
ItersRangePoint
8
3.861662612950994e-38
2.2239673020104246e-35
2.0291990054631206e-35
Compiler

Compiled 1 to 3 computations (-200% saved)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04673
14673

end0.0ms (0%)

sample1.8s (27.5%)

Algorithm
intervals
Results
543.0ms8000×body128valid
294.0ms3299×body128invalid
104.0ms1998×body128nan
Compiler

Compiled 452 to 360 computations (20.4% saved)

Profiling

Loading profile data...