Details

Time bar (total: 8.8s)

analyze615.0ms (7%)

Algorithm
search
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
12.5%87.4%0.1%5
18.7%81.1%0.1%6
21.8%71.8%6.4%7
31.2%62.4%6.4%8
35.9%55.4%8.7%9
37.8%48.8%13.4%10
42.7%42.3%15%11
47.7%34.2%18.1%12
49.1%30.4%20.5%13
51.9%25.8%22.3%14
Compiler

Compiled 21 to 15 computations (28.6% saved)

sample129.0ms (1.5%)

Algorithm
intervals
Results
12.0ms167×body128valid
11.0ms32×body2048valid
6.0ms16×body4096valid
6.0ms23×body1024valid
3.0ms16×body512valid
1.0ms13×body128nan
1.0ms11×body128invalid
0.0msbody256valid
Compiler

Compiled 44 to 32 computations (27.3% saved)

simplify266.0ms (3%)

Algorithm
egg-herbie
Rules
1743×fma-neg_binary64
1393×fma-def_binary64
800×div-sub_binary64
619×times-frac_binary64
473×associate-/r/_binary64
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01526
13322
26722
313822
420422
533822
655822
792422
8138822
9160422
10237522
11274222
12253322
13262122
14317122
15331322
16387322
17367922
18402922
19431722
20448522
21456122
22480522
23479322
24479722
25479722
26494822

prune3.0ms (0%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
35.8b
Counts
3 → 2
Alt Table
StatusErrorProgram
36.0b
(/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a))
35.9b
(*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a))
Compiler

Compiled 111 to 74 computations (33.3% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 a (*.f64 c -4) (*.f64 b b))
0.2b
(*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a))
0.6b
(-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)
23.3b
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))

series200.0ms (2.3%)

Counts
4 → 96
Calls

4 calls:

85.0ms
(*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a))
60.0ms
(-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)
43.0ms
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))
12.0ms
(fma.f64 a (*.f64 c -4) (*.f64 b b))

rewrite22.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
42×add-sqr-sqrt_binary64
32×*-un-lft-identity_binary64
28×add-cube-cbrt_binary64
18×prod-diff_binary64
17×sqrt-prod_binary64
Counts
4 → 109
Calls

4 calls:

9.0ms
(*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a))
4.0ms
(-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)
1.0ms
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))
0.0ms
(fma.f64 a (*.f64 c -4) (*.f64 b b))

simplify186.0ms (2.1%)

Algorithm
egg-herbie
Rules
527×fma-neg_binary64
338×distribute-rgt-in_binary64
273×cancel-sign-sub-inv_binary64
155×associate-*l*_binary64
153×associate-*r*_binary64
Counts
205 → 231
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02675424
16734468
225244293
345504293
449914293
549944293
648844293

prune179.0ms (2%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New21912231
Fresh101
Picked101
Done000
Total22112233
Error
7.9b
Counts
233 → 12
Alt Table
StatusErrorProgram
50.5b
(*.f64 (*.f64 (-.f64 (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))) b) (sqrt.f64 (/.f64 1/2 a))) (sqrt.f64 (/.f64 1/2 a)))
46.1b
(/.f64 (neg.f64 b) a)
35.8b
(/.f64 (*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) 1/2) a)
38.9b
(*.f64 (/.f64 (+.f64 (*.f64 c (*.f64 a -4)) 0) (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))))) (/.f64 1/2 a))
37.0b
(*.f64 (exp.f64 (log.f64 (-.f64 (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))) b))) (/.f64 1/2 a))
40.1b
(neg.f64 (/.f64 c b))
50.6b
(*.f64 (*.f64 (sqrt.f64 (-.f64 (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))) b)) (sqrt.f64 (/.f64 1/2 a))) (*.f64 (sqrt.f64 (-.f64 (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))) b)) (sqrt.f64 (/.f64 1/2 a))))
46.1b
(*.f64 (*.f64 -2 b) (/.f64 1/2 a))
36.0b
(*.f64 (sqrt.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)) (*.f64 (sqrt.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)) (/.f64 1/2 a)))
37.8b
(*.f64 (+.f64 (fma.f64 (fabs.f64 (cbrt.f64 (fma.f64 b b (*.f64 c (*.f64 a -4))))) (sqrt.f64 (cbrt.f64 (fma.f64 b b (*.f64 c (*.f64 a -4))))) (neg.f64 b)) 0) (/.f64 1/2 a))
41.1b
(/.f64 (*.f64 1/2 (+.f64 (*.f64 c (*.f64 a -4)) 0)) (*.f64 a (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))))))
40.4b
(*.f64 (-.f64 (exp.f64 (log.f64 (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))))) b) (/.f64 1/2 a))
Compiler

Compiled 6483 to 3818 computations (41.1% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 a (*.f64 c -4) (*.f64 b b))
0.1b
(/.f64 (*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) 1/2) a)
0.6b
(-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)
23.3b
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))

series80.0ms (0.9%)

Counts
1 → 20
Calls

1 calls:

80.0ms
(/.f64 (*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) 1/2) a)

rewrite8.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-cbrt-cube_binary64
add-exp-log_binary64
associate-/r*_binary64
*-un-lft-identity_binary64
times-frac_binary64
Counts
1 → 25
Calls

1 calls:

6.0ms
(/.f64 (*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) 1/2) a)

simplify62.0ms (0.7%)

Algorithm
egg-herbie
Rules
730×times-frac_binary64
571×associate-/l*_binary64
318×associate-/r*_binary64
261×fma-def_binary64
193×associate-/l/_binary64
Counts
45 → 65
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01251345
13621205
211971156
349221156
449661156

prune154.0ms (1.7%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New2014205
Fresh4711
Picked101
Done000
Total20611217
Error
7.9b
Counts
217 → 11
Alt Table
StatusErrorProgram
35.1b
(/.f64 1 (/.f64 a (*.f64 1/2 (-.f64 (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))) b))))
50.5b
(*.f64 (*.f64 (-.f64 (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))) b) (sqrt.f64 (/.f64 1/2 a))) (sqrt.f64 (/.f64 1/2 a)))
46.1b
(/.f64 (neg.f64 b) a)
41.1b
(/.f64 (*.f64 1/2 (+.f64 (*.f64 c (*.f64 a -4)) 0)) (*.f64 a (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))))))
37.0b
(/.f64 (*.f64 (exp.f64 (log.f64 (-.f64 (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))) b))) 1/2) a)
40.4b
(*.f64 (-.f64 (exp.f64 (log.f64 (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))))) b) (/.f64 1/2 a))
35.8b
(/.f64 (*.f64 (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) (neg.f64 b)) 1/2) a)
36.0b
(*.f64 (sqrt.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)) (*.f64 (sqrt.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)) (/.f64 1/2 a)))
40.1b
(neg.f64 (/.f64 c b))
46.1b
(*.f64 (*.f64 -2 b) (/.f64 1/2 a))
38.8b
(/.f64 (*.f64 (/.f64 (+.f64 (*.f64 c (*.f64 a -4)) 0) (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))))) 1/2) a)
Compiler

Compiled 5582 to 3251 computations (41.8% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 a (*.f64 1/2 (-.f64 (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))) b)))
0.1b
(/.f64 1 (/.f64 a (*.f64 1/2 (-.f64 (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))) b))))
0.4b
(-.f64 (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))) b)
15.4b
(sqrt.f64 (*.f64 a (*.f64 c -4)))

series805.0ms (9.1%)

Counts
4 → 36
Calls

4 calls:

412.0ms
(/.f64 a (*.f64 1/2 (-.f64 (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))) b)))
231.0ms
(/.f64 1 (/.f64 a (*.f64 1/2 (-.f64 (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))) b))))
142.0ms
(-.f64 (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))) b)
20.0ms
(sqrt.f64 (*.f64 a (*.f64 c -4)))

rewrite28.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
42×times-frac_binary64
34×*-un-lft-identity_binary64
34×add-sqr-sqrt_binary64
32×add-cube-cbrt_binary64
30×add-exp-log_binary64
Counts
4 → 135
Calls

4 calls:

7.0ms
(/.f64 1 (/.f64 a (*.f64 1/2 (-.f64 (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))) b))))
6.0ms
(/.f64 a (*.f64 1/2 (-.f64 (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))) b)))
3.0ms
(-.f64 (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))) b)
3.0ms
(sqrt.f64 (*.f64 a (*.f64 c -4)))

simplify161.0ms (1.8%)

Algorithm
egg-herbie
Rules
745×fma-def_binary64
331×fma-neg_binary64
327×cancel-sign-sub-inv_binary64
202×distribute-rgt-neg-in_binary64
180×times-frac_binary64
Counts
171 → 262
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02975470
17224595
227074410
347084405
449524405
548804405

prune204.0ms (2.3%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New2593262
Fresh5510
Picked101
Done000
Total2658273
Error
2.9b
Counts
273 → 8
Alt Table
StatusErrorProgram
46.1b
(/.f64 (neg.f64 b) a)
46.6b
(/.f64 1 (/.f64 a (*.f64 1/2 (-.f64 (hypot.f64 b (*.f64 (sqrt.f64 a) (sqrt.f64 (*.f64 c -4)))) b))))
39.9b
(/.f64 1 (fma.f64 4 (/.f64 b (*.f64 -4 c)) (/.f64 a b)))
35.2b
(/.f64 (/.f64 1 a) (/.f64 1 (*.f64 1/2 (-.f64 (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))) b))))
40.1b
(neg.f64 (/.f64 c b))
41.1b
(/.f64 (*.f64 1/2 (+.f64 (*.f64 c (*.f64 a -4)) 0)) (*.f64 a (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))))))
35.8b
(/.f64 (*.f64 (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) (neg.f64 b)) 1/2) a)
38.8b
(/.f64 (*.f64 (/.f64 (+.f64 (*.f64 c (*.f64 a -4)) 0) (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))))) 1/2) a)
Compiler

Compiled 7618 to 5002 computations (34.3% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 1 (*.f64 1/2 (-.f64 (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))) b)))
0.2b
(/.f64 (/.f64 1 a) (/.f64 1 (*.f64 1/2 (-.f64 (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))) b))))
0.4b
(-.f64 (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))) b)
15.4b
(sqrt.f64 (*.f64 a (*.f64 c -4)))

series625.0ms (7.1%)

Counts
2 → 24
Calls

2 calls:

392.0ms
(/.f64 1 (*.f64 1/2 (-.f64 (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))) b)))
232.0ms
(/.f64 (/.f64 1 a) (/.f64 1 (*.f64 1/2 (-.f64 (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))) b))))

rewrite49.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
252×times-frac_binary64
102×*-un-lft-identity_binary64
102×add-sqr-sqrt_binary64
102×add-cube-cbrt_binary64
96×add-exp-log_binary64
Counts
2 → 219
Calls

2 calls:

10.0ms
(/.f64 (/.f64 1 a) (/.f64 1 (*.f64 1/2 (-.f64 (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))) b))))
5.0ms
(/.f64 1 (*.f64 1/2 (-.f64 (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))) b)))

simplify258.0ms (2.9%)

Algorithm
egg-herbie
Rules
421×associate-/l/_binary64
364×distribute-rgt-in_binary64
350×fma-def_binary64
344×distribute-lft-in_binary64
196×fma-neg_binary64
Counts
243 → 313
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02809434
17238491
221858222
349088218
449948218
549378218

prune309.0ms (3.5%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New3951396
Fresh077
Picked011
Done000
Total3959404
Error
2.9b
Counts
404 → 9
Alt Table
StatusErrorProgram
46.6b
(/.f64 (/.f64 1 a) (/.f64 1 (*.f64 1/2 (-.f64 (hypot.f64 b (*.f64 (sqrt.f64 a) (sqrt.f64 (*.f64 -4 c)))) b))))
46.1b
(/.f64 (neg.f64 b) a)
46.6b
(/.f64 1 (/.f64 a (*.f64 1/2 (-.f64 (hypot.f64 b (*.f64 (sqrt.f64 a) (sqrt.f64 (*.f64 c -4)))) b))))
39.9b
(/.f64 1 (fma.f64 4 (/.f64 b (*.f64 -4 c)) (/.f64 a b)))
35.2b
(/.f64 (/.f64 1 a) (/.f64 1 (*.f64 1/2 (-.f64 (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))) b))))
40.1b
(neg.f64 (/.f64 c b))
41.1b
(/.f64 (*.f64 1/2 (+.f64 (*.f64 c (*.f64 a -4)) 0)) (*.f64 a (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))))))
35.8b
(/.f64 (*.f64 (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) (neg.f64 b)) 1/2) a)
38.8b
(/.f64 (*.f64 (/.f64 (+.f64 (*.f64 c (*.f64 a -4)) 0) (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))))) 1/2) a)
Compiler

Compiled 12875 to 8860 computations (31.2% saved)

regimes2.7s (31%)

Accuracy

Total 5.8b remaining (66.6%)

Threshold costs 0b (0%)

Counts
213 → 4
Compiler

Compiled 18064 to 12958 computations (28.3% saved)

bsearch105.0ms (1.2%)

Steps
ItersRangePoint
8
3.7345201917185293e+76
1.5822281521112962e+80
2.980663629993403e+79
8
3.0176733300357244e-180
4.113794117348541e-177
3.504400908400674e-178
8
-2.5495692589417495e+117
-3.525996866042671e+114
-3.738191357919323e+116
Compiler

Compiled 4 to 3 computations (25% saved)

simplify6.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
03985
15683
26483
37083
47283
57083

end1.0ms (0%)

Compiler

Compiled 59 to 37 computations (37.3% saved)

sample1.6s (18.1%)

Algorithm
intervals
Results
359.0ms1134×body2048valid
344.0ms5234×body128valid
172.0ms696×body1024valid
169.0ms425×body4096valid
70.0ms358×body512valid
43.0ms668×body128nan
24.0ms374×body128invalid
19.0ms153×body256valid
Compiler

Compiled 244 to 173 computations (29.1% saved)

Profiling

Loading profile data...