Details

Time bar (total: 13.7s)

analyze1.2s (8.6%)

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)

sample4.2s (30.4%)

Results
1.3s5363×body128valid
1.1s1172×body2048valid
583.0ms745×body1024valid
498.0ms437×body4096valid
248.0ms1084×body128invalid
204.0ms346×body512valid
78.0ms193×body256valid
Compiler

Compiled 62 to 44 computations (29% saved)

simplify276.0ms (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%)

Pruning

3 alts after pruning (3 fresh and 0 done)

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

localize19.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 a (*.f64 c -4) (*.f64 b b))
0.1b
(*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a))
0.8b
(-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)
25.1b
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))

series353.0ms (2.6%)

Counts
4 → 96
Calls

4 calls:

153.0ms
(*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a))
102.0ms
(-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)
79.0ms
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))
18.0ms
(fma.f64 a (*.f64 c -4) (*.f64 b b))

rewrite136.0ms (1%)

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:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01362
127962
2338562
3510262
000
100

simplify143.0ms (1%)

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

Useful iterations: 2 (0.0ms)

IterNodesCost
01212241
13982164
213272078
349542078
452182078

prune356.0ms (2.6%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New2299238
Fresh101
Picked101
Done000
Total2319240
Error
4.3b
Counts
240 → 9
Alt Table
StatusErrorProgram
49.7b
(/.f64 (-.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)) (*.f64 b b)) (*.f64 (*.f64 a 2) (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))))
35.4b
(/.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (*.f64 a 2))
47.1b
(*.f64 (*.f64 -2 (fma.f64 (/.f64 c b) a (/.f64 (*.f64 (*.f64 c a) (*.f64 c a)) (pow.f64 b 3)))) (/.f64 1/2 a))
35.9b
(*.f64 (*.f64 (cbrt.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)) (pow.f64 (cbrt.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)) 2)) (/.f64 1/2 a))
45.1b
(*.f64 (*.f64 -2 (/.f64 (*.f64 c a) b)) (/.f64 1/2 a))
43.4b
(-.f64 (/.f64 c b) (/.f64 b a))
43.3b
(/.f64 (neg.f64 b) a)
46.8b
(/.f64 (*.f64 (-.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)) (*.f64 b b)) (/.f64 1/2 a)) (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))
37.8b
(neg.f64 (/.f64 c b))
Compiler

Compiled 6476 to 3763 computations (41.9% saved)

localize19.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 a (*.f64 c -4) (*.f64 b b))
0.1b
(/.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (*.f64 a 2))
0.8b
(-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)
25.1b
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))

series153.0ms (1.1%)

Counts
1 → 20
Calls

1 calls:

153.0ms
(/.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (*.f64 a 2))

rewrite109.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
384×fma-def_binary64
249×expm1-udef_binary64
249×log1p-udef_binary64
205×fma-neg_binary64
140×add-sqr-sqrt_binary64
Counts
1 → 60
Calls

1 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01322
128122
2364122
3487522
000
100

simplify101.0ms (0.7%)

Algorithm
egg-herbie
Rules
794×fma-neg_binary64
351×unswap-sqr_binary64
333×distribute-neg-frac_binary64
328×times-frac_binary64
221×associate-*r*_binary64
Counts
80 → 83
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
064612
1210609
2666585
33266585
44979585
55005585

prune353.0ms (2.6%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New2542256
Fresh268
Picked011
Done000
Total2569265
Error
4.3b
Counts
265 → 9
Alt Table
StatusErrorProgram
43.4b
(-.f64 (/.f64 c b) (/.f64 b a))
37.4b
(fma.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) (/.f64 1/2 a) (neg.f64 (/.f64 b (*.f64 a 2))))
37.8b
(neg.f64 (/.f64 c b))
36.8b
(/.f64 (-.f64 (*.f64 (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (cbrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) b) (*.f64 a 2))
35.4b
(/.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (*.f64 a 2))
47.1b
(*.f64 (*.f64 -2 (fma.f64 (/.f64 c b) a (/.f64 (*.f64 (*.f64 c a) (*.f64 c a)) (pow.f64 b 3)))) (/.f64 1/2 a))
45.1b
(*.f64 (*.f64 -2 (/.f64 (*.f64 c a) b)) (/.f64 1/2 a))
43.3b
(/.f64 (neg.f64 b) a)
46.8b
(/.f64 (*.f64 (-.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)) (*.f64 b b)) (/.f64 1/2 a)) (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))
Compiler

Compiled 6922 to 4093 computations (40.9% saved)

localize27.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.5b
(cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))
8.9b
(-.f64 (*.f64 (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (cbrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) b)
25.1b
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))
25.9b
(cbrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))

series300.0ms (2.2%)

Counts
3 → 92
Calls

3 calls:

102.0ms
(-.f64 (*.f64 (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (cbrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) b)
101.0ms
(cbrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))
97.0ms
(cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))

rewrite113.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
865×prod-diff_binary64
208×expm1-udef_binary64
208×log1p-udef_binary64
147×egg-rr
124×log1p-expm1-u_binary64
Counts
3 → 147
Calls

3 calls:

104.0ms
(cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))
104.0ms
(-.f64 (*.f64 (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (cbrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) b)
104.0ms
(cbrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01359
126643
2281743
3488143
000
100

simplify204.0ms (1.5%)

Algorithm
egg-herbie
Rules
299×associate-*r*_binary64
259×associate-/r*_binary64
250×times-frac_binary64
242×fma-neg_binary64
206×fma-def_binary64
Counts
239 → 274
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03654666
112214570
246884530
349664530

prune536.0ms (3.9%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New3181319
Fresh167
Picked011
Done011
Total3199328
Error
4.3b
Counts
328 → 9
Alt Table
StatusErrorProgram
43.4b
(-.f64 (/.f64 c b) (/.f64 b a))
47.9b
(/.f64 (*.f64 -2 (+.f64 (/.f64 (*.f64 c a) b) (/.f64 (*.f64 (*.f64 c a) (*.f64 c a)) (pow.f64 b 3)))) (*.f64 a 2))
37.4b
(fma.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) (/.f64 1/2 a) (neg.f64 (/.f64 b (*.f64 a 2))))
37.8b
(neg.f64 (/.f64 c b))
36.8b
(/.f64 (-.f64 (*.f64 (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (cbrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) b) (*.f64 a 2))
35.4b
(/.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (*.f64 a 2))
45.1b
(*.f64 (*.f64 -2 (/.f64 (*.f64 c a) b)) (/.f64 1/2 a))
43.3b
(/.f64 (neg.f64 b) a)
46.8b
(/.f64 (*.f64 (-.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)) (*.f64 b b)) (/.f64 1/2 a)) (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))
Compiler

Compiled 13601 to 8432 computations (38% saved)

localize25.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 a (*.f64 c -4) (*.f64 b b))
23.3b
(fma.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) (/.f64 1/2 a) (neg.f64 (/.f64 b (*.f64 a 2))))
25.1b
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))

series145.0ms (1.1%)

Counts
1 → 20
Calls

1 calls:

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

rewrite283.0ms (2.1%)

Algorithm
batch-egg-rewrite
Rules
554×prod-diff_binary64
399×egg-rr
271×log1p-udef_binary64
165×add-sqr-sqrt_binary64
155×log1p-expm1-u_binary64
Counts
1 → 399
Calls

1 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01628
133826
2375526
3511526
000
100

simplify118.0ms (0.9%)

Algorithm
egg-herbie
Rules
794×fma-neg_binary64
351×unswap-sqr_binary64
333×distribute-neg-frac_binary64
328×times-frac_binary64
221×associate-*r*_binary64
Counts
419 → 422
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
064612
1210609
2666585
33266585
44979585
55005585

prune956.0ms (7%)

Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New5001501
Fresh066
Picked011
Done022
Total50010510
Error
4.3b
Counts
510 → 10
Alt Table
StatusErrorProgram
43.4b
(-.f64 (/.f64 c b) (/.f64 b a))
47.9b
(/.f64 (*.f64 -2 (+.f64 (/.f64 (*.f64 c a) b) (/.f64 (*.f64 (*.f64 c a) (*.f64 c a)) (pow.f64 b 3)))) (*.f64 a 2))
37.4b
(fma.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) (/.f64 1/2 a) (neg.f64 (/.f64 b (*.f64 a 2))))
37.8b
(neg.f64 (/.f64 c b))
36.8b
(/.f64 (-.f64 (*.f64 (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (cbrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) b) (*.f64 a 2))
35.4b
(/.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (*.f64 a 2))
45.1b
(*.f64 (*.f64 -2 (/.f64 (*.f64 c a) b)) (/.f64 1/2 a))
43.3b
(/.f64 (neg.f64 b) a)
49.5b
(+.f64 (fma.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) (/.f64 1/2 a) (*.f64 b (/.f64 1/2 a))) (fma.f64 1 (*.f64 b (/.f64 1/2 a)) (*.f64 b (/.f64 1/2 a))))
46.8b
(/.f64 (*.f64 (-.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)) (*.f64 b b)) (/.f64 1/2 a)) (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))
Compiler

Compiled 23735 to 15055 computations (36.6% saved)

regimes3.0s (22.3%)

Accuracy

Total 4.7b remaining (45.5%)

Threshold costs 0b (0%)

Counts
117 → 5
Compiler

Compiled 10004 to 6938 computations (30.6% saved)

bsearch254.0ms (1.9%)

Steps
ItersRangePoint
8
1.2344334649195314e-55
1.322700660035437e-51
4.4233955990605117e-54
5
6.863344029837293e-72
1.4734283974003753e-71
1.3948090615163448e-71
8
2.6189808425900012e-111
1.3010807537774533e-107
1.2846674157042731e-107
9
-1.2695432231346224e+46
-1.731480671832066e+41
-1.251564096671974e+46
Compiler

Compiled 4 to 3 computations (25% saved)

simplify11.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: 0 (0.0ms)

IterNodesCost
038115
153115
270115
381115
488115
589115
689115

end292.0ms (2.1%)

Compiler

Compiled 360 to 214 computations (40.6% saved)

Profiling

Loading profile data...