Details

Time bar (total: 3.5s)

analyze188.0ms (5.4%)

Algorithm
search
Search
TrueOtherFalseIter
0%24.7%75.3%0
0%24.7%75.3%1
0%24.7%75.3%2
12.4%12.4%75.3%3
12.4%12.4%75.3%4
18.5%6.2%75.3%5
18.5%6.2%75.3%6
21.6%3.1%75.3%7
21.6%3.1%75.3%8
23.2%1.5%75.3%9
23.2%1.5%75.3%10
23.9%0.8%75.3%11
23.9%0.8%75.3%12
24.3%0.4%75.3%13
24.3%0.4%75.3%14
Compiler

Compiled 18 to 14 computations (22.2% saved)

sample2.5s (71.2%)

Results
2.4s8256×body128valid
Compiler

Compiled 47 to 37 computations (21.3% saved)

simplify79.0ms (2.3%)

Algorithm
egg-herbie
Rules
944×fma-neg_binary32
518×unswap-sqr_binary32
432×exp-prod_binary32
340×times-frac_binary32
333×associate-*l*_binary32
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0914
11714
22714
33614
45014
57914
614714
726114
852814
9167614
10316014
11412114
12485014

prune3.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.0b
Counts
2 → 1
Alt Table
StatusErrorProgram
0.0b
(/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 x) s))))
Compiler

Compiled 33 to 27 computations (18.2% saved)

localize49.0ms (1.4%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f32 1 (exp.f32 (/.f32 (neg.f32 x) s)))
0.0b
(/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 x) s))))
0.0b
(exp.f32 (/.f32 (neg.f32 x) s))

series67.0ms (1.9%)

Counts
3 → 72
Calls

3 calls:

46.0ms
(/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 x) s))))
11.0ms
(+.f32 1 (exp.f32 (/.f32 (neg.f32 x) s)))
10.0ms
(exp.f32 (/.f32 (neg.f32 x) s))

rewrite87.0ms (2.5%)

Algorithm
batch-egg-rewrite
Rules
822×log1p-expm1-u_binary32
822×expm1-log1p-u_binary32
96×prod-diff_binary32
95×add-sqr-sqrt_binary32
89×add-log-exp_binary32
Counts
3 → 83
Calls

3 calls:

84.0ms
(+.f32 1 (exp.f32 (/.f32 (neg.f32 x) s)))
84.0ms
(/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 x) s))))
84.0ms
(exp.f32 (/.f32 (neg.f32 x) s))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0933
119227
2213827
3522127
000
100

simplify109.0ms (3.1%)

Algorithm
egg-herbie
Rules
727×cancel-sign-sub-inv_binary32
632×fma-def_binary32
563×fma-neg_binary32
552×associate-/r*_binary32
206×neg-mul-1_binary32
Counts
155 → 108
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0451020
1126966
2349918
31445906
44465906
55038906

prune88.0ms (2.5%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1071108
Fresh000
Picked011
Done000
Total1072109
Error
0.0b
Counts
109 → 2
Alt Table
StatusErrorProgram
22.4b
(fma.f32 (/.f32 x s) 1/4 1/2)
0.0b
(/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 x) s))))
Compiler

Compiled 1490 to 878 computations (41.1% saved)

localize26.0ms (0.7%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.5b
(fma.f32 (/.f32 x s) 1/4 1/2)

series13.0ms (0.4%)

Counts
1 → 24
Calls

1 calls:

13.0ms
(fma.f32 (/.f32 x s) 1/4 1/2)

rewrite63.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
649×log1p-expm1-u_binary32
649×expm1-log1p-u_binary32
309×log-prod_binary32
126×expm1-udef_binary32
126×log1p-udef_binary32
Counts
1 → 26
Calls

1 calls:

62.0ms
(fma.f32 (/.f32 x s) 1/4 1/2)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
078
11458
216618
350938
000
100

simplify22.0ms (0.6%)

Algorithm
egg-herbie
Rules
fma-def_binary32
*-commutative_binary32
associate-/l*_binary32
+-commutative_binary32
associate-*r/_binary32
Counts
50 → 30
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
08204
112168
217168
321168
423168
524168
624168

prune25.0ms (0.7%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New30030
Fresh000
Picked011
Done011
Total30232
Error
0.0b
Counts
32 → 2
Alt Table
StatusErrorProgram
22.4b
(fma.f32 (/.f32 x s) 1/4 1/2)
0.0b
(/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 x) s))))
Compiler

Compiled 348 to 225 computations (35.3% saved)

regimes103.0ms (3%)

Accuracy

Total 0.0b remaining (36%)

Threshold costs 0.0b (36%)

Counts
7 → 1
Compiler

Compiled 450 to 372 computations (17.3% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary32
*-commutative_binary32
sub-neg_binary32
neg-sub0_binary32
neg-mul-1_binary32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0914
11714
22114
32414
42514
52414

end77.0ms (2.2%)

Compiler

Compiled 41 to 33 computations (19.5% saved)

Profiling

Loading profile data...