Details

Time bar (total: 4.5s)

analyze92.0ms (2%)

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)

sample90.0ms (2%)

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

Compiled 31 to 25 computations (19.4% saved)

simplify53.0ms (1.2%)

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)

localize42.0ms (0.9%)

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

series34.0ms (0.8%)

Counts
3 → 72
Calls

3 calls:

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

rewrite26.0ms (0.6%)

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:

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

simplify107.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 → 161
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01702521
13462365
28062311
324142287
448502287
550892287

prune127.0ms (2.8%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1583161
Fresh000
Picked101
Done000
Total1593162
Error
0.0b
Counts
162 → 3
Alt Table
StatusErrorProgram
0.0b
(exp.f32 (neg.f32 (log1p.f32 (exp.f32 (neg.f32 (/.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))))))
0.0b
(/.f32 1 (+.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s))))
Compiler

Compiled 2727 to 1455 computations (46.6% saved)

localize24.0ms (0.5%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(exp.f32 (neg.f32 (log1p.f32 (exp.f32 (neg.f32 (/.f32 x s))))))
0.1b
(exp.f32 (neg.f32 (/.f32 x s)))
1.4b
(log1p.f32 (exp.f32 (neg.f32 (/.f32 x s))))

series753.0ms (16.7%)

Counts
3 → 64
Calls

3 calls:

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

rewrite12.0ms (0.3%)

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

simplify135.0ms (3%)

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

prune89.0ms (2%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1171118
Fresh112
Picked011
Done000
Total1183121
Error
0.0b
Counts
121 → 3
Alt Table
StatusErrorProgram
0.0b
(exp.f32 (neg.f32 (log1p.f32 (exp.f32 (neg.f32 (/.f32 x s))))))
0.1b
(*.f32 (*.f32 (cbrt.f32 (exp.f32 (neg.f32 (log1p.f32 (exp.f32 (neg.f32 (/.f32 x s))))))) (cbrt.f32 (exp.f32 (neg.f32 (log1p.f32 (exp.f32 (neg.f32 (/.f32 x s)))))))) (cbrt.f32 (exp.f32 (neg.f32 (log1p.f32 (exp.f32 (neg.f32 (/.f32 x s))))))))
0.0b
(/.f32 1 (+.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s))))
Compiler

Compiled 1829 to 828 computations (54.7% saved)

localize26.0ms (0.6%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s)))
0.0b
(/.f32 1 (+.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s))))
0.1b
(pow.f32 (E.f32) (/.f32 (neg.f32 x) s))

series40.0ms (0.9%)

Counts
3 → 72
Calls

3 calls:

26.0ms
(/.f32 1 (+.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s))))
7.0ms
(+.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s)))
7.0ms
(pow.f32 (E.f32) (/.f32 (neg.f32 x) s))

rewrite20.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
44×*-un-lft-identity_binary32
42×times-frac_binary32
34×pow-unpow_binary32
34×add-sqr-sqrt_binary32
34×add-cube-cbrt_binary32
Counts
3 → 109
Calls

3 calls:

5.0ms
(/.f32 1 (+.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s))))
4.0ms
(+.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s)))
4.0ms
(pow.f32 (E.f32) (/.f32 (neg.f32 x) s))

simplify140.0ms (3.1%)

Algorithm
egg-herbie
Rules
665×fma-neg_binary32
261×associate-*r*_binary32
229×associate-/l*_binary32
228×times-frac_binary32
223×associate-/l/_binary32
Counts
181 → 172
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01842820
14622541
212122486
340362473
448112469
549492469
648752469

prune129.0ms (2.9%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1711172
Fresh101
Picked011
Done011
Total1723175
Error
0.0b
Counts
175 → 3
Alt Table
StatusErrorProgram
0.0b
(exp.f32 (neg.f32 (log1p.f32 (exp.f32 (neg.f32 (/.f32 x s))))))
18.1b
(*.f32 (/.f32 1 (-.f32 1 (pow.f32 (exp.f32 (/.f32 x s)) -2))) (-.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s))))
0.0b
(/.f32 1 (+.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s))))
Compiler

Compiled 3012 to 1499 computations (50.2% saved)

localize48.0ms (1.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(pow.f32 (exp.f32 (/.f32 x s)) -2)
1.6b
(*.f32 (/.f32 1 (-.f32 1 (pow.f32 (exp.f32 (/.f32 x s)) -2))) (-.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s))))
5.2b
(-.f32 1 (pow.f32 (exp.f32 (/.f32 x s)) -2))
5.3b
(-.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s)))

series156.0ms (3.5%)

Counts
4 → 96
Calls

4 calls:

99.0ms
(*.f32 (/.f32 1 (-.f32 1 (pow.f32 (exp.f32 (/.f32 x s)) -2))) (-.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s))))
27.0ms
(-.f32 1 (pow.f32 (exp.f32 (/.f32 x s)) -2))
19.0ms
(pow.f32 (exp.f32 (/.f32 x s)) -2)
11.0ms
(-.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s)))

rewrite66.0ms (1.5%)

Algorithm
rewrite-expression-head
Rules
139×add-sqr-sqrt_binary32
121×*-un-lft-identity_binary32
90×add-cube-cbrt_binary32
84×prod-diff_binary32
63×unpow-prod-down_binary32
Counts
4 → 263
Calls

4 calls:

21.0ms
(*.f32 (/.f32 1 (-.f32 1 (pow.f32 (exp.f32 (/.f32 x s)) -2))) (-.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s))))
6.0ms
(-.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s)))
6.0ms
(-.f32 1 (pow.f32 (exp.f32 (/.f32 x s)) -2))
4.0ms
(pow.f32 (exp.f32 (/.f32 x s)) -2)

simplify415.0ms (9.2%)

Algorithm
egg-herbie
Rules
869×times-frac_binary32
353×fma-neg_binary32
309×cancel-sign-sub-inv_binary32
250×exp-prod_binary32
222×associate-*r*_binary32
Counts
359 → 399
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
037614181
183211121
225247989
343057971
449477971
547327971

prune358.0ms (7.9%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New3972399
Fresh000
Picked101
Done022
Total3984402
Error
0b
Counts
402 → 4
Alt Table
StatusErrorProgram
18.1b
(*.f32 (/.f32 1 (*.f32 (*.f32 (cbrt.f32 (-.f32 1 (pow.f32 (exp.f32 (/.f32 x s)) -2))) (cbrt.f32 (-.f32 1 (pow.f32 (exp.f32 (/.f32 x s)) -2)))) (cbrt.f32 (-.f32 1 (pow.f32 (exp.f32 (/.f32 x s)) -2))))) (-.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s))))
0.0b
(exp.f32 (neg.f32 (log1p.f32 (exp.f32 (neg.f32 (/.f32 x s))))))
17.9b
(*.f32 (/.f32 1 (-.f32 1 (pow.f32 (exp.f32 (/.f32 x s)) -2))) (/.f32 (-.f32 1 (pow.f32 (E.f32) (*.f32 (/.f32 x s) -2))) (+.f32 1 (pow.f32 (E.f32) (neg.f32 (/.f32 x s))))))
0.0b
(/.f32 1 (+.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s))))
Compiler

Compiled 15425 to 7017 computations (54.5% saved)

regimes337.0ms (7.5%)

Accuracy

Total 0.0b remaining (62.3%)

Threshold costs 0.0b (62.3%)

Counts
43 → 1
Compiler

Compiled 7971 to 4987 computations (37.4% 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
01016
12016
22716
33116
43216
53116

end0.0ms (0%)

Compiler

Compiled 11 to 9 computations (18.2% saved)

sample1.2s (26.2%)

Algorithm
intervals
Results
463.0ms8000×body128valid
147.0ms8000×pre128true
Compiler

Compiled 126 to 95 computations (24.6% saved)

Profiling

Loading profile data...