Details

Time bar (total: 7.0s)

analyze341.0ms (4.8%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0492386
1492386
022
122
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
25%74.9%0.1%5
25%68.7%6.3%6
25%53.1%22%7
25%46.8%28.2%8
25%33.6%41.5%9
28.1%18%54%10
31.6%12.1%56.3%11
33.4%5.9%60.8%12
35.2%3.8%61%13
36.1%2.9%61%14
Compiler

Compiled 30 to 20 computations (33.3% saved)

sample25.0ms (0.3%)

Algorithm
intervals
Results
14.0ms256×body128valid
Compiler

Compiled 59 to 41 computations (30.5% saved)

simplify98.0ms (1.4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (92.0ms)

IterNodesCost
0491543
1491543

prune6.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 58 to 38 computations (34.5% saved)

localize29.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (-.f64 1 a)) (*.f64 (*.f64 b b) (+.f64 3 a)))))
0.1b
(*.f64 (*.f64 a a) (-.f64 1 a))
0.3b
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
1.0b
(*.f64 (*.f64 b b) (+.f64 3 a))

rewrite230.0ms (3.3%)

Algorithm
rewrite-expression-head
Error
0.1b
Rules
15×pow1_binary64_1503 add-exp-log_binary64_1480 add-sqr-sqrt_binary64_1464 *-un-lft-identity_binary64_1442
14×add-cbrt-cube_binary64_1478
10×add-cube-cbrt_binary64_1477 associate-*r*_binary64_1382
pow-prod-down_binary64_1513 prod-exp_binary64_1491 add-log-exp_binary64_1481 cbrt-unprod_binary64_1475 distribute-rgt-in_binary64_1392 distribute-lft-in_binary64_1391 cancel-sign-sub-inv_binary64_1408
associate-*r/_binary64_1384
unpow-prod-down_binary64_1521 pow-unpow_binary64_1519
unswap-sqr_binary64_1410 flip3-+_binary64_1445 flip-+_binary64_1416 associate-*l*_binary64_1383 *-commutative_binary64_1373 sub-neg_binary64_1435 difference-of-squares_binary64_1411 associate-+r+_binary64_1374
distribute-lft-out_binary64_1393 pow-pow_binary64_1514 pow-to-exp_binary64_1511 pow-exp_binary64_1510 unpow2_binary64_1507 sqr-pow_binary64_1414 flip3--_binary64_1446 flip--_binary64_1417 distribute-lft-out--_binary64_1394 sum-log_binary64_1533 +-commutative_binary64_1372
Counts
4 → 87
Calls

4 calls:

16.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))
10.0ms
(*.f64 (*.f64 a a) (-.f64 1 a))
9.0ms
(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (-.f64 1 a)) (*.f64 (*.f64 b b) (+.f64 3 a)))))
5.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
Compiler

Compiled 3356 to 1686 computations (49.8% saved)

series1.0s (14.3%)

Error
0.0b
Counts
4 → 54
Calls

4 calls:

480.0ms
(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (-.f64 1 a)) (*.f64 (*.f64 b b) (+.f64 3 a)))))
255.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
122.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))
59.0ms
(*.f64 (*.f64 a a) (-.f64 1 a))
Compiler

Compiled 3658 to 2730 computations (25.4% saved)

simplify95.0ms (1.3%)

Algorithm
egg-herbie
Counts
141 → 141
Iterations

Useful iterations: 0 (66.0ms)

IterNodesCost
049622518
149622518

prune242.0ms (3.4%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1392141
Fresh000
Picked011
Done000
Total1393142
Error
0b
Counts
142 → 3
Compiler

Compiled 4466 to 2341 computations (47.6% saved)

localize23.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.1b
(*.f64 (*.f64 a a) (-.f64 1 a))
1.0b
(*.f64 a (*.f64 b b))
1.0b
(*.f64 (*.f64 b b) (+.f64 3 a))
1.1b
(*.f64 a (*.f64 a (*.f64 b b)))

rewrite231.0ms (3.3%)

Algorithm
rewrite-expression-head
Error
0b
Rules
28×pow1_binary64_1503 add-exp-log_binary64_1480 add-cbrt-cube_binary64_1478
16×add-sqr-sqrt_binary64_1464
15×pow-prod-down_binary64_1513 prod-exp_binary64_1491 cbrt-unprod_binary64_1475 *-un-lft-identity_binary64_1442
12×associate-*r*_binary64_1382
10×add-cube-cbrt_binary64_1477
associate-*l*_binary64_1383
cancel-sign-sub-inv_binary64_1408
distribute-rgt-in_binary64_1392 distribute-lft-in_binary64_1391
add-log-exp_binary64_1481 *-commutative_binary64_1373 associate-*r/_binary64_1384
unswap-sqr_binary64_1410
sub-neg_binary64_1435 difference-of-squares_binary64_1411
flip3-+_binary64_1445 flip-+_binary64_1416 distribute-lft-out_binary64_1393 flip3--_binary64_1446 flip--_binary64_1417 distribute-lft-out--_binary64_1394
Counts
4 → 96
Calls

4 calls:

16.0ms
(*.f64 (*.f64 a a) (-.f64 1 a))
9.0ms
(*.f64 a (*.f64 b b))
9.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))
8.0ms
(*.f64 a (*.f64 a (*.f64 b b)))
Compiler

Compiled 4174 to 2266 computations (45.7% saved)

series351.0ms (5%)

Error
0b
Counts
4 → 27
Calls

4 calls:

99.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))
94.0ms
(*.f64 a (*.f64 a (*.f64 b b)))
62.0ms
(*.f64 a (*.f64 b b))
56.0ms
(*.f64 (*.f64 a a) (-.f64 1 a))
Compiler

Compiled 2783 to 1984 computations (28.7% saved)

simplify112.0ms (1.6%)

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 0 (85.0ms)

IterNodesCost
049291229
149291229

prune288.0ms (4.1%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1230123
Fresh011
Picked011
Done011
Total1233126
Error
0b
Counts
126 → 3
Compiler

Compiled 4877 to 2749 computations (43.6% saved)

localize16.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (*.f64 (pow.f64 a 3) (+.f64 a -4)) (*.f64 (*.f64 a a) (+.f64 (*.f64 2 (*.f64 b b)) 4)))
0.0b
(*.f64 2 (*.f64 b b))
0.1b
(*.f64 (pow.f64 a 3) (+.f64 a -4))
1.9b
(*.f64 (*.f64 a a) (+.f64 (*.f64 2 (*.f64 b b)) 4))

rewrite221.0ms (3.1%)

Algorithm
rewrite-expression-head
Error
0b
Rules
19×add-exp-log_binary64_1480 add-sqr-sqrt_binary64_1464
16×add-cbrt-cube_binary64_1478 associate-*l*_binary64_1383
14×pow1_binary64_1503
12×*-un-lft-identity_binary64_1442 associate-*r/_binary64_1384
10×add-cube-cbrt_binary64_1477
prod-exp_binary64_1491
associate-*r*_binary64_1382
cbrt-unprod_binary64_1475 flip3-+_binary64_1445 flip-+_binary64_1416
pow-prod-down_binary64_1513 add-log-exp_binary64_1481 unswap-sqr_binary64_1410
distribute-rgt-in_binary64_1392 distribute-lft-in_binary64_1391 unpow-prod-down_binary64_1521 cube-prod_binary64_1470 frac-add_binary64_1450
*-commutative_binary64_1373
sqr-pow_binary64_1414 associate-+l+_binary64_1375 associate-+r+_binary64_1374
pow-to-exp_binary64_1511 pow-exp_binary64_1510 unpow3_binary64_1508 cube-mult_binary64_1472 distribute-lft-out_binary64_1393 sum-log_binary64_1533 +-commutative_binary64_1372
Counts
4 → 97
Calls

4 calls:

13.0ms
(*.f64 (pow.f64 a 3) (+.f64 a -4))
12.0ms
(*.f64 (*.f64 a a) (+.f64 (*.f64 2 (*.f64 b b)) 4))
11.0ms
(+.f64 (*.f64 (pow.f64 a 3) (+.f64 a -4)) (*.f64 (*.f64 a a) (+.f64 (*.f64 2 (*.f64 b b)) 4)))
6.0ms
(*.f64 2 (*.f64 b b))
Compiler

Compiled 3084 to 1971 computations (36.1% saved)

series692.0ms (9.8%)

Error
0b
Counts
4 → 33
Calls

4 calls:

404.0ms
(+.f64 (*.f64 (pow.f64 a 3) (+.f64 a -4)) (*.f64 (*.f64 a a) (+.f64 (*.f64 2 (*.f64 b b)) 4)))
151.0ms
(*.f64 (*.f64 a a) (+.f64 (*.f64 2 (*.f64 b b)) 4))
53.0ms
(*.f64 (pow.f64 a 3) (+.f64 a -4))
35.0ms
(*.f64 2 (*.f64 b b))
Compiler

Compiled 1722 to 1453 computations (15.6% saved)

simplify121.0ms (1.7%)

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 0 (82.0ms)

IterNodesCost
049412309
149412309

prune199.0ms (2.8%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1300130
Fresh000
Picked011
Done022
Total1303133
Error
0b
Counts
133 → 3
Compiler

Compiled 3286 to 2095 computations (36.2% saved)

regimes592.0ms (8.4%)

Accuracy

Total 0.0b remaining (75.4%)

Threshold costs 0.0b (75.4%)

Compiler

Compiled 7441 to 5095 computations (31.5% saved)

bsearch0.0ms (0%)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05755
15755

end0.0ms (0%)

sample2.1s (30.1%)

Algorithm
intervals
Results
638.0ms8000×body128valid
0.0msbody128invalid
Compiler

Compiled 1286 to 895 computations (30.4% saved)

Profiling

Loading profile data...