Details

Time bar (total: 12.6s)

analyze1.2s (9.4%)

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)

sample92.0ms (0.7%)

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

Compiled 44 to 32 computations (27.3% saved)

simplify274.0ms (2.2%)

Algorithm
egg-herbie
Rules
1743×fma-neg_binary64
1393×fma-def_binary64
800×div-sub_binary64
619×times-frac_binary64
473×associate-/r/_binary64
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01526
13322
26722
313822
420422
533822
655822
792422
8138822
9160422
10237522
11274222
12253322
13262122
14317122
15331322
16387322
17367922
18402922
19431722
20448522
21456122
22480522
23479322
24479722
25479722
26494822

prune7.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 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a))
28.9b
(*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a))
Compiler

Compiled 111 to 74 computations (33.3% saved)

localize23.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series348.0ms (2.8%)

Counts
4 → 96
Calls

4 calls:

156.0ms
(/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a))
97.0ms
(+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
75.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
20.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

rewrite57.0ms (0.5%)

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:

18.0ms
(/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a))
14.0ms
(+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
7.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
6.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

simplify241.0ms (1.9%)

Algorithm
egg-herbie
Rules
701×fma-neg_binary64
334×cancel-sign-sub-inv_binary64
215×distribute-rgt-neg-in_binary64
159×associate-*r*_binary64
150×distribute-rgt-neg-out_binary64
Counts
186 → 207
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02434208
16953858
225123724
346943704
450313704

prune334.0ms (2.6%)

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
55.2b
(/.f64 (+.f64 (neg.f64 b) b) (*.f64 2 a))
45.1b
(/.f64 (neg.f64 b) 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 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a))
41.7b
(neg.f64 (/.f64 c b))
28.9b
(/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a))
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))
45.3b
(-.f64 (/.f64 c b) (/.f64 b a))
31.8b
(/.f64 (exp.f64 (log.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.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 (*.f64 4 a) c))))))
Compiler

Compiled 5609 to 3279 computations (41.5% saved)

localize27.0ms (0.2%)

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 (*.f64 4 a) c))))))
0.8b
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
1.3b
(+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
19.9b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))

series172.0ms (1.4%)

Counts
1 → 20
Calls

1 calls:

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

rewrite44.0ms (0.3%)

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:

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

simplify195.0ms (1.5%)

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

Useful iterations: 2 (0.0ms)

IterNodesCost
01643247
14392847
215172670
345952670
461782670

prune415.0ms (3.3%)

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
55.2b
(/.f64 (+.f64 (neg.f64 b) b) (*.f64 2 a))
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)))))
45.1b
(/.f64 (neg.f64 b) a)
45.2b
(/.f64 1 (/.f64 (*.f64 2 a) (*.f64 b -2)))
28.9b
(/.f64 1 (/.f64 (*.f64 2 a) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))))
41.7b
(neg.f64 (/.f64 c b))
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))
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 a (*.f64 c -4)))))))
45.3b
(-.f64 (/.f64 c b) (/.f64 b a))
31.8b
(/.f64 (exp.f64 (log.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b) b))) (*.f64 2 a))
28.9b
(*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a))
Compiler

Compiled 7796 to 4786 computations (38.6% saved)

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

series381.0ms (3%)

Counts
4 → 96
Calls

4 calls:

168.0ms
(*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a))
107.0ms
(-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)
86.0ms
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))
20.0ms
(fma.f64 a (*.f64 c -4) (*.f64 b b))

rewrite50.0ms (0.4%)

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))
9.0ms
(-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)
3.0ms
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))
1.0ms
(fma.f64 a (*.f64 c -4) (*.f64 b b))

simplify352.0ms (2.8%)

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

prune322.0ms (2.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
31.8b
(/.f64 (exp.f64 (log.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b) b))) (*.f64 2 a))
55.2b
(*.f64 (-.f64 b b) (/.f64 1/2 a))
28.9b
(*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a))
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)))
28.9b
(/.f64 1 (/.f64 (*.f64 2 a) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))))
41.7b
(neg.f64 (/.f64 c b))
45.2b
(*.f64 (*.f64 -2 b) (/.f64 1/2 a))
45.3b
(-.f64 (/.f64 c b) (/.f64 b 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))
Compiler

Compiled 6253 to 3660 computations (41.5% saved)

localize25.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.1s (8.7%)

Counts
4 → 36
Calls

4 calls:

473.0ms
(/.f64 (exp.f64 (log.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b) b))) (*.f64 2 a))
297.0ms
(-.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b) b)
289.0ms
(exp.f64 (log.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b) b)))
39.0ms
(sqrt.f64 (*.f64 c (*.f64 a -4)))

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

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

simplify223.0ms (1.8%)

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

prune275.0ms (2.2%)

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
45.2b
(/.f64 1 (/.f64 (*.f64 2 a) (*.f64 b -2)))
28.9b
(/.f64 1 (/.f64 (*.f64 2 a) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))))
41.7b
(neg.f64 (/.f64 c b))
29.5b
(*.f64 1/2 (/.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 -4 (*.f64 c a))) b) b) a))
45.2b
(*.f64 (*.f64 -2 b) (/.f64 1/2 a))
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)))))))
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))
46.4b
(/.f64 (exp.f64 (log.f64 (-.f64 (hypot.f64 (*.f64 (sqrt.f64 c) (sqrt.f64 (*.f64 a -4))) b) b))) (*.f64 2 a))
Compiler

Compiled 5261 to 3458 computations (34.3% saved)

regimes3.2s (25.2%)

Accuracy

Total 7.2b remaining (69.2%)

Threshold costs 0b (0%)

Counts
152 → 3
Compiler

Compiled 12812 to 9194 computations (28.2% saved)

bsearch96.0ms (0.8%)

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)

simplify8.0ms (0.1%)

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

Useful iterations: 1 (0.0ms)

IterNodesCost
02650
14648
26948
38048
48548
58648
68548

end1.0ms (0%)

Compiler

Compiled 35 to 23 computations (34.3% saved)

sample3.1s (24.8%)

Algorithm
intervals
Results
717.0ms1171×body2048valid
658.0ms5162×body128valid
433.0ms768×body1024valid
304.0ms397×body4096valid
121.0ms327×body512valid
80.0ms672×body128nan
51.0ms404×body128invalid
43.0ms175×body256valid
Compiler

Compiled 197 to 143 computations (27.4% saved)

Profiling

Loading profile data...