Details

Time bar (total: 11.9s)

analyze537.0ms (4.5%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0501292
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%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)

sample52.0ms (0.4%)

Algorithm
intervals
Results
36.0ms256×body128valid
Compiler

Compiled 63 to 45 computations (28.6% saved)

simplify136.0ms (1.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (122.0ms)

IterNodesCost
0502946

prune8.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 62 to 42 computations (32.3% saved)

localize39.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 1 (*.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.5b
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))

rewrite77.0ms (0.6%)

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

4 calls:

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

series1.3s (11%)

Counts
4 → 50
Calls

4 calls:

693.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 1 (*.f64 3 a))))))
360.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
168.0ms
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))
87.0ms
(*.f64 (*.f64 a a) (+.f64 1 a))
Compiler

Compiled 2111 to 1687 computations (20.1% saved)

simplify110.0ms (0.9%)

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
053402516

prune366.0ms (3.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1273130
Fresh000
Picked101
Done000
Total1283131
Error
0.0b
Counts
131 → 3
Compiler

Compiled 4493 to 2463 computations (45.2% saved)

localize49.0ms (0.4%)

Local error

Found 4 expressions with local error:

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

rewrite130.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
42×pow1_binary64_2526
32×associate-*r/_binary64_2407
26×add-exp-log_binary64_2503 add-cbrt-cube_binary64_2501
20×pow-prod-down_binary64_2536 frac-add_binary64_2473
14×flip3-+_binary64_2468 flip-+_binary64_2439 prod-exp_binary64_2514 cbrt-unprod_binary64_2498
13×add-log-exp_binary64_2504
*-un-lft-identity_binary64_2465 add-sqr-sqrt_binary64_2487 associate-*r*_binary64_2405
sum-log_binary64_2556 add-cube-cbrt_binary64_2500
flip--_binary64_2440 flip3--_binary64_2469
distribute-lft-in_binary64_2414 pow-plus_binary64_2528 distribute-rgt-in_binary64_2415 pow-prod-up_binary64_2535
*-commutative_binary64_2396 unswap-sqr_binary64_2433 associate-*l*_binary64_2406
sub-neg_binary64_2458 cancel-sign-sub-inv_binary64_2431 pow2_binary64_2546 associate-+r+_binary64_2397 pow-sqr_binary64_2438
+-commutative_binary64_2395 associate-+l+_binary64_2398 distribute-lft-out_binary64_2416
Counts
4 → 106
Calls

4 calls:

43.0ms
(+.f64 (+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 2 (*.f64 (*.f64 b b) (*.f64 a a))))) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a))))))
19.0ms
(*.f64 (*.f64 b b) (*.f64 a a))
17.0ms
(*.f64 (*.f64 a a) (+.f64 1 a))
16.0ms
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))

series1.0s (8.6%)

Counts
4 → 38
Calls

4 calls:

601.0ms
(+.f64 (+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 2 (*.f64 (*.f64 b b) (*.f64 a a))))) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a))))))
174.0ms
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))
158.0ms
(*.f64 (*.f64 b b) (*.f64 a a))
85.0ms
(*.f64 (*.f64 a a) (+.f64 1 a))
Compiler

Compiled 1935 to 1537 computations (20.6% saved)

simplify154.0ms (1.3%)

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 0 (75.0ms)

IterNodesCost
051295385

prune538.0ms (4.5%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1440144
Fresh022
Picked011
Done000
Total1443147
Error
0.0b
Counts
147 → 3
Compiler

Compiled 7288 to 4280 computations (41.3% saved)

localize38.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.5b
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))
18.4b
(cbrt.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2))
18.4b
(cbrt.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2))
18.4b
(cbrt.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2))

rewrite61.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
24×cbrt-prod_binary64_2496
12×add-sqr-sqrt_binary64_2487
11×*-un-lft-identity_binary64_2465 add-cube-cbrt_binary64_2500
add-exp-log_binary64_2503 add-cbrt-cube_binary64_2501 unpow-prod-down_binary64_2544 pow1_binary64_2526
add-log-exp_binary64_2504
unpow2_binary64_2530 pow1/3_binary64_2547 sqr-pow_binary64_2437 prod-exp_binary64_2514 associate-*r*_binary64_2405 pow-prod-down_binary64_2536 cbrt-unprod_binary64_2498
distribute-lft-in_binary64_2414 associate-*r/_binary64_2407 sub-neg_binary64_2458 distribute-rgt-in_binary64_2415 cancel-sign-sub-inv_binary64_2431
*-commutative_binary64_2396 flip--_binary64_2440 unswap-sqr_binary64_2433 flip3--_binary64_2469 associate-*l*_binary64_2406
Counts
4 → 73
Calls

4 calls:

15.0ms
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))
8.0ms
(cbrt.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2))
8.0ms
(cbrt.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2))
8.0ms
(cbrt.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2))

series1.5s (12.2%)

Counts
4 → 53
Calls

4 calls:

434.0ms
(cbrt.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2))
432.0ms
(cbrt.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2))
424.0ms
(cbrt.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2))
165.0ms
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))
Compiler

Compiled 4977 to 3369 computations (32.3% saved)

simplify145.0ms (1.2%)

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 0 (99.0ms)

IterNodesCost
049222522
149222522

prune483.0ms (4.1%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1260126
Fresh011
Picked011
Done011
Total1263129
Error
0.0b
Counts
129 → 3
Compiler

Compiled 7513 to 3662 computations (51.3% saved)

localize38.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.3b
(pow.f64 (+.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a))) (*.f64 (*.f64 a a) (+.f64 1 a))))) 3)
0.3b
(pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2)
0.5b
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))
31.5b
(cbrt.f64 (pow.f64 (+.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a))) (*.f64 (*.f64 a a) (+.f64 1 a))))) 3))

rewrite72.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt_binary64_2487
13×*-un-lft-identity_binary64_2465 add-cube-cbrt_binary64_2500
12×cbrt-prod_binary64_2496
11×add-exp-log_binary64_2503 pow1_binary64_2526
10×add-cbrt-cube_binary64_2501
unpow-prod-down_binary64_2544
cube-prod_binary64_2493 pow-unpow_binary64_2542
add-log-exp_binary64_2504 cube-div_binary64_2494
sqr-pow_binary64_2437 prod-exp_binary64_2514 associate-*r*_binary64_2405 pow-prod-down_binary64_2536 cbrt-unprod_binary64_2498
flip3-+_binary64_2468 distribute-lft-in_binary64_2414 unpow3_binary64_2531 flip-+_binary64_2439 associate-*r/_binary64_2407 cbrt-div_binary64_2497 pow-exp_binary64_2533 sub-neg_binary64_2458 cube-mult_binary64_2495 pow-to-exp_binary64_2534 distribute-rgt-in_binary64_2415 cancel-sign-sub-inv_binary64_2431 pow-pow_binary64_2537
rem-cube-cbrt_binary64_2488 *-commutative_binary64_2396 unpow2_binary64_2530 flip--_binary64_2440 unswap-sqr_binary64_2433 pow1/3_binary64_2547 rem-cbrt-cube_binary64_2489 flip3--_binary64_2469 associate-*l*_binary64_2406
Counts
4 → 91
Calls

4 calls:

16.0ms
(pow.f64 (+.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a))) (*.f64 (*.f64 a a) (+.f64 1 a))))) 3)
14.0ms
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))
14.0ms
(cbrt.f64 (pow.f64 (+.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a))) (*.f64 (*.f64 a a) (+.f64 1 a))))) 3))
8.0ms
(pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2)

series1.6s (13.1%)

Counts
4 → 53
Calls

4 calls:

693.0ms
(pow.f64 (+.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a))) (*.f64 (*.f64 a a) (+.f64 1 a))))) 3)
630.0ms
(cbrt.f64 (pow.f64 (+.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a))) (*.f64 (*.f64 a a) (+.f64 1 a))))) 3))
163.0ms
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))
76.0ms
(pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2)
Compiler

Compiled 2752 to 2286 computations (16.9% saved)

simplify200.0ms (1.7%)

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 0 (107.0ms)

IterNodesCost
049385949
149385949

prune487.0ms (4.1%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1440144
Fresh000
Picked011
Done022
Total1443147
Error
0.0b
Counts
147 → 3
Compiler

Compiled 6223 to 3701 computations (40.5% saved)

regimes552.0ms (4.6%)

Accuracy

Total 0.0b remaining (70.1%)

Threshold costs 0.0b (70.1%)

Compiler

Compiled 4292 to 2965 computations (30.9% saved)

bsearch0.0ms (0%)

simplify6.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
07958
17958

end0.0ms (0%)

sample2.3s (19.2%)

Algorithm
intervals
Results
930.0ms8000×body128valid
0.0msbody128invalid
Compiler

Compiled 777 to 539 computations (30.6% saved)

Profiling

Loading profile data...