Details

Time bar (total: 8.7s)

analyze375.0ms (4.3%)

Algorithm
search
Search
TrueOtherFalseIter
0%0%100%0
0%0%100%1
0%0%100%2
0%0%100%3
0%0%100%4
0%0%100%5
0%0%100%6
0%0%100%7
0%0%100%8
0%0%100%9
0%0%100%10
0%0%100%11
0%0%100%12
0%0%100%13
0%0%100%14
Compiler

Compiled 43 to 31 computations (27.9% saved)

sample136.0ms (1.6%)

Algorithm
intervals
Results
17.0ms120×body256valid
11.0ms270×pre128true
9.0ms46×body512valid
6.0ms90×body128valid
1.0ms14×body128nan
Compiler

Compiled 66 to 48 computations (27.3% saved)

simplify259.0ms (3%)

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

prune4.0ms (0%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
54.1b
Counts
3 → 2
Alt Table
StatusErrorProgram
54.1b
(/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a))
54.1b
(*.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)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))
0.1b
(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))
27.1b
(-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)

series498.0ms (5.7%)

Counts
4 → 96
Calls

4 calls:

383.0ms
(*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a))
57.0ms
(-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)
47.0ms
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))
11.0ms
(fma.f64 a (*.f64 c -4) (*.f64 b b))

rewrite22.0ms (0.2%)

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:

9.0ms
(*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a))
4.0ms
(-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b 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))

simplify195.0ms (2.2%)

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 → 226
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02675424
16734468
225244293
345504293
449914293
549944293
648844293

prune176.0ms (2%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New2215226
Fresh101
Picked101
Done000
Total2235228
Error
0.0b
Counts
228 → 5
Alt Table
StatusErrorProgram
54.1b
(/.f64 (*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) 1/2) a)
0.4b
(/.f64 (*.f64 (+.f64 (*.f64 c (*.f64 a -4)) 0) (/.f64 1/2 a)) (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b))
1.3b
(neg.f64 (fma.f64 2 (/.f64 (*.f64 (*.f64 a a) (pow.f64 c 3)) (pow.f64 b 5)) (fma.f64 5 (/.f64 (*.f64 (pow.f64 a 3) (pow.f64 c 4)) (pow.f64 b 7)) (+.f64 (/.f64 c b) (/.f64 (*.f64 c (*.f64 c a)) (pow.f64 b 3))))))
1.7b
(*.f64 (-.f64 (*.f64 -2 (+.f64 (/.f64 (*.f64 c a) b) (/.f64 (*.f64 (*.f64 c a) (*.f64 c a)) (pow.f64 b 3)))) (fma.f64 4 (/.f64 (*.f64 (pow.f64 c 3) (pow.f64 a 3)) (pow.f64 b 5)) (*.f64 10 (/.f64 (*.f64 (pow.f64 c 4) (pow.f64 a 4)) (pow.f64 b 7))))) (/.f64 1/2 a))
53.5b
(*.f64 (+.f64 (fma.f64 (sqrt.f64 (*.f64 (cbrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) (cbrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) (sqrt.f64 (cbrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (neg.f64 (*.f64 (sqrt.f64 b) (sqrt.f64 b)))) (fma.f64 (neg.f64 (sqrt.f64 b)) (sqrt.f64 b) (*.f64 (sqrt.f64 b) (sqrt.f64 b)))) (/.f64 1/2 a))
Compiler

Compiled 6273 to 3638 computations (42% saved)

localize16.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 (*.f64 (+.f64 (*.f64 c (*.f64 a -4)) 0) (/.f64 1/2 a)) (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b))
0.1b
(fma.f64 a (*.f64 c -4) (*.f64 b b))
0.1b
(+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)
0.3b
(*.f64 (+.f64 (*.f64 c (*.f64 a -4)) 0) (/.f64 1/2 a))

series344.0ms (3.9%)

Counts
3 → 64
Calls

3 calls:

286.0ms
(/.f64 (*.f64 (+.f64 (*.f64 c (*.f64 a -4)) 0) (/.f64 1/2 a)) (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b))
54.0ms
(+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)
3.0ms
(*.f64 (+.f64 (*.f64 c (*.f64 a -4)) 0) (/.f64 1/2 a))

rewrite31.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
21×*-un-lft-identity_binary64
20×add-sqr-sqrt_binary64
17×add-cbrt-cube_binary64
17×add-exp-log_binary64
15×add-cube-cbrt_binary64
Counts
3 → 92
Calls

3 calls:

11.0ms
(/.f64 (*.f64 (+.f64 (*.f64 c (*.f64 a -4)) 0) (/.f64 1/2 a)) (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b))
9.0ms
(*.f64 (+.f64 (*.f64 c (*.f64 a -4)) 0) (/.f64 1/2 a))
3.0ms
(+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)

simplify144.0ms (1.6%)

Algorithm
egg-herbie
Rules
616×fma-neg_binary64
248×associate-*l*_binary64
225×associate-/l*_binary64
220×associate-*r*_binary64
176×div-sub_binary64
Counts
156 → 196
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02503787
17083244
231323157
346133157
449323157

prune205.0ms (2.3%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New2096215
Fresh224
Picked101
Done000
Total2128220
Error
0b
Counts
220 → 8
Alt Table
StatusErrorProgram
0.6b
(/.f64 (/.f64 (*.f64 (+.f64 (*.f64 c (*.f64 a -4)) 0) (/.f64 1/2 a)) (sqrt.f64 (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b))) (sqrt.f64 (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)))
54.1b
(/.f64 (*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) 1/2) a)
0.7b
(/.f64 (*.f64 (/.f64 c (/.f64 (sqrt.f64 a) (*.f64 a -4))) (/.f64 1/2 (sqrt.f64 a))) (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b))
0.6b
(/.f64 (*.f64 (*.f64 c (*.f64 (*.f64 a -4) (sqrt.f64 (/.f64 1/2 a)))) (sqrt.f64 (/.f64 1/2 a))) (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b))
1.3b
(neg.f64 (fma.f64 2 (/.f64 (*.f64 (*.f64 a a) (pow.f64 c 3)) (pow.f64 b 5)) (fma.f64 5 (/.f64 (*.f64 (pow.f64 a 3) (pow.f64 c 4)) (pow.f64 b 7)) (+.f64 (/.f64 c b) (/.f64 (*.f64 c (*.f64 c a)) (pow.f64 b 3))))))
0.5b
(/.f64 (+.f64 (*.f64 c (*.f64 a -4)) 0) (/.f64 (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a)))
0.5b
(/.f64 (*.f64 (-.f64 (*.f64 (*.f64 c (*.f64 a -4)) (*.f64 c (*.f64 a -4))) (*.f64 0 0)) 1/2) (*.f64 (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (*.f64 (-.f64 (*.f64 c (*.f64 a -4)) 0) a)))
1.5b
(/.f64 (*.f64 (*.f64 (cbrt.f64 (+.f64 (*.f64 c (*.f64 a -4)) 0)) (cbrt.f64 (+.f64 (*.f64 c (*.f64 a -4)) 0))) (*.f64 (/.f64 1/2 a) (cbrt.f64 (*.f64 c (*.f64 a -4))))) (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b))
Compiler

Compiled 7342 to 4632 computations (36.9% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 a (*.f64 c -4) (*.f64 b b))
0.1b
(+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)
0.3b
(/.f64 (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a))
0.4b
(/.f64 (+.f64 (*.f64 c (*.f64 a -4)) 0) (/.f64 (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a)))

series384.0ms (4.4%)

Counts
2 → 40
Calls

2 calls:

293.0ms
(/.f64 (+.f64 (*.f64 c (*.f64 a -4)) 0) (/.f64 (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a)))
91.0ms
(/.f64 (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a))

rewrite95.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
620×times-frac_binary64
409×*-un-lft-identity_binary64
277×add-sqr-sqrt_binary64
277×add-cube-cbrt_binary64
70×associate-/r*_binary64
Counts
2 → 340
Calls

2 calls:

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

simplify404.0ms (4.6%)

Algorithm
egg-herbie
Rules
624×associate-/r/_binary64
461×associate-/l*_binary64
403×associate-*l/_binary64
403×associate-/l/_binary64
355×fma-neg_binary64
Counts
380 → 558
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
057319325
1141318727
2497018727
3531418727

prune729.0ms (8.3%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New6252627
Fresh437
Picked011
Done000
Total6296635
Error
0b
Counts
635 → 6
Alt Table
StatusErrorProgram
0.6b
(/.f64 (*.f64 (*.f64 c (*.f64 (*.f64 a -4) (sqrt.f64 (/.f64 1/2 a)))) (sqrt.f64 (/.f64 1/2 a))) (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b))
1.3b
(neg.f64 (fma.f64 2 (/.f64 (*.f64 (*.f64 a a) (pow.f64 c 3)) (pow.f64 b 5)) (fma.f64 5 (/.f64 (*.f64 (pow.f64 a 3) (pow.f64 c 4)) (pow.f64 b 7)) (+.f64 (/.f64 c b) (/.f64 (*.f64 c (*.f64 c a)) (pow.f64 b 3))))))
0.3b
(*.f64 (/.f64 1/2 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) (/.f64 c (/.f64 a (*.f64 a -4))))
0.5b
(/.f64 (*.f64 (-.f64 (*.f64 (*.f64 c (*.f64 a -4)) (*.f64 c (*.f64 a -4))) (*.f64 0 0)) 1/2) (*.f64 (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (*.f64 (-.f64 (*.f64 c (*.f64 a -4)) 0) a)))
0.5b
(/.f64 (+.f64 (*.f64 c (*.f64 a -4)) 0) (/.f64 (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a)))
0.6b
(*.f64 (/.f64 1/2 (sqrt.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))) (*.f64 (/.f64 c (sqrt.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))) (/.f64 (*.f64 a -4) a)))
Compiler

Compiled 27149 to 16911 computations (37.7% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 1/2 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))
0.1b
(fma.f64 a (*.f64 c -4) (*.f64 b b))
0.1b
(+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))
0.3b
(*.f64 (/.f64 1/2 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) (/.f64 c (/.f64 a (*.f64 a -4))))

series565.0ms (6.5%)

Counts
3 → 60
Calls

3 calls:

291.0ms
(*.f64 (/.f64 1/2 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) (/.f64 c (/.f64 a (*.f64 a -4))))
218.0ms
(/.f64 1/2 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))
55.0ms
(+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))

rewrite40.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
58×times-frac_binary64
51×*-un-lft-identity_binary64
47×add-sqr-sqrt_binary64
37×add-cbrt-cube_binary64
37×add-exp-log_binary64
Counts
3 → 130
Calls

3 calls:

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

simplify184.0ms (2.1%)

Algorithm
egg-herbie
Rules
578×fma-def_binary64
268×associate-/l*_binary64
251×associate-*r/_binary64
230×associate-*r*_binary64
218×*-commutative_binary64
Counts
190 → 278
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03476493
110305244
238525056
346855056
449605056
548685056

prune262.0ms (3%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New2961297
Fresh134
Picked011
Done011
Total2976303
Error
0b
Counts
303 → 6
Alt Table
StatusErrorProgram
0.3b
(*.f64 (/.f64 1/2 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) (/.f64 c (/.f64 a (*.f64 a -4))))
0.5b
(/.f64 (*.f64 (-.f64 (*.f64 (*.f64 c (*.f64 a -4)) (*.f64 c (*.f64 a -4))) (*.f64 0 0)) 1/2) (*.f64 (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (*.f64 (-.f64 (*.f64 c (*.f64 a -4)) 0) a)))
0.5b
(/.f64 (+.f64 (*.f64 c (*.f64 a -4)) 0) (/.f64 (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a)))
0.6b
(/.f64 (*.f64 (*.f64 c (*.f64 (*.f64 a -4) (sqrt.f64 (/.f64 1/2 a)))) (sqrt.f64 (/.f64 1/2 a))) (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b))
1.3b
(-.f64 (*.f64 -2 (/.f64 (*.f64 (pow.f64 c 3) (*.f64 a a)) (pow.f64 b 5))) (fma.f64 5 (/.f64 (*.f64 (pow.f64 c 4) (pow.f64 a 3)) (pow.f64 b 7)) (fma.f64 (/.f64 (*.f64 c c) (pow.f64 b 3)) a (/.f64 c b))))
0.6b
(*.f64 (/.f64 1/2 (sqrt.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))) (*.f64 (/.f64 c (sqrt.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))) (/.f64 (*.f64 a -4) a)))
Compiler

Compiled 9560 to 5858 computations (38.7% saved)

regimes1.7s (19.4%)

Accuracy

Total 0.1b remaining (88.1%)

Threshold costs 0.1b (88.1%)

Counts
323 → 1
Compiler

Compiled 41160 to 28438 computations (30.9% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01322
11522
21522

end1.0ms (0%)

Compiler

Compiled 18 to 12 computations (33.3% saved)

sample1.9s (22.2%)

Algorithm
intervals
Results
503.0ms3758×body256valid
356.0ms8847×pre128true
295.0ms1515×body512valid
206.0ms2727×body128valid
54.0ms847×body128nan
Compiler

Compiled 266 to 184 computations (30.8% saved)

Profiling

Loading profile data...