Details

Time bar (total: 5.4s)

analyze306.0ms (5.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)

sample26.0ms (0.5%)

Algorithm
intervals
Results
16.0ms256×body128valid
Compiler

Compiled 59 to 41 computations (30.5% saved)

simplify78.0ms (1.4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

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

localize16.0ms (0.3%)

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

rewrite171.0ms (3.2%)

Algorithm
rewrite-expression-head
Error
0.1b
Rules
15×pow1_binary64_2526 add-exp-log_binary64_2503 add-sqr-sqrt_binary64_2487 *-un-lft-identity_binary64_2465
14×add-cbrt-cube_binary64_2501
10×add-cube-cbrt_binary64_2500 associate-*r*_binary64_2405
pow-prod-down_binary64_2536 prod-exp_binary64_2514 add-log-exp_binary64_2504 cbrt-unprod_binary64_2498 distribute-rgt-in_binary64_2415 distribute-lft-in_binary64_2414 cancel-sign-sub-inv_binary64_2431
associate-*r/_binary64_2407
unpow-prod-down_binary64_2544 pow-unpow_binary64_2542
unswap-sqr_binary64_2433 flip3-+_binary64_2468 flip-+_binary64_2439 associate-*l*_binary64_2406 *-commutative_binary64_2396 sub-neg_binary64_2458 difference-of-squares_binary64_2434 associate-+r+_binary64_2397
distribute-lft-out_binary64_2416 pow-pow_binary64_2537 pow-to-exp_binary64_2534 pow-exp_binary64_2533 unpow2_binary64_2530 sqr-pow_binary64_2437 flip3--_binary64_2469 flip--_binary64_2440 distribute-lft-out--_binary64_2417 sum-log_binary64_2556 +-commutative_binary64_2395
Counts
4 → 87
Calls

4 calls:

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

series751.0ms (14%)

Error
0.0b
Counts
4 → 50
Calls

4 calls:

363.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)))))
191.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
75.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))
52.0ms
(*.f64 (*.f64 a a) (-.f64 1 a))
Compiler

Compiled 3421 to 2546 computations (25.6% saved)

simplify70.0ms (1.3%)

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
050202413

prune185.0ms (3.4%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1352137
Fresh000
Picked101
Done000
Total1362138
Error
0b
Counts
138 → 2
Compiler

Compiled 4367 to 2287 computations (47.6% saved)

localize22.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.1b
(*.f64 (*.f64 a a) (-.f64 1 a))
0.3b
(*.f64 a (*.f64 a (*.f64 b b)))
1.3b
(*.f64 a (*.f64 b b))
1.4b
(*.f64 (*.f64 b b) (+.f64 3 a))

rewrite193.0ms (3.6%)

Algorithm
rewrite-expression-head
Error
0b
Rules
28×pow1_binary64_2526 add-exp-log_binary64_2503 add-cbrt-cube_binary64_2501
16×add-sqr-sqrt_binary64_2487
15×pow-prod-down_binary64_2536 prod-exp_binary64_2514 cbrt-unprod_binary64_2498 *-un-lft-identity_binary64_2465
12×associate-*r*_binary64_2405
10×add-cube-cbrt_binary64_2500
associate-*l*_binary64_2406
cancel-sign-sub-inv_binary64_2431
distribute-rgt-in_binary64_2415 distribute-lft-in_binary64_2414
add-log-exp_binary64_2504 associate-*r/_binary64_2407 *-commutative_binary64_2396
unswap-sqr_binary64_2433
sub-neg_binary64_2458 difference-of-squares_binary64_2434
flip3-+_binary64_2468 flip-+_binary64_2439 distribute-lft-out_binary64_2416 flip3--_binary64_2469 flip--_binary64_2440 distribute-lft-out--_binary64_2417
Counts
4 → 96
Calls

4 calls:

10.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)

series302.0ms (5.6%)

Error
0b
Counts
4 → 26
Calls

4 calls:

80.0ms
(*.f64 a (*.f64 a (*.f64 b b)))
72.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))
59.0ms
(*.f64 a (*.f64 b b))
52.0ms
(*.f64 (*.f64 a a) (-.f64 1 a))
Compiler

Compiled 2701 to 1928 computations (28.6% saved)

simplify90.0ms (1.7%)

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 0 (71.0ms)

IterNodesCost
049291219
149291219

prune191.0ms (3.6%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1220122
Fresh011
Picked011
Done000
Total1222124
Error
0b
Counts
124 → 2
Compiler

Compiled 4840 to 2729 computations (43.6% saved)

localize14.0ms (0.3%)

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))
1.0b
(*.f64 (*.f64 a a) (+.f64 (*.f64 2 (*.f64 b b)) 4))

rewrite177.0ms (3.3%)

Algorithm
rewrite-expression-head
Error
0b
Rules
19×add-exp-log_binary64_2503 add-sqr-sqrt_binary64_2487
16×add-cbrt-cube_binary64_2501 associate-*l*_binary64_2406
14×pow1_binary64_2526
12×*-un-lft-identity_binary64_2465 associate-*r/_binary64_2407
10×add-cube-cbrt_binary64_2500
prod-exp_binary64_2514
associate-*r*_binary64_2405
cbrt-unprod_binary64_2498 flip3-+_binary64_2468 flip-+_binary64_2439
pow-prod-down_binary64_2536 add-log-exp_binary64_2504 unswap-sqr_binary64_2433
distribute-rgt-in_binary64_2415 distribute-lft-in_binary64_2414 unpow-prod-down_binary64_2544 cube-prod_binary64_2493 frac-add_binary64_2473
*-commutative_binary64_2396
sqr-pow_binary64_2437 associate-+l+_binary64_2398 associate-+r+_binary64_2397
pow-to-exp_binary64_2534 pow-exp_binary64_2533 unpow3_binary64_2531 cube-mult_binary64_2495 distribute-lft-out_binary64_2416 sum-log_binary64_2556 +-commutative_binary64_2395
Counts
4 → 97
Calls

4 calls:

11.0ms
(*.f64 (*.f64 a a) (+.f64 (*.f64 2 (*.f64 b b)) 4))
10.0ms
(+.f64 (*.f64 (pow.f64 a 3) (+.f64 a -4)) (*.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)

series543.0ms (10.1%)

Error
0b
Counts
4 → 33
Calls

4 calls:

301.0ms
(+.f64 (*.f64 (pow.f64 a 3) (+.f64 a -4)) (*.f64 (*.f64 a a) (+.f64 (*.f64 2 (*.f64 b b)) 4)))
121.0ms
(*.f64 (*.f64 a a) (+.f64 (*.f64 2 (*.f64 b b)) 4))
55.0ms
(*.f64 (pow.f64 a 3) (+.f64 a -4))
28.0ms
(*.f64 2 (*.f64 b b))
Compiler

Compiled 1722 to 1453 computations (15.6% saved)

simplify101.0ms (1.9%)

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 0 (75.0ms)

IterNodesCost
049412309
149412309

prune156.0ms (2.9%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1300130
Fresh000
Picked011
Done011
Total1302132
Error
0b
Counts
132 → 2
Compiler

Compiled 3286 to 2095 computations (36.2% saved)

regimes424.0ms (7.9%)

Accuracy

Total 0.0b remaining (83.8%)

Threshold costs 0.0b (83.8%)

Compiler

Compiled 6524 to 4340 computations (33.5% saved)

bsearch0.0ms (0%)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05755
15755

end0.0ms (0%)

sample1.6s (28.9%)

Algorithm
intervals
Results
512.0ms8000×body128valid
0.0msbody128invalid
Compiler

Compiled 1120 to 755 computations (32.6% saved)

Profiling

Loading profile data...