Details

Time bar (total: 5.8s)

analyze355.0ms (6.1%)

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)

sample2.7s (46.2%)

Results
1.1s3871×body256valid
836.0ms1539×body512valid
432.0ms2846×body128valid
189.0ms855×body128invalid
Compiler

Compiled 106 to 76 computations (28.3% saved)

simplify260.0ms (4.5%)

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.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

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

localize10.0ms (0.2%)

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

series126.0ms (2.2%)

Counts
4 → 96
Calls

4 calls:

53.0ms
(*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a))
35.0ms
(-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)
27.0ms
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))
10.0ms
(fma.f64 a (*.f64 c -4) (*.f64 b b))

rewrite79.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
781×prod-diff_binary64
244×log1p-udef_binary64
165×egg-rr
138×add-sqr-sqrt_binary64
132×log1p-expm1-u_binary64
Counts
4 → 165
Calls

4 calls:

75.0ms
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))
75.0ms
(fma.f64 a (*.f64 c -4) (*.f64 b b))
75.0ms
(*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a))
75.0ms
(-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01362
127962
2338562
3510262

simplify84.0ms (1.4%)

Algorithm
egg-herbie
Rules
742×times-frac_binary64
467×associate-/l*_binary64
436×fma-def_binary64
432×fma-neg_binary64
426×associate-/r*_binary64
Counts
261 → 237
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01212241
13982164
213272078
349542078
452182078

prune152.0ms (2.6%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New2316237
Fresh101
Picked011
Done000
Total2327239
Error
0.2b
Counts
239 → 7
Alt Table
StatusErrorProgram
52.1b
(+.f64 (*.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) (/.f64 1/2 a)) (*.f64 (neg.f64 b) (/.f64 1/2 a)))
1.4b
(-.f64 (*.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)) (fma.f64 (/.f64 (*.f64 c c) (pow.f64 b 3)) a (/.f64 c b))))
51.3b
(*.f64 (*.f64 (-.f64 (pow.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)) 3/2) (pow.f64 b 3)) (/.f64 1 (+.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)) (*.f64 b (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))))) (/.f64 1/2 a))
52.0b
(*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a))
1.8b
(*.f64 (neg.f64 (+.f64 (*.f64 2 (/.f64 (*.f64 c a) b)) (+.f64 (*.f64 2 (/.f64 (*.f64 (pow.f64 c 2) (pow.f64 a 2)) (pow.f64 b 3))) (+.f64 (*.f64 10 (/.f64 (*.f64 (pow.f64 c 4) (pow.f64 a 4)) (pow.f64 b 7))) (*.f64 4 (/.f64 (*.f64 (pow.f64 c 3) (pow.f64 a 3)) (pow.f64 b 5))))))) (/.f64 1/2 a))
51.1b
(*.f64 (+.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (fma.f64 (neg.f64 (sqrt.f64 b)) (sqrt.f64 b) b)) (/.f64 1/2 a))
51.6b
(*.f64 (/.f64 (-.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)) (*.f64 b b)) (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) (/.f64 1/2 a))
Compiler

Compiled 6583 to 3851 computations (41.5% saved)

localize24.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(/.f64 (*.f64 c c) (pow.f64 b 3))
0.3b
(*.f64 (*.f64 a a) (pow.f64 c 3))
0.3b
(/.f64 (*.f64 (*.f64 a a) (pow.f64 c 3)) (pow.f64 b 5))
0.4b
(*.f64 (pow.f64 a 3) (pow.f64 c 4))

series147.0ms (2.5%)

Counts
4 → 108
Calls

4 calls:

83.0ms
(/.f64 (*.f64 (*.f64 a a) (pow.f64 c 3)) (pow.f64 b 5))
34.0ms
(/.f64 (*.f64 c c) (pow.f64 b 3))
16.0ms
(*.f64 (pow.f64 a 3) (pow.f64 c 4))
13.0ms
(*.f64 (*.f64 a a) (pow.f64 c 3))

rewrite71.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
295×log1p-udef_binary64
173×add-sqr-sqrt_binary64
173×log1p-expm1-u_binary64
173×expm1-log1p-u_binary64
168×add-cbrt-cube_binary64
Counts
4 → 115
Calls

4 calls:

69.0ms
(/.f64 (*.f64 c c) (pow.f64 b 3))
69.0ms
(*.f64 (*.f64 a a) (pow.f64 c 3))
69.0ms
(/.f64 (*.f64 (*.f64 a a) (pow.f64 c 3)) (pow.f64 b 5))
69.0ms
(*.f64 (pow.f64 a 3) (pow.f64 c 4))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01846
138946
2434746
3491646

simplify122.0ms (2.1%)

Algorithm
egg-herbie
Rules
688×times-frac_binary64
593×associate-*l*_binary64
500×associate-*r*_binary64
483×associate-/l*_binary64
400×sqr-pow_binary64
Counts
223 → 122
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0191296
1521296
21521296
36021296
438241296
538991296
640811296
744041296
847411296
949941296

prune172.0ms (3%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1220122
Fresh055
Picked011
Done011
Total1227129
Error
0.2b
Counts
129 → 7
Alt Table
StatusErrorProgram
52.1b
(+.f64 (*.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) (/.f64 1/2 a)) (*.f64 (neg.f64 b) (/.f64 1/2 a)))
1.4b
(-.f64 (*.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)) (fma.f64 (/.f64 (*.f64 c c) (pow.f64 b 3)) a (/.f64 c b))))
51.3b
(*.f64 (*.f64 (-.f64 (pow.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)) 3/2) (pow.f64 b 3)) (/.f64 1 (+.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)) (*.f64 b (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))))) (/.f64 1/2 a))
52.0b
(*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a))
1.8b
(*.f64 (neg.f64 (+.f64 (*.f64 2 (/.f64 (*.f64 c a) b)) (+.f64 (*.f64 2 (/.f64 (*.f64 (pow.f64 c 2) (pow.f64 a 2)) (pow.f64 b 3))) (+.f64 (*.f64 10 (/.f64 (*.f64 (pow.f64 c 4) (pow.f64 a 4)) (pow.f64 b 7))) (*.f64 4 (/.f64 (*.f64 (pow.f64 c 3) (pow.f64 a 3)) (pow.f64 b 5))))))) (/.f64 1/2 a))
51.1b
(*.f64 (+.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (fma.f64 (neg.f64 (sqrt.f64 b)) (sqrt.f64 b) b)) (/.f64 1/2 a))
51.6b
(*.f64 (/.f64 (-.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)) (*.f64 b b)) (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) (/.f64 1/2 a))
Compiler

Compiled 5594 to 3490 computations (37.6% saved)

localize34.0ms (0.6%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(*.f64 (pow.f64 c 2) (pow.f64 a 2))
0.4b
(/.f64 (*.f64 (pow.f64 c 3) (pow.f64 a 3)) (pow.f64 b 5))
0.4b
(*.f64 (neg.f64 (+.f64 (*.f64 2 (/.f64 (*.f64 c a) b)) (+.f64 (*.f64 2 (/.f64 (*.f64 (pow.f64 c 2) (pow.f64 a 2)) (pow.f64 b 3))) (+.f64 (*.f64 10 (/.f64 (*.f64 (pow.f64 c 4) (pow.f64 a 4)) (pow.f64 b 7))) (*.f64 4 (/.f64 (*.f64 (pow.f64 c 3) (pow.f64 a 3)) (pow.f64 b 5))))))) (/.f64 1/2 a))
0.4b
(*.f64 (pow.f64 c 4) (pow.f64 a 4))

series230.0ms (4%)

Counts
4 → 36
Calls

4 calls:

108.0ms
(/.f64 (*.f64 (pow.f64 c 3) (pow.f64 a 3)) (pow.f64 b 5))
93.0ms
(*.f64 (neg.f64 (+.f64 (*.f64 2 (/.f64 (*.f64 c a) b)) (+.f64 (*.f64 2 (/.f64 (*.f64 (pow.f64 c 2) (pow.f64 a 2)) (pow.f64 b 3))) (+.f64 (*.f64 10 (/.f64 (*.f64 (pow.f64 c 4) (pow.f64 a 4)) (pow.f64 b 7))) (*.f64 4 (/.f64 (*.f64 (pow.f64 c 3) (pow.f64 a 3)) (pow.f64 b 5))))))) (/.f64 1/2 a))
19.0ms
(*.f64 (pow.f64 c 4) (pow.f64 a 4))
10.0ms
(*.f64 (pow.f64 c 2) (pow.f64 a 2))

rewrite72.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
731×log1p-udef_binary64
405×log1p-expm1-u_binary64
405×expm1-log1p-u_binary64
381×add-log-exp_binary64
370×pow1_binary64
Counts
4 → 62
Calls

4 calls:

71.0ms
(*.f64 (pow.f64 c 2) (pow.f64 a 2))
71.0ms
(/.f64 (*.f64 (pow.f64 c 3) (pow.f64 a 3)) (pow.f64 b 5))
71.0ms
(*.f64 (neg.f64 (+.f64 (*.f64 2 (/.f64 (*.f64 c a) b)) (+.f64 (*.f64 2 (/.f64 (*.f64 (pow.f64 c 2) (pow.f64 a 2)) (pow.f64 b 3))) (+.f64 (*.f64 10 (/.f64 (*.f64 (pow.f64 c 4) (pow.f64 a 4)) (pow.f64 b 7))) (*.f64 4 (/.f64 (*.f64 (pow.f64 c 3) (pow.f64 a 3)) (pow.f64 b 5))))))) (/.f64 1/2 a))
70.0ms
(*.f64 (pow.f64 c 4) (pow.f64 a 4))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03893
188293
2482093
3608193

simplify52.0ms (0.9%)

Algorithm
egg-herbie
Rules
888×fma-neg_binary64
415×associate-/l/_binary64
340×distribute-rgt-neg-in_binary64
337×distribute-lft-neg-in_binary64
285×unswap-sqr_binary64
Counts
98 → 76
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0421359
11361359
24511315
322571296
450151296

prune109.0ms (1.9%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New73376
Fresh044
Picked101
Done022
Total74983
Error
0.2b
Counts
83 → 9
Alt Table
StatusErrorProgram
51.1b
(*.f64 (+.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (fma.f64 (neg.f64 (sqrt.f64 b)) (sqrt.f64 b) b)) (/.f64 1/2 a))
3.2b
(*.f64 c (-.f64 (/.f64 -1 b) (/.f64 c (/.f64 (pow.f64 b 3) a))))
52.1b
(+.f64 (*.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) (/.f64 1/2 a)) (*.f64 (neg.f64 b) (/.f64 1/2 a)))
1.4b
(-.f64 (*.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)) (fma.f64 (/.f64 (*.f64 c c) (pow.f64 b 3)) a (/.f64 c b))))
51.3b
(*.f64 (*.f64 (-.f64 (pow.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)) 3/2) (pow.f64 b 3)) (/.f64 1 (+.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)) (*.f64 b (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))))) (/.f64 1/2 a))
52.0b
(*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a))
2.0b
(cbrt.f64 (pow.f64 (*.f64 (neg.f64 (fma.f64 2 (/.f64 (*.f64 c a) b) (fma.f64 2 (/.f64 (pow.f64 (*.f64 c a) 2) (pow.f64 b 3)) (fma.f64 4 (/.f64 (pow.f64 (*.f64 c a) 3) (pow.f64 b 5)) (*.f64 10 (/.f64 (pow.f64 (*.f64 c a) 4) (pow.f64 b 7))))))) (/.f64 1/2 a)) 3))
1.7b
(/.f64 (*.f64 (neg.f64 (fma.f64 2 (/.f64 (*.f64 c a) b) (fma.f64 2 (/.f64 (pow.f64 (*.f64 c a) 2) (pow.f64 b 3)) (fma.f64 4 (/.f64 (pow.f64 (*.f64 c a) 3) (pow.f64 b 5)) (*.f64 10 (/.f64 (pow.f64 (*.f64 c a) 4) (pow.f64 b 7))))))) 1/2) a)
51.6b
(*.f64 (/.f64 (-.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)) (*.f64 b b)) (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) (/.f64 1/2 a))
Compiler

Compiled 4179 to 2841 computations (32% saved)

localize25.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.4b
(/.f64 (pow.f64 (*.f64 c a) 3) (pow.f64 b 5))
0.5b
(pow.f64 (*.f64 c a) 2)
0.7b
(pow.f64 (*.f64 c a) 3)
0.9b
(pow.f64 (*.f64 c a) 4)

series116.0ms (2%)

Counts
4 → 108
Calls

4 calls:

83.0ms
(/.f64 (pow.f64 (*.f64 c a) 3) (pow.f64 b 5))
15.0ms
(pow.f64 (*.f64 c a) 4)
12.0ms
(pow.f64 (*.f64 c a) 3)
7.0ms
(pow.f64 (*.f64 c a) 2)

rewrite66.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
628×log-prod_binary64
224×expm1-udef_binary64
224×log1p-udef_binary64
207×log-pow_binary64
138×log1p-expm1-u_binary64
Counts
4 → 133
Calls

4 calls:

63.0ms
(/.f64 (pow.f64 (*.f64 c a) 3) (pow.f64 b 5))
63.0ms
(pow.f64 (*.f64 c a) 2)
63.0ms
(pow.f64 (*.f64 c a) 3)
63.0ms
(pow.f64 (*.f64 c a) 4)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01434
130734
2308534
3510534

simplify113.0ms (2%)

Algorithm
egg-herbie
Rules
1529×associate-*l/_binary64
736×associate-/l*_binary64
398×associate-/r*_binary64
327×unswap-sqr_binary64
290×sqr-pow_binary64
Counts
241 → 139
Iterations

Useful iterations: 6 (0.0ms)

IterNodesCost
0191296
1491296
21521296
37281296
431121044
531851044
63301972
73459972
83606972
93787972
105743972

prune206.0ms (3.6%)

Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New1390139
Fresh066
Picked011
Done022
Total1399148
Error
0.2b
Counts
148 → 9
Alt Table
StatusErrorProgram
51.1b
(*.f64 (+.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (fma.f64 (neg.f64 (sqrt.f64 b)) (sqrt.f64 b) b)) (/.f64 1/2 a))
3.2b
(*.f64 c (-.f64 (/.f64 -1 b) (/.f64 c (/.f64 (pow.f64 b 3) a))))
52.1b
(+.f64 (*.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) (/.f64 1/2 a)) (*.f64 (neg.f64 b) (/.f64 1/2 a)))
1.4b
(-.f64 (*.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)) (fma.f64 (/.f64 (*.f64 c c) (pow.f64 b 3)) a (/.f64 c b))))
51.3b
(*.f64 (*.f64 (-.f64 (pow.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)) 3/2) (pow.f64 b 3)) (/.f64 1 (+.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)) (*.f64 b (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))))) (/.f64 1/2 a))
52.0b
(*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a))
2.0b
(cbrt.f64 (pow.f64 (*.f64 (neg.f64 (fma.f64 2 (/.f64 (*.f64 c a) b) (fma.f64 2 (/.f64 (pow.f64 (*.f64 c a) 2) (pow.f64 b 3)) (fma.f64 4 (/.f64 (pow.f64 (*.f64 c a) 3) (pow.f64 b 5)) (*.f64 10 (/.f64 (pow.f64 (*.f64 c a) 4) (pow.f64 b 7))))))) (/.f64 1/2 a)) 3))
1.7b
(/.f64 (*.f64 (neg.f64 (fma.f64 2 (/.f64 (*.f64 c a) b) (fma.f64 2 (/.f64 (pow.f64 (*.f64 c a) 2) (pow.f64 b 3)) (fma.f64 4 (/.f64 (pow.f64 (*.f64 c a) 3) (pow.f64 b 5)) (*.f64 10 (/.f64 (pow.f64 (*.f64 c a) 4) (pow.f64 b 7))))))) 1/2) a)
51.6b
(*.f64 (/.f64 (-.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)) (*.f64 b b)) (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) (/.f64 1/2 a))
Compiler

Compiled 7282 to 4411 computations (39.4% saved)

regimes278.0ms (4.8%)

Accuracy

Total 1.3b remaining (88.2%)

Threshold costs 0b (0%)

Counts
53 → 1
Compiler

Compiled 7556 to 5006 computations (33.7% saved)

simplify4.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
02856
13556
24556
35856
46456
56756
66856
76756

end208.0ms (3.6%)

Compiler

Compiled 383 to 252 computations (34.2% saved)

Profiling

Loading profile data...