Details

Time bar (total: 8.8s)

analyze630.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.7s (31.1%)

Results
1.0s1169×body2048valid
697.0ms5364×body128valid
317.0ms775×body1024valid
251.0ms414×body4096valid
123.0ms1010×body128invalid
104.0ms341×body512valid
41.0ms193×body256valid
Compiler

Compiled 62 to 44 computations (29% saved)

simplify143.0ms (1.6%)

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

series161.0ms (1.8%)

Counts
4 → 96
Calls

4 calls:

66.0ms
(/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)
45.0ms
(+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))
40.0ms
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))
9.0ms
(fma.f64 a (*.f64 c -4) (*.f64 b b))

rewrite15.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
25×*-un-lft-identity_binary64
16×add-sqr-sqrt_binary64
15×add-cube-cbrt_binary64
12×times-frac_binary64
add-cbrt-cube_binary64
Counts
4 → 77
Calls

4 calls:

4.0ms
(/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)
3.0ms
(+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))
1.0ms
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))
0.0ms
(fma.f64 a (*.f64 c -4) (*.f64 b b))

simplify83.0ms (1%)

Algorithm
egg-herbie
Rules
834×times-frac_binary64
539×associate-/l*_binary64
468×fma-def_binary64
198×cancel-sign-sub-inv_binary64
125×associate-/r/_binary64
Counts
173 → 193
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01973876
15213658
215783494
350113494

prune159.0ms (1.8%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New18310193
Fresh000
Picked011
Done000
Total18311194
Error
4.5b
Counts
194 → 11
Alt Table
StatusErrorProgram
33.3b
(*.f64 -1/2 (/.f64 (sqrt.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) (/.f64 a (sqrt.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))))))
33.3b
(*.f64 -1/2 (*.f64 (*.f64 (cbrt.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))))) (cbrt.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4))))))) (/.f64 (cbrt.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))))) a)))
47.1b
(*.f64 -1/2 (*.f64 2 (-.f64 (/.f64 b a) (/.f64 c b))))
33.0b
(*.f64 -1/2 (/.f64 1 (/.f64 a (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))))
32.9b
(*.f64 -1/2 (/.f64 (+.f64 b (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 c (*.f64 a -4))))) a))))
50.6b
(*.f64 -1/2 (exp.f64 (-.f64 (log.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) (log.f64 a))))
46.8b
(*.f64 -1/2 (/.f64 (+.f64 b b) a))
38.7b
(*.f64 -1/2 (*.f64 2 (/.f64 c b)))
43.6b
(*.f64 -1/2 (/.f64 (/.f64 (-.f64 (*.f64 b b) (fma.f64 b b (*.f64 c (*.f64 a -4)))) (-.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))))) 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))
Compiler

Compiled 5277 to 3195 computations (39.5% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 a (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))
0.2b
(/.f64 1 (/.f64 a (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))))
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)))

series264.0ms (3%)

Counts
2 → 40
Calls

2 calls:

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

rewrite26.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
114×times-frac_binary64
94×*-un-lft-identity_binary64
62×add-sqr-sqrt_binary64
62×add-cube-cbrt_binary64
22×associate-/r*_binary64
Counts
2 → 133
Calls

2 calls:

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

simplify111.0ms (1.3%)

Algorithm
egg-herbie
Rules
712×associate-/l*_binary64
631×associate-/r*_binary64
411×fma-def_binary64
324×associate-/r/_binary64
172×cancel-sign-sub-inv_binary64
Counts
173 → 222
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02095780
15385307
217505032
353565032

prune239.0ms (2.7%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New3104314
Fresh549
Picked101
Done011
Total3169325
Error
4.3b
Counts
325 → 9
Alt Table
StatusErrorProgram
43.6b
(*.f64 -1/2 (*.f64 (/.f64 (-.f64 (*.f64 b b) (fma.f64 a (*.f64 c -4) (*.f64 b b))) a) (/.f64 1 (-.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4))))))))
32.9b
(*.f64 -1/2 (/.f64 (+.f64 b (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 c (*.f64 a -4))))) a))))
50.6b
(*.f64 -1/2 (exp.f64 (-.f64 (log.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) (log.f64 a))))
38.7b
(*.f64 -1/2 (*.f64 2 (/.f64 c b)))
47.1b
(*.f64 -1/2 (*.f64 2 (-.f64 (/.f64 b a) (/.f64 c b))))
33.0b
(*.f64 -1/2 (/.f64 1 (*.f64 a (/.f64 1 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))))))
38.2b
(*.f64 -1/2 (/.f64 1 (*.f64 1/2 (-.f64 (/.f64 b c) (/.f64 a b)))))
46.9b
(*.f64 -1/2 (/.f64 1 (*.f64 1/2 (/.f64 a b))))
Compiler

Compiled 9686 to 5998 computations (38.1% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series253.0ms (2.9%)

Counts
2 → 40
Calls

2 calls:

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

rewrite23.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
46×add-exp-log_binary64
20×*-un-lft-identity_binary64
20×add-sqr-sqrt_binary64
18×associate-*r*_binary64
18×div-exp_binary64
Counts
2 → 85
Calls

2 calls:

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

simplify95.0ms (1.1%)

Algorithm
egg-herbie
Rules
494×fma-neg_binary64
330×fma-def_binary64
281×associate-*l/_binary64
239×*-commutative_binary64
223×associate-*r/_binary64
Counts
125 → 159
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01913287
15182853
217832723
341022723
449802723

prune181.0ms (2.1%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New2501251
Fresh077
Picked011
Done011
Total25010260
Error
4.3b
Counts
260 → 10
Alt Table
StatusErrorProgram
38.2b
(*.f64 -1/2 (/.f64 1 (*.f64 1/2 (-.f64 (/.f64 b c) (/.f64 a b)))))
46.9b
(*.f64 -1/2 (/.f64 1 (*.f64 a (/.f64 1 (+.f64 b b)))))
43.6b
(*.f64 -1/2 (*.f64 (/.f64 (-.f64 (*.f64 b b) (fma.f64 a (*.f64 c -4) (*.f64 b b))) a) (/.f64 1 (-.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4))))))))
32.9b
(*.f64 -1/2 (/.f64 (+.f64 b (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 c (*.f64 a -4))))) a))))
50.6b
(*.f64 -1/2 (exp.f64 (-.f64 (log.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) (log.f64 a))))
38.7b
(*.f64 -1/2 (*.f64 2 (/.f64 c b)))
47.1b
(*.f64 -1/2 (*.f64 2 (-.f64 (/.f64 b a) (/.f64 c b))))
33.0b
(*.f64 -1/2 (/.f64 1 (*.f64 a (/.f64 1 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))))))
46.9b
(*.f64 -1/2 (/.f64 1 (*.f64 1/2 (/.f64 a b))))
Compiler

Compiled 7442 to 4861 computations (34.7% saved)

localize8.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (/.f64 b c) (/.f64 a b))
0.0b
(*.f64 -1/2 (/.f64 1 (*.f64 1/2 (-.f64 (/.f64 b c) (/.f64 a b)))))
0.7b
(/.f64 1 (*.f64 1/2 (-.f64 (/.f64 b c) (/.f64 a b))))

series86.0ms (1%)

Counts
3 → 81
Calls

3 calls:

34.0ms
(-.f64 (/.f64 b c) (/.f64 a b))
29.0ms
(/.f64 1 (*.f64 1/2 (-.f64 (/.f64 b c) (/.f64 a b))))
22.0ms
(*.f64 -1/2 (/.f64 1 (*.f64 1/2 (-.f64 (/.f64 b c) (/.f64 a b)))))

rewrite75.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
264×times-frac_binary64
218×add-sqr-sqrt_binary64
210×*-un-lft-identity_binary64
204×add-cube-cbrt_binary64
169×prod-diff_binary64
Counts
3 → 285
Calls

3 calls:

15.0ms
(*.f64 -1/2 (/.f64 1 (*.f64 1/2 (-.f64 (/.f64 b c) (/.f64 a b)))))
14.0ms
(-.f64 (/.f64 b c) (/.f64 a b))
11.0ms
(/.f64 1 (*.f64 1/2 (-.f64 (/.f64 b c) (/.f64 a b))))

simplify263.0ms (3%)

Algorithm
egg-herbie
Rules
878×times-frac_binary64
213×fma-neg_binary64
175×exp-prod_binary64
164×fma-udef_binary64
163×unsub-neg_binary64
Counts
366 → 367
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
044411769
110377716
226436432
345296406
449026406
548616406

prune227.0ms (2.6%)

Pruning

13 alts after pruning (10 fresh and 3 done)

PrunedKeptTotal
New3634367
Fresh167
Picked011
Done022
Total36413377
Error
4.3b
Counts
377 → 13
Alt Table
StatusErrorProgram
57.4b
(*.f64 -1/2 (log.f64 (exp.f64 (/.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4))))) a))))
54.7b
(*.f64 -1/2 (/.f64 1 (*.f64 1/2 (log.f64 (exp.f64 (-.f64 (/.f64 b c) (/.f64 a b)))))))
38.2b
(*.f64 -1/2 (/.f64 1 (*.f64 1/2 (-.f64 (/.f64 b c) (/.f64 a b)))))
46.9b
(*.f64 -1/2 (/.f64 1 (*.f64 a (/.f64 1 (+.f64 b b)))))
50.9b
(exp.f64 (log.f64 (/.f64 -1 (-.f64 (/.f64 b c) (/.f64 a b)))))
38.7b
(neg.f64 (/.f64 c b))
43.6b
(*.f64 -1/2 (*.f64 (/.f64 (-.f64 (*.f64 b b) (fma.f64 a (*.f64 c -4) (*.f64 b b))) a) (/.f64 1 (-.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4))))))))
32.9b
(*.f64 -1/2 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a))
50.6b
(*.f64 -1/2 (exp.f64 (-.f64 (log.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) (log.f64 a))))
38.9b
(*.f64 -1/2 (/.f64 1 (*.f64 1/2 (+.f64 (fma.f64 (/.f64 (*.f64 (cbrt.f64 b) (cbrt.f64 b)) (*.f64 (cbrt.f64 c) (cbrt.f64 c))) (/.f64 (cbrt.f64 b) (cbrt.f64 c)) (neg.f64 (*.f64 (cbrt.f64 (/.f64 a b)) (*.f64 (cbrt.f64 (/.f64 a b)) (cbrt.f64 (/.f64 a b)))))) (fma.f64 (neg.f64 (cbrt.f64 (/.f64 a b))) (*.f64 (cbrt.f64 (/.f64 a b)) (cbrt.f64 (/.f64 a b))) (*.f64 (cbrt.f64 (/.f64 a b)) (*.f64 (cbrt.f64 (/.f64 a b)) (cbrt.f64 (/.f64 a b)))))))))
47.1b
(*.f64 -1/2 (*.f64 2 (-.f64 (/.f64 b a) (/.f64 c b))))
33.0b
(*.f64 -1/2 (/.f64 1 (*.f64 a (/.f64 1 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))))))
46.9b
(*.f64 -1/2 (/.f64 1 (*.f64 1/2 (/.f64 a b))))
Compiler

Compiled 13193 to 4681 computations (64.5% saved)

regimes2.7s (31.2%)

Accuracy

Total 5.3b remaining (49.2%)

Threshold costs 0b (0%)

Counts
199 → 3
Compiler

Compiled 21792 to 13738 computations (37% saved)

bsearch51.0ms (0.6%)

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
*-commutative_binary64
+-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
distribute-neg-frac_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
03059
14057
24857
35357
45757
55857
65657

end168.0ms (1.9%)

Compiler

Compiled 362 to 227 computations (37.3% saved)

Profiling

Loading profile data...