Details

Time bar (total: 5.6s)

analyze371.0ms (6.6%)

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)

sample1.9s (33.4%)

Results
842.0ms3025×body256valid
803.0ms5230×body128valid
133.0ms918×body128invalid
0.0msbody512valid
Compiler

Compiled 106 to 76 computations (28.3% saved)

simplify257.0ms (4.6%)

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
43.8b
Counts
3 → 2
Alt Table
StatusErrorProgram
43.9b
(*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a))
43.8b
(/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a))
Compiler

Compiled 111 to 74 computations (33.3% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
0.2b
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
0.2b
(/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a))
38.4b
(+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))

series129.0ms (2.3%)

Counts
4 → 96
Calls

4 calls:

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

rewrite116.0ms (2.1%)

Algorithm
batch-egg-rewrite
Rules
278×expm1-udef_binary64
278×log1p-udef_binary64
166×add-sqr-sqrt_binary64
162×log1p-expm1-u_binary64
162×expm1-log1p-u_binary64
Counts
4 → 158
Calls

4 calls:

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

Useful iterations: 1 (0.0ms)

IterNodesCost
01574
133762
2415862
3498762
4485062

simplify81.0ms (1.5%)

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
254 → 230
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01212241
13982164
213272078
349542078
452182078

prune148.0ms (2.6%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New2246230
Fresh011
Picked101
Done000
Total2257232
Error
0.4b
Counts
232 → 7
Alt Table
StatusErrorProgram
11.9b
(neg.f64 (/.f64 c b))
3.2b
(/.f64 (-.f64 (*.f64 -2 (fma.f64 (/.f64 c b) a (/.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 2 a))
3.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 2 a))
43.9b
(*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a))
43.8b
(/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (+.f64 (fma.f64 b b (*.f64 -4 (*.f64 a c))) (fma.f64 (*.f64 a -4) c (*.f64 (*.f64 4 a) c))))) (*.f64 2 a))
43.0b
(/.f64 (/.f64 (-.f64 (fma.f64 b b (*.f64 -4 (*.f64 a c))) (*.f64 b b)) (+.f64 b (sqrt.f64 (fma.f64 b b (*.f64 -4 (*.f64 a c)))))) (*.f64 2 a))
3.2b
(-.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))))
Compiler

Compiled 6189 to 3663 computations (40.8% saved)

localize25.0ms (0.4%)

Local error

Found 4 expressions with local error:

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

series218.0ms (3.9%)

Counts
4 → 120
Calls

4 calls:

93.0ms
(/.f64 (*.f64 (pow.f64 a 3) (pow.f64 c 4)) (pow.f64 b 7))
81.0ms
(/.f64 (*.f64 (*.f64 a a) (pow.f64 c 3)) (pow.f64 b 5))
30.0ms
(/.f64 (*.f64 c c) (pow.f64 b 3))
13.0ms
(*.f64 (*.f64 a a) (pow.f64 c 3))

rewrite70.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
357×log1p-udef_binary64
209×add-sqr-sqrt_binary64
208×log1p-expm1-u_binary64
208×expm1-log1p-u_binary64
202×add-cbrt-cube_binary64
Counts
4 → 115
Calls

4 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02152
146352
2454852
3531552

simplify115.0ms (2.1%)

Algorithm
egg-herbie
Rules
654×associate-*l*_binary64
586×associate-/r*_binary64
571×associate-*r*_binary64
296×sqr-pow_binary64
268×associate-/l/_binary64
Counts
235 → 121
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0221632
1611632
21911632
38851632
441361632
542261632
644251632
747601632
850071632

prune186.0ms (3.3%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1210121
Fresh066
Picked011
Done000
Total1217128
Error
0.4b
Counts
128 → 7
Alt Table
StatusErrorProgram
11.9b
(neg.f64 (/.f64 c b))
3.2b
(/.f64 (-.f64 (*.f64 -2 (fma.f64 (/.f64 c b) a (/.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 2 a))
3.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 2 a))
43.9b
(*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a))
43.8b
(/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (+.f64 (fma.f64 b b (*.f64 -4 (*.f64 a c))) (fma.f64 (*.f64 a -4) c (*.f64 (*.f64 4 a) c))))) (*.f64 2 a))
43.0b
(/.f64 (/.f64 (-.f64 (fma.f64 b b (*.f64 -4 (*.f64 a c))) (*.f64 b b)) (+.f64 b (sqrt.f64 (fma.f64 b b (*.f64 -4 (*.f64 a c)))))) (*.f64 2 a))
3.2b
(-.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))))
Compiler

Compiled 5629 to 3511 computations (37.6% saved)

localize28.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.4b
(/.f64 (*.f64 (pow.f64 c 4) (pow.f64 a 4)) (pow.f64 b 7))
0.4b
(*.f64 (pow.f64 c 4) (pow.f64 a 4))
0.4b
(/.f64 (*.f64 (*.f64 c a) (*.f64 c a)) (pow.f64 b 3))
0.5b
(*.f64 (*.f64 c a) (*.f64 c a))

series195.0ms (3.5%)

Counts
4 → 60
Calls

4 calls:

98.0ms
(/.f64 (*.f64 (pow.f64 c 4) (pow.f64 a 4)) (pow.f64 b 7))
67.0ms
(/.f64 (*.f64 (*.f64 c a) (*.f64 c a)) (pow.f64 b 3))
19.0ms
(*.f64 (pow.f64 c 4) (pow.f64 a 4))
11.0ms
(*.f64 (*.f64 c a) (*.f64 c a))

rewrite107.0ms (1.9%)

Algorithm
batch-egg-rewrite
Rules
281×log1p-udef_binary64
280×expm1-udef_binary64
163×add-sqr-sqrt_binary64
163×log1p-expm1-u_binary64
163×expm1-log1p-u_binary64
Counts
4 → 131
Calls

4 calls:

104.0ms
(/.f64 (*.f64 (pow.f64 c 4) (pow.f64 a 4)) (pow.f64 b 7))
104.0ms
(*.f64 (pow.f64 c 4) (pow.f64 a 4))
104.0ms
(/.f64 (*.f64 (*.f64 c a) (*.f64 c a)) (pow.f64 b 3))
104.0ms
(*.f64 (*.f64 c a) (*.f64 c a))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01640
135740
2422340
3499340
4517240

simplify158.0ms (2.8%)

Algorithm
egg-herbie
Rules
620×times-frac_binary64
581×sqr-pow_binary64
507×unswap-sqr_binary64
460×associate-/l*_binary64
246×associate-/r*_binary64
Counts
191 → 135
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
011816
129816
288816
3390816
42482816
53415816
63369816
73508816
83672816
93838816
103998816
114170816
124395816
134601816
144900816
154892816

prune227.0ms (4%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1350135
Fresh055
Picked011
Done011
Total1357142
Error
0.4b
Counts
142 → 7
Alt Table
StatusErrorProgram
11.9b
(neg.f64 (/.f64 c b))
3.2b
(/.f64 (-.f64 (*.f64 -2 (fma.f64 (/.f64 c b) a (/.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 2 a))
3.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 2 a))
43.9b
(*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a))
43.8b
(/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (+.f64 (fma.f64 b b (*.f64 -4 (*.f64 a c))) (fma.f64 (*.f64 a -4) c (*.f64 (*.f64 4 a) c))))) (*.f64 2 a))
43.0b
(/.f64 (/.f64 (-.f64 (fma.f64 b b (*.f64 -4 (*.f64 a c))) (*.f64 b b)) (+.f64 b (sqrt.f64 (fma.f64 b b (*.f64 -4 (*.f64 a c)))))) (*.f64 2 a))
3.2b
(-.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))))
Compiler

Compiled 7258 to 4635 computations (36.1% saved)

localize34.0ms (0.6%)

Local error

Found 4 expressions with local error:

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

series156.0ms (2.8%)

Counts
2 → 0
Calls

2 calls:

87.0ms
(/.f64 (*.f64 (pow.f64 c 3) (pow.f64 a 3)) (pow.f64 b 5))
69.0ms
(/.f64 (*.f64 (pow.f64 c 2) (pow.f64 a 2)) (pow.f64 b 3))

rewrite68.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
278×expm1-udef_binary64
278×log1p-udef_binary64
167×add-sqr-sqrt_binary64
166×log1p-expm1-u_binary64
166×expm1-log1p-u_binary64
Counts
2 → 93
Calls

2 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01726
137426
2413226
3507926

simplify7.0ms (0.1%)

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
100

prune285.0ms (5.1%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New1531154
Fresh044
Picked011
Done022
Total1538161
Error
0.4b
Counts
161 → 8
Alt Table
StatusErrorProgram
43.0b
(/.f64 (/.f64 (-.f64 (fma.f64 b b (*.f64 -4 (*.f64 a c))) (*.f64 b b)) (+.f64 b (sqrt.f64 (fma.f64 b b (*.f64 -4 (*.f64 a c)))))) (*.f64 2 a))
4.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 (log.f64 (exp.f64 (/.f64 (pow.f64 (*.f64 c a) 3) (pow.f64 b 5))))))))) (*.f64 2 a))
11.9b
(neg.f64 (/.f64 c b))
3.2b
(/.f64 (-.f64 (*.f64 -2 (fma.f64 (/.f64 c b) a (/.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 2 a))
3.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 2 a))
43.9b
(*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a))
43.8b
(/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (+.f64 (fma.f64 b b (*.f64 -4 (*.f64 a c))) (fma.f64 (*.f64 a -4) c (*.f64 (*.f64 4 a) c))))) (*.f64 2 a))
3.2b
(-.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))))
Compiler

Compiled 8961 to 6235 computations (30.4% saved)

regimes481.0ms (8.6%)

Accuracy

Total 2.5b remaining (85.7%)

Threshold costs 0b (0%)

Counts
92 → 1
Compiler

Compiled 13012 to 9394 computations (27.8% saved)

simplify5.0ms (0.1%)

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

Useful iterations: 1 (0.0ms)

IterNodesCost
03063
14561
26461
39161
412161
515461
617661
718961
819361
919161

end258.0ms (4.6%)

Compiler

Compiled 382 to 273 computations (28.5% saved)

Profiling

Loading profile data...