Details

Time bar (total: 10.1s)

analyze1.2s (11.5%)

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)

sample44.0ms (0.4%)

Algorithm
intervals
Results
14.0ms256×body128valid
9.0ms108×body128invalid
3.0ms78×body128nan
Compiler

Compiled 31 to 28 computations (9.7% saved)

simplify128.0ms (1.3%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (119.0ms)

IterNodesCost
0501919

prune4.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 26 to 22 computations (15.4% saved)

localize9.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

rewrite93.0ms (0.9%)

Algorithm
rewrite-expression-head
Error
2.0b
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 unswap-sqr_binary64_1410 unpow-prod-down_binary64_1521
add-log-exp_binary64_1481 cbrt-unprod_binary64_1475 times-frac_binary64_1448 associate-/r*_binary64_1386
pow-to-exp_binary64_1511 pow-exp_binary64_1510 cbrt-undiv_binary64_1476 flip3-+_binary64_1445 associate-/r/_binary64_1388 flip-+_binary64_1416 associate-*r/_binary64_1384 *-commutative_binary64_1373 sqr-pow_binary64_1414
frac-2neg_binary64_1453 clear-num_binary64_1441 div-inv_binary64_1439 associate-/l*_binary64_1387 pow-prod-down_binary64_1513 distribute-rgt-in_binary64_1392 distribute-lft-in_binary64_1391 distribute-lft-out_binary64_1393
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))
Compiler

Compiled 1509 to 797 computations (47.2% saved)

series521.0ms (5.1%)

Error
2.1b
Counts
3 → 29
Calls

3 calls:

281.0ms
(/.f64 (*.f64 a (pow.f64 k m)) (+.f64 1 (*.f64 k (+.f64 k 10))))
177.0ms
(*.f64 a (pow.f64 k m))
37.0ms
(*.f64 k (+.f64 k 10))
Compiler

Compiled 1332 to 988 computations (25.8% saved)

simplify64.0ms (0.6%)

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
049511419
149511419

prune92.0ms (0.9%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New984102
Fresh000
Picked101
Done000
Total994103
Error
2.0b
Counts
103 → 4
Compiler

Compiled 1801 to 950 computations (47.3% saved)

localize11.0ms (0.1%)

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.0b
(*.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.8b
(sqrt.f64 (+.f64 1 (*.f64 k (+.f64 k 10))))
12.8b
(sqrt.f64 (+.f64 1 (*.f64 k (+.f64 k 10))))

rewrite509.0ms (5%)

Algorithm
rewrite-expression-head
Error
2.0b
Rules
146×add-sqr-sqrt_binary64_1464
134×times-frac_binary64_1448
76×add-cube-cbrt_binary64_1477 sqrt-prod_binary64_1458 *-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
pow1_binary64_1503 prod-exp_binary64_1491
associate-/l*_binary64_1387
associate-/r/_binary64_1388 associate-/r*_binary64_1386
flip3-+_binary64_1445 flip-+_binary64_1416 cbrt-undiv_binary64_1476
add-log-exp_binary64_1481 cbrt-unprod_binary64_1475
pow-to-exp_binary64_1511 pow-exp_binary64_1510 div-inv_binary64_1439
pow1/2_binary64_1522 sqrt-pow1_binary64_1460 rem-sqrt-square_binary64_1455
pow-prod-down_binary64_1513 frac-times_binary64_1452 associate-*l/_binary64_1385 associate-*r/_binary64_1384 *-commutative_binary64_1373 frac-2neg_binary64_1453 clear-num_binary64_1441
Counts
4 → 218
Calls

4 calls:

38.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))))
Compiler

Compiled 8581 to 5725 computations (33.3% saved)

series532.0ms (5.2%)

Error
2.0b
Counts
4 → 39
Calls

4 calls:

290.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))))))
146.0ms
(/.f64 (pow.f64 k m) (sqrt.f64 (+.f64 1 (*.f64 k (+.f64 k 10)))))
31.0ms
(sqrt.f64 (+.f64 1 (*.f64 k (+.f64 k 10))))
27.0ms
(sqrt.f64 (+.f64 1 (*.f64 k (+.f64 k 10))))
Compiler

Compiled 2302 to 1749 computations (24% saved)

simplify119.0ms (1.2%)

Algorithm
egg-herbie
Counts
257 → 257
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
050448128

prune455.0ms (4.5%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New2570257
Fresh033
Picked011
Done000
Total2574261
Error
2.0b
Counts
261 → 4
Compiler

Compiled 8378 to 5426 computations (35.2% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite185.0ms (1.8%)

Algorithm
rewrite-expression-head
Error
2.0b
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
pow1_binary64_1503 cbrt-undiv_binary64_1476
div-inv_binary64_1439 associate-/l*_binary64_1387 associate-*l*_binary64_1383
pow-to-exp_binary64_1511 pow-exp_binary64_1510 1-exp_binary64_1486 rec-exp_binary64_1492
add-log-exp_binary64_1481 cbrt-unprod_binary64_1475 unswap-sqr_binary64_1410 unpow-prod-down_binary64_1521
frac-2neg_binary64_1453 clear-num_binary64_1441 flip3-+_binary64_1445 associate-/l/_binary64_1389 flip-+_binary64_1416 associate-*r/_binary64_1384 *-commutative_binary64_1373 sqr-pow_binary64_1414
inv-pow_binary64_1527 pow-flip_binary64_1516 associate-/r/_binary64_1388 pow-prod-down_binary64_1513 distribute-rgt-in_binary64_1392 distribute-lft-in_binary64_1391 distribute-lft-out_binary64_1393
Counts
4 → 135
Calls

4 calls:

11.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))
Compiler

Compiled 3268 to 1924 computations (41.1% saved)

series1.0s (9.9%)

Error
2.0b
Counts
4 → 45
Calls

4 calls:

458.0ms
(/.f64 (+.f64 1 (*.f64 k (+.f64 k 10))) (*.f64 a (pow.f64 k m)))
283.0ms
(/.f64 1 (/.f64 (+.f64 1 (*.f64 k (+.f64 k 10))) (*.f64 a (pow.f64 k m))))
179.0ms
(*.f64 a (pow.f64 k m))
35.0ms
(*.f64 k (+.f64 k 10))
Compiler

Compiled 2702 to 1972 computations (27% saved)

simplify73.0ms (0.7%)

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
050683735

prune184.0ms (1.8%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1791180
Fresh112
Picked101
Done011
Total1813184
Error
0.2b
Counts
184 → 3
Compiler

Compiled 3745 to 2139 computations (42.9% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite207.0ms (2%)

Algorithm
rewrite-expression-head
Error
0.2b
Rules
46×add-exp-log_binary64_1480
20×add-cbrt-cube_binary64_1478
19×add-sqr-sqrt_binary64_1464 *-un-lft-identity_binary64_1442
17×add-cube-cbrt_binary64_1477 prod-exp_binary64_1491
15×times-frac_binary64_1448
14×div-exp_binary64_1493
10×frac-add_binary64_1450
pow1_binary64_1503 flip3-+_binary64_1445 flip-+_binary64_1416
associate-/r/_binary64_1388 associate-*l*_binary64_1383
add-log-exp_binary64_1481 frac-times_binary64_1452 associate-*r/_binary64_1384 associate-/l*_binary64_1387
1-exp_binary64_1486 rec-exp_binary64_1492 cbrt-undiv_binary64_1476 cbrt-unprod_binary64_1475
associate-/r*_binary64_1386 pow-to-exp_binary64_1511 pow-exp_binary64_1510 associate-*r*_binary64_1382
div-inv_binary64_1439 associate-*l/_binary64_1385
inv-pow_binary64_1527 pow-flip_binary64_1516 frac-2neg_binary64_1453 clear-num_binary64_1441 distribute-rgt-in_binary64_1392 distribute-lft-in_binary64_1391 associate-+r+_binary64_1374
pow-prod-down_binary64_1513 unswap-sqr_binary64_1410 distribute-lft-out_binary64_1393 *-commutative_binary64_1373 sum-log_binary64_1533 +-commutative_binary64_1372
Counts
4 → 125
Calls

4 calls:

12.0ms
(/.f64 1 (+.f64 (/.f64 1 (*.f64 a (pow.f64 k m))) (*.f64 (/.f64 k (*.f64 a (pow.f64 k m))) (+.f64 k 10))))
11.0ms
(*.f64 (/.f64 k (*.f64 a (pow.f64 k m))) (+.f64 k 10))
10.0ms
(+.f64 (/.f64 1 (*.f64 a (pow.f64 k m))) (*.f64 (/.f64 k (*.f64 a (pow.f64 k m))) (+.f64 k 10)))
5.0ms
(/.f64 1 (*.f64 a (pow.f64 k m)))
Compiler

Compiled 4198 to 1786 computations (57.5% saved)

series2.4s (23.2%)

Error
0.2b
Counts
4 → 51
Calls

4 calls:

853.0ms
(/.f64 1 (+.f64 (/.f64 1 (*.f64 a (pow.f64 k m))) (*.f64 (/.f64 k (*.f64 a (pow.f64 k m))) (+.f64 k 10))))
835.0ms
(+.f64 (/.f64 1 (*.f64 a (pow.f64 k m))) (*.f64 (/.f64 k (*.f64 a (pow.f64 k m))) (+.f64 k 10)))
347.0ms
(*.f64 (/.f64 k (*.f64 a (pow.f64 k m))) (+.f64 k 10))
262.0ms
(/.f64 1 (*.f64 a (pow.f64 k m)))
Compiler

Compiled 4347 to 2791 computations (35.8% saved)

simplify121.0ms (1.2%)

Algorithm
egg-herbie
Counts
176 → 176
Iterations

Useful iterations: 0 (76.0ms)

IterNodesCost
049564697
149564697

prune181.0ms (1.8%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1751176
Fresh011
Picked011
Done011
Total1754179
Error
0.2b
Counts
179 → 4
Compiler

Compiled 4926 to 1999 computations (59.4% saved)

regimes232.0ms (2.3%)

Accuracy

Total 0.2b remaining (59.8%)

Threshold costs 0.2b (59.8%)

Compiler

Compiled 2120 to 1566 computations (26.1% saved)

bsearch29.0ms (0.3%)

Steps
ItersRangePoint
8
1.4951741120456285e-31
4.843472487854531e-27
2.0989642968183564e-27
Compiler

Compiled 1 to 3 computations (-200% saved)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02853
12853

end0.0ms (0%)

sample1.8s (17.8%)

Algorithm
intervals
Results
501.0ms8000×body128valid
268.0ms3319×body128invalid
83.0ms2027×body128nan
Compiler

Compiled 573 to 419 computations (26.9% saved)

Profiling

Loading profile data...