Details

Time bar (total: 37.9s)

analyze3.3s (8.7%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.8%0.2%0
0%99.8%0.2%1
0%99.8%0.2%2
0%99.8%0.2%3
0%99.8%0.2%4
0%99.8%0.2%5
0%99.8%0.2%6
0%98.2%1.8%7
0%92%8%8
0%91.2%8.8%9
0.4%89.3%10.3%10
7.1%79.2%13.6%11
11.9%70.2%17.9%12
13.8%67.4%18.7%13
16.6%63.3%20.1%14
Compiler

Compiled 45 to 33 computations (26.7% saved)

sample253.0ms (0.7%)

Algorithm
intervals
Symmetry

(sort A C)

Results
33.0ms173×body128valid
29.0ms37×body1024valid
23.0ms25×body2048valid
22.0ms20×body2048nan
14.0ms78×body128nan
13.0ms20×body1024nan
12.0ms21×body512nan
9.0ms18×body512valid
2.0msbody256nan
1.0msbody256valid
Compiler

Compiled 93 to 69 computations (25.8% saved)

simplify53.0ms (0.1%)

Algorithm
egg-herbie
Rules
759×neg-mul-1_binary64
493×associate-*l*_binary64
463×associate-*r*_binary64
420×distribute-rgt-in_binary64
410×distribute-lft-in_binary64
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
02361
16149
217649
364849
4272749
5486949
6551249

prune6.0ms (0%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
49.3b
Counts
3 → 2
Alt Table
StatusErrorProgram
50.8b
(/.f64 (neg.f64 (sqrt.f64 (*.f64 (*.f64 2 (*.f64 (-.f64 (pow.f64 B 2) (*.f64 (*.f64 4 A) C)) F)) (-.f64 (+.f64 A C) (sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (pow.f64 B 2))))))) (-.f64 (pow.f64 B 2) (*.f64 (*.f64 4 A) C)))
49.4b
(/.f64 (neg.f64 (sqrt.f64 (*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (*.f64 2 (*.f64 F (-.f64 (+.f64 A C) (hypot.f64 B (-.f64 A C)))))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
Compiler

Compiled 239 to 156 computations (34.7% saved)

localize18.0ms (0%)

Local error

Found 4 expressions with local error:

NewErrorProgram
1.2b
(-.f64 (+.f64 A C) (hypot.f64 B (-.f64 A C)))
2.8b
(*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (*.f64 2 (*.f64 F (-.f64 (+.f64 A C) (hypot.f64 B (-.f64 A C))))))
12.8b
(sqrt.f64 (*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (*.f64 2 (*.f64 F (-.f64 (+.f64 A C) (hypot.f64 B (-.f64 A C)))))))
21.6b
(/.f64 (neg.f64 (sqrt.f64 (*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (*.f64 2 (*.f64 F (-.f64 (+.f64 A C) (hypot.f64 B (-.f64 A C)))))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))

series17.5s (46.1%)

Counts
4 → 124
Calls

4 calls:

10.1s
(sqrt.f64 (*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (*.f64 2 (*.f64 F (-.f64 (+.f64 A C) (hypot.f64 B (-.f64 A C)))))))
7.1s
(/.f64 (neg.f64 (sqrt.f64 (*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (*.f64 2 (*.f64 F (-.f64 (+.f64 A C) (hypot.f64 B (-.f64 A C)))))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
239.0ms
(*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (*.f64 2 (*.f64 F (-.f64 (+.f64 A C) (hypot.f64 B (-.f64 A C))))))
60.0ms
(-.f64 (+.f64 A C) (hypot.f64 B (-.f64 A C)))

rewrite126.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
204×distribute-lft-in_binary64
204×distribute-rgt-in_binary64
164×*-un-lft-identity_binary64
108×prod-diff_binary64
105×add-sqr-sqrt_binary64
Counts
4 → 284
Calls

4 calls:

30.0ms
(sqrt.f64 (*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (*.f64 2 (*.f64 F (-.f64 (+.f64 A C) (hypot.f64 B (-.f64 A C)))))))
18.0ms
(*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (*.f64 2 (*.f64 F (-.f64 (+.f64 A C) (hypot.f64 B (-.f64 A C))))))
7.0ms
(/.f64 (neg.f64 (sqrt.f64 (*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (*.f64 2 (*.f64 F (-.f64 (+.f64 A C) (hypot.f64 B (-.f64 A C)))))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
6.0ms
(-.f64 (+.f64 A C) (hypot.f64 B (-.f64 A C)))

simplify673.0ms (1.8%)

Algorithm
egg-herbie
Rules
721×times-frac_binary64
670×fma-def_binary64
277×associate-/l*_binary64
190×associate-/r*_binary64
93×sub-neg_binary64
Counts
408 → 499
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0276555201
1484249427
2591149427

prune1.3s (3.4%)

Pruning

22 alts after pruning (22 fresh and 0 done)

PrunedKeptTotal
New47722499
Fresh101
Picked101
Done000
Total47922501
Error
19.1b
Counts
501 → 22
Alt Table
StatusErrorProgram
62.8b
(/.f64 (neg.f64 (sqrt.f64 (*.f64 -16 (*.f64 A (*.f64 (pow.f64 C 2) F))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
60.3b
(/.f64 (neg.f64 (sqrt.f64 (*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (*.f64 2 (*.f64 F (fma.f64 (sqrt.f64 (+.f64 A C)) (sqrt.f64 (+.f64 A C)) (neg.f64 (hypot.f64 B (-.f64 A C))))))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
63.2b
(/.f64 (neg.f64 (sqrt.f64 (*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (*.f64 2 (*.f64 F (*.f64 2 C)))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
56.5b
(/.f64 (neg.f64 (sqrt.f64 (*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (*.f64 2 (*.f64 F (-.f64 (pow.f64 (+.f64 A C) 3) (pow.f64 (hypot.f64 B (-.f64 A C)) 3))))))) (*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (sqrt.f64 (fma.f64 (+.f64 A C) (+.f64 A C) (*.f64 (hypot.f64 B (-.f64 A C)) (+.f64 (hypot.f64 B (-.f64 A C)) (+.f64 A C)))))))
48.6b
(/.f64 (neg.f64 (sqrt.f64 (*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (*.f64 2 (*.f64 F (-.f64 (*.f64 2 A) (*.f64 1/2 (+.f64 (/.f64 (*.f64 B B) C) (/.f64 (*.f64 A (*.f64 B B)) (*.f64 C C)))))))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
49.4b
(*.f64 (sqrt.f64 (sqrt.f64 (*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (*.f64 2 (*.f64 F (-.f64 (+.f64 A C) (hypot.f64 B (-.f64 A C)))))))) (/.f64 (neg.f64 (sqrt.f64 (sqrt.f64 (*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (*.f64 2 (*.f64 F (-.f64 (+.f64 A C) (hypot.f64 B (-.f64 A C))))))))) (fma.f64 A (*.f64 C -4) (*.f64 B B))))
60.5b
(/.f64 (neg.f64 (-.f64 (fma.f64 2 (*.f64 (/.f64 (*.f64 A (*.f64 C (sqrt.f64 2))) B) (sqrt.f64 (/.f64 (*.f64 (fma.f64 C C (*.f64 B B)) F) (-.f64 C (hypot.f64 C B))))) (fma.f64 1/2 (*.f64 (*.f64 A (*.f64 (sqrt.f64 2) B)) (sqrt.f64 (/.f64 F (-.f64 C (hypot.f64 C B))))) (fma.f64 1/2 (*.f64 (*.f64 A (*.f64 C (*.f64 (sqrt.f64 2) B))) (sqrt.f64 (/.f64 F (*.f64 (fma.f64 C C (*.f64 B B)) (-.f64 C (hypot.f64 C B)))))) (*.f64 (sqrt.f64 (*.f64 F (-.f64 C (hypot.f64 C B)))) (*.f64 (sqrt.f64 2) B))))) (*.f64 2 (*.f64 (/.f64 (*.f64 A (*.f64 (*.f64 C C) (sqrt.f64 2))) B) (sqrt.f64 (/.f64 F (-.f64 C (hypot.f64 C B)))))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
59.9b
(/.f64 (neg.f64 (sqrt.f64 (*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (*.f64 2 (*.f64 F B))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
53.2b
(neg.f64 (*.f64 (sqrt.f64 (*.f64 F (-.f64 C (hypot.f64 B C)))) (/.f64 (sqrt.f64 2) B)))
49.7b
(/.f64 (neg.f64 (sqrt.f64 (+.f64 (*.f64 (*.f64 (*.f64 (+.f64 A C) F) 2) (fma.f64 A (*.f64 C -4) (*.f64 B B))) (*.f64 (*.f64 (*.f64 (*.f64 (neg.f64 (sqrt.f64 (hypot.f64 B (-.f64 A C)))) (sqrt.f64 (hypot.f64 B (-.f64 A C)))) F) 2) (fma.f64 A (*.f64 C -4) (*.f64 B B)))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
59.9b
(/.f64 (neg.f64 (sqrt.f64 (*.f64 2 (*.f64 F (pow.f64 B 3))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
47.6b
(*.f64 -1 (/.f64 (sqrt.f64 (*.f64 2 (*.f64 F (-.f64 (+.f64 A C) (hypot.f64 B (-.f64 A C)))))) (sqrt.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)))))
47.2b
(/.f64 (neg.f64 (sqrt.f64 (*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (*.f64 2 (*.f64 F (*.f64 2 A)))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
49.3b
(/.f64 (neg.f64 (neg.f64 (*.f64 A (*.f64 (sqrt.f64 2) (sqrt.f64 (*.f64 -8 (*.f64 C F))))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
52.3b
(/.f64 (neg.f64 (sqrt.f64 (fma.f64 8 (*.f64 A (*.f64 F (*.f64 B B))) (*.f64 -16 (*.f64 (*.f64 A A) (*.f64 C F)))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
52.0b
(neg.f64 (*.f64 (sqrt.f64 (*.f64 F (-.f64 A (hypot.f64 A B)))) (/.f64 (sqrt.f64 2) B)))
60.5b
(-.f64 (*.f64 2 (*.f64 (/.f64 (*.f64 A (*.f64 C (sqrt.f64 2))) (pow.f64 B 3)) (sqrt.f64 (/.f64 (*.f64 (fma.f64 C C (*.f64 B B)) F) (-.f64 C (hypot.f64 B C)))))) (fma.f64 (sqrt.f64 (*.f64 F (-.f64 C (hypot.f64 B C)))) (/.f64 (sqrt.f64 2) B) (fma.f64 1/2 (*.f64 (/.f64 (*.f64 A (*.f64 C (sqrt.f64 2))) B) (sqrt.f64 (/.f64 F (*.f64 (fma.f64 B B (*.f64 C C)) (-.f64 C (hypot.f64 B C)))))) (fma.f64 2 (*.f64 (/.f64 (*.f64 A (*.f64 (*.f64 C C) (sqrt.f64 2))) (pow.f64 B 3)) (sqrt.f64 (/.f64 F (-.f64 C (hypot.f64 B C))))) (*.f64 1/2 (*.f64 (/.f64 (*.f64 A (sqrt.f64 2)) B) (sqrt.f64 (/.f64 F (-.f64 C (hypot.f64 B C))))))))))
46.8b
(neg.f64 (*.f64 (sqrt.f64 (*.f64 -1/2 (/.f64 F C))) (sqrt.f64 2)))
50.1b
(/.f64 (neg.f64 (sqrt.f64 (*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (*.f64 2 (*.f64 F (fma.f64 2 A (*.f64 1/2 (/.f64 (*.f64 B B) A)))))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
49.3b
(/.f64 (sqrt.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B))) (/.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (neg.f64 (sqrt.f64 (*.f64 2 (*.f64 F (-.f64 (+.f64 A C) (hypot.f64 B (-.f64 A C)))))))))
59.8b
(/.f64 (neg.f64 (sqrt.f64 (*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (*.f64 2 (*.f64 F (neg.f64 B)))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
49.5b
(/.f64 (neg.f64 (neg.f64 (fma.f64 A (*.f64 (sqrt.f64 2) (sqrt.f64 (*.f64 -8 (*.f64 C F)))) (/.f64 (*.f64 F (*.f64 (sqrt.f64 2) (*.f64 B B))) (sqrt.f64 (*.f64 -8 (*.f64 C F))))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
Compiler

Compiled 69469 to 36688 computations (47.2% saved)

localize7.0ms (0%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.4b
(*.f64 (sqrt.f64 (*.f64 -1/2 (/.f64 F C))) (sqrt.f64 2))
13.7b
(sqrt.f64 (*.f64 -1/2 (/.f64 F C)))

series53.0ms (0.1%)

Counts
2 → 0
Calls

2 calls:

30.0ms
(*.f64 (sqrt.f64 (*.f64 -1/2 (/.f64 F C))) (sqrt.f64 2))
22.0ms
(sqrt.f64 (*.f64 -1/2 (/.f64 F C)))

rewrite12.0ms (0%)

Algorithm
rewrite-expression-head
Rules
12×pow1_binary64
add-sqr-sqrt_binary64
associate-*r*_binary64
sqrt-prod_binary64
sqrt-pow1_binary64
Counts
2 → 44
Calls

2 calls:

7.0ms
(*.f64 (sqrt.f64 (*.f64 -1/2 (/.f64 F C))) (sqrt.f64 2))
3.0ms
(sqrt.f64 (*.f64 -1/2 (/.f64 F C)))

simplify91.0ms (0.2%)

Algorithm
egg-herbie
Rules
408×associate-*l/_binary64
404×associate-*r/_binary64
396×fma-def_binary64
390×associate-/l*_binary64
328×*-commutative_binary64
Counts
44 → 46
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
058636
195600
2236596
3514596
4997596
51905596
62041596
72369596
83387596
94728596
104986596

prune88.0ms (0.2%)

Pruning

28 alts after pruning (28 fresh and 0 done)

PrunedKeptTotal
New38846
Fresh12021
Picked101
Done000
Total402868
Error
18.2b
Counts
68 → 28
Alt Table
StatusErrorProgram
62.8b
(/.f64 (neg.f64 (sqrt.f64 (*.f64 -16 (*.f64 A (*.f64 (pow.f64 C 2) F))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
60.3b
(/.f64 (neg.f64 (sqrt.f64 (*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (*.f64 2 (*.f64 F (fma.f64 (sqrt.f64 (+.f64 A C)) (sqrt.f64 (+.f64 A C)) (neg.f64 (hypot.f64 B (-.f64 A C))))))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
63.2b
(/.f64 (neg.f64 (sqrt.f64 (*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (*.f64 2 (*.f64 F (*.f64 2 C)))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
56.5b
(/.f64 (neg.f64 (sqrt.f64 (*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (*.f64 2 (*.f64 F (-.f64 (pow.f64 (+.f64 A C) 3) (pow.f64 (hypot.f64 B (-.f64 A C)) 3))))))) (*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (sqrt.f64 (fma.f64 (+.f64 A C) (+.f64 A C) (*.f64 (hypot.f64 B (-.f64 A C)) (+.f64 (hypot.f64 B (-.f64 A C)) (+.f64 A C)))))))
48.6b
(/.f64 (neg.f64 (sqrt.f64 (*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (*.f64 2 (*.f64 F (-.f64 (*.f64 2 A) (*.f64 1/2 (+.f64 (/.f64 (*.f64 B B) C) (/.f64 (*.f64 A (*.f64 B B)) (*.f64 C C)))))))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
49.4b
(*.f64 (sqrt.f64 (sqrt.f64 (*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (*.f64 2 (*.f64 F (-.f64 (+.f64 A C) (hypot.f64 B (-.f64 A C)))))))) (/.f64 (neg.f64 (sqrt.f64 (sqrt.f64 (*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (*.f64 2 (*.f64 F (-.f64 (+.f64 A C) (hypot.f64 B (-.f64 A C))))))))) (fma.f64 A (*.f64 C -4) (*.f64 B B))))
42.5b
(neg.f64 (*.f64 (/.f64 (sqrt.f64 (*.f64 -1/2 F)) (sqrt.f64 C)) (sqrt.f64 2)))
60.5b
(/.f64 (neg.f64 (-.f64 (fma.f64 2 (*.f64 (/.f64 (*.f64 A (*.f64 C (sqrt.f64 2))) B) (sqrt.f64 (/.f64 (*.f64 (fma.f64 C C (*.f64 B B)) F) (-.f64 C (hypot.f64 C B))))) (fma.f64 1/2 (*.f64 (*.f64 A (*.f64 (sqrt.f64 2) B)) (sqrt.f64 (/.f64 F (-.f64 C (hypot.f64 C B))))) (fma.f64 1/2 (*.f64 (*.f64 A (*.f64 C (*.f64 (sqrt.f64 2) B))) (sqrt.f64 (/.f64 F (*.f64 (fma.f64 C C (*.f64 B B)) (-.f64 C (hypot.f64 C B)))))) (*.f64 (sqrt.f64 (*.f64 F (-.f64 C (hypot.f64 C B)))) (*.f64 (sqrt.f64 2) B))))) (*.f64 2 (*.f64 (/.f64 (*.f64 A (*.f64 (*.f64 C C) (sqrt.f64 2))) B) (sqrt.f64 (/.f64 F (-.f64 C (hypot.f64 C B)))))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
46.8b
(neg.f64 (*.f64 (sqrt.f64 (sqrt.f64 (*.f64 -1/2 (/.f64 F C)))) (*.f64 (sqrt.f64 (sqrt.f64 (*.f64 -1/2 (/.f64 F C)))) (sqrt.f64 2))))
47.1b
(neg.f64 (*.f64 (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (*.f64 -1/2 (/.f64 F C)))) (cbrt.f64 (sqrt.f64 (*.f64 -1/2 (/.f64 F C))))) (cbrt.f64 (sqrt.f64 (*.f64 -1/2 (/.f64 F C))))) (sqrt.f64 2)))
59.9b
(/.f64 (neg.f64 (sqrt.f64 (*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (*.f64 2 (*.f64 F B))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
53.2b
(neg.f64 (*.f64 (sqrt.f64 (*.f64 F (-.f64 C (hypot.f64 B C)))) (/.f64 (sqrt.f64 2) B)))
46.7b
(neg.f64 (sqrt.f64 (neg.f64 (/.f64 F C))))
47.8b
(neg.f64 (exp.f64 (+.f64 (log.f64 (sqrt.f64 (*.f64 -1/2 (/.f64 F C)))) (log.f64 (sqrt.f64 2)))))
49.7b
(/.f64 (neg.f64 (sqrt.f64 (+.f64 (*.f64 (*.f64 (*.f64 (+.f64 A C) F) 2) (fma.f64 A (*.f64 C -4) (*.f64 B B))) (*.f64 (*.f64 (*.f64 (*.f64 (neg.f64 (sqrt.f64 (hypot.f64 B (-.f64 A C)))) (sqrt.f64 (hypot.f64 B (-.f64 A C)))) F) 2) (fma.f64 A (*.f64 C -4) (*.f64 B B)))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
47.8b
(neg.f64 (*.f64 (exp.f64 (log.f64 (sqrt.f64 (*.f64 -1/2 (/.f64 F C))))) (sqrt.f64 2)))
50.1b
(/.f64 (neg.f64 (sqrt.f64 (*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (*.f64 2 (*.f64 F (fma.f64 2 A (*.f64 1/2 (/.f64 (*.f64 B B) A)))))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
59.9b
(/.f64 (neg.f64 (sqrt.f64 (*.f64 2 (*.f64 F (pow.f64 B 3))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
47.6b
(*.f64 -1 (/.f64 (sqrt.f64 (*.f64 2 (*.f64 F (-.f64 (+.f64 A C) (hypot.f64 B (-.f64 A C)))))) (sqrt.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)))))
47.2b
(/.f64 (neg.f64 (sqrt.f64 (*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (*.f64 2 (*.f64 F (*.f64 2 A)))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
49.3b
(/.f64 (neg.f64 (neg.f64 (*.f64 A (*.f64 (sqrt.f64 2) (sqrt.f64 (*.f64 -8 (*.f64 C F))))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
52.3b
(/.f64 (neg.f64 (sqrt.f64 (fma.f64 8 (*.f64 A (*.f64 F (*.f64 B B))) (*.f64 -16 (*.f64 (*.f64 A A) (*.f64 C F)))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
52.0b
(neg.f64 (*.f64 (sqrt.f64 (*.f64 F (-.f64 A (hypot.f64 A B)))) (/.f64 (sqrt.f64 2) B)))
60.5b
(-.f64 (*.f64 2 (*.f64 (/.f64 (*.f64 A (*.f64 C (sqrt.f64 2))) (pow.f64 B 3)) (sqrt.f64 (/.f64 (*.f64 (fma.f64 C C (*.f64 B B)) F) (-.f64 C (hypot.f64 B C)))))) (fma.f64 (sqrt.f64 (*.f64 F (-.f64 C (hypot.f64 B C)))) (/.f64 (sqrt.f64 2) B) (fma.f64 1/2 (*.f64 (/.f64 (*.f64 A (*.f64 C (sqrt.f64 2))) B) (sqrt.f64 (/.f64 F (*.f64 (fma.f64 B B (*.f64 C C)) (-.f64 C (hypot.f64 B C)))))) (fma.f64 2 (*.f64 (/.f64 (*.f64 A (*.f64 (*.f64 C C) (sqrt.f64 2))) (pow.f64 B 3)) (sqrt.f64 (/.f64 F (-.f64 C (hypot.f64 B C))))) (*.f64 1/2 (*.f64 (/.f64 (*.f64 A (sqrt.f64 2)) B) (sqrt.f64 (/.f64 F (-.f64 C (hypot.f64 B C))))))))))
50.8b
(neg.f64 (*.f64 (cbrt.f64 (*.f64 (*.f64 (sqrt.f64 (*.f64 -1/2 (/.f64 F C))) (sqrt.f64 (*.f64 -1/2 (/.f64 F C)))) (sqrt.f64 (*.f64 -1/2 (/.f64 F C))))) (sqrt.f64 2)))
49.3b
(/.f64 (sqrt.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B))) (/.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (neg.f64 (sqrt.f64 (*.f64 2 (*.f64 F (-.f64 (+.f64 A C) (hypot.f64 B (-.f64 A C)))))))))
59.8b
(/.f64 (neg.f64 (sqrt.f64 (*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (*.f64 2 (*.f64 F (neg.f64 B)))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
42.5b
(neg.f64 (/.f64 (*.f64 (sqrt.f64 (*.f64 -1/2 F)) (sqrt.f64 2)) (sqrt.f64 C)))
Compiler

Compiled 2756 to 1769 computations (35.8% saved)

localize9.0ms (0%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (*.f64 -1/2 F))
0.2b
(/.f64 (*.f64 (sqrt.f64 (*.f64 -1/2 F)) (sqrt.f64 2)) (sqrt.f64 C))
0.4b
(*.f64 (sqrt.f64 (*.f64 -1/2 F)) (sqrt.f64 2))

series102.0ms (0.3%)

Counts
3 → 0
Calls

3 calls:

86.0ms
(/.f64 (*.f64 (sqrt.f64 (*.f64 -1/2 F)) (sqrt.f64 2)) (sqrt.f64 C))
9.0ms
(*.f64 (sqrt.f64 (*.f64 -1/2 F)) (sqrt.f64 2))
7.0ms
(sqrt.f64 (*.f64 -1/2 F))

rewrite20.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt_binary64
13×pow1_binary64
12×sqrt-prod_binary64
10×*-un-lft-identity_binary64
10×add-cube-cbrt_binary64
Counts
3 → 72
Calls

3 calls:

8.0ms
(/.f64 (*.f64 (sqrt.f64 (*.f64 -1/2 F)) (sqrt.f64 2)) (sqrt.f64 C))
6.0ms
(*.f64 (sqrt.f64 (*.f64 -1/2 F)) (sqrt.f64 2))
2.0ms
(sqrt.f64 (*.f64 -1/2 F))

simplify105.0ms (0.3%)

Algorithm
egg-herbie
Rules
935×div-sub_binary64
607×times-frac_binary64
551×associate-/l*_binary64
461×fma-def_binary64
242×neg-mul-1_binary64
Counts
72 → 82
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0961123
1181994
2618989
32839989
42952989
53710989
64538989
75860989

prune143.0ms (0.4%)

Pruning

33 alts after pruning (33 fresh and 0 done)

PrunedKeptTotal
New73982
Fresh32427
Picked101
Done000
Total7733110
Error
18.1b
Counts
110 → 33
Alt Table
StatusErrorProgram
49.3b
(/.f64 (neg.f64 (neg.f64 (*.f64 A (*.f64 (sqrt.f64 2) (sqrt.f64 (*.f64 -8 (*.f64 C F))))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
43.8b
(neg.f64 (/.f64 (exp.f64 (log.f64 (*.f64 (sqrt.f64 (*.f64 -1/2 F)) (sqrt.f64 2)))) (sqrt.f64 C)))
52.3b
(/.f64 (neg.f64 (sqrt.f64 (fma.f64 8 (*.f64 A (*.f64 F (*.f64 B B))) (*.f64 -16 (*.f64 (*.f64 A A) (*.f64 C F)))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
43.8b
(neg.f64 (/.f64 (exp.f64 (+.f64 (log.f64 (sqrt.f64 (*.f64 -1/2 F))) (log.f64 (sqrt.f64 2)))) (sqrt.f64 C)))
62.8b
(/.f64 (neg.f64 (sqrt.f64 (*.f64 -16 (*.f64 A (*.f64 (pow.f64 C 2) F))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
60.3b
(/.f64 (neg.f64 (sqrt.f64 (*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (*.f64 2 (*.f64 F (fma.f64 (sqrt.f64 (+.f64 A C)) (sqrt.f64 (+.f64 A C)) (neg.f64 (hypot.f64 B (-.f64 A C))))))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
63.2b
(/.f64 (neg.f64 (sqrt.f64 (*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (*.f64 2 (*.f64 F (*.f64 2 C)))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
56.5b
(/.f64 (neg.f64 (sqrt.f64 (*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (*.f64 2 (*.f64 F (-.f64 (pow.f64 (+.f64 A C) 3) (pow.f64 (hypot.f64 B (-.f64 A C)) 3))))))) (*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (sqrt.f64 (fma.f64 (+.f64 A C) (+.f64 A C) (*.f64 (hypot.f64 B (-.f64 A C)) (+.f64 (hypot.f64 B (-.f64 A C)) (+.f64 A C)))))))
48.6b
(/.f64 (neg.f64 (sqrt.f64 (*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (*.f64 2 (*.f64 F (-.f64 (*.f64 2 A) (*.f64 1/2 (+.f64 (/.f64 (*.f64 B B) C) (/.f64 (*.f64 A (*.f64 B B)) (*.f64 C C)))))))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
42.5b
(neg.f64 (/.f64 (sqrt.f64 (*.f64 -1/2 F)) (/.f64 (sqrt.f64 C) (sqrt.f64 2))))
52.0b
(neg.f64 (*.f64 (sqrt.f64 (*.f64 F (-.f64 A (hypot.f64 A B)))) (/.f64 (sqrt.f64 2) B)))
49.4b
(*.f64 (sqrt.f64 (sqrt.f64 (*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (*.f64 2 (*.f64 F (-.f64 (+.f64 A C) (hypot.f64 B (-.f64 A C)))))))) (/.f64 (neg.f64 (sqrt.f64 (sqrt.f64 (*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (*.f64 2 (*.f64 F (-.f64 (+.f64 A C) (hypot.f64 B (-.f64 A C))))))))) (fma.f64 A (*.f64 C -4) (*.f64 B B))))
42.8b
(neg.f64 (/.f64 (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (*.f64 -1/2 F))) (cbrt.f64 (sqrt.f64 (*.f64 -1/2 F)))) (*.f64 (cbrt.f64 (sqrt.f64 (*.f64 -1/2 F))) (sqrt.f64 2))) (sqrt.f64 C)))
60.5b
(/.f64 (neg.f64 (-.f64 (fma.f64 2 (*.f64 (/.f64 (*.f64 A (*.f64 C (sqrt.f64 2))) B) (sqrt.f64 (/.f64 (*.f64 (fma.f64 C C (*.f64 B B)) F) (-.f64 C (hypot.f64 C B))))) (fma.f64 1/2 (*.f64 (*.f64 A (*.f64 (sqrt.f64 2) B)) (sqrt.f64 (/.f64 F (-.f64 C (hypot.f64 C B))))) (fma.f64 1/2 (*.f64 (*.f64 A (*.f64 C (*.f64 (sqrt.f64 2) B))) (sqrt.f64 (/.f64 F (*.f64 (fma.f64 C C (*.f64 B B)) (-.f64 C (hypot.f64 C B)))))) (*.f64 (sqrt.f64 (*.f64 F (-.f64 C (hypot.f64 C B)))) (*.f64 (sqrt.f64 2) B))))) (*.f64 2 (*.f64 (/.f64 (*.f64 A (*.f64 (*.f64 C C) (sqrt.f64 2))) B) (sqrt.f64 (/.f64 F (-.f64 C (hypot.f64 C B)))))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
60.5b
(-.f64 (*.f64 2 (*.f64 (/.f64 (*.f64 A (*.f64 C (sqrt.f64 2))) (pow.f64 B 3)) (sqrt.f64 (/.f64 (*.f64 (fma.f64 C C (*.f64 B B)) F) (-.f64 C (hypot.f64 B C)))))) (fma.f64 (sqrt.f64 (*.f64 F (-.f64 C (hypot.f64 B C)))) (/.f64 (sqrt.f64 2) B) (fma.f64 1/2 (*.f64 (/.f64 (*.f64 A (*.f64 C (sqrt.f64 2))) B) (sqrt.f64 (/.f64 F (*.f64 (fma.f64 B B (*.f64 C C)) (-.f64 C (hypot.f64 B C)))))) (fma.f64 2 (*.f64 (/.f64 (*.f64 A (*.f64 (*.f64 C C) (sqrt.f64 2))) (pow.f64 B 3)) (sqrt.f64 (/.f64 F (-.f64 C (hypot.f64 B C))))) (*.f64 1/2 (*.f64 (/.f64 (*.f64 A (sqrt.f64 2)) B) (sqrt.f64 (/.f64 F (-.f64 C (hypot.f64 B C))))))))))
43.8b
(neg.f64 (/.f64 (*.f64 (exp.f64 (log.f64 (sqrt.f64 (*.f64 -1/2 F)))) (sqrt.f64 2)) (sqrt.f64 C)))
59.9b
(/.f64 (neg.f64 (sqrt.f64 (*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (*.f64 2 (*.f64 F B))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
53.2b
(neg.f64 (*.f64 (sqrt.f64 (*.f64 F (-.f64 C (hypot.f64 B C)))) (/.f64 (sqrt.f64 2) B)))
46.7b
(neg.f64 (sqrt.f64 (neg.f64 (/.f64 F C))))
47.8b
(neg.f64 (exp.f64 (+.f64 (log.f64 (sqrt.f64 (*.f64 -1/2 (/.f64 F C)))) (log.f64 (sqrt.f64 2)))))
49.7b
(/.f64 (neg.f64 (sqrt.f64 (+.f64 (*.f64 (*.f64 (*.f64 (+.f64 A C) F) 2) (fma.f64 A (*.f64 C -4) (*.f64 B B))) (*.f64 (*.f64 (*.f64 (*.f64 (neg.f64 (sqrt.f64 (hypot.f64 B (-.f64 A C)))) (sqrt.f64 (hypot.f64 B (-.f64 A C)))) F) 2) (fma.f64 A (*.f64 C -4) (*.f64 B B)))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
47.8b
(neg.f64 (*.f64 (exp.f64 (log.f64 (sqrt.f64 (*.f64 -1/2 (/.f64 F C))))) (sqrt.f64 2)))
61.8b
(neg.f64 (/.f64 (*.f64 (log.f64 (exp.f64 (sqrt.f64 (*.f64 -1/2 F)))) (sqrt.f64 2)) (sqrt.f64 C)))
50.1b
(/.f64 (neg.f64 (sqrt.f64 (*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (*.f64 2 (*.f64 F (fma.f64 2 A (*.f64 1/2 (/.f64 (*.f64 B B) A)))))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
49.3b
(/.f64 (sqrt.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B))) (/.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (neg.f64 (sqrt.f64 (*.f64 2 (*.f64 F (-.f64 (+.f64 A C) (hypot.f64 B (-.f64 A C)))))))))
42.5b
(neg.f64 (/.f64 (sqrt.f64 (neg.f64 F)) (sqrt.f64 C)))
59.9b
(/.f64 (neg.f64 (sqrt.f64 (*.f64 2 (*.f64 F (pow.f64 B 3))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
47.6b
(*.f64 -1 (/.f64 (sqrt.f64 (*.f64 2 (*.f64 F (-.f64 (+.f64 A C) (hypot.f64 B (-.f64 A C)))))) (sqrt.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)))))
47.2b
(/.f64 (neg.f64 (sqrt.f64 (*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (*.f64 2 (*.f64 F (*.f64 2 A)))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
43.0b
(neg.f64 (/.f64 (*.f64 (expm1.f64 (log1p.f64 (sqrt.f64 (*.f64 -1/2 F)))) (sqrt.f64 2)) (sqrt.f64 C)))
47.1b
(neg.f64 (*.f64 (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (*.f64 -1/2 (/.f64 F C)))) (cbrt.f64 (sqrt.f64 (*.f64 -1/2 (/.f64 F C))))) (cbrt.f64 (sqrt.f64 (*.f64 -1/2 (/.f64 F C))))) (sqrt.f64 2)))
44.2b
(neg.f64 (exp.f64 (-.f64 (+.f64 (log.f64 (sqrt.f64 (*.f64 -1/2 F))) (log.f64 (sqrt.f64 2))) (log.f64 (sqrt.f64 C)))))
59.8b
(/.f64 (neg.f64 (sqrt.f64 (*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (*.f64 2 (*.f64 F (neg.f64 B)))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
Compiler

Compiled 3543 to 2390 computations (32.5% saved)

localize6.0ms (0%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.2b
(/.f64 (sqrt.f64 (neg.f64 F)) (sqrt.f64 C))

series29.0ms (0.1%)

Counts
1 → 0
Calls

1 calls:

29.0ms
(/.f64 (sqrt.f64 (neg.f64 F)) (sqrt.f64 C))

rewrite18.0ms (0%)

Algorithm
rewrite-expression-head
Rules
112×sqrt-prod_binary64
78×times-frac_binary64
59×add-sqr-sqrt_binary64
57×*-un-lft-identity_binary64
57×add-cube-cbrt_binary64
Counts
1 → 113
Calls

1 calls:

8.0ms
(/.f64 (sqrt.f64 (neg.f64 F)) (sqrt.f64 C))

simplify220.0ms (0.6%)

Algorithm
egg-herbie
Rules
1342×fma-neg_binary64
788×div-sub_binary64
474×fma-def_binary64
417×associate-/l*_binary64
402×times-frac_binary64
Counts
113 → 112
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01392274
12012232
23612232
36442232
413012232
517252232
622502232
727022232
830292232
936542232
1045732232
1147942232

prune113.0ms (0.3%)

Pruning

33 alts after pruning (32 fresh and 1 done)

PrunedKeptTotal
New1111112
Fresh13132
Picked011
Done000
Total11233145
Error
18.1b
Counts
145 → 33
Alt Table
StatusErrorProgram
52.3b
(/.f64 (neg.f64 (sqrt.f64 (fma.f64 8 (*.f64 A (*.f64 F (*.f64 B B))) (*.f64 -16 (*.f64 (*.f64 A A) (*.f64 C F)))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
43.8b
(neg.f64 (/.f64 (exp.f64 (+.f64 (log.f64 (sqrt.f64 (*.f64 -1/2 F))) (log.f64 (sqrt.f64 2)))) (sqrt.f64 C)))
62.8b
(/.f64 (neg.f64 (sqrt.f64 (*.f64 -16 (*.f64 A (*.f64 (pow.f64 C 2) F))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
60.3b
(/.f64 (neg.f64 (sqrt.f64 (*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (*.f64 2 (*.f64 F (fma.f64 (sqrt.f64 (+.f64 A C)) (sqrt.f64 (+.f64 A C)) (neg.f64 (hypot.f64 B (-.f64 A C))))))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
63.2b
(/.f64 (neg.f64 (sqrt.f64 (*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (*.f64 2 (*.f64 F (*.f64 2 C)))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
56.5b
(/.f64 (neg.f64 (sqrt.f64 (*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (*.f64 2 (*.f64 F (-.f64 (pow.f64 (+.f64 A C) 3) (pow.f64 (hypot.f64 B (-.f64 A C)) 3))))))) (*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (sqrt.f64 (fma.f64 (+.f64 A C) (+.f64 A C) (*.f64 (hypot.f64 B (-.f64 A C)) (+.f64 (hypot.f64 B (-.f64 A C)) (+.f64 A C)))))))
48.6b
(/.f64 (neg.f64 (sqrt.f64 (*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (*.f64 2 (*.f64 F (-.f64 (*.f64 2 A) (*.f64 1/2 (+.f64 (/.f64 (*.f64 B B) C) (/.f64 (*.f64 A (*.f64 B B)) (*.f64 C C)))))))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
42.5b
(neg.f64 (/.f64 (sqrt.f64 (*.f64 -1/2 F)) (/.f64 (sqrt.f64 C) (sqrt.f64 2))))
52.0b
(neg.f64 (*.f64 (sqrt.f64 (*.f64 F (-.f64 A (hypot.f64 A B)))) (/.f64 (sqrt.f64 2) B)))
49.4b
(*.f64 (sqrt.f64 (sqrt.f64 (*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (*.f64 2 (*.f64 F (-.f64 (+.f64 A C) (hypot.f64 B (-.f64 A C)))))))) (/.f64 (neg.f64 (sqrt.f64 (sqrt.f64 (*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (*.f64 2 (*.f64 F (-.f64 (+.f64 A C) (hypot.f64 B (-.f64 A C))))))))) (fma.f64 A (*.f64 C -4) (*.f64 B B))))
42.8b
(neg.f64 (/.f64 (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (*.f64 -1/2 F))) (cbrt.f64 (sqrt.f64 (*.f64 -1/2 F)))) (*.f64 (cbrt.f64 (sqrt.f64 (*.f64 -1/2 F))) (sqrt.f64 2))) (sqrt.f64 C)))
60.5b
(/.f64 (neg.f64 (-.f64 (fma.f64 2 (*.f64 (/.f64 (*.f64 A (*.f64 C (sqrt.f64 2))) B) (sqrt.f64 (/.f64 (*.f64 (fma.f64 C C (*.f64 B B)) F) (-.f64 C (hypot.f64 C B))))) (fma.f64 1/2 (*.f64 (*.f64 A (*.f64 (sqrt.f64 2) B)) (sqrt.f64 (/.f64 F (-.f64 C (hypot.f64 C B))))) (fma.f64 1/2 (*.f64 (*.f64 A (*.f64 C (*.f64 (sqrt.f64 2) B))) (sqrt.f64 (/.f64 F (*.f64 (fma.f64 C C (*.f64 B B)) (-.f64 C (hypot.f64 C B)))))) (*.f64 (sqrt.f64 (*.f64 F (-.f64 C (hypot.f64 C B)))) (*.f64 (sqrt.f64 2) B))))) (*.f64 2 (*.f64 (/.f64 (*.f64 A (*.f64 (*.f64 C C) (sqrt.f64 2))) B) (sqrt.f64 (/.f64 F (-.f64 C (hypot.f64 C B)))))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
60.5b
(-.f64 (*.f64 2 (*.f64 (/.f64 (*.f64 A (*.f64 C (sqrt.f64 2))) (pow.f64 B 3)) (sqrt.f64 (/.f64 (*.f64 (fma.f64 C C (*.f64 B B)) F) (-.f64 C (hypot.f64 B C)))))) (fma.f64 (sqrt.f64 (*.f64 F (-.f64 C (hypot.f64 B C)))) (/.f64 (sqrt.f64 2) B) (fma.f64 1/2 (*.f64 (/.f64 (*.f64 A (*.f64 C (sqrt.f64 2))) B) (sqrt.f64 (/.f64 F (*.f64 (fma.f64 B B (*.f64 C C)) (-.f64 C (hypot.f64 B C)))))) (fma.f64 2 (*.f64 (/.f64 (*.f64 A (*.f64 (*.f64 C C) (sqrt.f64 2))) (pow.f64 B 3)) (sqrt.f64 (/.f64 F (-.f64 C (hypot.f64 B C))))) (*.f64 1/2 (*.f64 (/.f64 (*.f64 A (sqrt.f64 2)) B) (sqrt.f64 (/.f64 F (-.f64 C (hypot.f64 B C))))))))))
43.8b
(neg.f64 (/.f64 (*.f64 (exp.f64 (log.f64 (sqrt.f64 (*.f64 -1/2 F)))) (sqrt.f64 2)) (sqrt.f64 C)))
59.9b
(/.f64 (neg.f64 (sqrt.f64 (*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (*.f64 2 (*.f64 F B))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
53.2b
(neg.f64 (*.f64 (sqrt.f64 (*.f64 F (-.f64 C (hypot.f64 B C)))) (/.f64 (sqrt.f64 2) B)))
46.7b
(neg.f64 (sqrt.f64 (neg.f64 (/.f64 F C))))
47.8b
(neg.f64 (exp.f64 (+.f64 (log.f64 (sqrt.f64 (*.f64 -1/2 (/.f64 F C)))) (log.f64 (sqrt.f64 2)))))
49.7b
(/.f64 (neg.f64 (sqrt.f64 (+.f64 (*.f64 (*.f64 (*.f64 (+.f64 A C) F) 2) (fma.f64 A (*.f64 C -4) (*.f64 B B))) (*.f64 (*.f64 (*.f64 (*.f64 (neg.f64 (sqrt.f64 (hypot.f64 B (-.f64 A C)))) (sqrt.f64 (hypot.f64 B (-.f64 A C)))) F) 2) (fma.f64 A (*.f64 C -4) (*.f64 B B)))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
47.8b
(neg.f64 (*.f64 (exp.f64 (log.f64 (sqrt.f64 (*.f64 -1/2 (/.f64 F C))))) (sqrt.f64 2)))
61.8b
(neg.f64 (/.f64 (*.f64 (log.f64 (exp.f64 (sqrt.f64 (*.f64 -1/2 F)))) (sqrt.f64 2)) (sqrt.f64 C)))
50.1b
(/.f64 (neg.f64 (sqrt.f64 (*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (*.f64 2 (*.f64 F (fma.f64 2 A (*.f64 1/2 (/.f64 (*.f64 B B) A)))))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
49.3b
(/.f64 (sqrt.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B))) (/.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (neg.f64 (sqrt.f64 (*.f64 2 (*.f64 F (-.f64 (+.f64 A C) (hypot.f64 B (-.f64 A C)))))))))
42.5b
(neg.f64 (/.f64 (sqrt.f64 (neg.f64 F)) (sqrt.f64 C)))
42.8b
(neg.f64 (*.f64 (/.f64 (*.f64 (cbrt.f64 (sqrt.f64 (neg.f64 F))) (cbrt.f64 (sqrt.f64 (neg.f64 F)))) (fabs.f64 (cbrt.f64 C))) (/.f64 (cbrt.f64 (sqrt.f64 (neg.f64 F))) (sqrt.f64 (cbrt.f64 C)))))
59.8b
(/.f64 (neg.f64 (sqrt.f64 (*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (*.f64 2 (*.f64 F (neg.f64 B)))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
59.9b
(/.f64 (neg.f64 (sqrt.f64 (*.f64 2 (*.f64 F (pow.f64 B 3))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
47.6b
(*.f64 -1 (/.f64 (sqrt.f64 (*.f64 2 (*.f64 F (-.f64 (+.f64 A C) (hypot.f64 B (-.f64 A C)))))) (sqrt.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)))))
47.2b
(/.f64 (neg.f64 (sqrt.f64 (*.f64 (fma.f64 A (*.f64 C -4) (*.f64 B B)) (*.f64 2 (*.f64 F (*.f64 2 A)))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
49.3b
(/.f64 (neg.f64 (neg.f64 (*.f64 A (*.f64 (sqrt.f64 2) (sqrt.f64 (*.f64 -8 (*.f64 C F))))))) (fma.f64 A (*.f64 C -4) (*.f64 B B)))
43.0b
(neg.f64 (/.f64 (*.f64 (expm1.f64 (log1p.f64 (sqrt.f64 (*.f64 -1/2 F)))) (sqrt.f64 2)) (sqrt.f64 C)))
47.1b
(neg.f64 (*.f64 (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (*.f64 -1/2 (/.f64 F C)))) (cbrt.f64 (sqrt.f64 (*.f64 -1/2 (/.f64 F C))))) (cbrt.f64 (sqrt.f64 (*.f64 -1/2 (/.f64 F C))))) (sqrt.f64 2)))
44.2b
(neg.f64 (exp.f64 (-.f64 (+.f64 (log.f64 (sqrt.f64 (*.f64 -1/2 F))) (log.f64 (sqrt.f64 2))) (log.f64 (sqrt.f64 C)))))
Compiler

Compiled 2916 to 1200 computations (58.8% saved)

regimes7.2s (19%)

Accuracy

Total 15.5b remaining (46.1%)

Threshold costs 0b (0%)

Counts
261 → 5
Compiler

Compiled 61036 to 38602 computations (36.8% saved)

bsearch21.0ms (0.1%)

Compiler

Compiled 44 to 32 computations (27.3% saved)

simplify52.0ms (0.1%)

Algorithm
egg-herbie
Rules
129×distribute-rgt-neg-in_binary64
93×cancel-sign-sub-inv_binary64
91×distribute-lft-neg-in_binary64
84×neg-sub0_binary64
84×neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
070401
1128401
2197401
3250401
4295401
5331401
6366401
7387401
8410401
9440401
10476401
11510401
12545401
13580401
14617401
15650401
16669401
17685401
18689401
19678401

end19.0ms (0.1%)

Compiler

Compiled 795 to 540 computations (32.1% saved)

sample6.4s (16.8%)

Algorithm
intervals
Results
1.1s5547×body128valid
798.0ms636×body2048valid
689.0ms931×body1024valid
594.0ms818×body1024nan
508.0ms542×body2048nan
443.0ms2427×body128nan
325.0ms595×body512nan
315.0ms559×body512valid
122.0ms342×body256nan
117.0ms327×body256valid
Compiler

Compiled 1434 to 924 computations (35.6% saved)

Profiling

Loading profile data...