Details

Time bar (total: 6.3s)

analyze273.0ms (4.3%)

Algorithm
search
Search
TrueOtherFalseIter
0%0%100%0
0%0%100%1
0%0%100%2
0%0%100%3
0%0%100%4
0%0%100%5
0%0%100%6
0%0%100%7
0%0%100%8
0%0%100%9
0%0%100%10
0%0%100%11
0%0%100%12
0%0%100%13
0%0%100%14
Compiler

Compiled 30 to 24 computations (20% saved)

sample39.0ms (0.6%)

Algorithm
intervals
Results
10.0ms102×body256valid
9.0ms294×pre128true
8.0ms154×body128valid
2.0ms38×body128nan
Compiler

Compiled 47 to 41 computations (12.8% saved)

simplify414.0ms (6.5%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (312.0ms)

IterNodesCost
0183424
1183424

prune4.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 43.3b

Counts
2 → 1
Compiler

Compiled 32 to 26 computations (18.8% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.1b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
0.1b
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
0.2b
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b) (*.f64 a 2))
38.8b
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b)

rewrite36.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt_binary64_2487
14×*-un-lft-identity_binary64_2465
add-exp-log_binary64_2503 add-cbrt-cube_binary64_2501
add-log-exp_binary64_2504 add-cube-cbrt_binary64_2500
difference-of-squares_binary64_2434 times-frac_binary64_2471 sqrt-prod_binary64_2481 associate-/l*_binary64_2410
pow1_binary64_2526
flip--_binary64_2440 cancel-sign-sub-inv_binary64_2431 flip3--_binary64_2469
distribute-lft-out--_binary64_2417
associate-/l/_binary64_2412 cbrt-undiv_binary64_2499 sub-neg_binary64_2458 div-exp_binary64_2516 diff-log_binary64_2557 sqrt-div_binary64_2482
associate-/r*_binary64_2409 pow1/2_binary64_2545 clear-num_binary64_2464 div-sub_binary64_2470 div-inv_binary64_2462 rem-sqrt-square_binary64_2478 prod-exp_binary64_2514 frac-2neg_binary64_2476 sqrt-pow1_binary64_2483 cbrt-unprod_binary64_2498
Counts
4 → 74
Calls

4 calls:

12.0ms
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b) (*.f64 a 2))
9.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b)
4.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
4.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))

series277.0ms (4.4%)

Counts
4 → 12
Calls

4 calls:

109.0ms
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b) (*.f64 a 2))
71.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) b)
62.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
35.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

simplify88.0ms (1.4%)

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (66.0ms)

IterNodesCost
048991979
148991979

prune100.0ms (1.6%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New83386
Fresh000
Picked011
Done000
Total83487

Merged error: 0.2b

Counts
87 → 4
Compiler

Compiled 2044 to 1208 computations (40.9% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.1b
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
0.1b
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
0.2b
(/.f64 (/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (*.f64 a 2))
0.3b
(/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))))

rewrite51.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
45×add-exp-log_binary64_2503 add-cbrt-cube_binary64_2501
22×times-frac_binary64_2471
20×*-un-lft-identity_binary64_2465
17×cbrt-undiv_binary64_2499 div-exp_binary64_2516
13×prod-exp_binary64_2514 cbrt-unprod_binary64_2498
11×associate-/l*_binary64_2410
10×add-cube-cbrt_binary64_2500 add-sqr-sqrt_binary64_2487
add-log-exp_binary64_2504
associate-/r/_binary64_2411
associate-/r*_binary64_2409 distribute-lft-out_binary64_2416
flip3-+_binary64_2468 flip-+_binary64_2439 div-inv_binary64_2462 pow1_binary64_2526
clear-num_binary64_2464 frac-2neg_binary64_2476
+-commutative_binary64_2395 flip--_binary64_2440 sum-log_binary64_2556 associate-/l/_binary64_2412 sub-neg_binary64_2458 cancel-sign-sub-inv_binary64_2431 diff-log_binary64_2557 flip3--_binary64_2469
Counts
4 → 99
Calls

4 calls:

15.0ms
(/.f64 (/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (*.f64 a 2))
12.0ms
(/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))))
7.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
4.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

series471.0ms (7.5%)

Counts
4 → 12
Calls

4 calls:

212.0ms
(/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))))
162.0ms
(/.f64 (/.f64 (*.f64 a (*.f64 c -4)) (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (*.f64 a 2))
61.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
36.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

simplify64.0ms (1%)

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
049823037
149823037

prune159.0ms (2.5%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1047111
Fresh202
Picked011
Done101
Total1078115

Merged error: 0b

Counts
115 → 8
Compiler

Compiled 3198 to 1973 computations (38.3% saved)

localize16.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.1b
(/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))
0.1b
(-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))
0.3b
(/.f64 (/.f64 a 1) (/.f64 a (*.f64 -2 (/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))))))
0.3b
(/.f64 a (*.f64 -2 (/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))))

rewrite77.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
242×times-frac_binary64_2471
114×*-un-lft-identity_binary64_2465
106×add-cube-cbrt_binary64_2500 add-sqr-sqrt_binary64_2487
61×add-exp-log_binary64_2503
47×add-cbrt-cube_binary64_2501
37×div-exp_binary64_2516
26×div-inv_binary64_2462
25×cbrt-undiv_binary64_2499
19×associate-/l*_binary64_2410
18×associate-/r/_binary64_2411
15×associate-*r/_binary64_2407
13×associate-/r*_binary64_2409
prod-exp_binary64_2514
add-log-exp_binary64_2504 cbrt-unprod_binary64_2498
pow1_binary64_2526 distribute-lft-out_binary64_2416 1-exp_binary64_2509
clear-num_binary64_2464 frac-2neg_binary64_2476
flip3-+_binary64_2468 flip--_binary64_2440 associate-/l/_binary64_2412 flip-+_binary64_2439 sub-neg_binary64_2458 cancel-sign-sub-inv_binary64_2431 diff-log_binary64_2557 flip3--_binary64_2469
Counts
4 → 226
Calls

4 calls:

20.0ms
(/.f64 (/.f64 a 1) (/.f64 a (*.f64 -2 (/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))))))
12.0ms
(/.f64 a (*.f64 -2 (/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))))
8.0ms
(/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))
4.0ms
(-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))

series584.0ms (9.2%)

Counts
4 → 12
Calls

4 calls:

198.0ms
(/.f64 a (*.f64 -2 (/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))))
183.0ms
(/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))
166.0ms
(/.f64 (/.f64 a 1) (/.f64 a (*.f64 -2 (/.f64 c (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))))))
36.0ms
(-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))

simplify135.0ms (2.1%)

Algorithm
egg-herbie
Counts
238 → 238
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
048948594
148948594

prune350.0ms (5.5%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New2371238
Fresh156
Picked011
Done011
Total2388246

Merged error: 0b

Counts
246 → 8
Compiler

Compiled 7098 to 4103 computations (42.2% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.1b
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))
0.1b
(/.f64 1/2 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))
0.1b
(-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))
0.3b
(*.f64 (*.f64 c -4) (/.f64 1/2 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))))

rewrite46.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
37×*-un-lft-identity_binary64_2465
24×times-frac_binary64_2471
21×add-cube-cbrt_binary64_2500 add-sqr-sqrt_binary64_2487
18×add-exp-log_binary64_2503 add-cbrt-cube_binary64_2501 associate-*r*_binary64_2405
pow1_binary64_2526
add-log-exp_binary64_2504 distribute-lft-out_binary64_2416
prod-exp_binary64_2514 cbrt-unprod_binary64_2498
associate-/r*_binary64_2409 associate-/r/_binary64_2411
flip3-+_binary64_2468 flip-+_binary64_2439 cbrt-undiv_binary64_2499 div-exp_binary64_2516 pow-prod-down_binary64_2536 associate-/l*_binary64_2410
div-inv_binary64_2462
*-commutative_binary64_2396 +-commutative_binary64_2395 flip--_binary64_2440 sum-log_binary64_2556 associate-*r/_binary64_2407 clear-num_binary64_2464 sub-neg_binary64_2458 cancel-sign-sub-inv_binary64_2431 diff-log_binary64_2557 frac-2neg_binary64_2476 flip3--_binary64_2469 associate-*l*_binary64_2406
Counts
4 → 95
Calls

4 calls:

14.0ms
(*.f64 (*.f64 c -4) (/.f64 1/2 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))))
9.0ms
(/.f64 1/2 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))
7.0ms
(-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))
6.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))

series438.0ms (6.9%)

Counts
4 → 12
Calls

4 calls:

203.0ms
(*.f64 (*.f64 c -4) (/.f64 1/2 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))))
116.0ms
(/.f64 1/2 (+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4))))))
77.0ms
(+.f64 b (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))))
42.0ms
(-.f64 (*.f64 b b) (*.f64 c (*.f64 a 4)))

simplify82.0ms (1.3%)

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
049612612
149612612

prune130.0ms (2.1%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New1061107
Fresh145
Picked011
Done022
Total1078115

Merged error: 0b

Counts
115 → 8
Compiler

Compiled 2744 to 1732 computations (36.9% saved)

regimes365.0ms (5.8%)

Compiler

Compiled 4964 to 3710 computations (25.3% saved)

bsearch0.0ms (0%)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06324
16324

end0.0ms (0%)

sample2.1s (32.9%)

Algorithm
intervals
Results
296.0ms2975×body256valid
291.0ms8918×pre128true
265.0ms5023×body128valid
43.0ms918×body128nan
0.0msbody512valid
Compiler

Compiled 1277 to 956 computations (25.1% saved)

Profiling

Loading profile data...