Details

Time bar (total: 7.9s)

analyze289.0ms (3.6%)

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
Symmetry
Compiler

Compiled 30 to 20 computations (33.3% saved)

sample27.0ms (0.3%)

Algorithm
intervals
Results
17.0ms256×body128valid
Compiler

Compiled 59 to 41 computations (30.5% saved)

simplify80.0ms (1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (74.0ms)

IterNodesCost
0491543
1491543

prune3.0ms (0%)

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)

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

rewrite185.0ms (2.3%)

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:

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

series790.0ms (10%)

Error
0.0b
Counts
4 → 54
Calls

4 calls:

373.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)))))
197.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
86.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))
53.0ms
(*.f64 (*.f64 a a) (-.f64 1 a))
Compiler

Compiled 3658 to 2730 computations (25.4% saved)

simplify91.0ms (1.1%)

Algorithm
egg-herbie
Counts
141 → 141
Iterations

Useful iterations: 0 (64.0ms)

IterNodesCost
049622518
149622518

prune212.0ms (2.7%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1374141
Fresh000
Picked101
Done000
Total1384142
Error
0.0b
Counts
142 → 4
Compiler

Compiled 4553 to 2397 computations (47.4% saved)

localize19.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(*.f64 4 (-.f64 (*.f64 a a) (pow.f64 a 3)))
0.0b
(-.f64 (*.f64 a a) (pow.f64 a 3))
0.0b
(+.f64 (pow.f64 a 4) (*.f64 4 (-.f64 (*.f64 a a) (pow.f64 a 3))))
1.0b
(*.f64 (*.f64 b b) (+.f64 12 (*.f64 a (+.f64 4 (*.f64 2 a)))))

rewrite361.0ms (4.6%)

Algorithm
rewrite-expression-head
Error
0b
Rules
60×cancel-sign-sub-inv_binary64_2431
31×add-sqr-sqrt_binary64_2487
27×distribute-rgt-in_binary64_2415 distribute-lft-in_binary64_2414
26×associate-+r+_binary64_2397
22×add-cube-cbrt_binary64_2500 *-un-lft-identity_binary64_2465
17×unpow-prod-down_binary64_2544 cube-prod_binary64_2493
12×associate-*r*_binary64_2405
11×pow1_binary64_2526 add-exp-log_binary64_2503 add-cbrt-cube_binary64_2501
add-log-exp_binary64_2504 difference-of-squares_binary64_2434
unpow3_binary64_2531 cube-mult_binary64_2495 sqr-pow_binary64_2437
sub-neg_binary64_2458
pow-prod-down_binary64_2536 prod-exp_binary64_2514 cbrt-unprod_binary64_2498 associate-*r/_binary64_2407 associate-*l*_binary64_2406
unswap-sqr_binary64_2433 flip3-+_binary64_2468 flip-+_binary64_2439 *-commutative_binary64_2396 flip3--_binary64_2469 flip--_binary64_2440 distribute-rgt-out--_binary64_2419 distribute-lft-out--_binary64_2417
sum-log_binary64_2556 +-commutative_binary64_2395 diff-log_binary64_2557
Counts
4 → 141
Calls

4 calls:

12.0ms
(*.f64 4 (-.f64 (*.f64 a a) (pow.f64 a 3)))
11.0ms
(+.f64 (pow.f64 a 4) (*.f64 4 (-.f64 (*.f64 a a) (pow.f64 a 3))))
8.0ms
(*.f64 (*.f64 b b) (+.f64 12 (*.f64 a (+.f64 4 (*.f64 2 a)))))
7.0ms
(-.f64 (*.f64 a a) (pow.f64 a 3))
Compiler

Compiled 5937 to 3997 computations (32.7% saved)

series423.0ms (5.3%)

Error
0.0b
Counts
4 → 29
Calls

4 calls:

123.0ms
(*.f64 (*.f64 b b) (+.f64 12 (*.f64 a (+.f64 4 (*.f64 2 a)))))
121.0ms
(+.f64 (pow.f64 a 4) (*.f64 4 (-.f64 (*.f64 a a) (pow.f64 a 3))))
69.0ms
(*.f64 4 (-.f64 (*.f64 a a) (pow.f64 a 3)))
65.0ms
(-.f64 (*.f64 a a) (pow.f64 a 3))
Compiler

Compiled 2353 to 1862 computations (20.9% saved)

simplify81.0ms (1%)

Algorithm
egg-herbie
Counts
170 → 170
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
052382513

prune356.0ms (4.5%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1691170
Fresh123
Picked011
Done000
Total1704174
Error
0b
Counts
174 → 4
Compiler

Compiled 6434 to 4387 computations (31.8% saved)

localize24.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.1b
(*.f64 (sqrt.f64 (+.f64 (*.f64 4 (-.f64 (*.f64 a a) (pow.f64 a 3))) (pow.f64 a 4))) (sqrt.f64 (+.f64 (*.f64 4 (-.f64 (*.f64 a a) (pow.f64 a 3))) (pow.f64 a 4))))
1.0b
(*.f64 (*.f64 b b) (+.f64 12 (*.f64 a (+.f64 4 (*.f64 2 a)))))
22.4b
(sqrt.f64 (+.f64 (*.f64 4 (-.f64 (*.f64 a a) (pow.f64 a 3))) (pow.f64 a 4)))
22.4b
(sqrt.f64 (+.f64 (*.f64 4 (-.f64 (*.f64 a a) (pow.f64 a 3))) (pow.f64 a 4)))

rewrite480.0ms (6.1%)

Algorithm
rewrite-expression-head
Error
0b
Rules
32×add-sqr-sqrt_binary64_2487
26×pow1_binary64_2526
24×sqrt-prod_binary64_2481
16×sqrt-div_binary64_2482
15×add-cube-cbrt_binary64_2500 *-un-lft-identity_binary64_2465
11×add-exp-log_binary64_2503 add-cbrt-cube_binary64_2501
10×pow1/2_binary64_2545 sqrt-pow1_binary64_2483
flip3-+_binary64_2468 flip-+_binary64_2439 associate-*r*_binary64_2405
swap-sqr_binary64_2432
associate-*l*_binary64_2406
pow-prod-down_binary64_2536
unswap-sqr_binary64_2433 pow-prod-up_binary64_2535
add-log-exp_binary64_2504 rem-sqrt-square_binary64_2478 prod-exp_binary64_2514 cbrt-unprod_binary64_2498 associate-*r/_binary64_2407 frac-times_binary64_2475
pow-sqr_binary64_2438
*-commutative_binary64_2396 associate-*l/_binary64_2408
distribute-rgt-in_binary64_2415 distribute-lft-in_binary64_2414 pow2_binary64_2546 pow-plus_binary64_2528 sqrt-unprod_binary64_2485 sqr-abs_binary64_2480 rem-square-sqrt_binary64_2477
Counts
4 → 111
Calls

4 calls:

30.0ms
(*.f64 (sqrt.f64 (+.f64 (*.f64 4 (-.f64 (*.f64 a a) (pow.f64 a 3))) (pow.f64 a 4))) (sqrt.f64 (+.f64 (*.f64 4 (-.f64 (*.f64 a a) (pow.f64 a 3))) (pow.f64 a 4))))
12.0ms
(sqrt.f64 (+.f64 (*.f64 4 (-.f64 (*.f64 a a) (pow.f64 a 3))) (pow.f64 a 4)))
12.0ms
(sqrt.f64 (+.f64 (*.f64 4 (-.f64 (*.f64 a a) (pow.f64 a 3))) (pow.f64 a 4)))
8.0ms
(*.f64 (*.f64 b b) (+.f64 12 (*.f64 a (+.f64 4 (*.f64 2 a)))))
Compiler

Compiled 7330 to 5016 computations (31.6% saved)

series504.0ms (6.4%)

Error
0b
Counts
4 → 29
Calls

4 calls:

127.0ms
(*.f64 (sqrt.f64 (+.f64 (*.f64 4 (-.f64 (*.f64 a a) (pow.f64 a 3))) (pow.f64 a 4))) (sqrt.f64 (+.f64 (*.f64 4 (-.f64 (*.f64 a a) (pow.f64 a 3))) (pow.f64 a 4))))
118.0ms
(*.f64 (*.f64 b b) (+.f64 12 (*.f64 a (+.f64 4 (*.f64 2 a)))))
107.0ms
(sqrt.f64 (+.f64 (*.f64 4 (-.f64 (*.f64 a a) (pow.f64 a 3))) (pow.f64 a 4)))
104.0ms
(sqrt.f64 (+.f64 (*.f64 4 (-.f64 (*.f64 a a) (pow.f64 a 3))) (pow.f64 a 4)))
Compiler

Compiled 2949 to 2246 computations (23.8% saved)

simplify59.0ms (0.7%)

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
054473415

prune389.0ms (4.9%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1400140
Fresh022
Picked011
Done011
Total1404144
Error
0b
Counts
144 → 4
Compiler

Compiled 7186 to 4895 computations (31.9% saved)

localize19.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.2b
(pow.f64 (*.f64 (+.f64 a 3) (*.f64 b b)) 3)
0.3b
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
0.9b
(*.f64 (+.f64 a 3) (*.f64 b b))
20.8b
(cbrt.f64 (pow.f64 (*.f64 (+.f64 a 3) (*.f64 b b)) 3))

rewrite166.0ms (2.1%)

Algorithm
rewrite-expression-head
Error
0b
Rules
16×pow1_binary64_2526 add-exp-log_binary64_2503
15×add-cbrt-cube_binary64_2501
11×*-un-lft-identity_binary64_2465
10×add-sqr-sqrt_binary64_2487
add-cube-cbrt_binary64_2500
cbrt-prod_binary64_2496
associate-*l/_binary64_2408 pow-prod-down_binary64_2536 prod-exp_binary64_2514 cbrt-unprod_binary64_2498 pow-unpow_binary64_2542
unpow-prod-down_binary64_2544
add-log-exp_binary64_2504 cube-div_binary64_2494 associate-*l*_binary64_2406 pow-pow_binary64_2537 pow-exp_binary64_2533
flip3-+_binary64_2468 flip-+_binary64_2439 sqr-pow_binary64_2437 rem-cube-cbrt_binary64_2488
cbrt-div_binary64_2497 unpow3_binary64_2531 cube-mult_binary64_2495 cube-prod_binary64_2493 pow-to-exp_binary64_2534
pow1/3_binary64_2547 rem-cbrt-cube_binary64_2489 unswap-sqr_binary64_2433 distribute-lft-out_binary64_2416 associate-*r*_binary64_2405 *-commutative_binary64_2396 unpow2_binary64_2530
Counts
4 → 86
Calls

4 calls:

9.0ms
(pow.f64 (*.f64 (+.f64 a 3) (*.f64 b b)) 3)
8.0ms
(*.f64 (+.f64 a 3) (*.f64 b b))
5.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
3.0ms
(cbrt.f64 (pow.f64 (*.f64 (+.f64 a 3) (*.f64 b b)) 3))
Compiler

Compiled 3440 to 1899 computations (44.8% saved)

series425.0ms (5.4%)

Error
0b
Counts
4 → 37
Calls

4 calls:

124.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
91.0ms
(pow.f64 (*.f64 (+.f64 a 3) (*.f64 b b)) 3)
82.0ms
(*.f64 (+.f64 a 3) (*.f64 b b))
81.0ms
(cbrt.f64 (pow.f64 (*.f64 (+.f64 a 3) (*.f64 b b)) 3))
Compiler

Compiled 3170 to 2242 computations (29.3% saved)

simplify59.0ms (0.7%)

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
051241575

prune187.0ms (2.4%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1230123
Fresh011
Picked011
Done022
Total1234127
Error
0b
Counts
127 → 4
Compiler

Compiled 4289 to 2414 computations (43.7% saved)

regimes633.0ms (8%)

Accuracy

Total 0.0b remaining (69.9%)

Threshold costs 0.0b (69.9%)

Compiler

Compiled 10511 to 7202 computations (31.5% saved)

bsearch0.0ms (0%)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05549
15549
Removed

()

end0.0ms (0%)

sample2.0s (25.7%)

Algorithm
intervals
Results
475.0ms8000×body128valid
0.0msbody128invalid
Compiler

Compiled 1847 to 1284 computations (30.5% saved)

Profiling

Loading profile data...