Details

Time bar (total: 7.5s)

analyze704.0ms (9.4%)

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)

sample1.7s (22.9%)

Results
1.5s8256×body128valid
179.0ms1053×body128invalid
Compiler

Compiled 125 to 80 computations (36% saved)

simplify35.0ms (0.5%)

Algorithm
egg-herbie
Rules
1122×fma-def_binary64
776×fma-neg_binary64
260×associate-/l*_binary64
249×cancel-sign-sub-inv_binary64
205×div-sub_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02258
14752
212352
330450
454650
599350
6205750
7356850
8483450
Stop Event
node limit
Counts
1 → 2

prune5.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
19.1b
Counts
3 → 2
Alt Table
StatusErrorProgram
19.2b
(if (>=.f64 b 0) (*.f64 (+.f64 b (sqrt.f64 (fma.f64 b b (*.f64 c (*.f64 a -4))))) (/.f64 -1/2 a)) (*.f64 c (/.f64 2 (-.f64 (sqrt.f64 (fma.f64 b b (*.f64 c (*.f64 a -4)))) b))))
19.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) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))))
Compiler

Compiled 231 to 147 computations (36.4% saved)

localize19.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.4b
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
1.1b
(+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
1.1b
(-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
22.9b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
Compiler

Compiled 1536 to 1280 computations (16.7% saved)

series111.0ms (1.5%)

Counts
4 → 96
Calls

4 calls:

36.0ms
(-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
34.0ms
(+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
29.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
12.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

rewrite72.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
243×expm1-udef_binary64
243×log1p-udef_binary64
167×egg-rr
147×add-sqr-sqrt_binary64
144×log1p-expm1-u_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01368
130156
2430256
Stop Event
node limit
Counts
4 → 167
Calls

4 calls:

68.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
68.0ms
(+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
68.0ms
(-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
68.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))

simplify47.0ms (0.6%)

Algorithm
egg-herbie
Rules
458×times-frac_binary64
295×fma-def_binary64
279×associate-*r*_binary64
278×associate-/l*_binary64
256×associate-/r*_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0902213
12962123
29732035
Stop Event
node limit
Counts
263 → 226

prune554.0ms (7.4%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New3268334
Fresh011
Picked101
Done000
Total3279336
Error
6.1b
Counts
336 → 9
Alt Table
StatusErrorProgram
19.2b
(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 (pow.f64 (cbrt.f64 (fma.f64 b b (*.f64 c (*.f64 a -4)))) 3)))))
19.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) (fma.f64 2 (*.f64 a (/.f64 c b)) (neg.f64 b)))))
19.2b
(if (>=.f64 b 0) (/.f64 (-.f64 (neg.f64 b) (*.f64 (cbrt.f64 (fma.f64 b b (*.f64 c (*.f64 a -4)))) (cbrt.f64 (sqrt.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))))))
19.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) (*.f64 -1 b))))
19.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) (pow.f64 (pow.f64 (fma.f64 b b (*.f64 c (*.f64 a -4))) 1/4) 2))))
29.6b
(if (>=.f64 b 0) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (cbrt.f64 (pow.f64 (fma.f64 b b (*.f64 c (*.f64 a -4))) 3)))) (*.f64 2 a)) (/.f64 (*.f64 2 c) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))))
21.8b
(if (>=.f64 b 0) (/.f64 (-.f64 (neg.f64 b) (fma.f64 (*.f64 a (/.f64 c b)) -2 b)) (*.f64 2 a)) (/.f64 (*.f64 2 c) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))))
19.2b
(if (>=.f64 b 0) (*.f64 (+.f64 b (sqrt.f64 (fma.f64 b b (*.f64 c (*.f64 a -4))))) (/.f64 -1/2 a)) (*.f64 c (/.f64 2 (-.f64 (sqrt.f64 (fma.f64 b b (*.f64 c (*.f64 a -4)))) b))))
21.8b
(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))))))
Compiler

Compiled 16619 to 9880 computations (40.5% saved)

localize23.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
1.1b
(-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
4.7b
(/.f64 (*.f64 2 c) (+.f64 (neg.f64 b) (fma.f64 2 (*.f64 a (/.f64 c b)) (neg.f64 b))))
6.9b
(*.f64 a (/.f64 c b))
22.9b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
Compiler

Compiled 1536 to 1280 computations (16.7% saved)

series37.0ms (0.5%)

Counts
2 → 72
Calls

2 calls:

24.0ms
(/.f64 (*.f64 2 c) (+.f64 (neg.f64 b) (fma.f64 2 (*.f64 a (/.f64 c b)) (neg.f64 b))))
13.0ms
(*.f64 a (/.f64 c b))

rewrite54.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
879×prod-diff_binary64
138×add-sqr-sqrt_binary64
130×log1p-expm1-u_binary64
130×expm1-log1p-u_binary64
129×add-cbrt-cube_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01231
126827
2400127
Stop Event
node limit
Counts
2 → 69
Calls

2 calls:

52.0ms
(/.f64 (*.f64 2 c) (+.f64 (neg.f64 b) (fma.f64 2 (*.f64 a (/.f64 c b)) (neg.f64 b))))
52.0ms
(*.f64 a (/.f64 c b))

simplify40.0ms (0.5%)

Algorithm
egg-herbie
Rules
517×unswap-sqr_binary64
513×cancel-sign-sub-inv_binary64
512×fma-neg_binary64
263×times-frac_binary64
225×associate-/l*_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0471319
11371319
25041271
327631271
Stop Event
node limit
Counts
141 → 85

prune371.0ms (5%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1956201
Fresh268
Picked101
Done000
Total19812210
Error
6.1b
Counts
210 → 12
Alt Table
StatusErrorProgram
36.5b
(if (>=.f64 b 0) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a)) (*.f64 c (*.f64 2 (/.f64 1 (+.f64 b (fma.f64 2 (*.f64 a (/.f64 c b)) b))))))
19.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) (pow.f64 (pow.f64 (fma.f64 b b (*.f64 c (*.f64 a -4))) 1/4) 2))))
19.2b
(if (>=.f64 b 0) (/.f64 (-.f64 (neg.f64 b) (*.f64 (cbrt.f64 (fma.f64 b b (*.f64 c (*.f64 a -4)))) (cbrt.f64 (sqrt.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))))))
19.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) (*.f64 -1 b))))
19.2b
(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 (pow.f64 (cbrt.f64 (fma.f64 b b (*.f64 c (*.f64 a -4)))) 3)))))
27.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) (fma.f64 2 (exp.f64 (log.f64 (*.f64 a (/.f64 c b)))) (neg.f64 b)))))
29.6b
(if (>=.f64 b 0) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (cbrt.f64 (pow.f64 (fma.f64 b b (*.f64 c (*.f64 a -4))) 3)))) (*.f64 2 a)) (/.f64 (*.f64 2 c) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))))
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) (fma.f64 2 (cbrt.f64 (pow.f64 (*.f64 a (/.f64 c b)) 3)) (neg.f64 b)))))
21.8b
(if (>=.f64 b 0) (/.f64 (-.f64 (neg.f64 b) b) (*.f64 2 a)) (/.f64 (*.f64 2 c) (+.f64 (neg.f64 b) (fma.f64 2 (*.f64 a (/.f64 c b)) (neg.f64 b)))))
42.6b
(if (>=.f64 b 0) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a)) (/.f64 b a))
21.8b
(if (>=.f64 b 0) (/.f64 (-.f64 (neg.f64 b) (fma.f64 (*.f64 a (/.f64 c b)) -2 b)) (*.f64 2 a)) (/.f64 (*.f64 2 c) (+.f64 (neg.f64 b) (fma.f64 2 (*.f64 a (/.f64 c b)) (neg.f64 b)))))
19.2b
(if (>=.f64 b 0) (*.f64 (+.f64 b (sqrt.f64 (fma.f64 b b (*.f64 c (*.f64 a -4))))) (/.f64 -1/2 a)) (*.f64 c (/.f64 2 (-.f64 (sqrt.f64 (fma.f64 b b (*.f64 c (*.f64 a -4)))) b))))
Compiler

Compiled 9855 to 5463 computations (44.6% saved)

localize27.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
1.1b
(-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
8.4b
(+.f64 (neg.f64 b) (pow.f64 (pow.f64 (fma.f64 b b (*.f64 c (*.f64 a -4))) 1/4) 2))
22.9b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
23.5b
(pow.f64 (fma.f64 b b (*.f64 c (*.f64 a -4))) 1/4)
Compiler

Compiled 1536 to 1280 computations (16.7% saved)

series75.0ms (1%)

Counts
2 → 56
Calls

2 calls:

40.0ms
(pow.f64 (fma.f64 b b (*.f64 c (*.f64 a -4))) 1/4)
34.0ms
(+.f64 (neg.f64 b) (pow.f64 (pow.f64 (fma.f64 b b (*.f64 c (*.f64 a -4))) 1/4) 2))

rewrite56.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
279×fma-def_binary64
233×expm1-udef_binary64
233×log1p-udef_binary64
176×fma-neg_binary64
142×add-sqr-sqrt_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01433
130629
2373429
Stop Event
node limit
Counts
2 → 80
Calls

2 calls:

54.0ms
(+.f64 (neg.f64 b) (pow.f64 (pow.f64 (fma.f64 b b (*.f64 c (*.f64 a -4))) 1/4) 2))
54.0ms
(pow.f64 (fma.f64 b b (*.f64 c (*.f64 a -4))) 1/4)

simplify60.0ms (0.8%)

Algorithm
egg-herbie
Rules
684×fma-def_binary64
504×cancel-sign-sub-inv_binary64
252×distribute-neg-frac_binary64
172×sub-neg_binary64
169×times-frac_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02242638
17522580
229492540
Stop Event
node limit
Counts
136 → 158

prune490.0ms (6.6%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New2713274
Fresh5611
Picked011
Done000
Total27610286
Error
3.4b
Counts
286 → 10
Alt Table
StatusErrorProgram
19.2b
(if (>=.f64 b 0) (*.f64 (+.f64 b (sqrt.f64 (fma.f64 b b (*.f64 c (*.f64 a -4))))) (/.f64 -1/2 a)) (*.f64 c (/.f64 2 (-.f64 (sqrt.f64 (fma.f64 b b (*.f64 c (*.f64 a -4)))) b))))
37.8b
(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) (pow.f64 (exp.f64 (*.f64 1/4 (-.f64 (log.f64 (*.f64 4 c)) (log.f64 (/.f64 -1 a))))) 2))))
36.3b
(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) (pow.f64 (exp.f64 (*.f64 1/4 (-.f64 (log.f64 (*.f64 4 a)) (log.f64 (/.f64 -1 c))))) 2))))
19.2b
(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 (pow.f64 (cbrt.f64 (fma.f64 b b (*.f64 c (*.f64 a -4)))) 3)))))
19.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) (pow.f64 (pow.f64 (fma.f64 b b (*.f64 c (*.f64 a -4))) 1/4) 2))))
29.6b
(if (>=.f64 b 0) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (cbrt.f64 (pow.f64 (fma.f64 b b (*.f64 c (*.f64 a -4))) 3)))) (*.f64 2 a)) (/.f64 (*.f64 2 c) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))))
19.2b
(if (>=.f64 b 0) (/.f64 (-.f64 (neg.f64 b) (*.f64 (cbrt.f64 (fma.f64 b b (*.f64 c (*.f64 a -4)))) (cbrt.f64 (sqrt.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.8b
(if (>=.f64 b 0) (/.f64 (-.f64 (neg.f64 b) b) (*.f64 2 a)) (/.f64 (*.f64 2 c) (+.f64 (neg.f64 b) (fma.f64 2 (*.f64 a (/.f64 c b)) (neg.f64 b)))))
21.8b
(if (>=.f64 b 0) (/.f64 (-.f64 (neg.f64 b) (fma.f64 (*.f64 a (/.f64 c b)) -2 b)) (*.f64 2 a)) (/.f64 (*.f64 2 c) (+.f64 (neg.f64 b) (fma.f64 2 (*.f64 a (/.f64 c b)) (neg.f64 b)))))
36.9b
(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) (pow.f64 (fma.f64 (*.f64 -1/16 (/.f64 b (/.f64 c b))) (/.f64 (pow.f64 (exp.f64 1/4) (+.f64 (log.f64 (*.f64 -4 c)) (log.f64 a))) a) (pow.f64 (exp.f64 1/4) (+.f64 (log.f64 (*.f64 -4 c)) (log.f64 a)))) 2))))
Compiler

Compiled 15025 to 9522 computations (36.6% saved)

localize29.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
7.4b
(+.f64 (neg.f64 b) (sqrt.f64 (pow.f64 (cbrt.f64 (fma.f64 b b (*.f64 c (*.f64 a -4)))) 3)))
22.9b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
22.9b
(sqrt.f64 (pow.f64 (cbrt.f64 (fma.f64 b b (*.f64 c (*.f64 a -4)))) 3))
23.7b
(cbrt.f64 (fma.f64 b b (*.f64 c (*.f64 a -4))))
Compiler

Compiled 1536 to 1280 computations (16.7% saved)

series98.0ms (1.3%)

Counts
3 → 52
Calls

3 calls:

35.0ms
(cbrt.f64 (fma.f64 b b (*.f64 c (*.f64 a -4))))
34.0ms
(+.f64 (neg.f64 b) (sqrt.f64 (pow.f64 (cbrt.f64 (fma.f64 b b (*.f64 c (*.f64 a -4)))) 3)))
28.0ms
(sqrt.f64 (pow.f64 (cbrt.f64 (fma.f64 b b (*.f64 c (*.f64 a -4)))) 3))

rewrite53.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
342×fma-def_binary64
219×expm1-udef_binary64
219×log1p-udef_binary64
214×fma-neg_binary64
196×log-pow_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01444
129440
2356540
Stop Event
node limit
Counts
3 → 117
Calls

3 calls:

51.0ms
(+.f64 (neg.f64 b) (sqrt.f64 (pow.f64 (cbrt.f64 (fma.f64 b b (*.f64 c (*.f64 a -4)))) 3)))
51.0ms
(sqrt.f64 (pow.f64 (cbrt.f64 (fma.f64 b b (*.f64 c (*.f64 a -4)))) 3))
51.0ms
(cbrt.f64 (fma.f64 b b (*.f64 c (*.f64 a -4))))

simplify41.0ms (0.5%)

Algorithm
egg-herbie
Rules
530×times-frac_binary64
465×fma-def_binary64
371×associate-/r*_binary64
362×associate-/l*_binary64
201×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01451909
14571887
215361819
Stop Event
node limit
Counts
169 → 178

prune419.0ms (5.6%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New2260226
Fresh088
Picked011
Done011
Total22610236
Error
3.4b
Counts
236 → 10
Alt Table
StatusErrorProgram
19.2b
(if (>=.f64 b 0) (*.f64 (+.f64 b (sqrt.f64 (fma.f64 b b (*.f64 c (*.f64 a -4))))) (/.f64 -1/2 a)) (*.f64 c (/.f64 2 (-.f64 (sqrt.f64 (fma.f64 b b (*.f64 c (*.f64 a -4)))) b))))
37.8b
(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) (pow.f64 (exp.f64 (*.f64 1/4 (-.f64 (log.f64 (*.f64 4 c)) (log.f64 (/.f64 -1 a))))) 2))))
36.3b
(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) (pow.f64 (exp.f64 (*.f64 1/4 (-.f64 (log.f64 (*.f64 4 a)) (log.f64 (/.f64 -1 c))))) 2))))
19.2b
(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 (pow.f64 (cbrt.f64 (fma.f64 b b (*.f64 c (*.f64 a -4)))) 3)))))
19.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) (pow.f64 (pow.f64 (fma.f64 b b (*.f64 c (*.f64 a -4))) 1/4) 2))))
29.6b
(if (>=.f64 b 0) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (cbrt.f64 (pow.f64 (fma.f64 b b (*.f64 c (*.f64 a -4))) 3)))) (*.f64 2 a)) (/.f64 (*.f64 2 c) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))))
19.2b
(if (>=.f64 b 0) (/.f64 (-.f64 (neg.f64 b) (*.f64 (cbrt.f64 (fma.f64 b b (*.f64 c (*.f64 a -4)))) (cbrt.f64 (sqrt.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.8b
(if (>=.f64 b 0) (/.f64 (-.f64 (neg.f64 b) b) (*.f64 2 a)) (/.f64 (*.f64 2 c) (+.f64 (neg.f64 b) (fma.f64 2 (*.f64 a (/.f64 c b)) (neg.f64 b)))))
21.8b
(if (>=.f64 b 0) (/.f64 (-.f64 (neg.f64 b) (fma.f64 (*.f64 a (/.f64 c b)) -2 b)) (*.f64 2 a)) (/.f64 (*.f64 2 c) (+.f64 (neg.f64 b) (fma.f64 2 (*.f64 a (/.f64 c b)) (neg.f64 b)))))
36.9b
(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) (pow.f64 (fma.f64 (*.f64 -1/16 (/.f64 b (/.f64 c b))) (/.f64 (pow.f64 (exp.f64 1/4) (+.f64 (log.f64 (*.f64 -4 c)) (log.f64 a))) a) (pow.f64 (exp.f64 1/4) (+.f64 (log.f64 (*.f64 -4 c)) (log.f64 a)))) 2))))
Compiler

Compiled 11037 to 6789 computations (38.5% saved)

regimes2.0s (26.6%)

Accuracy

Total 3.6b remaining (51.7%)

Threshold costs 0b (0%)

Counts
141 → 5
Compiler

Compiled 22818 to 15470 computations (32.2% saved)

bsearch8.0ms (0.1%)

Compiler

Compiled 41 to 26 computations (36.6% saved)

simplify19.0ms (0.3%)

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

Useful iterations: 1 (0.0ms)

IterNodesCost
052494
174478
2104478
3126478
4140478
5146478
6147478
Stop Event
saturated

end332.0ms (4.4%)

Compiler

Compiled 1079 to 664 computations (38.5% saved)

Profiling

Loading profile data...