Details

Time bar (total: 7.8s)

analyze744.0ms (9.6%)

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
0%99.9%0.1%5
18.7%81.1%0.1%6
26.5%67.1%6.4%7
35.1%58.5%6.4%8
41.3%49.9%8.7%9
46.4%40.2%13.4%10
50.8%34.2%15%11
55.2%26.7%18.1%12
57.4%22%20.6%13
59.8%17.9%22.3%14
Compiler

Compiled 42 to 27 computations (35.7% saved)

sample2.0s (25.2%)

Results
1.6s8256×body128valid
200.0ms1060×body128invalid
Compiler

Compiled 125 to 80 computations (36% saved)

simplify155.0ms (2%)

Algorithm
egg-herbie
Rules
1753×fma-neg_binary64
1288×fma-def_binary64
631×div-sub_binary64
512×times-frac_binary64
430×associate-/l*_binary64
Counts
1 → 2
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02258
14752
211852
326950
442950
574350
6131550
7173850
8217650
9285350
10406650
11352350
12357550
13354350
14355750
15451050
16462250
17476150

prune5.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
20.4b
Counts
3 → 2
Alt Table
StatusErrorProgram
20.6b
(if (>=.f64 b 0) (*.f64 -1/2 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)) (/.f64 (*.f64 c 2) (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)))
20.4b
(if (>=.f64 b 0) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a)) (/.f64 (*.f64 2 c) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))))
Compiler

Compiled 231 to 143 computations (38.1% saved)

localize22.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
1.2b
(+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
1.5b
(-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
23.9b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
Compiler

Compiled 1536 to 1280 computations (16.7% saved)

series164.0ms (2.1%)

Counts
4 → 96
Calls

4 calls:

56.0ms
(+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
55.0ms
(-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
43.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
10.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

rewrite40.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
61×prod-diff_binary64
59×*-un-lft-identity_binary64
56×add-sqr-sqrt_binary64
51×add-cube-cbrt_binary64
37×sqrt-prod_binary64
Counts
4 → 155
Calls

4 calls:

12.0ms
(-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
7.0ms
(+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
3.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
3.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

simplify205.0ms (2.6%)

Algorithm
egg-herbie
Rules
413×fma-neg_binary64
345×cancel-sign-sub-inv_binary64
235×exp-prod_binary64
216×distribute-rgt-neg-in_binary64
177×distribute-lft-neg-in_binary64
Counts
251 → 246
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02498106
16136063
221194942
344064869
448704869
548254869

prune568.0ms (7.3%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New3189327
Fresh101
Picked101
Done000
Total3209329
Error
6.1b
Counts
329 → 9
Alt Table
StatusErrorProgram
20.5b
(if (>=.f64 b 0) (/.f64 (-.f64 (neg.f64 b) (*.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))))))) (*.f64 2 a)) (/.f64 (*.f64 2 c) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))))
30.6b
(if (>=.f64 b 0) (/.f64 (/.f64 (*.f64 4 (*.f64 c a)) (-.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b) b)) (*.f64 2 a)) (/.f64 (*.f64 2 c) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))))
20.6b
(if (>=.f64 b 0) (/.f64 (*.f64 (*.f64 (cbrt.f64 (-.f64 (neg.f64 b) (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b))) (cbrt.f64 (-.f64 (neg.f64 b) (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b)))) (cbrt.f64 (-.f64 (neg.f64 b) (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b)))) (*.f64 2 a)) (/.f64 (*.f64 2 c) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))))
22.4b
(if (>=.f64 b 0) (/.f64 (-.f64 (neg.f64 b) b) (*.f64 2 a)) (/.f64 (*.f64 2 c) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))))
21.5b
(if (>=.f64 b 0) (/.f64 (-.f64 (neg.f64 b) (exp.f64 (log.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b)))) (*.f64 2 a)) (/.f64 (*.f64 2 c) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))))
21.0b
(if (>=.f64 b 0) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a)) (/.f64 (*.f64 2 c) (+.f64 (neg.f64 b) (exp.f64 (log.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b))))))
20.1b
(if (>=.f64 b 0) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a)) (/.f64 (*.f64 2 c) (+.f64 (neg.f64 b) (*.f64 -1 b))))
34.0b
(if (>=.f64 b 0) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a)) (/.f64 (*.f64 2 c) (/.f64 (*.f64 4 (*.f64 c a)) (-.f64 (neg.f64 b) (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b)))))
20.3b
(if (>=.f64 b 0) (/.f64 (-.f64 (neg.f64 b) (*.f64 (sqrt.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b)) (sqrt.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b)))) (*.f64 2 a)) (/.f64 (*.f64 2 c) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))))
Compiler

Compiled 18523 to 10716 computations (42.1% saved)

localize21.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a))
0.2b
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
1.5b
(-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
23.9b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
Compiler

Compiled 1536 to 1280 computations (16.7% saved)

series80.0ms (1%)

Counts
1 → 20
Calls

1 calls:

79.0ms
(/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a))

rewrite14.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity_binary64
11×add-sqr-sqrt_binary64
associate-/l*_binary64
times-frac_binary64
add-cbrt-cube_binary64
Counts
1 → 34
Calls

1 calls:

11.0ms
(/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a))

simplify74.0ms (1%)

Algorithm
egg-herbie
Rules
791×times-frac_binary64
461×associate-/l*_binary64
352×fma-neg_binary64
324×fma-def_binary64
167×distribute-rgt-in_binary64
Counts
54 → 71
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01371675
13951518
213491451
348901449
450891449

prune467.0ms (6%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New2724276
Fresh268
Picked101
Done000
Total27510285
Error
6.0b
Counts
285 → 10
Alt Table
StatusErrorProgram
31.3b
(if (>=.f64 b 0) (/.f64 (-.f64 (*.f64 (neg.f64 b) (neg.f64 b)) (*.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (*.f64 (*.f64 a 2) (-.f64 (hypot.f64 (sqrt.f64 (*.f64 a (*.f64 c -4))) b) b))) (/.f64 (*.f64 2 c) (+.f64 (neg.f64 b) (*.f64 -1 b))))
21.5b
(if (>=.f64 b 0) (/.f64 (-.f64 (neg.f64 b) (exp.f64 (log.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b)))) (*.f64 2 a)) (/.f64 (*.f64 2 c) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))))
34.0b
(if (>=.f64 b 0) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a)) (/.f64 (*.f64 2 c) (/.f64 (*.f64 4 (*.f64 c a)) (-.f64 (neg.f64 b) (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b)))))
22.1b
(if (>=.f64 b 0) (*.f64 -1 (/.f64 b a)) (/.f64 (*.f64 2 c) (+.f64 (neg.f64 b) (*.f64 -1 b))))
20.5b
(if (>=.f64 b 0) (/.f64 (-.f64 (neg.f64 b) (*.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))))))) (*.f64 2 a)) (/.f64 (*.f64 2 c) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))))
30.6b
(if (>=.f64 b 0) (/.f64 (/.f64 (*.f64 4 (*.f64 c a)) (-.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b) b)) (*.f64 2 a)) (/.f64 (*.f64 2 c) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))))
21.0b
(if (>=.f64 b 0) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a)) (/.f64 (*.f64 2 c) (+.f64 (neg.f64 b) (exp.f64 (log.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b))))))
20.1b
(if (>=.f64 b 0) (*.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (/.f64 1/2 a)) (/.f64 (*.f64 2 c) (+.f64 (neg.f64 b) (*.f64 -1 b))))
21.9b
(if (>=.f64 b 0) (-.f64 (/.f64 c b) (/.f64 b a)) (/.f64 (*.f64 2 c) (+.f64 (neg.f64 b) (*.f64 -1 b))))
20.3b
(if (>=.f64 b 0) (/.f64 (-.f64 (neg.f64 b) (*.f64 (sqrt.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b)) (sqrt.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b)))) (*.f64 2 a)) (/.f64 (*.f64 2 c) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))))
Compiler

Compiled 14391 to 8622 computations (40.1% saved)

localize21.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
0.2b
(*.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (/.f64 1/2 a))
1.5b
(-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
23.9b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
Compiler

Compiled 1536 to 1280 computations (16.7% saved)

series83.0ms (1.1%)

Counts
1 → 20
Calls

1 calls:

83.0ms
(*.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (/.f64 1/2 a))

rewrite17.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt_binary64
13×associate-*r*_binary64
13×*-un-lft-identity_binary64
10×times-frac_binary64
add-cube-cbrt_binary64
Counts
1 → 42
Calls

1 calls:

14.0ms
(*.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (/.f64 1/2 a))

simplify80.0ms (1%)

Algorithm
egg-herbie
Rules
694×times-frac_binary64
396×fma-neg_binary64
350×fma-def_binary64
286×distribute-rgt-in_binary64
124×distribute-rgt-neg-out_binary64
Counts
62 → 91
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01601900
14421745
216151658
345831656
449261656

prune469.0ms (6%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New2933296
Fresh369
Picked011
Done000
Total29610306
Error
6.0b
Counts
306 → 10
Alt Table
StatusErrorProgram
20.3b
(if (>=.f64 b 0) (*.f64 (*.f64 (-.f64 (neg.f64 b) (hypot.f64 (sqrt.f64 (*.f64 a (*.f64 c -4))) b)) (*.f64 (cbrt.f64 1/2) (cbrt.f64 1/2))) (/.f64 (cbrt.f64 1/2) a)) (/.f64 (*.f64 2 c) (+.f64 (neg.f64 b) (*.f64 -1 b))))
21.5b
(if (>=.f64 b 0) (/.f64 (-.f64 (neg.f64 b) (exp.f64 (log.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b)))) (*.f64 2 a)) (/.f64 (*.f64 2 c) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))))
34.0b
(if (>=.f64 b 0) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a)) (/.f64 (*.f64 2 c) (/.f64 (*.f64 4 (*.f64 c a)) (-.f64 (neg.f64 b) (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b)))))
22.1b
(if (>=.f64 b 0) (*.f64 -1 (/.f64 b a)) (/.f64 (*.f64 2 c) (+.f64 (neg.f64 b) (*.f64 -1 b))))
21.0b
(if (>=.f64 b 0) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a)) (/.f64 (*.f64 2 c) (+.f64 (neg.f64 b) (exp.f64 (log.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b))))))
20.1b
(if (>=.f64 b 0) (*.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (/.f64 1/2 a)) (/.f64 (*.f64 2 c) (+.f64 (neg.f64 b) (*.f64 -1 b))))
31.3b
(if (>=.f64 b 0) (/.f64 (*.f64 (*.f64 4 (*.f64 c a)) 1/2) (*.f64 a (-.f64 (hypot.f64 (sqrt.f64 (*.f64 a (*.f64 c -4))) b) b))) (/.f64 (*.f64 2 c) (+.f64 (neg.f64 b) (*.f64 -1 b))))
22.2b
(if (>=.f64 b 0) (*.f64 (-.f64 (neg.f64 b) b) (/.f64 1/2 a)) (/.f64 (*.f64 2 c) (+.f64 (neg.f64 b) (*.f64 -1 b))))
21.9b
(if (>=.f64 b 0) (-.f64 (/.f64 c b) (/.f64 b a)) (/.f64 (*.f64 2 c) (+.f64 (neg.f64 b) (*.f64 -1 b))))
20.5b
(if (>=.f64 b 0) (/.f64 (-.f64 (neg.f64 b) (*.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))))))) (*.f64 2 a)) (/.f64 (*.f64 2 c) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))))
Compiler

Compiled 15094 to 9058 computations (40% saved)

localize22.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.4b
(/.f64 (cbrt.f64 1/2) a)
1.0b
(-.f64 (neg.f64 b) (hypot.f64 (sqrt.f64 (*.f64 a (*.f64 c -4))) b))
1.0b
(*.f64 (cbrt.f64 1/2) (cbrt.f64 1/2))
15.8b
(sqrt.f64 (*.f64 a (*.f64 c -4)))
Compiler

Compiled 1536 to 1280 computations (16.7% saved)

series180.0ms (2.3%)

Counts
4 → 14
Calls

4 calls:

153.0ms
(-.f64 (neg.f64 b) (hypot.f64 (sqrt.f64 (*.f64 a (*.f64 c -4))) b))
22.0ms
(sqrt.f64 (*.f64 a (*.f64 c -4)))
5.0ms
(/.f64 (cbrt.f64 1/2) a)
0.0ms
(*.f64 (cbrt.f64 1/2) (cbrt.f64 1/2))

rewrite26.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
60×add-sqr-sqrt_binary64
54×*-un-lft-identity_binary64
50×add-cube-cbrt_binary64
30×prod-diff_binary64
28×cbrt-prod_binary64
Counts
4 → 158
Calls

4 calls:

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

simplify142.0ms (1.8%)

Algorithm
egg-herbie
Rules
664×fma-neg_binary64
444×associate-/l*_binary64
353×fma-def_binary64
311×associate-/r*_binary64
137×associate-*l/_binary64
Counts
172 → 216
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02534097
14803030
214122582
344822582
449882582
548712582

prune566.0ms (7.3%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New2133216
Fresh268
Picked101
Done011
Total21610226
Error
4.8b
Counts
226 → 10
Alt Table
StatusErrorProgram
20.3b
(if (>=.f64 b 0) (*.f64 (*.f64 (-.f64 (neg.f64 b) (hypot.f64 (sqrt.f64 (*.f64 a (*.f64 c -4))) b)) (*.f64 (cbrt.f64 1/2) (cbrt.f64 1/2))) (*.f64 (*.f64 (cbrt.f64 (/.f64 (cbrt.f64 1/2) a)) (cbrt.f64 (/.f64 (cbrt.f64 1/2) a))) (cbrt.f64 (/.f64 (cbrt.f64 1/2) a)))) (/.f64 (*.f64 2 c) (+.f64 (neg.f64 b) (*.f64 -1 b))))
34.0b
(if (>=.f64 b 0) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a)) (/.f64 (*.f64 2 c) (/.f64 (*.f64 4 (*.f64 c a)) (-.f64 (neg.f64 b) (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b)))))
28.9b
(if (>=.f64 b 0) (*.f64 (*.f64 (-.f64 (neg.f64 b) (hypot.f64 (*.f64 (sqrt.f64 a) (sqrt.f64 (*.f64 c -4))) b)) (*.f64 (cbrt.f64 1/2) (cbrt.f64 1/2))) (/.f64 (cbrt.f64 1/2) a)) (/.f64 (*.f64 2 c) (+.f64 (neg.f64 b) (*.f64 -1 b))))
20.5b
(if (>=.f64 b 0) (/.f64 (-.f64 (neg.f64 b) (*.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))))))) (*.f64 2 a)) (/.f64 (*.f64 2 c) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))))
21.5b
(if (>=.f64 b 0) (/.f64 (-.f64 (neg.f64 b) (exp.f64 (log.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b)))) (*.f64 2 a)) (/.f64 (*.f64 2 c) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))))
21.0b
(if (>=.f64 b 0) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a)) (/.f64 (*.f64 2 c) (+.f64 (neg.f64 b) (exp.f64 (log.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b))))))
20.1b
(if (>=.f64 b 0) (*.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (/.f64 1/2 a)) (/.f64 (*.f64 2 c) (+.f64 (neg.f64 b) (*.f64 -1 b))))
31.3b
(if (>=.f64 b 0) (/.f64 (*.f64 (*.f64 4 (*.f64 c a)) 1/2) (*.f64 a (-.f64 (hypot.f64 (sqrt.f64 (*.f64 a (*.f64 c -4))) b) b))) (/.f64 (*.f64 2 c) (+.f64 (neg.f64 b) (*.f64 -1 b))))
21.9b
(if (>=.f64 b 0) (-.f64 (/.f64 c b) (/.f64 b a)) (/.f64 (*.f64 2 c) (+.f64 (neg.f64 b) (*.f64 -1 b))))
22.4b
(if (>=.f64 b 0) (*.f64 (*.f64 (*.f64 -2 b) (*.f64 (cbrt.f64 1/2) (cbrt.f64 1/2))) (/.f64 (cbrt.f64 1/2) a)) (/.f64 (*.f64 2 c) (+.f64 (neg.f64 b) (*.f64 -1 b))))
Compiler

Compiled 11041 to 7710 computations (30.2% saved)

regimes1.3s (17.1%)

Accuracy

Total 2.9b remaining (41.5%)

Threshold costs 0b (0%)

Counts
104 → 5
Compiler

Compiled 16562 to 11306 computations (31.7% saved)

bsearch6.0ms (0.1%)

Compiler

Compiled 41 to 26 computations (36.6% saved)

simplify16.0ms (0.2%)

Algorithm
egg-herbie
Rules
21×*-commutative_binary64
20×+-commutative_binary64
16×sub-neg_binary64
12×neg-sub0_binary64
11×neg-mul-1_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
067458
194444
2122444
3144444
4158444
5164444
6165444
7164444

end296.0ms (3.8%)

Compiler

Compiled 990 to 627 computations (36.7% saved)

Profiling

Loading profile data...