Details

Time bar (total: 16.0s)

analyze1.7s (10.5%)

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
12.5%87.4%0.1%6
20.3%73.3%6.4%7
27.3%66.3%6.4%8
38.2%53%8.7%9
46%40.6%13.4%10
49.9%35.1%15%11
54.9%26.9%18.1%12
57.4%22%20.6%13
59.7%18%22.4%14
Compiler

Compiled 42 to 27 computations (35.7% saved)

sample78.0ms (0.5%)

Algorithm
intervals
Results
54.0ms256×body128valid
3.0ms15×body128nan
2.0ms10×body128invalid
Compiler

Compiled 86 to 56 computations (34.9% saved)

simplify155.0ms (1%)

Algorithm
egg-herbie
Rules
1002×fma-def_binary64
782×fma-neg_binary64
748×distribute-rgt-in_binary64
560×div-sub_binary64
469×associate-/l*_binary64
Counts
1 → 2
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02258
14452
29452
321150
434150
559450
6108250
7170250
8206650
9287050
10349550
11350150
12350350
13419650
14424950
15488150

prune10.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

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

Compiled 231 to 143 computations (38.1% saved)

localize44.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.9b
(+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
1.3b
(-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
22.4b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
22.4b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
Compiler

Compiled 1530 to 1275 computations (16.7% saved)

rewrite75.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
60×prod-diff_binary64
58×*-un-lft-identity_binary64
55×add-sqr-sqrt_binary64
50×add-cube-cbrt_binary64
37×sqrt-prod_binary64
Counts
3 → 139
Calls

3 calls:

18.0ms
(-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
15.0ms
(+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
9.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))

series310.0ms (1.9%)

Counts
3 → 60
Calls

3 calls:

132.0ms
(-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
94.0ms
(+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
83.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))

simplify438.0ms (2.7%)

Algorithm
egg-herbie
Rules
413×neg-mul-1_binary64
405×fma-neg_binary64
340×cancel-sign-sub-inv_binary64
221×distribute-rgt-in_binary64
217×distribute-rgt-neg-in_binary64
Counts
199 → 372
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02297433
15825432
220194330
343844274
449744274
549104274

prune1.1s (7%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New42510435
Fresh011
Picked101
Done000
Total42611437
Error
5.6b
Counts
437 → 11
Alt Table
StatusErrorProgram
21.9b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (+.f64 (neg.f64 b) (*.f64 (sqrt.f64 (hypot.f64 (sqrt.f64 (*.f64 a (*.f64 c -4))) b)) (sqrt.f64 (hypot.f64 (sqrt.f64 (*.f64 a (*.f64 c -4))) b)))) (*.f64 2 a)))
35.0b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (/.f64 (*.f64 4 (*.f64 c a)) (-.f64 (hypot.f64 (sqrt.f64 (*.f64 a (*.f64 c -4))) b) b))) (/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a)))
23.0b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (+.f64 (neg.f64 b) (exp.f64 (log.f64 (hypot.f64 (sqrt.f64 (*.f64 a (*.f64 c -4))) b)))) (*.f64 2 a)))
20.0b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (*.f64 -2 b) (*.f64 2 a)))
24.5b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (/.f64 (+.f64 (pow.f64 (neg.f64 b) 3) (pow.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) 3)) (+.f64 (*.f64 (neg.f64 b) (neg.f64 b)) (-.f64 (*.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))))) (*.f64 2 a)))
31.6b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (+.f64 (neg.f64 b) (/.f64 (sqrt.f64 (-.f64 (pow.f64 b 6) (pow.f64 (*.f64 4 (*.f64 c a)) 3))) (sqrt.f64 (fma.f64 (*.f64 4 (*.f64 c a)) (fma.f64 4 (*.f64 c a) (*.f64 b b)) (pow.f64 b 4))))) (*.f64 2 a)))
23.7b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) b)) (/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a)))
22.1b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (*.f64 (*.f64 (cbrt.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 a (*.f64 c -4))) b) b)) (cbrt.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 a (*.f64 c -4))) b) b))) (cbrt.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 a (*.f64 c -4))) b) b))) (*.f64 2 a)))
20.5b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (*.f64 (cbrt.f64 (fma.f64 b b (*.f64 a (*.f64 c -4)))) (sqrt.f64 (cbrt.f64 (fma.f64 b b (*.f64 a (*.f64 c -4)))))))) (/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a)))
20.4b
(if (>=.f64 b 0) (*.f64 c (/.f64 -2 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))) (*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a)))
20.4b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (*.f64 (sqrt.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (sqrt.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))))) (/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a)))
Compiler

Compiled 16682 to 9687 computations (41.9% saved)

localize43.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))))
0.4b
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
1.3b
(-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
22.4b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
Compiler

Compiled 1530 to 1275 computations (16.7% saved)

rewrite30.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity_binary64
12×add-sqr-sqrt_binary64
associate-/r*_binary64
times-frac_binary64
add-cbrt-cube_binary64
Counts
2 → 49
Calls

2 calls:

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

series529.0ms (3.3%)

Counts
2 → 56
Calls

2 calls:

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

simplify135.0ms (0.8%)

Algorithm
egg-herbie
Rules
727×associate-/l*_binary64
467×fma-def_binary64
205×cancel-sign-sub-inv_binary64
182×associate-/r/_binary64
159×distribute-rgt-neg-in_binary64
Counts
105 → 200
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01692383
14712176
217702083
353102083

prune1.1s (6.7%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New5495554
Fresh3710
Picked101
Done000
Total55312565
Error
5.6b
Counts
565 → 12
Alt Table
StatusErrorProgram
21.9b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (+.f64 (neg.f64 b) (*.f64 (sqrt.f64 (hypot.f64 (sqrt.f64 (*.f64 a (*.f64 c -4))) b)) (sqrt.f64 (hypot.f64 (sqrt.f64 (*.f64 a (*.f64 c -4))) b)))) (*.f64 2 a)))
20.1b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (*.f64 (sqrt.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (sqrt.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))))) (/.f64 (*.f64 -2 b) (*.f64 2 a)))
35.3b
(if (>=.f64 b 0) (*.f64 (/.f64 (*.f64 c 2) (*.f64 (*.f64 c a) 4)) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (*.f64 -2 b) (*.f64 2 a)))
35.0b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (/.f64 (*.f64 4 (*.f64 c a)) (-.f64 (hypot.f64 (sqrt.f64 (*.f64 a (*.f64 c -4))) b) b))) (/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a)))
24.5b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (/.f64 (+.f64 (pow.f64 (neg.f64 b) 3) (pow.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) 3)) (+.f64 (*.f64 (neg.f64 b) (neg.f64 b)) (-.f64 (*.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))))) (*.f64 2 a)))
31.6b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (+.f64 (neg.f64 b) (/.f64 (sqrt.f64 (-.f64 (pow.f64 b 6) (pow.f64 (*.f64 4 (*.f64 c a)) 3))) (sqrt.f64 (fma.f64 (*.f64 4 (*.f64 c a)) (fma.f64 4 (*.f64 c a) (*.f64 b b)) (pow.f64 b 4))))) (*.f64 2 a)))
20.2b
(if (>=.f64 b 0) (/.f64 2 (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) c)) (/.f64 (*.f64 -2 b) (*.f64 2 a)))
22.1b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (*.f64 (*.f64 (cbrt.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 a (*.f64 c -4))) b) b)) (cbrt.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 a (*.f64 c -4))) b) b))) (cbrt.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 a (*.f64 c -4))) b) b))) (*.f64 2 a)))
23.4b
(if (>=.f64 b 0) (*.f64 -1 (/.f64 c b)) (/.f64 (*.f64 -2 b) (*.f64 2 a)))
36.2b
(if (>=.f64 b 0) (*.f64 (/.f64 (*.f64 2 c) (-.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 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (*.f64 -2 b) (*.f64 2 a)))
20.4b
(if (>=.f64 b 0) (*.f64 c (/.f64 -2 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))) (*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a)))
23.0b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (+.f64 (neg.f64 b) (exp.f64 (log.f64 (hypot.f64 (sqrt.f64 (*.f64 a (*.f64 c -4))) b)))) (*.f64 2 a)))
Compiler

Compiled 13869 to 8482 computations (38.8% saved)

localize48.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.5b
(*.f64 (sqrt.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (sqrt.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))))
9.4b
(-.f64 (neg.f64 b) (*.f64 (sqrt.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (sqrt.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))))
22.4b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
22.4b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
Compiler

Compiled 1530 to 1275 computations (16.7% saved)

rewrite66.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
74×sqrt-prod_binary64
67×add-sqr-sqrt_binary64
32×sqrt-pow1_binary64
25×pow1_binary64
24×sqrt-div_binary64
Counts
2 → 130
Calls

2 calls:

29.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (sqrt.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))))
10.0ms
(-.f64 (neg.f64 b) (*.f64 (sqrt.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (sqrt.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))))

series176.0ms (1.1%)

Counts
2 → 40
Calls

2 calls:

93.0ms
(-.f64 (neg.f64 b) (*.f64 (sqrt.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (sqrt.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))))
82.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (sqrt.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))))

simplify287.0ms (1.8%)

Algorithm
egg-herbie
Rules
795×fma-def_binary64
762×fma-neg_binary64
269×cancel-sign-sub-inv_binary64
212×distribute-rgt-neg-in_binary64
187×distribute-lft-neg-in_binary64
Counts
170 → 324
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02254481
15523931
218923488
345173476
449393476

prune1.1s (7.2%)

Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New108001080
Fresh01111
Picked011
Done000
Total1080121092
Error
5.6b
Counts
1092 → 12
Alt Table
StatusErrorProgram
21.9b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (+.f64 (neg.f64 b) (*.f64 (sqrt.f64 (hypot.f64 (sqrt.f64 (*.f64 a (*.f64 c -4))) b)) (sqrt.f64 (hypot.f64 (sqrt.f64 (*.f64 a (*.f64 c -4))) b)))) (*.f64 2 a)))
20.1b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (*.f64 (sqrt.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (sqrt.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))))) (/.f64 (*.f64 -2 b) (*.f64 2 a)))
35.3b
(if (>=.f64 b 0) (*.f64 (/.f64 (*.f64 c 2) (*.f64 (*.f64 c a) 4)) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (*.f64 -2 b) (*.f64 2 a)))
35.0b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (/.f64 (*.f64 4 (*.f64 c a)) (-.f64 (hypot.f64 (sqrt.f64 (*.f64 a (*.f64 c -4))) b) b))) (/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a)))
24.5b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (/.f64 (+.f64 (pow.f64 (neg.f64 b) 3) (pow.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) 3)) (+.f64 (*.f64 (neg.f64 b) (neg.f64 b)) (-.f64 (*.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))))) (*.f64 2 a)))
31.6b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (+.f64 (neg.f64 b) (/.f64 (sqrt.f64 (-.f64 (pow.f64 b 6) (pow.f64 (*.f64 4 (*.f64 c a)) 3))) (sqrt.f64 (fma.f64 (*.f64 4 (*.f64 c a)) (fma.f64 4 (*.f64 c a) (*.f64 b b)) (pow.f64 b 4))))) (*.f64 2 a)))
20.2b
(if (>=.f64 b 0) (/.f64 2 (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) c)) (/.f64 (*.f64 -2 b) (*.f64 2 a)))
22.1b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (*.f64 (*.f64 (cbrt.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 a (*.f64 c -4))) b) b)) (cbrt.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 a (*.f64 c -4))) b) b))) (cbrt.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 a (*.f64 c -4))) b) b))) (*.f64 2 a)))
23.4b
(if (>=.f64 b 0) (*.f64 -1 (/.f64 c b)) (/.f64 (*.f64 -2 b) (*.f64 2 a)))
36.2b
(if (>=.f64 b 0) (*.f64 (/.f64 (*.f64 2 c) (-.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 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (*.f64 -2 b) (*.f64 2 a)))
20.4b
(if (>=.f64 b 0) (*.f64 c (/.f64 -2 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))) (*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a)))
23.0b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (+.f64 (neg.f64 b) (exp.f64 (log.f64 (hypot.f64 (sqrt.f64 (*.f64 a (*.f64 c -4))) b)))) (*.f64 2 a)))
Compiler

Compiled 15462 to 9670 computations (37.5% saved)

localize49.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.4b
(/.f64 2 (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) c))
0.4b
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
1.3b
(-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
22.4b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
Compiler

Compiled 1530 to 1275 computations (16.7% saved)

rewrite52.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
159×times-frac_binary64
119×*-un-lft-identity_binary64
119×add-sqr-sqrt_binary64
71×add-cube-cbrt_binary64
25×associate-/r*_binary64
Counts
1 → 120
Calls

1 calls:

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

series480.0ms (3%)

Counts
1 → 20
Calls

1 calls:

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

simplify315.0ms (2%)

Algorithm
egg-herbie
Rules
754×times-frac_binary64
572×associate-/l*_binary64
454×associate-/r/_binary64
306×associate-/l/_binary64
182×fma-def_binary64
Counts
140 → 277
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02495866
16065672
218275455
350405455

prune1.4s (9%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New183531838
Fresh1910
Picked101
Done101
Total1838121850
Error
5.6b
Counts
1850 → 12
Alt Table
StatusErrorProgram
24.5b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (/.f64 (+.f64 (pow.f64 (neg.f64 b) 3) (pow.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) 3)) (+.f64 (*.f64 (neg.f64 b) (neg.f64 b)) (-.f64 (*.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))))) (*.f64 2 a)))
23.6b
(if (>=.f64 b 0) (/.f64 2 (/.f64 (*.f64 -2 b) c)) (/.f64 (*.f64 -2 b) (*.f64 2 a)))
20.3b
(if (>=.f64 b 0) (*.f64 (/.f64 (sqrt.f64 2) 1) (/.f64 (sqrt.f64 2) (/.f64 (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) c))) (/.f64 (*.f64 -2 b) (*.f64 2 a)))
22.1b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (*.f64 (*.f64 (cbrt.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 a (*.f64 c -4))) b) b)) (cbrt.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 a (*.f64 c -4))) b) b))) (cbrt.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 a (*.f64 c -4))) b) b))) (*.f64 2 a)))
21.9b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (+.f64 (neg.f64 b) (*.f64 (sqrt.f64 (hypot.f64 (sqrt.f64 (*.f64 a (*.f64 c -4))) b)) (sqrt.f64 (hypot.f64 (sqrt.f64 (*.f64 a (*.f64 c -4))) b)))) (*.f64 2 a)))
35.3b
(if (>=.f64 b 0) (*.f64 (/.f64 (*.f64 c 2) (*.f64 (*.f64 c a) 4)) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (*.f64 -2 b) (*.f64 2 a)))
35.0b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (/.f64 (*.f64 4 (*.f64 c a)) (-.f64 (hypot.f64 (sqrt.f64 (*.f64 a (*.f64 c -4))) b) b))) (/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a)))
23.0b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (+.f64 (neg.f64 b) (exp.f64 (log.f64 (hypot.f64 (sqrt.f64 (*.f64 a (*.f64 c -4))) b)))) (*.f64 2 a)))
29.2b
(if (>=.f64 b 0) (/.f64 2 (/.f64 (cbrt.f64 (pow.f64 (-.f64 (neg.f64 b) (hypot.f64 (sqrt.f64 (*.f64 a (*.f64 c -4))) b)) 3)) c)) (/.f64 (*.f64 -2 b) (*.f64 2 a)))
31.6b
(if (>=.f64 b 0) (/.f64 (*.f64 2 c) (-.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (/.f64 (+.f64 (neg.f64 b) (/.f64 (sqrt.f64 (-.f64 (pow.f64 b 6) (pow.f64 (*.f64 4 (*.f64 c a)) 3))) (sqrt.f64 (fma.f64 (*.f64 4 (*.f64 c a)) (fma.f64 4 (*.f64 c a) (*.f64 b b)) (pow.f64 b 4))))) (*.f64 2 a)))
23.4b
(if (>=.f64 b 0) (*.f64 -1 (/.f64 c b)) (/.f64 (*.f64 -2 b) (*.f64 2 a)))
20.4b
(if (>=.f64 b 0) (*.f64 c (/.f64 -2 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))) (*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a)))
Compiler

Compiled 18507 to 11360 computations (38.6% saved)

regimes3.1s (19.5%)

Accuracy

Total 1.1b remaining (17%)

Threshold costs 0b (0%)

Compiler

Compiled 20838 to 14450 computations (30.7% saved)

bsearch17.0ms (0.1%)

Compiler

Compiled 41 to 26 computations (36.6% saved)

simplify37.0ms (0.2%)

Algorithm
egg-herbie
Rules
20×*-commutative_binary64
19×+-commutative_binary64
17×sub-neg_binary64
13×neg-sub0_binary64
12×neg-mul-1_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
058480
183466
2116466
3142466
4158466
5165466
6166466
7165466

end8.0ms (0%)

Compiler

Compiled 310 to 189 computations (39% saved)

sample3.0s (18.8%)

Algorithm
intervals
Results
1.8s8000×body128valid
143.0ms610×body128nan
86.0ms395×body128invalid
Compiler

Compiled 885 to 575 computations (35% saved)

Profiling

Loading profile data...