Details

Time bar (total: 6.0s)

analyze3.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%56.2%43.8%0
0%56.2%43.8%1
28.1%28.1%43.8%2
56.2%0%43.8%3
Compiler

Compiled 20 to 16 computations (20% saved)

sample31.0ms (0.5%)

Algorithm
intervals
Results
9.0ms256×pre128true
7.0ms189×body128valid
4.0ms35×body1024valid
2.0ms22×body512valid
1.0msbody2048valid
0.0msbody256valid
Compiler

Compiled 33 to 29 computations (12.1% saved)

simplify286.0ms (4.7%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (123.0ms)

IterNodesCost
0487819
1487819

prune2.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 16.8b

Counts
2 → 1
Compiler

Compiled 26 to 22 computations (15.4% saved)

localize8.0ms (0.1%)

Local error

Found 2 expressions with local error:

0.0b
(/.f64 (-.f64 beta alpha) (+.f64 (+.f64 alpha beta) 2))
1.2b
(+.f64 (/.f64 (-.f64 beta alpha) (+.f64 (+.f64 alpha beta) 2)) 1)

rewrite40.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
58×*-un-lft-identity_binary64_2436
26×add-sqr-sqrt_binary64_2457
25×times-frac_binary64_2442
19×distribute-lft-out_binary64_2389
14×add-cube-cbrt_binary64_2468
distribute-lft-out--_binary64_2390 difference-of-squares_binary64_2405
associate-/l*_binary64_2383 associate-/r*_binary64_2382
add-log-exp_binary64_2472 add-exp-log_binary64_2471 add-cbrt-cube_binary64_2469
flip3-+_binary64_2439 flip-+_binary64_2410 associate-/r/_binary64_2384 pow1_binary64_2494 div-sub_binary64_2441 associate-/l/_binary64_2385
cbrt-undiv_binary64_2467 div-inv_binary64_2433 associate-+l-_binary64_2373 div-exp_binary64_2484 flip3--_binary64_2440 sum-log_binary64_2524 clear-num_binary64_2435 +-commutative_binary64_2368 frac-2neg_binary64_2447 flip--_binary64_2411
Counts
2 → 65
Calls

2 calls:

23.0ms
(+.f64 (/.f64 (-.f64 beta alpha) (+.f64 (+.f64 alpha beta) 2)) 1)
11.0ms
(/.f64 (-.f64 beta alpha) (+.f64 (+.f64 alpha beta) 2))

series156.0ms (2.6%)

Counts
2 → 6
Calls

2 calls:

91.0ms
(+.f64 (/.f64 (-.f64 beta alpha) (+.f64 (+.f64 alpha beta) 2)) 1)
64.0ms
(/.f64 (-.f64 beta alpha) (+.f64 (+.f64 alpha beta) 2))

simplify68.0ms (1.1%)

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
053541488

prune94.0ms (1.5%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New601171
Fresh000
Picked101
Done000
Total611172

Merged error: 16.1b

Counts
72 → 11
Compiler

Compiled 1727 to 977 computations (43.4% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(/.f64 (-.f64 (/.f64 beta (+.f64 (+.f64 alpha beta) 2)) (-.f64 (/.f64 alpha (+.f64 (+.f64 beta alpha) 2)) 1)) 2)
0.0b
(/.f64 beta (+.f64 (+.f64 alpha beta) 2))
0.0b
(/.f64 alpha (+.f64 (+.f64 beta alpha) 2))
1.2b
(-.f64 (/.f64 alpha (+.f64 (+.f64 beta alpha) 2)) 1)

rewrite89.0ms (1.5%)

Algorithm
rewrite-expression-head
Rules
100×*-un-lft-identity_binary64_2436
67×add-sqr-sqrt_binary64_2457
58×times-frac_binary64_2442
36×add-cube-cbrt_binary64_2468
24×distribute-lft-out_binary64_2389
13×distribute-lft-out--_binary64_2390 associate-/l*_binary64_2383 associate-/r*_binary64_2382
12×difference-of-squares_binary64_2405
10×add-exp-log_binary64_2471 add-cbrt-cube_binary64_2469
add-log-exp_binary64_2472
associate-/r/_binary64_2384 pow1_binary64_2494 associate-/l/_binary64_2385
cbrt-undiv_binary64_2467 div-inv_binary64_2433 div-exp_binary64_2484 flip3--_binary64_2440 clear-num_binary64_2435 frac-2neg_binary64_2447 flip--_binary64_2411
flip3-+_binary64_2439 frac-sub_binary64_2445 flip-+_binary64_2410 difference-of-sqr-1_binary64_2406
diff-log_binary64_2525 div-sub_binary64_2441 sub-neg_binary64_2429
Counts
4 → 140
Calls

4 calls:

38.0ms
(/.f64 (-.f64 (/.f64 beta (+.f64 (+.f64 alpha beta) 2)) (-.f64 (/.f64 alpha (+.f64 (+.f64 beta alpha) 2)) 1)) 2)
16.0ms
(-.f64 (/.f64 alpha (+.f64 (+.f64 beta alpha) 2)) 1)
9.0ms
(/.f64 alpha (+.f64 (+.f64 beta alpha) 2))
8.0ms
(/.f64 beta (+.f64 (+.f64 alpha beta) 2))

series317.0ms (5.2%)

Counts
4 → 12
Calls

4 calls:

98.0ms
(/.f64 (-.f64 (/.f64 beta (+.f64 (+.f64 alpha beta) 2)) (-.f64 (/.f64 alpha (+.f64 (+.f64 beta alpha) 2)) 1)) 2)
94.0ms
(-.f64 (/.f64 alpha (+.f64 (+.f64 beta alpha) 2)) 1)
71.0ms
(/.f64 beta (+.f64 (+.f64 alpha beta) 2))
53.0ms
(/.f64 alpha (+.f64 (+.f64 beta alpha) 2))

simplify75.0ms (1.2%)

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
052973801

prune235.0ms (3.9%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1457152
Fresh10010
Picked101
Done000
Total1567163

Merged error: 2.9b

Counts
163 → 7
Compiler

Compiled 4527 to 2737 computations (39.5% saved)

localize18.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.3b
(*.f64 (/.f64 1 (sqrt.f64 (+.f64 (+.f64 alpha beta) 2))) (/.f64 beta (sqrt.f64 (+.f64 (+.f64 alpha beta) 2))))
0.4b
(/.f64 beta (sqrt.f64 (+.f64 (+.f64 alpha beta) 2)))
0.5b
(/.f64 1 (sqrt.f64 (+.f64 (+.f64 alpha beta) 2)))
1.2b
(-.f64 (/.f64 alpha (+.f64 (+.f64 beta alpha) 2)) 1)

rewrite109.0ms (1.8%)

Algorithm
rewrite-expression-head
Rules
148×*-un-lft-identity_binary64_2436
125×add-sqr-sqrt_binary64_2457
121×times-frac_binary64_2442
81×sqrt-prod_binary64_2451
68×add-cube-cbrt_binary64_2468
42×distribute-lft-out_binary64_2389
32×add-exp-log_binary64_2471
30×associate-*r*_binary64_2378 associate-*l*_binary64_2379
20×add-cbrt-cube_binary64_2469
16×associate-/r*_binary64_2382
15×unswap-sqr_binary64_2404
11×div-exp_binary64_2484
prod-exp_binary64_2482 associate-/r/_binary64_2384 pow1_binary64_2494 sqrt-div_binary64_2452
cbrt-undiv_binary64_2467 associate-/l*_binary64_2383 add-log-exp_binary64_2472
flip3-+_binary64_2439 flip-+_binary64_2410 div-inv_binary64_2433 cbrt-unprod_binary64_2466 difference-of-squares_binary64_2405
rec-exp_binary64_2483 1-exp_binary64_2477 pow-flip_binary64_2507
clear-num_binary64_2435 frac-2neg_binary64_2447 difference-of-sqr-1_binary64_2406
distribute-lft-out--_binary64_2390 *-commutative_binary64_2369 diff-log_binary64_2525 pow-prod-down_binary64_2504 inv-pow_binary64_2518 pow1/2_binary64_2513 flip3--_binary64_2440 associate-*r/_binary64_2380 associate-*l/_binary64_2381 frac-times_binary64_2446 flip--_binary64_2411 sqrt-pow1_binary64_2453 sub-neg_binary64_2429
Counts
4 → 221
Calls

4 calls:

38.0ms
(*.f64 (/.f64 1 (sqrt.f64 (+.f64 (+.f64 alpha beta) 2))) (/.f64 beta (sqrt.f64 (+.f64 (+.f64 alpha beta) 2))))
15.0ms
(-.f64 (/.f64 alpha (+.f64 (+.f64 beta alpha) 2)) 1)
10.0ms
(/.f64 1 (sqrt.f64 (+.f64 (+.f64 alpha beta) 2)))
10.0ms
(/.f64 beta (sqrt.f64 (+.f64 (+.f64 alpha beta) 2)))

series376.0ms (6.2%)

Counts
4 → 12
Calls

4 calls:

114.0ms
(/.f64 beta (sqrt.f64 (+.f64 (+.f64 alpha beta) 2)))
101.0ms
(-.f64 (/.f64 alpha (+.f64 (+.f64 beta alpha) 2)) 1)
91.0ms
(/.f64 1 (sqrt.f64 (+.f64 (+.f64 alpha beta) 2)))
69.0ms
(*.f64 (/.f64 1 (sqrt.f64 (+.f64 (+.f64 alpha beta) 2))) (/.f64 beta (sqrt.f64 (+.f64 (+.f64 alpha beta) 2))))

simplify108.0ms (1.8%)

Algorithm
egg-herbie
Counts
233 → 233
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
049604829
149604829

prune430.0ms (7.1%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New2294233
Fresh246
Picked101
Done000
Total2328240

Merged error: 2.9b

Counts
240 → 8
Compiler

Compiled 8456 to 5324 computations (37% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(/.f64 beta (+.f64 (+.f64 alpha beta) 2))
0.6b
(exp.f64 (log.f64 (/.f64 (-.f64 (/.f64 beta (+.f64 (+.f64 alpha beta) 2)) (-.f64 (/.f64 alpha (+.f64 (+.f64 alpha beta) 2)) 1)) 2)))
1.2b
(-.f64 (/.f64 alpha (+.f64 (+.f64 alpha beta) 2)) 1)
11.0b
(log.f64 (/.f64 (-.f64 (/.f64 beta (+.f64 (+.f64 alpha beta) 2)) (-.f64 (/.f64 alpha (+.f64 (+.f64 alpha beta) 2)) 1)) 2))

rewrite123.0ms (2%)

Algorithm
rewrite-expression-head
Rules
91×*-un-lft-identity_binary64_2436
78×add-sqr-sqrt_binary64_2457
66×times-frac_binary64_2442
50×log-prod_binary64_2519
37×add-cube-cbrt_binary64_2468
25×exp-sum_binary64_2479
19×distribute-lft-out--_binary64_2390
16×difference-of-squares_binary64_2405
12×distribute-lft-out_binary64_2389
add-exp-log_binary64_2471
add-log-exp_binary64_2472 add-cbrt-cube_binary64_2469 pow1_binary64_2494
associate-/r*_binary64_2382
exp-prod_binary64_2485
div-inv_binary64_2433 associate-/l*_binary64_2383
log-pow_binary64_2522 associate-/r/_binary64_2384 div-exp_binary64_2484 log-div_binary64_2520 difference-of-sqr-1_binary64_2406 rem-log-exp_binary64_2474
flip3-+_binary64_2439 cbrt-undiv_binary64_2467 exp-diff_binary64_2481 flip-+_binary64_2410 diff-log_binary64_2525 flip3--_binary64_2440 clear-num_binary64_2435 rem-exp-log_binary64_2473 frac-2neg_binary64_2447 flip--_binary64_2411 sub-neg_binary64_2429
Counts
4 → 129
Calls

4 calls:

40.0ms
(log.f64 (/.f64 (-.f64 (/.f64 beta (+.f64 (+.f64 alpha beta) 2)) (-.f64 (/.f64 alpha (+.f64 (+.f64 alpha beta) 2)) 1)) 2))
37.0ms
(exp.f64 (log.f64 (/.f64 (-.f64 (/.f64 beta (+.f64 (+.f64 alpha beta) 2)) (-.f64 (/.f64 alpha (+.f64 (+.f64 alpha beta) 2)) 1)) 2)))
16.0ms
(-.f64 (/.f64 alpha (+.f64 (+.f64 alpha beta) 2)) 1)
9.0ms
(/.f64 beta (+.f64 (+.f64 alpha beta) 2))

series542.0ms (9%)

Counts
4 → 12
Calls

4 calls:

222.0ms
(log.f64 (/.f64 (-.f64 (/.f64 beta (+.f64 (+.f64 alpha beta) 2)) (-.f64 (/.f64 alpha (+.f64 (+.f64 alpha beta) 2)) 1)) 2))
179.0ms
(exp.f64 (log.f64 (/.f64 (-.f64 (/.f64 beta (+.f64 (+.f64 alpha beta) 2)) (-.f64 (/.f64 alpha (+.f64 (+.f64 alpha beta) 2)) 1)) 2)))
86.0ms
(-.f64 (/.f64 alpha (+.f64 (+.f64 alpha beta) 2)) 1)
53.0ms
(/.f64 beta (+.f64 (+.f64 alpha beta) 2))

simplify124.0ms (2.1%)

Algorithm
egg-herbie
Counts
141 → 141
Iterations

Useful iterations: 0 (82.0ms)

IterNodesCost
048694513
148694513

prune216.0ms (3.6%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1347141
Fresh347
Picked101
Done000
Total13811149

Merged error: 2.9b

Counts
149 → 11
Compiler

Compiled 4281 to 2720 computations (36.5% saved)

regimes605.0ms (10%)

Compiler

Compiled 7855 to 5812 computations (26% saved)

bsearch4.0ms (0.1%)

Compiler

Compiled 9 to 7 computations (22.2% saved)

simplify5.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
022686
122686

end0.0ms (0%)

sample2.0s (32.4%)

Algorithm
intervals
Results
205.0ms5968×body128valid
138.0ms8000×pre128true
130.0ms1019×body1024valid
59.0ms601×body512valid
22.0ms307×body256valid
17.0ms105×body2048valid
Compiler

Compiled 1635 to 1208 computations (26.1% saved)

Profiling

Loading profile data...