Details

Time bar (total: 9.5s)

analyze682.0ms (7.2%)

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 (25.7%)

Results
714.0ms5364×body128valid
657.0ms1169×body2048valid
355.0ms775×body1024valid
265.0ms414×body4096valid
126.0ms1010×body128invalid
108.0ms341×body512valid
45.0ms193×body256valid
Compiler

Compiled 62 to 44 computations (29% saved)

simplify145.0ms (1.5%)

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)))

series158.0ms (1.7%)

Counts
4 → 96
Calls

4 calls:

64.0ms
(/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)
46.0ms
(+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))
38.0ms
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))
9.0ms
(fma.f64 a (*.f64 c -4) (*.f64 b b))

rewrite64.0ms (0.7%)

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

2 calls:

61.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

simplify72.0ms (0.8%)

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

prune154.0ms (1.6%)

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
41.5b
(*.f64 -1/2 (/.f64 (+.f64 b (cbrt.f64 (pow.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)) 3/2))) 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))))
46.8b
(*.f64 -1/2 (/.f64 (+.f64 b b) a))
33.0b
(*.f64 -1/2 (*.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (/.f64 1 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 (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)))
38.7b
(*.f64 -1/2 (*.f64 2 (/.f64 c b)))
47.1b
(*.f64 -1/2 (*.f64 2 (-.f64 (/.f64 b a) (/.f64 c b))))
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))
Compiler

Compiled 4991 to 3004 computations (39.8% saved)

localize12.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)))

series65.0ms (0.7%)

Counts
1 → 20
Calls

1 calls:

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

rewrite57.0ms (0.6%)

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

2 calls:

56.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

simplify43.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
62 → 65
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
057567
1195555
2629529
33169529
45154529

prune432.0ms (4.5%)

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
47.1b
(*.f64 -1/2 (*.f64 2 (-.f64 (/.f64 b a) (/.f64 c b))))
46.9b
(*.f64 -1/2 (*.f64 (+.f64 b b) (/.f64 1 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 (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))
32.9b
(*.f64 -1/2 (/.f64 (neg.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) (neg.f64 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 (*.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)))
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)))

series69.0ms (0.7%)

Counts
1 → 20
Calls

1 calls:

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

rewrite61.0ms (0.6%)

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

simplify41.0ms (0.4%)

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

prune245.0ms (2.6%)

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 (pow.f64 (/.f64 a (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))))) -1))
33.0b
(*.f64 -1/2 (*.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (/.f64 1 a)))
47.1b
(*.f64 -1/2 (*.f64 2 (-.f64 (/.f64 b a) (/.f64 c b))))
46.9b
(*.f64 -1/2 (*.f64 (+.f64 b b) (/.f64 1 a)))
36.1b
(*.f64 -1/2 (/.f64 (+.f64 b (exp.f64 (log.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))) a))
32.9b
(*.f64 -1/2 (/.f64 (neg.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) (neg.f64 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)))))))
57.4b
(*.f64 -1/2 (log.f64 (exp.f64 (/.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4))))) a))))
38.7b
(*.f64 -1/2 (*.f64 2 (/.f64 c b)))
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))
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)))

series2.5s (26.6%)

Counts
4 → 42
Calls

4 calls:

1.9s
(pow.f64 (/.f64 a (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))))) -1)
453.0ms
(/.f64 a (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4))))))
141.0ms
(+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))))
18.0ms
(sqrt.f64 (*.f64 a (*.f64 c -4)))

rewrite78.0ms (0.8%)

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

2 calls:

75.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

simplify69.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

prune182.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
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))))))))
32.9b
(*.f64 -1/2 (pow.f64 (/.f64 a (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))))) -1))
33.0b
(*.f64 -1/2 (*.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (/.f64 1 a)))
47.1b
(*.f64 -1/2 (*.f64 2 (-.f64 (/.f64 b a) (/.f64 c b))))
46.9b
(*.f64 -1/2 (*.f64 (+.f64 b b) (/.f64 1 a)))
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))
32.9b
(*.f64 -1/2 (/.f64 (neg.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) (neg.f64 a)))
57.4b
(*.f64 -1/2 (log.f64 (exp.f64 (/.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4))))) a))))
38.7b
(*.f64 -1/2 (*.f64 2 (/.f64 c b)))
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))
46.8b
(*.f64 -1/2 (pow.f64 (/.f64 a (+.f64 b (hypot.f64 b (*.f64 (sqrt.f64 a) (sqrt.f64 (*.f64 c -4)))))) -1))
Compiler

Compiled 5694 to 3833 computations (32.7% saved)

regimes1.7s (17.5%)

Accuracy

Total 7.9b remaining (73.8%)

Threshold costs 0b (0%)

Counts
127 → 3
Compiler

Compiled 10760 to 7622 computations (29.2% saved)

bsearch47.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)

simplify4.0ms (0%)

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

Useful iterations: 2 (0.0ms)

IterNodesCost
03158
14858
26156
37256
47656
57756
67556

end152.0ms (1.6%)

Compiler

Compiled 294 to 205 computations (30.3% saved)

Profiling

Loading profile data...