Details

Time bar (total: 5.3s)

analyze151.0ms (2.9%)

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 15 to 12 computations (20% saved)

sample38.0ms (0.7%)

Algorithm
intervals
Results
19.0ms256×body128valid
4.0ms256×pre128true
Compiler

Compiled 28 to 23 computations (17.9% saved)

simplify60.0ms (1.1%)

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

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)

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

rewrite22.0ms (0.4%)

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:

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

series41.0ms (0.8%)

Counts
3 → 72
Calls

3 calls:

31.0ms
(/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 x) s))))
5.0ms
(+.f32 1 (exp.f32 (/.f32 (neg.f32 x) s)))
5.0ms
(exp.f32 (/.f32 (neg.f32 x) s))

simplify126.0ms (2.4%)

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

Useful iterations: 3 (0.0ms)

IterNodesCost
01702521
13462365
28062311
324142287
448502287
550892287

prune129.0ms (2.4%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New2974301
Fresh000
Picked101
Done000
Total2984302
Error
0b
Counts
302 → 4
Alt Table
StatusErrorProgram
0.0b
(/.f32 -1 (-.f32 -1 (exp.f32 (neg.f32 (/.f32 x s)))))
0.0b
(exp.f32 (neg.f32 (log1p.f32 (exp.f32 (neg.f32 (/.f32 x s))))))
0.0b
(/.f32 1 (+.f32 1 (expm1.f32 (log1p.f32 (exp.f32 (/.f32 (neg.f32 x) s))))))
0.1b
(*.f32 (*.f32 (cbrt.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 x) s))))) (cbrt.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 x) s)))))) (cbrt.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 x) s))))))
Compiler

Compiled 2704 to 1449 computations (46.4% saved)

localize23.0ms (0.4%)

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.6b
(log1p.f32 (exp.f32 (neg.f32 (/.f32 x s))))

rewrite11.0ms (0.2%)

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:

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

series896.0ms (17%)

Counts
3 → 64
Calls

3 calls:

455.0ms
(exp.f32 (neg.f32 (log1p.f32 (exp.f32 (neg.f32 (/.f32 x s))))))
435.0ms
(log1p.f32 (exp.f32 (neg.f32 (/.f32 x s))))
5.0ms
(exp.f32 (neg.f32 (/.f32 x s)))

simplify148.0ms (2.8%)

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

Useful iterations: 4 (0.0ms)

IterNodesCost
01722142
13671839
29641802
332831774
447921772
549341772
649911772
749181772

prune161.0ms (3.1%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New2290229
Fresh033
Picked011
Done000
Total2294233
Error
0b
Counts
233 → 4
Alt Table
StatusErrorProgram
0.0b
(/.f32 -1 (-.f32 -1 (exp.f32 (neg.f32 (/.f32 x s)))))
0.0b
(exp.f32 (neg.f32 (log1p.f32 (exp.f32 (neg.f32 (/.f32 x s))))))
0.0b
(/.f32 1 (+.f32 1 (expm1.f32 (log1p.f32 (exp.f32 (/.f32 (neg.f32 x) s))))))
0.1b
(*.f32 (*.f32 (cbrt.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 x) s))))) (cbrt.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 x) s)))))) (cbrt.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 x) s))))))
Compiler

Compiled 1808 to 853 computations (52.8% saved)

localize23.0ms (0.4%)

Local error

Found 3 expressions with local error:

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

rewrite15.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
30×*-un-lft-identity_binary32
30×add-sqr-sqrt_binary32
20×add-cube-cbrt_binary32
15×times-frac_binary32
prod-diff_binary32
Counts
2 → 69
Calls

2 calls:

6.0ms
(/.f32 -1 (-.f32 -1 (exp.f32 (neg.f32 (/.f32 x s)))))
5.0ms
(-.f32 -1 (exp.f32 (neg.f32 (/.f32 x s))))

series38.0ms (0.7%)

Counts
2 → 48
Calls

2 calls:

32.0ms
(/.f32 -1 (-.f32 -1 (exp.f32 (neg.f32 (/.f32 x s)))))
6.0ms
(-.f32 -1 (exp.f32 (neg.f32 (/.f32 x s))))

simplify162.0ms (3.1%)

Algorithm
egg-herbie
Rules
1107×fma-neg_binary32
346×div-sub_binary32
281×associate-*l*_binary32
242×fma-def_binary32
224×associate-*r*_binary32
Counts
117 → 198
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01512296
13012069
29001928
331821920
441691911
548271911
649791911
748251911

prune123.0ms (2.3%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New2840284
Fresh022
Picked011
Done011
Total2844288
Error
0b
Counts
288 → 4
Alt Table
StatusErrorProgram
0.0b
(/.f32 -1 (-.f32 -1 (exp.f32 (neg.f32 (/.f32 x s)))))
0.0b
(exp.f32 (neg.f32 (log1p.f32 (exp.f32 (neg.f32 (/.f32 x s))))))
0.0b
(/.f32 1 (+.f32 1 (expm1.f32 (log1p.f32 (exp.f32 (/.f32 (neg.f32 x) s))))))
0.1b
(*.f32 (*.f32 (cbrt.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 x) s))))) (cbrt.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 x) s)))))) (cbrt.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 x) s))))))
Compiler

Compiled 3166 to 1569 computations (50.4% saved)

localize30.0ms (0.6%)

Local error

Found 4 expressions with local error:

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

rewrite8.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
20×*-un-lft-identity_binary32
12×times-frac_binary32
12×add-sqr-sqrt_binary32
12×add-cube-cbrt_binary32
add-exp-log_binary32
Counts
3 → 61
Calls

3 calls:

4.0ms
(/.f32 1 (+.f32 1 (expm1.f32 (log1p.f32 (exp.f32 (/.f32 (neg.f32 x) s))))))
0.0ms
(log1p.f32 (exp.f32 (/.f32 (neg.f32 x) s)))
0.0ms
(expm1.f32 (log1p.f32 (exp.f32 (/.f32 (neg.f32 x) s))))

series1.3s (25.5%)

Counts
3 → 72
Calls

3 calls:

468.0ms
(/.f32 1 (+.f32 1 (expm1.f32 (log1p.f32 (exp.f32 (/.f32 (neg.f32 x) s))))))
438.0ms
(log1p.f32 (exp.f32 (/.f32 (neg.f32 x) s)))
437.0ms
(expm1.f32 (log1p.f32 (exp.f32 (/.f32 (neg.f32 x) s))))

simplify120.0ms (2.3%)

Algorithm
egg-herbie
Rules
858×fma-neg_binary32
419×times-frac_binary32
288×associate-/l*_binary32
217×associate-/r*_binary32
195×fma-def_binary32
Counts
133 → 254
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01372224
13072007
28801914
337931898
449281898
550701898

prune150.0ms (2.8%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New3650365
Fresh011
Picked011
Done022
Total3654369
Error
0b
Counts
369 → 4
Alt Table
StatusErrorProgram
0.0b
(/.f32 -1 (-.f32 -1 (exp.f32 (neg.f32 (/.f32 x s)))))
0.0b
(exp.f32 (neg.f32 (log1p.f32 (exp.f32 (neg.f32 (/.f32 x s))))))
0.0b
(/.f32 1 (+.f32 1 (expm1.f32 (log1p.f32 (exp.f32 (/.f32 (neg.f32 x) s))))))
0.1b
(*.f32 (*.f32 (cbrt.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 x) s))))) (cbrt.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 x) s)))))) (cbrt.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 x) s))))))
Compiler

Compiled 3304 to 1780 computations (46.1% saved)

regimes358.0ms (6.8%)

Accuracy

Total 0.0b remaining (36.5%)

Threshold costs 0.0b (36.5%)

Compiler

Compiled 5534 to 4519 computations (18.3% 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 (20.2%)

Algorithm
intervals
Results
432.0ms8000×body128valid
132.0ms8000×pre128true
Compiler

Compiled 95 to 72 computations (24.2% saved)

Profiling

Loading profile data...