Details

Time bar (total: 7.6s)

analyze251.0ms (3.3%)

Algorithm
search
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%56.2%18.8%7
25%48.4%26.6%8
25%35.1%39.9%9
28.1%18.3%53.6%10
31.6%12.3%56.1%11
33.4%5.9%60.8%12
35.2%3.8%61%13
36.1%2.9%61%14
Compiler

Compiled 32 to 22 computations (31.3% saved)

sample43.0ms (0.6%)

Algorithm
intervals
Results
31.0ms256×body128valid
Compiler

Compiled 63 to 45 computations (28.6% saved)

simplify350.0ms (4.6%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
0497446
1497446

prune7.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 0.1b

Counts
2 → 1
Compiler

Compiled 62 to 42 computations (32.3% saved)

localize36.0ms (0.5%)

Local error

Found 4 expressions with local error:

0.0b
(-.f64 1 (*.f64 3 a))
0.1b
(*.f64 (*.f64 a a) (+.f64 1 a))
0.1b
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))
0.2b
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)

rewrite78.0ms (1%)

Algorithm
rewrite-expression-head
Rules
15×pow1_binary64_1483 add-exp-log_binary64_1460
14×add-cbrt-cube_binary64_1458
10×add-sqr-sqrt_binary64_1446 *-un-lft-identity_binary64_1425
add-cube-cbrt_binary64_1457
associate-*r*_binary64_1367
prod-exp_binary64_1471 cbrt-unprod_binary64_1455 add-log-exp_binary64_1461 pow-prod-down_binary64_1493
associate-*r/_binary64_1369
pow-unpow_binary64_1499 sub-neg_binary64_1418 unpow-prod-down_binary64_1501
distribute-lft-in_binary64_1376 flip--_binary64_1400 unswap-sqr_binary64_1393 associate-*l*_binary64_1368 distribute-rgt-in_binary64_1377 flip3--_binary64_1429 *-commutative_binary64_1358
diff-log_binary64_1514 pow-pow_binary64_1494 flip3-+_binary64_1428 pow-to-exp_binary64_1491 unpow2_binary64_1487 pow-exp_binary64_1490 distribute-lft-out_binary64_1378 flip-+_binary64_1399 sqr-pow_binary64_1397
Counts
4 → 76
Calls

4 calls:

19.0ms
(*.f64 (*.f64 a a) (+.f64 1 a))
18.0ms
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))
12.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
11.0ms
(-.f64 1 (*.f64 3 a))

series453.0ms (5.9%)

Counts
4 → 12
Calls

4 calls:

139.0ms
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))
130.0ms
(*.f64 (*.f64 a a) (+.f64 1 a))
100.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
83.0ms
(-.f64 1 (*.f64 3 a))

simplify136.0ms (1.8%)

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 0 (105.0ms)

IterNodesCost
049081187
149081187

prune250.0ms (3.3%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New85388
Fresh000
Picked101
Done000
Total86389

Merged error: 0b

Counts
89 → 3
Compiler

Compiled 3237 to 1765 computations (45.5% saved)

localize45.0ms (0.6%)

Local error

Found 4 expressions with local error:

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

rewrite120.0ms (1.6%)

Algorithm
rewrite-expression-head
Rules
60×pow1_binary64_1483
44×add-cbrt-cube_binary64_1458 add-exp-log_binary64_1460
33×pow-prod-down_binary64_1493
27×prod-exp_binary64_1471 cbrt-unprod_binary64_1455
associate-*r*_binary64_1367 add-sqr-sqrt_binary64_1446 *-un-lft-identity_binary64_1425
add-cube-cbrt_binary64_1457
associate-*l*_binary64_1368
pow-plus_binary64_1485 associate-*r/_binary64_1369 add-log-exp_binary64_1461 *-commutative_binary64_1358 pow-prod-up_binary64_1492
unswap-sqr_binary64_1393
distribute-lft-in_binary64_1376 sub-neg_binary64_1418 pow2_binary64_1503 distribute-rgt-in_binary64_1377 pow-sqr_binary64_1398
flip--_binary64_1400 flip3-+_binary64_1428 distribute-lft-out_binary64_1378 flip-+_binary64_1399 flip3--_binary64_1429
Counts
4 → 103
Calls

4 calls:

29.0ms
(*.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)))
22.0ms
(*.f64 (*.f64 a a) (+.f64 1 a))
20.0ms
(*.f64 (*.f64 a a) (*.f64 b b))
18.0ms
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))

series432.0ms (5.7%)

Counts
4 → 12
Calls

4 calls:

136.0ms
(*.f64 (*.f64 a a) (+.f64 1 a))
105.0ms
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))
96.0ms
(*.f64 (*.f64 a a) (*.f64 b b))
95.0ms
(*.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)))

simplify124.0ms (1.6%)

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 0 (86.0ms)

IterNodesCost
049781337
149781337

prune381.0ms (5%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1150115
Fresh022
Picked011
Done000
Total1153118

Merged error: 0b

Counts
118 → 3
Compiler

Compiled 4880 to 2924 computations (40.1% saved)

localize48.0ms (0.6%)

Local error

Found 4 expressions with local error:

0.4b
(*.f64 (cbrt.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)) (cbrt.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)))
19.1b
(cbrt.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2))
19.1b
(cbrt.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2))
19.1b
(cbrt.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2))

rewrite108.0ms (1.4%)

Algorithm
rewrite-expression-head
Rules
96×cbrt-prod_binary64_1453
52×add-sqr-sqrt_binary64_1446
31×unpow-prod-down_binary64_1501
25×unswap-sqr_binary64_1393
22×add-cube-cbrt_binary64_1457 *-un-lft-identity_binary64_1425
17×unpow2_binary64_1487 sqr-pow_binary64_1397
11×associate-*l*_binary64_1368 associate-*r*_binary64_1367 swap-sqr_binary64_1392 pow1_binary64_1483
pow1/3_binary64_1504
add-exp-log_binary64_1460
add-cbrt-cube_binary64_1458 add-log-exp_binary64_1461
pow-sqr_binary64_1398 pow-prod-up_binary64_1492 pow-prod-down_binary64_1493
prod-exp_binary64_1471 pow-plus_binary64_1485 cbrt-unprod_binary64_1455 pow2_binary64_1503 *-commutative_binary64_1358
Counts
4 → 124
Calls

4 calls:

32.0ms
(*.f64 (cbrt.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)) (cbrt.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)))
11.0ms
(cbrt.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2))
11.0ms
(cbrt.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2))
10.0ms
(cbrt.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2))

series1.1s (14.8%)

Counts
4 → 12
Calls

4 calls:

296.0ms
(cbrt.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2))
293.0ms
(*.f64 (cbrt.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)) (cbrt.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)))
278.0ms
(cbrt.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2))
262.0ms
(cbrt.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2))

simplify162.0ms (2.1%)

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 0 (99.0ms)

IterNodesCost
049143517
149143517

prune541.0ms (7.1%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1360136
Fresh011
Picked011
Done011
Total1363139

Merged error: 0b

Counts
139 → 3
Compiler

Compiled 8034 to 3586 computations (55.4% saved)

localize43.0ms (0.6%)

Local error

Found 4 expressions with local error:

0.1b
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 a 3)))
0.2b
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
3.0b
(exp.f64 (log.f64 (*.f64 (*.f64 b b) (-.f64 1 (*.f64 a 3)))))
25.7b
(log.f64 (*.f64 (*.f64 b b) (-.f64 1 (*.f64 a 3))))

rewrite72.0ms (1%)

Algorithm
rewrite-expression-head
Rules
22×pow1_binary64_1483
16×add-exp-log_binary64_1460
add-sqr-sqrt_binary64_1446 add-cbrt-cube_binary64_1458 pow-prod-down_binary64_1493
add-cube-cbrt_binary64_1457 *-un-lft-identity_binary64_1425
prod-exp_binary64_1471 associate-*r/_binary64_1369 exp-prod_binary64_1474 log-pow_binary64_1511
log-div_binary64_1509 add-log-exp_binary64_1461
flip--_binary64_1400 pow-unpow_binary64_1499 cbrt-unprod_binary64_1455 unpow-prod-down_binary64_1501 associate-*r*_binary64_1367 rem-log-exp_binary64_1463 flip3--_binary64_1429
sub-neg_binary64_1418 exp-diff_binary64_1470 log-prod_binary64_1508
distribute-lft-in_binary64_1376 pow-pow_binary64_1494 unswap-sqr_binary64_1393 associate-*l*_binary64_1368 pow-to-exp_binary64_1491 unpow2_binary64_1487 pow-exp_binary64_1490 distribute-rgt-in_binary64_1377 exp-sum_binary64_1468 rem-exp-log_binary64_1462 sqr-pow_binary64_1397 *-commutative_binary64_1358
Counts
4 → 74
Calls

4 calls:

16.0ms
(exp.f64 (log.f64 (*.f64 (*.f64 b b) (-.f64 1 (*.f64 a 3)))))
15.0ms
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 a 3)))
14.0ms
(log.f64 (*.f64 (*.f64 b b) (-.f64 1 (*.f64 a 3))))
11.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)

series719.0ms (9.4%)

Counts
4 → 12
Calls

4 calls:

329.0ms
(exp.f64 (log.f64 (*.f64 (*.f64 b b) (-.f64 1 (*.f64 a 3)))))
147.0ms
(log.f64 (*.f64 (*.f64 b b) (-.f64 1 (*.f64 a 3))))
130.0ms
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 a 3)))
112.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)

simplify128.0ms (1.7%)

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (92.0ms)

IterNodesCost
049031387
149031387

prune254.0ms (3.3%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New86086
Fresh000
Picked011
Done022
Total86389

Merged error: 0b

Counts
89 → 3
Compiler

Compiled 3273 to 1837 computations (43.9% saved)

regimes99.0ms (1.3%)

Compiler

Compiled 481 to 313 computations (34.9% saved)

bsearch0.0ms (0%)

simplify6.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
07758
17758

end0.0ms (0%)

sample1.6s (21.1%)

Algorithm
intervals
Results
1.0s8000×body128valid
1.0msbody128invalid
Compiler

Compiled 197 to 131 computations (33.5% saved)

Profiling

Loading profile data...