Details

Time bar (total: 2.9s)

analyze156.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)

sample38.0ms (1.3%)

Algorithm
intervals
Results
16.0ms256×body128valid
5.0ms256×pre128true
Compiler

Compiled 31 to 25 computations (19.4% saved)

simplify54.0ms (1.9%)

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

prune2.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)

localize23.0ms (0.8%)

Local error

Found 3 expressions with local error:

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

series37.0ms (1.3%)

Counts
3 → 72
Calls

3 calls:

24.0ms
(/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 x) s))))
7.0ms
(+.f32 1 (exp.f32 (/.f32 (neg.f32 x) s)))
6.0ms
(exp.f32 (/.f32 (neg.f32 x) s))

rewrite22.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
43×*-un-lft-identity_binary32
42×times-frac_binary32
34×exp-prod_binary32
33×add-sqr-sqrt_binary32
33×add-cube-cbrt_binary32
Counts
3 → 102
Calls

3 calls:

6.0ms
(/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 x) s))))
4.0ms
(+.f32 1 (exp.f32 (/.f32 (neg.f32 x) s)))
4.0ms
(exp.f32 (/.f32 (neg.f32 x) s))

simplify108.0ms (3.7%)

Algorithm
egg-herbie
Rules
727×fma-neg_binary32
322×associate-/l/_binary32
269×associate-/r/_binary32
197×distribute-rgt-neg-in_binary32
190×distribute-lft-neg-in_binary32
Counts
174 → 161
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01702521
13462365
28062311
324142287
448502287
550892287

prune101.0ms (3.5%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1592161
Fresh000
Picked011
Done000
Total1593162
Error
0b
Counts
162 → 3
Alt Table
StatusErrorProgram
22.6b
(fma.f32 1/4 (/.f32 x s) 1/2)
0.0b
(/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 x) s))))
0.0b
(exp.f32 (neg.f32 (log1p.f32 (exp.f32 (neg.f32 (/.f32 x s))))))
Compiler

Compiled 2662 to 1412 computations (47% saved)

localize24.0ms (0.8%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(exp.f32 (neg.f32 (log1p.f32 (exp.f32 (neg.f32 (/.f32 x s))))))
0.0b
(exp.f32 (neg.f32 (/.f32 x s)))
1.5b
(log1p.f32 (exp.f32 (neg.f32 (/.f32 x s))))

series767.0ms (26.5%)

Counts
3 → 64
Calls

3 calls:

393.0ms
(exp.f32 (neg.f32 (log1p.f32 (exp.f32 (neg.f32 (/.f32 x s))))))
368.0ms
(log1p.f32 (exp.f32 (neg.f32 (/.f32 x s))))
6.0ms
(exp.f32 (neg.f32 (/.f32 x s)))

rewrite11.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
40×exp-prod_binary32
21×*-un-lft-identity_binary32
21×add-sqr-sqrt_binary32
21×add-cube-cbrt_binary32
18×times-frac_binary32
Counts
3 → 78
Calls

3 calls:

4.0ms
(exp.f32 (neg.f32 (/.f32 x s)))
2.0ms
(exp.f32 (neg.f32 (log1p.f32 (exp.f32 (neg.f32 (/.f32 x s))))))
0.0ms
(log1p.f32 (exp.f32 (neg.f32 (/.f32 x s))))

simplify136.0ms (4.7%)

Algorithm
egg-herbie
Rules
452×fma-neg_binary32
354×distribute-neg-frac_binary32
292×times-frac_binary32
241×associate-/l*_binary32
200×associate-/r*_binary32
Counts
142 → 118
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01722142
13671839
29641802
332831774
447921772
549341772
649911772
749181772

prune61.0ms (2.1%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1180118
Fresh011
Picked011
Done011
Total1183121
Error
0b
Counts
121 → 3
Alt Table
StatusErrorProgram
22.6b
(fma.f32 1/4 (/.f32 x s) 1/2)
0.0b
(/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 x) s))))
0.0b
(exp.f32 (neg.f32 (log1p.f32 (exp.f32 (neg.f32 (/.f32 x s))))))
Compiler

Compiled 1770 to 807 computations (54.4% saved)

localize13.0ms (0.4%)

Local error

Found 1 expressions with local error:

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

series7.0ms (0.2%)

Counts
1 → 24
Calls

1 calls:

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

rewrite1.0ms (0%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary32
add-sqr-sqrt_binary32
add-cube-cbrt_binary32
add-cbrt-cube_binary32
add-exp-log_binary32
Counts
1 → 10
Calls

1 calls:

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

simplify57.0ms (2%)

Algorithm
egg-herbie
Rules
603×associate-*l/_binary32
583×distribute-rgt-in_binary32
536×distribute-lft-in_binary32
466×associate-/l*_binary32
446×distribute-rgt-out_binary32
Counts
34 → 15
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
018295
123278
249278
3126278
4426278
51634278
64606278
75127278

prune8.0ms (0.3%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New15015
Fresh000
Picked011
Done022
Total15318
Error
0b
Counts
18 → 3
Alt Table
StatusErrorProgram
22.6b
(fma.f32 1/4 (/.f32 x s) 1/2)
0.0b
(/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 x) s))))
0.0b
(exp.f32 (neg.f32 (log1p.f32 (exp.f32 (neg.f32 (/.f32 x s))))))
Compiler

Compiled 173 to 111 computations (35.8% saved)

regimes120.0ms (4.1%)

Accuracy

Total 0.0b remaining (35.1%)

Threshold costs 0.0b (35.1%)

Counts
14 → 1
Compiler

Compiled 1221 to 1037 computations (15.1% saved)

simplify3.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
22314
32714
42814
52814

end0.0ms (0%)

Compiler

Compiled 10 to 8 computations (20% saved)

sample1.1s (39.6%)

Algorithm
intervals
Results
478.0ms8000×body128valid
148.0ms8000×pre128true
Compiler

Compiled 59 to 47 computations (20.3% saved)

Profiling

Loading profile data...