Details

Time bar (total: 11.1s)

analyze1.6s (14%)

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)

sample116.0ms (1%)

Algorithm
intervals
Results
40.0ms34×body2048valid
23.0ms174×body128valid
11.0ms21×body1024valid
10.0ms13×body4096valid
5.0msbody256valid
3.0msbody512valid
2.0ms16×body128nan
2.0ms14×body128invalid
Compiler

Compiled 44 to 32 computations (27.3% saved)

simplify402.0ms (3.6%)

Algorithm
egg-herbie
Rules
2009×fma-neg_binary64
1508×div-sub_binary64
1334×associate-/l*_binary64
1156×fma-def_binary64
685×associate-/l/_binary64
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01526
13422
26422
313222
419822
532522
655222
791822
8135222
9155422
10235922
11315822
12256522
13265322
14321922
15336122
16346122
17398522
18417122
19443922
20465922
21470122
22475722
23494122
24494122
25336522
26305922
27298322
28298522
29299722
30299722
31299722
32299722
33273622

prune8.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

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

Compiled 111 to 74 computations (33.3% saved)

localize30.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))) (*.f64 2 a))
0.8b
(-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))
1.3b
(+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))
19.9b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))

series552.0ms (5%)

Counts
4 → 96
Calls

4 calls:

319.0ms
(/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))) (*.f64 2 a))
117.0ms
(+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))
88.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))
27.0ms
(-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))

rewrite72.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity_binary64
11×add-sqr-sqrt_binary64
10×fma-def_binary64
10×add-cube-cbrt_binary64
10×add-log-exp_binary64
Counts
4 → 90
Calls

4 calls:

19.0ms
(/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))) (*.f64 2 a))
16.0ms
(-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))
15.0ms
(+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))
6.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))

simplify264.0ms (2.4%)

Algorithm
egg-herbie
Rules
697×fma-neg_binary64
327×cancel-sign-sub-inv_binary64
226×distribute-rgt-neg-in_binary64
150×distribute-rgt-neg-out_binary64
146×associate-*r*_binary64
Counts
186 → 207
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02434202
16933825
224883724
346523704
449853704

prune392.0ms (3.5%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1998207
Fresh011
Picked011
Done000
Total19910209
Error
4.6b
Counts
209 → 10
Alt Table
StatusErrorProgram
28.9b
(/.f64 1 (/.f64 (*.f64 2 a) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))))
33.1b
(/.f64 (/.f64 (*.f64 4 (*.f64 c a)) (-.f64 (neg.f64 b) (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b))) (*.f64 2 a))
28.9b
(*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a))
55.2b
(/.f64 (+.f64 (neg.f64 b) b) (*.f64 2 a))
45.3b
(-.f64 (/.f64 c b) (/.f64 b a))
45.1b
(/.f64 (neg.f64 b) a)
41.7b
(neg.f64 (/.f64 c b))
31.8b
(/.f64 (exp.f64 (log.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b) b))) (*.f64 2 a))
45.0b
(*.f64 (sqrt.f64 (/.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b) b) (*.f64 a 2))) (sqrt.f64 (/.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b) b) (*.f64 a 2))))
28.9b
(/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))) (*.f64 2 a))
Compiler

Compiled 5609 to 3140 computations (44% saved)

localize31.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(/.f64 1 (/.f64 (*.f64 2 a) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))))
0.8b
(-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))
1.3b
(+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))
19.9b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))

series185.0ms (1.7%)

Counts
1 → 20
Calls

1 calls:

185.0ms
(/.f64 1 (/.f64 (*.f64 2 a) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))))

rewrite45.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
53×times-frac_binary64
37×*-un-lft-identity_binary64
22×add-exp-log_binary64
21×add-sqr-sqrt_binary64
21×add-cube-cbrt_binary64
Counts
1 → 74
Calls

1 calls:

28.0ms
(/.f64 1 (/.f64 (*.f64 2 a) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))))

simplify185.0ms (1.7%)

Algorithm
egg-herbie
Rules
665×associate-/l*_binary64
599×div-sub_binary64
346×fma-def_binary64
296×fma-neg_binary64
265×associate-/r/_binary64
Counts
94 → 117
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01643247
14342847
215122670
345872670
461712670

prune440.0ms (4%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New2543257
Fresh178
Picked011
Done101
Total25611267
Error
4.6b
Counts
267 → 11
Alt Table
StatusErrorProgram
45.2b
(/.f64 1 (/.f64 (*.f64 2 a) (*.f64 b -2)))
45.3b
(-.f64 (/.f64 c b) (/.f64 b a))
28.9b
(/.f64 1 (/.f64 (*.f64 2 a) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))))
33.1b
(/.f64 (/.f64 (*.f64 4 (*.f64 c a)) (-.f64 (neg.f64 b) (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b))) (*.f64 2 a))
28.9b
(*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a))
55.2b
(/.f64 (+.f64 (neg.f64 b) b) (*.f64 2 a))
32.8b
(*.f64 (*.f64 (*.f64 4 (*.f64 c a)) (/.f64 1/2 a)) (/.f64 1 (-.f64 (neg.f64 b) (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))))))
31.8b
(/.f64 (exp.f64 (log.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b) b))) (*.f64 2 a))
45.1b
(/.f64 (neg.f64 b) a)
41.7b
(neg.f64 (/.f64 c b))
33.3b
(/.f64 1 (/.f64 (*.f64 2 a) (/.f64 (*.f64 4 (*.f64 c a)) (-.f64 (neg.f64 b) (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b)))))
Compiler

Compiled 7796 to 4567 computations (41.4% saved)

localize24.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 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a))
1.3b
(-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)
19.9b
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))

series461.0ms (4.2%)

Counts
4 → 96
Calls

4 calls:

206.0ms
(*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a))
122.0ms
(-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)
104.0ms
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))
28.0ms
(fma.f64 a (*.f64 c -4) (*.f64 b b))

rewrite68.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
42×add-sqr-sqrt_binary64
32×*-un-lft-identity_binary64
28×add-cube-cbrt_binary64
18×prod-diff_binary64
17×sqrt-prod_binary64
Counts
4 → 109
Calls

4 calls:

18.0ms
(*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a))
13.0ms
(-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)
5.0ms
(fma.f64 a (*.f64 c -4) (*.f64 b b))
2.0ms
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))

simplify393.0ms (3.5%)

Algorithm
egg-herbie
Rules
527×fma-neg_binary64
338×distribute-rgt-in_binary64
273×cancel-sign-sub-inv_binary64
155×associate-*l*_binary64
153×associate-*r*_binary64
Counts
205 → 231
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02675424
16734468
225244293
345504293
449914293
549944293
648844293

prune385.0ms (3.5%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New2274231
Fresh549
Picked011
Done011
Total23210242
Error
4.6b
Counts
242 → 10
Alt Table
StatusErrorProgram
36.1b
(/.f64 (*.f64 1/2 (+.f64 (*.f64 c (*.f64 a -4)) 0)) (*.f64 a (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))))))
45.2b
(/.f64 1 (/.f64 (*.f64 2 a) (*.f64 b -2)))
45.3b
(-.f64 (/.f64 c b) (/.f64 b a))
55.2b
(*.f64 (-.f64 b b) (/.f64 1/2 a))
33.1b
(*.f64 (/.f64 (+.f64 (*.f64 c (*.f64 a -4)) 0) (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))))) (/.f64 1/2 a))
28.9b
(/.f64 1 (/.f64 (*.f64 2 a) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))))
41.7b
(neg.f64 (/.f64 c b))
28.9b
(*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a))
45.2b
(*.f64 (*.f64 -2 b) (/.f64 1/2 a))
31.8b
(/.f64 (exp.f64 (log.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b) b))) (*.f64 2 a))
Compiler

Compiled 6253 to 3660 computations (41.5% saved)

localize23.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 (exp.f64 (log.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b) b))) (*.f64 2 a))
0.8b
(-.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b) b)
2.5b
(exp.f64 (log.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b) b)))
12.7b
(sqrt.f64 (*.f64 c (*.f64 a -4)))

series1.2s (10.5%)

Counts
4 → 36
Calls

4 calls:

438.0ms
(/.f64 (exp.f64 (log.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b) b))) (*.f64 2 a))
344.0ms
(-.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b) b)
335.0ms
(exp.f64 (log.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b) b)))
51.0ms
(sqrt.f64 (*.f64 c (*.f64 a -4)))

rewrite46.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
26×*-un-lft-identity_binary64
26×add-sqr-sqrt_binary64
18×add-cube-cbrt_binary64
15×exp-sum_binary64
15×log-prod_binary64
Counts
4 → 100
Calls

4 calls:

18.0ms
(/.f64 (exp.f64 (log.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b) b))) (*.f64 2 a))
6.0ms
(-.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b) b)
6.0ms
(exp.f64 (log.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b) b)))
5.0ms
(sqrt.f64 (*.f64 c (*.f64 a -4)))

simplify140.0ms (1.3%)

Algorithm
egg-herbie
Rules
580×fma-def_binary64
348×fma-neg_binary64
342×associate-*l/_binary64
270×cancel-sign-sub-inv_binary64
178×associate-/l/_binary64
Counts
136 → 183
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02623659
15643335
220363189
348233189
448923189

prune183.0ms (1.6%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1812183
Fresh257
Picked101
Done112
Total1858193
Error
2.6b
Counts
193 → 8
Alt Table
StatusErrorProgram
36.1b
(/.f64 (*.f64 1/2 (+.f64 (*.f64 c (*.f64 a -4)) 0)) (*.f64 a (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))))))
45.2b
(/.f64 1 (/.f64 (*.f64 2 a) (*.f64 b -2)))
33.1b
(*.f64 (/.f64 (+.f64 (*.f64 c (*.f64 a -4)) 0) (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))))) (/.f64 1/2 a))
29.5b
(*.f64 1/2 (/.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 -4 (*.f64 c a))) b) b) a))
46.4b
(/.f64 (exp.f64 (log.f64 (-.f64 (hypot.f64 (*.f64 (sqrt.f64 c) (sqrt.f64 (*.f64 a -4))) b) b))) (*.f64 2 a))
28.9b
(/.f64 1 (/.f64 (*.f64 2 a) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))))
41.7b
(neg.f64 (/.f64 c b))
45.2b
(*.f64 (*.f64 -2 b) (/.f64 1/2 a))
Compiler

Compiled 5261 to 3458 computations (34.3% saved)

regimes2.0s (18%)

Accuracy

Total 7.2b remaining (69.3%)

Threshold costs 0b (0%)

Counts
149 → 3
Compiler

Compiled 12612 to 8993 computations (28.7% saved)

bsearch62.0ms (0.6%)

Steps
ItersRangePoint
8
9.058974550953306e-26
3.665883547668106e-21
1.7994370256410445e-25
4
-3.376655171065912e+154
-3.349020245297675e+153
-4.029250158308429e+153
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
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02750
13950
24650
35150
45350
55350

end1.0ms (0%)

Compiler

Compiled 37 to 25 computations (32.4% saved)

sample1.9s (16.8%)

Algorithm
intervals
Results
443.0ms5162×body128valid
410.0ms1171×body2048valid
215.0ms768×body1024valid
166.0ms397×body4096valid
69.0ms327×body512valid
47.0ms672×body128nan
30.0ms404×body128invalid
26.0ms175×body256valid
Compiler

Compiled 199 to 145 computations (27.1% saved)

Profiling

Loading profile data...