Details

Time bar (total: 8.5s)

analyze405.0ms (4.7%)

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)

sample48.0ms (0.6%)

Algorithm
intervals
Results
31.0ms256×body128valid
Compiler

Compiled 59 to 41 computations (30.5% saved)

simplify93.0ms (1.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (83.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)

localize17.0ms (0.2%)

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)
0.9b
(*.f64 (*.f64 b b) (+.f64 3 a))

rewrite207.0ms (2.4%)

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:

15.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)))))
9.0ms
(*.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)

series928.0ms (10.9%)

Error
0.0b
Counts
4 → 54
Calls

4 calls:

440.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)))))
250.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
84.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))
56.0ms
(*.f64 (*.f64 a a) (-.f64 1 a))
Compiler

Compiled 3658 to 2730 computations (25.4% saved)

simplify106.0ms (1.2%)

Algorithm
egg-herbie
Counts
141 → 141
Iterations

Useful iterations: 0 (80.0ms)

IterNodesCost
049622518
149622518

prune255.0ms (3%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1383141
Fresh000
Picked101
Done000
Total1393142
Error
0.0b
Counts
142 → 3
Compiler

Compiled 4501 to 2366 computations (47.4% saved)

localize39.0ms (0.5%)

Local error

Found 4 expressions with local error:

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

rewrite224.0ms (2.6%)

Algorithm
rewrite-expression-head
Error
0.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:

12.0ms
(*.f64 (*.f64 a a) (-.f64 1 a))
8.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))
8.0ms
(*.f64 a (*.f64 a (*.f64 b b)))
6.0ms
(*.f64 a (*.f64 b b))
Compiler

Compiled 4174 to 2266 computations (45.7% saved)

series409.0ms (4.8%)

Error
0.0b
Counts
4 → 27
Calls

4 calls:

107.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))
97.0ms
(*.f64 a (*.f64 a (*.f64 b b)))
78.0ms
(*.f64 a (*.f64 b b))
62.0ms
(*.f64 (*.f64 a a) (-.f64 1 a))
Compiler

Compiled 2783 to 1984 computations (28.7% saved)

simplify102.0ms (1.2%)

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 0 (78.0ms)

IterNodesCost
049291229
149291229

prune255.0ms (3%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1230123
Fresh022
Picked011
Done000
Total1233126
Error
0.0b
Counts
126 → 3
Compiler

Compiled 4912 to 2774 computations (43.5% saved)

localize34.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.3b
(*.f64 (*.f64 b (sqrt.f64 (+.f64 a 3))) (*.f64 b (sqrt.f64 (+.f64 a 3))))
0.3b
(*.f64 b (sqrt.f64 (+.f64 a 3)))
0.3b
(*.f64 b (sqrt.f64 (+.f64 a 3)))
0.3b
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)

rewrite266.0ms (3.1%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
48×pow1_binary64_1503
21×add-exp-log_binary64_1480
20×add-sqr-sqrt_binary64_1464 add-cbrt-cube_binary64_1478
19×pow-prod-down_binary64_1513
18×associate-*r/_binary64_1384
16×*-un-lft-identity_binary64_1442 sqrt-div_binary64_1459
15×associate-*r*_binary64_1382
12×add-cube-cbrt_binary64_1477
10×prod-exp_binary64_1491 cbrt-unprod_binary64_1475 sqrt-prod_binary64_1458
flip3-+_binary64_1445 flip-+_binary64_1416
associate-*l*_binary64_1383
add-log-exp_binary64_1481 unswap-sqr_binary64_1410 pow-prod-up_binary64_1512 frac-times_binary64_1452 pow-sqr_binary64_1415
unpow-prod-down_binary64_1521 pow-unpow_binary64_1519 *-commutative_binary64_1373
distribute-lft-out_binary64_1393 pow-plus_binary64_1505 associate-*l/_binary64_1385
pow-pow_binary64_1514 pow-to-exp_binary64_1511 pow-exp_binary64_1510 unpow2_binary64_1507 sqr-pow_binary64_1414 pow2_binary64_1523 swap-sqr_binary64_1409
Counts
4 → 110
Calls

4 calls:

14.0ms
(*.f64 b (sqrt.f64 (+.f64 a 3)))
14.0ms
(*.f64 (*.f64 b (sqrt.f64 (+.f64 a 3))) (*.f64 b (sqrt.f64 (+.f64 a 3))))
13.0ms
(*.f64 b (sqrt.f64 (+.f64 a 3)))
9.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
Compiler

Compiled 4689 to 2796 computations (40.4% saved)

series680.0ms (8%)

Error
0.0b
Counts
4 → 45
Calls

4 calls:

249.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
130.0ms
(*.f64 b (sqrt.f64 (+.f64 a 3)))
113.0ms
(*.f64 b (sqrt.f64 (+.f64 a 3)))
107.0ms
(*.f64 (*.f64 b (sqrt.f64 (+.f64 a 3))) (*.f64 b (sqrt.f64 (+.f64 a 3))))
Compiler

Compiled 4180 to 2948 computations (29.5% saved)

simplify90.0ms (1.1%)

Algorithm
egg-herbie
Counts
155 → 155
Iterations

Useful iterations: 0 (61.0ms)

IterNodesCost
049462006
149462006

prune311.0ms (3.6%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1550155
Fresh011
Picked011
Done011
Total1553158
Error
0.0b
Counts
158 → 3
Compiler

Compiled 5839 to 3389 computations (42% saved)

localize13.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite262.0ms (3.1%)

Algorithm
rewrite-expression-head
Error
0.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:

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

Compiled 3084 to 1971 computations (36.1% saved)

series755.0ms (8.9%)

Error
0.0b
Counts
4 → 33
Calls

4 calls:

424.0ms
(+.f64 (*.f64 (pow.f64 a 3) (+.f64 a -4)) (*.f64 (*.f64 a a) (+.f64 (*.f64 2 (*.f64 b b)) 4)))
187.0ms
(*.f64 (*.f64 a a) (+.f64 (*.f64 2 (*.f64 b b)) 4))
64.0ms
(*.f64 (pow.f64 a 3) (+.f64 a -4))
40.0ms
(*.f64 2 (*.f64 b b))
Compiler

Compiled 1722 to 1453 computations (15.6% saved)

simplify119.0ms (1.4%)

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 0 (84.0ms)

IterNodesCost
049412309
149412309

prune181.0ms (2.1%)

Pruning

3 alts after pruning (0 fresh and 3 done)

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

Compiled 3286 to 2095 computations (36.2% saved)

regimes543.0ms (6.4%)

Accuracy

Total 0.0b remaining (68.7%)

Threshold costs 0.0b (68.7%)

Compiler

Compiled 6969 to 4856 computations (30.3% saved)

bsearch0.0ms (0%)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05755
15755

end0.0ms (0%)

sample2.2s (25.5%)

Algorithm
intervals
Results
613.0ms8000×body128valid
0.0msbody128invalid
Compiler

Compiled 1236 to 876 computations (29.1% saved)

Profiling

Loading profile data...