Details

Time bar (total: 6.9s)

analyze593.0ms (8.6%)

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)

sample206.0ms (3%)

Algorithm
intervals
Results
12.0ms38×body2048valid
10.0ms155×body128valid
7.0ms30×body1024valid
6.0ms13×body4096valid
3.0ms14×body512valid
2.0ms23×body128nan
1.0msbody256valid
1.0msbody128invalid
Compiler

Compiled 44 to 32 computations (27.3% saved)

simplify142.0ms (2.1%)

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

prune4.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

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

Compiled 111 to 74 computations (33.3% 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)
0.9b
(+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))
21.4b
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))

series173.0ms (2.5%)

Counts
4 → 96
Calls

4 calls:

72.0ms
(/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)
49.0ms
(+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))
42.0ms
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))
10.0ms
(fma.f64 a (*.f64 c -4) (*.f64 b b))

rewrite14.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:

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

simplify134.0ms (1.9%)

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

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1849193
Fresh101
Picked101
Done000
Total1869195
Error
3.2b
Counts
195 → 9
Alt Table
StatusErrorProgram
49.0b
(*.f64 -1/2 (/.f64 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (sqrt.f64 a)) (sqrt.f64 a)))
35.9b
(*.f64 -1/2 (/.f64 (+.f64 b (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))) a))
33.4b
(*.f64 -1/2 (/.f64 (+.f64 b (sqrt.f64 (+.f64 (*.f64 a (*.f64 c -4)) (*.f64 b b)))) a))
47.0b
(*.f64 -1/2 (*.f64 2 (-.f64 (/.f64 b a) (/.f64 c b))))
34.5b
(*.f64 -1/2 (*.f64 (sqrt.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))))) (/.f64 (sqrt.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))))) a)))
36.7b
(*.f64 -1/2 (*.f64 2 (/.f64 c b)))
46.9b
(*.f64 -1/2 (/.f64 (+.f64 b b) a))
43.8b
(*.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))
33.5b
(*.f64 -1/2 (*.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (/.f64 1 a)))
Compiler

Compiled 5205 to 3143 computations (39.6% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 (+.f64 b (sqrt.f64 (+.f64 (*.f64 a (*.f64 c -4)) (*.f64 b b)))) a)
0.8b
(+.f64 (*.f64 a (*.f64 c -4)) (*.f64 b b))
0.9b
(+.f64 b (sqrt.f64 (+.f64 (*.f64 a (*.f64 c -4)) (*.f64 b b))))
21.4b
(sqrt.f64 (+.f64 (*.f64 a (*.f64 c -4)) (*.f64 b b)))

series181.0ms (2.6%)

Counts
4 → 96
Calls

4 calls:

71.0ms
(/.f64 (+.f64 b (sqrt.f64 (+.f64 (*.f64 a (*.f64 c -4)) (*.f64 b b)))) a)
54.0ms
(+.f64 b (sqrt.f64 (+.f64 (*.f64 a (*.f64 c -4)) (*.f64 b b))))
44.0ms
(sqrt.f64 (+.f64 (*.f64 a (*.f64 c -4)) (*.f64 b b)))
10.0ms
(+.f64 (*.f64 a (*.f64 c -4)) (*.f64 b b))

rewrite27.0ms (0.4%)

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-log-exp_binary64
Counts
4 → 83
Calls

4 calls:

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

simplify120.0ms (1.7%)

Algorithm
egg-herbie
Rules
796×fma-def_binary64
456×fma-neg_binary64
312×cancel-sign-sub-inv_binary64
188×distribute-rgt-in_binary64
163×distribute-rgt-neg-in_binary64
Counts
179 → 202
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02144008
16003826
220973615
345433615
449583615

prune135.0ms (2%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New2011202
Fresh178
Picked011
Done000
Total2029211
Error
3.2b
Counts
211 → 9
Alt Table
StatusErrorProgram
34.3b
(*.f64 -1/2 (/.f64 (/.f64 (*.f64 (*.f64 c a) 4) (-.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))))) a))
34.5b
(*.f64 -1/2 (*.f64 (sqrt.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))))) (/.f64 (sqrt.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))))) a)))
49.0b
(*.f64 -1/2 (/.f64 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (sqrt.f64 a)) (sqrt.f64 a)))
35.9b
(*.f64 -1/2 (/.f64 (+.f64 b (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))) a))
33.4b
(*.f64 -1/2 (/.f64 (+.f64 b (sqrt.f64 (+.f64 (*.f64 a (*.f64 c -4)) (*.f64 b b)))) a))
47.0b
(*.f64 -1/2 (*.f64 2 (-.f64 (/.f64 b a) (/.f64 c b))))
36.7b
(*.f64 -1/2 (*.f64 2 (/.f64 c b)))
46.9b
(*.f64 -1/2 (/.f64 (+.f64 b b) a))
33.5b
(*.f64 -1/2 (*.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (/.f64 1 a)))
Compiler

Compiled 5602 to 3405 computations (39.2% saved)

localize11.0ms (0.2%)

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))
0.9b
(+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))
21.4b
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))

series72.0ms (1%)

Counts
1 → 20
Calls

1 calls:

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

rewrite11.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt_binary64
13×associate-*r*_binary64
12×*-un-lft-identity_binary64
11×times-frac_binary64
10×add-exp-log_binary64
Counts
1 → 43
Calls

1 calls:

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

simplify71.0ms (1%)

Algorithm
egg-herbie
Rules
460×times-frac_binary64
408×associate-*l*_binary64
317×unswap-sqr_binary64
311×associate-/l*_binary64
305×fma-def_binary64
Counts
63 → 91
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01311718
13701571
211781497
344451497
452761497

prune186.0ms (2.7%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New2043207
Fresh437
Picked011
Done011
Total2088216
Error
3.2b
Counts
216 → 8
Alt Table
StatusErrorProgram
33.4b
(*.f64 -1/2 (/.f64 (+.f64 b (sqrt.f64 (+.f64 (*.f64 a (*.f64 c -4)) (*.f64 b b)))) a))
47.0b
(*.f64 -1/2 (*.f64 2 (-.f64 (/.f64 b a) (/.f64 c b))))
42.5b
(*.f64 -1/2 (/.f64 (*.f64 (-.f64 (*.f64 b b) (*.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) (/.f64 1 a)) (-.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))))
33.5b
(*.f64 -1/2 (*.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (/.f64 1 a)))
35.9b
(*.f64 -1/2 (/.f64 (+.f64 b (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) (cbrt.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)))
36.7b
(*.f64 -1/2 (*.f64 2 (/.f64 c b)))
42.4b
(*.f64 -1/2 (/.f64 (/.f64 (-.f64 (*.f64 b b) (fma.f64 a (*.f64 c -4) (*.f64 b b))) a) (-.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))))
Compiler

Compiled 5748 to 3599 computations (37.4% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.4b
(*.f64 (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))
0.6b
(cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))
16.5b
(+.f64 b (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))))
21.4b
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))

series177.0ms (2.6%)

Counts
3 → 92
Calls

3 calls:

60.0ms
(+.f64 b (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))))
59.0ms
(*.f64 (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))
58.0ms
(cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))

rewrite21.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
46×cbrt-prod_binary64
40×add-sqr-sqrt_binary64
23×sqrt-prod_binary64
18×*-un-lft-identity_binary64
18×add-cube-cbrt_binary64
Counts
3 → 90
Calls

3 calls:

9.0ms
(*.f64 (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))
2.0ms
(+.f64 b (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))))
1.0ms
(cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))

simplify175.0ms (2.5%)

Algorithm
egg-herbie
Rules
358×associate-*r*_binary64
259×associate-/r*_binary64
250×times-frac_binary64
245×fma-neg_binary64
237×associate-*l*_binary64
Counts
182 → 222
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
04367548
113507273
249227273
350737273

prune585.0ms (8.4%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New4981499
Fresh055
Picked101
Done022
Total4998507
Error
3.2b
Counts
507 → 8
Alt Table
StatusErrorProgram
33.4b
(*.f64 -1/2 (/.f64 (+.f64 b (sqrt.f64 (+.f64 (*.f64 a (*.f64 c -4)) (*.f64 b b)))) a))
47.0b
(*.f64 -1/2 (*.f64 2 (-.f64 (/.f64 b a) (/.f64 c b))))
42.5b
(*.f64 -1/2 (/.f64 (*.f64 (-.f64 (*.f64 b b) (*.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) (/.f64 1 a)) (-.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))))
33.5b
(*.f64 -1/2 (*.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (/.f64 1 a)))
54.8b
(*.f64 -1/2 (/.f64 (+.f64 b (*.f64 (exp.f64 (*.f64 1/3 (-.f64 (log.f64 (*.f64 4 c)) (log.f64 (/.f64 -1 a))))) (cbrt.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)))
36.7b
(*.f64 -1/2 (*.f64 2 (/.f64 c b)))
42.4b
(*.f64 -1/2 (/.f64 (/.f64 (-.f64 (*.f64 b b) (fma.f64 a (*.f64 c -4) (*.f64 b b))) a) (-.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))))
Compiler

Compiled 27630 to 17267 computations (37.5% saved)

regimes2.0s (28.3%)

Accuracy

Total 4.4b remaining (44.3%)

Threshold costs 0b (0%)

Counts
146 → 3
Compiler

Compiled 17412 to 11530 computations (33.8% saved)

bsearch36.0ms (0.5%)

Steps
ItersRangePoint
2
1.7863616746486613e+117
4.696274748892413e+123
1.1867869007991433e+122
6
-1.6634451560823125e-67
-2.9005538505333253e-68
-4.240874875338921e-68
Compiler

Compiled 4 to 3 computations (25% saved)

simplify5.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02860
13860
24560
34960
45260
55360
65360

end1.0ms (0%)

Compiler

Compiled 44 to 29 computations (34.1% saved)

sample1.7s (24.4%)

Algorithm
intervals
Results
378.0ms1063×body2048valid
350.0ms5272×body128valid
186.0ms728×body1024valid
158.0ms392×body4096valid
72.0ms378×body512valid
43.0ms672×body128nan
28.0ms392×body128invalid
22.0ms167×body256valid
Compiler

Compiled 250 to 167 computations (33.2% saved)

Profiling

Loading profile data...