Details

Time bar (total: 8.4s)

analyze633.0ms (7.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
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)

sample2.4s (28.3%)

Results
705.0ms5364×body128valid
624.0ms1169×body2048valid
320.0ms775×body1024valid
278.0ms414×body4096valid
129.0ms1010×body128invalid
106.0ms341×body512valid
43.0ms193×body256valid
Compiler

Compiled 62 to 44 computations (29% saved)

simplify140.0ms (1.7%)

Algorithm
egg-herbie
Rules
2079×fma-neg_binary64
1006×fma-def_binary64
919×div-sub_binary64
626×distribute-rgt-in_binary64
435×cancel-sign-sub-inv_binary64
Counts
1 → 2
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01526
13824
29524
322722
435722
561422
6110322
7137322
8163622
9233022
10318722
11288022
12282722
13289622
14292222
15379722
16482422
17524022

prune3.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
32.9b
Counts
3 → 1
Alt Table
StatusErrorProgram
32.9b
(*.f64 -1/2 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a))
Compiler

Compiled 71 to 46 computations (35.2% 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 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)
1.7b
(+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))
21.2b
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))

series167.0ms (2%)

Counts
4 → 96
Calls

4 calls:

68.0ms
(/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)
48.0ms
(+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))
41.0ms
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))
10.0ms
(fma.f64 a (*.f64 c -4) (*.f64 b b))

rewrite71.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
119×egg-rr
Counts
4 → 119
Calls

2 calls:

68.0ms
((sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a) (fma.f64 a (*.f64 c -4) (*.f64 b b)))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01159
123559
2294459
3502159
000
100

simplify80.0ms (0.9%)

Algorithm
egg-herbie
Rules
780×times-frac_binary64
480×associate-/l*_binary64
434×associate-/r*_binary64
344×fma-def_binary64
209×fma-neg_binary64
Counts
215 → 190
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01072081
13511997
211691913
348961913
449931913

prune139.0ms (1.7%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New17911190
Fresh000
Picked101
Done000
Total18011191
Error
4.5b
Counts
191 → 11
Alt Table
StatusErrorProgram
42.8b
(*.f64 -1/2 (/.f64 (/.f64 1 (/.f64 (-.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (-.f64 (*.f64 b b) (fma.f64 a (*.f64 c -4) (*.f64 b b))))) a))
47.6b
(*.f64 -1/2 (/.f64 (*.f64 2 (fma.f64 (/.f64 c b) a (/.f64 (*.f64 (*.f64 c a) (*.f64 c a)) (pow.f64 b 3)))) a))
49.3b
(*.f64 -1/2 (*.f64 (/.f64 1 (sqrt.f64 a)) (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (sqrt.f64 a))))
41.5b
(*.f64 -1/2 (/.f64 (+.f64 b (cbrt.f64 (pow.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)) 3/2))) a))
33.0b
(*.f64 -1/2 (*.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (/.f64 1 a)))
38.7b
(*.f64 -1/2 (*.f64 2 (/.f64 c b)))
33.0b
(*.f64 -1/2 (pow.f64 (/.f64 a (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) -1))
36.1b
(*.f64 -1/2 (/.f64 (+.f64 b (exp.f64 (log.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))) a))
33.4b
(*.f64 -1/2 (*.f64 (cbrt.f64 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)) (pow.f64 (cbrt.f64 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)) 2)))
46.8b
(*.f64 -1/2 (/.f64 (+.f64 b b) a))
47.1b
(*.f64 -1/2 (*.f64 2 (-.f64 (/.f64 b a) (/.f64 c b))))
Compiler

Compiled 4991 to 3004 computations (39.8% saved)

localize10.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 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (/.f64 1 a))
1.7b
(+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))
21.2b
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))

series71.0ms (0.8%)

Counts
1 → 20
Calls

1 calls:

71.0ms
(*.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (/.f64 1 a))

rewrite58.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
42×egg-rr
Counts
1 → 42
Calls

2 calls:

57.0ms
((*.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (/.f64 1 a)))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01319
127119
2318119
3523219
000
100

simplify49.0ms (0.6%)

Algorithm
egg-herbie
Rules
751×cancel-sign-sub-inv_binary64
371×times-frac_binary64
351×unswap-sqr_binary64
285×fma-neg_binary64
236×associate-*r*_binary64
Counts
62 → 65
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
057567
1195555
2629529
33169529
45154529

prune140.0ms (1.7%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1973200
Fresh5510
Picked011
Done000
Total2029211
Error
4.5b
Counts
211 → 9
Alt Table
StatusErrorProgram
32.9b
(*.f64 -1/2 (/.f64 (neg.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) (neg.f64 a)))
47.6b
(*.f64 -1/2 (/.f64 (*.f64 2 (fma.f64 (/.f64 c b) a (/.f64 (*.f64 (*.f64 c a) (*.f64 c a)) (pow.f64 b 3)))) a))
44.9b
(*.f64 -1/2 (/.f64 (-.f64 (*.f64 b b) (fma.f64 a (*.f64 c -4) (*.f64 b b))) (*.f64 a (-.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))))
33.0b
(*.f64 -1/2 (pow.f64 (/.f64 a (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) -1))
33.0b
(*.f64 -1/2 (*.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (/.f64 1 a)))
38.7b
(*.f64 -1/2 (*.f64 2 (/.f64 c b)))
36.1b
(*.f64 -1/2 (/.f64 (+.f64 b (exp.f64 (log.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))) a))
46.9b
(*.f64 -1/2 (*.f64 (+.f64 b b) (/.f64 1 a)))
47.1b
(*.f64 -1/2 (*.f64 2 (-.f64 (/.f64 b a) (/.f64 c b))))
Compiler

Compiled 5406 to 3323 computations (38.5% saved)

localize11.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 (neg.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) (neg.f64 a))
1.7b
(+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))
21.2b
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))

series73.0ms (0.9%)

Counts
1 → 20
Calls

1 calls:

73.0ms
(/.f64 (neg.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) (neg.f64 a))

rewrite61.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
43×egg-rr
Counts
1 → 43
Calls

2 calls:

60.0ms
((/.f64 (neg.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) (neg.f64 a)))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01323
128419
2310218
3567118
000
100

simplify45.0ms (0.5%)

Algorithm
egg-herbie
Rules
751×cancel-sign-sub-inv_binary64
371×times-frac_binary64
351×unswap-sqr_binary64
285×fma-neg_binary64
236×associate-*r*_binary64
Counts
63 → 66
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
057567
1195555
2629529
33169529
45154529

prune144.0ms (1.7%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1992201
Fresh167
Picked011
Done011
Total20010210
Error
4.5b
Counts
210 → 10
Alt Table
StatusErrorProgram
32.9b
(*.f64 -1/2 (/.f64 (neg.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) (neg.f64 a)))
47.6b
(*.f64 -1/2 (/.f64 (*.f64 2 (fma.f64 (/.f64 c b) a (/.f64 (*.f64 (*.f64 c a) (*.f64 c a)) (pow.f64 b 3)))) a))
33.0b
(*.f64 -1/2 (*.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (/.f64 1 a)))
38.7b
(*.f64 -1/2 (*.f64 2 (/.f64 c b)))
44.9b
(*.f64 -1/2 (/.f64 (-.f64 (*.f64 b b) (fma.f64 a (*.f64 c -4) (*.f64 b b))) (*.f64 a (-.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))))
36.1b
(*.f64 -1/2 (/.f64 (+.f64 b (exp.f64 (log.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))) a))
57.4b
(*.f64 -1/2 (log.f64 (exp.f64 (/.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4))))) a))))
32.9b
(*.f64 -1/2 (pow.f64 (/.f64 a (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))))) -1))
46.9b
(*.f64 -1/2 (*.f64 (+.f64 b b) (/.f64 1 a)))
47.1b
(*.f64 -1/2 (*.f64 2 (-.f64 (/.f64 b a) (/.f64 c b))))
Compiler

Compiled 5351 to 3280 computations (38.7% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 a (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4))))))
0.1b
(pow.f64 (/.f64 a (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))))) -1)
0.9b
(+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))))
13.4b
(sqrt.f64 (*.f64 a (*.f64 c -4)))

series1.6s (19.6%)

Counts
4 → 42
Calls

4 calls:

1.2s
(pow.f64 (/.f64 a (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))))) -1)
332.0ms
(/.f64 a (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4))))))
136.0ms
(+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))))
17.0ms
(sqrt.f64 (*.f64 a (*.f64 c -4)))

rewrite79.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
142×egg-rr
Counts
4 → 142
Calls

2 calls:

76.0ms
((sqrt.f64 (*.f64 a (*.f64 c -4))) (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4))))) (pow.f64 (/.f64 a (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))))) -1) (/.f64 a (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))))))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01363
128060
2340160
3513060
000
100

simplify62.0ms (0.7%)

Algorithm
egg-herbie
Rules
699×fma-def_binary64
620×associate-/l*_binary64
609×associate-/r*_binary64
336×fma-neg_binary64
231×cancel-sign-sub-inv_binary64
Counts
184 → 209
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01301563
14081413
213591379
347261377
452111377

prune158.0ms (1.9%)

Pruning

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New2063209
Fresh257
Picked011
Done022
Total20811219
Error
2.4b
Counts
219 → 11
Alt Table
StatusErrorProgram
32.9b
(*.f64 -1/2 (/.f64 (neg.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) (neg.f64 a)))
47.6b
(*.f64 -1/2 (/.f64 (*.f64 2 (fma.f64 (/.f64 c b) a (/.f64 (*.f64 (*.f64 c a) (*.f64 c a)) (pow.f64 b 3)))) a))
32.9b
(*.f64 -1/2 (pow.f64 (/.f64 a (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))))) -1))
45.5b
(*.f64 -1/2 (/.f64 (-.f64 (*.f64 b b) (fma.f64 b b (*.f64 a (*.f64 c -4)))) (*.f64 a (-.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4))))))))
33.0b
(*.f64 -1/2 (*.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (/.f64 1 a)))
38.7b
(*.f64 -1/2 (*.f64 2 (/.f64 c b)))
46.8b
(*.f64 -1/2 (pow.f64 (/.f64 a (+.f64 b (hypot.f64 b (*.f64 (sqrt.f64 a) (sqrt.f64 (*.f64 c -4)))))) -1))
44.2b
(*.f64 -1/2 (pow.f64 (fma.f64 -1/2 (/.f64 a b) (*.f64 (/.f64 a (/.f64 (*.f64 -4 (*.f64 c a)) b)) -2)) -1))
57.4b
(*.f64 -1/2 (log.f64 (exp.f64 (/.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4))))) a))))
46.9b
(*.f64 -1/2 (*.f64 (+.f64 b b) (/.f64 1 a)))
47.1b
(*.f64 -1/2 (*.f64 2 (-.f64 (/.f64 b a) (/.f64 c b))))
Compiler

Compiled 5694 to 3833 computations (32.7% saved)

regimes2.0s (23.5%)

Accuracy

Total 7.9b remaining (73.8%)

Threshold costs 0b (0%)

Counts
127 → 3
Compiler

Compiled 10760 to 7622 computations (29.2% saved)

bsearch44.0ms (0.5%)

Steps
ItersRangePoint
6
3.8657611513446867e+90
2.928767619032365e+91
2.818024375880192e+91
5
-1.1401732337828577e-138
-2.8577058786826562e-139
-1.1192253259106201e-138
Compiler

Compiled 4 to 3 computations (25% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02856
13756
23756

end144.0ms (1.7%)

Compiler

Compiled 294 to 207 computations (29.6% saved)

Profiling

Loading profile data...