Details

Time bar (total: 5.2s)

analyze96.0ms (1.8%)

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)

sample89.0ms (1.7%)

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

Compiled 31 to 25 computations (19.4% saved)

simplify56.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.1b
Counts
2 → 1
Alt Table
StatusErrorProgram
0.1b
(/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 x) s))))
Compiler

Compiled 33 to 27 computations (18.2% saved)

localize22.0ms (0.4%)

Local error

Found 3 expressions with local error:

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

series37.0ms (0.7%)

Counts
3 → 72
Calls

3 calls:

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

rewrite19.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:

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

simplify106.0ms (2%)

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

prune171.0ms (3.3%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1565161
Fresh000
Picked101
Done000
Total1575162
Error
0.0b
Counts
162 → 5
Alt Table
StatusErrorProgram
0.1b
(exp.f32 (neg.f32 (log1p.f32 (exp.f32 (neg.f32 (/.f32 x s))))))
0.1b
(/.f32 1 (+.f32 1 (pow.f32 (exp.f32 -1) (/.f32 x s))))
12.2b
(*.f32 (/.f32 1 (+.f32 (pow.f32 1 3) (pow.f32 (exp.f32 (/.f32 (neg.f32 x) s)) 3))) (+.f32 (*.f32 1 1) (-.f32 (*.f32 (exp.f32 (/.f32 (neg.f32 x) s)) (exp.f32 (/.f32 (neg.f32 x) s))) (*.f32 1 (exp.f32 (/.f32 (neg.f32 x) s))))))
0.2b
(cbrt.f32 (/.f32 (*.f32 (*.f32 1 1) 1) (*.f32 (*.f32 (+.f32 1 (exp.f32 (/.f32 (neg.f32 x) s))) (+.f32 1 (exp.f32 (/.f32 (neg.f32 x) s)))) (+.f32 1 (exp.f32 (/.f32 (neg.f32 x) s))))))
0.1b
(/.f32 (/.f32 1 (sqrt.f32 (+.f32 1 (exp.f32 (/.f32 (neg.f32 x) s))))) (sqrt.f32 (+.f32 1 (exp.f32 (/.f32 (neg.f32 x) s)))))
Compiler

Compiled 2843 to 1523 computations (46.4% saved)

localize27.0ms (0.5%)

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

series854.0ms (16.4%)

Counts
3 → 64
Calls

3 calls:

490.0ms
(log1p.f32 (exp.f32 (neg.f32 (/.f32 x s))))
358.0ms
(exp.f32 (neg.f32 (log1p.f32 (exp.f32 (neg.f32 (/.f32 x s))))))
6.0ms
(exp.f32 (neg.f32 (/.f32 x s)))

rewrite10.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:

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

simplify132.0ms (2.5%)

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

prune115.0ms (2.2%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1153118
Fresh314
Picked101
Done000
Total1194123
Error
0.0b
Counts
123 → 4
Alt Table
StatusErrorProgram
0.3b
(*.f32 (sqrt.f32 (exp.f32 (neg.f32 (log1p.f32 (exp.f32 (neg.f32 (/.f32 x s))))))) (sqrt.f32 (exp.f32 (neg.f32 (log1p.f32 (exp.f32 (neg.f32 (/.f32 x s))))))))
0.1b
(pow.f32 (E.f32) (neg.f32 (log1p.f32 (exp.f32 (neg.f32 (/.f32 x s))))))
0.2b
(exp.f32 (neg.f32 (log1p.f32 (cbrt.f32 (pow.f32 (exp.f32 (/.f32 x s)) -3)))))
0.1b
(/.f32 1 (+.f32 1 (pow.f32 (exp.f32 -1) (/.f32 x s))))
Compiler

Compiled 1845 to 856 computations (53.6% saved)

localize26.0ms (0.5%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(exp.f32 (neg.f32 (/.f32 x s)))
0.1b
(pow.f32 (E.f32) (neg.f32 (log1p.f32 (exp.f32 (neg.f32 (/.f32 x s))))))
1.5b
(log1p.f32 (exp.f32 (neg.f32 (/.f32 x s))))

series678.0ms (13%)

Counts
1 → 24
Calls

1 calls:

678.0ms
(pow.f32 (E.f32) (neg.f32 (log1p.f32 (exp.f32 (neg.f32 (/.f32 x s))))))

rewrite3.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
10×pow-unpow_binary32
*-un-lft-identity_binary32
add-sqr-sqrt_binary32
add-cube-cbrt_binary32
distribute-lft-neg-in_binary32
Counts
1 → 29
Calls

1 calls:

2.0ms
(pow.f32 (E.f32) (neg.f32 (log1p.f32 (exp.f32 (neg.f32 (/.f32 x s))))))

simplify101.0ms (1.9%)

Algorithm
egg-herbie
Rules
481×associate-/l*_binary32
463×times-frac_binary32
362×fma-def_binary32
329×fma-neg_binary32
297×associate-*l/_binary32
Counts
53 → 41
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
079955
1188915
2446899
31429881
44668881
54873881
64998881
74898881

prune86.0ms (1.6%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1200120
Fresh033
Picked011
Done000
Total1204124
Error
0.0b
Counts
124 → 4
Alt Table
StatusErrorProgram
0.3b
(*.f32 (sqrt.f32 (exp.f32 (neg.f32 (log1p.f32 (exp.f32 (neg.f32 (/.f32 x s))))))) (sqrt.f32 (exp.f32 (neg.f32 (log1p.f32 (exp.f32 (neg.f32 (/.f32 x s))))))))
0.1b
(pow.f32 (E.f32) (neg.f32 (log1p.f32 (exp.f32 (neg.f32 (/.f32 x s))))))
0.2b
(exp.f32 (neg.f32 (log1p.f32 (cbrt.f32 (pow.f32 (exp.f32 (/.f32 x s)) -3)))))
0.1b
(/.f32 1 (+.f32 1 (pow.f32 (exp.f32 -1) (/.f32 x s))))
Compiler

Compiled 1946 to 780 computations (59.9% saved)

localize27.0ms (0.5%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f32 1 (pow.f32 (exp.f32 -1) (/.f32 x s)))
0.0b
(pow.f32 (exp.f32 -1) (/.f32 x s))
0.1b
(/.f32 1 (+.f32 1 (pow.f32 (exp.f32 -1) (/.f32 x s))))

series41.0ms (0.8%)

Counts
3 → 72
Calls

3 calls:

26.0ms
(/.f32 1 (+.f32 1 (pow.f32 (exp.f32 -1) (/.f32 x s))))
8.0ms
(+.f32 1 (pow.f32 (exp.f32 -1) (/.f32 x s)))
7.0ms
(pow.f32 (exp.f32 -1) (/.f32 x s))

rewrite17.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
32×*-un-lft-identity_binary32
22×add-sqr-sqrt_binary32
22×add-cube-cbrt_binary32
21×times-frac_binary32
13×pow-unpow_binary32
Counts
3 → 88
Calls

3 calls:

5.0ms
(/.f32 1 (+.f32 1 (pow.f32 (exp.f32 -1) (/.f32 x s))))
4.0ms
(+.f32 1 (pow.f32 (exp.f32 -1) (/.f32 x s)))
4.0ms
(pow.f32 (exp.f32 -1) (/.f32 x s))

simplify106.0ms (2%)

Algorithm
egg-herbie
Rules
717×fma-neg_binary32
238×associate-*r*_binary32
236×distribute-rgt-neg-in_binary32
215×unswap-sqr_binary32
212×fma-def_binary32
Counts
160 → 146
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01482396
13482254
28692200
330382188
447562188
549292188

prune180.0ms (3.5%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1442146
Fresh022
Picked101
Done011
Total1455150
Error
0.0b
Counts
150 → 5
Alt Table
StatusErrorProgram
0.3b
(*.f32 (sqrt.f32 (exp.f32 (neg.f32 (log1p.f32 (exp.f32 (neg.f32 (/.f32 x s))))))) (sqrt.f32 (exp.f32 (neg.f32 (log1p.f32 (exp.f32 (neg.f32 (/.f32 x s))))))))
0.1b
(pow.f32 (E.f32) (neg.f32 (log1p.f32 (exp.f32 (neg.f32 (/.f32 x s))))))
0.1b
(/.f32 (/.f32 1 (hypot.f32 1 (pow.f32 (exp.f32 (/.f32 x s)) -1/2))) (sqrt.f32 (+.f32 1 (pow.f32 (exp.f32 -1) (/.f32 x s)))))
0.2b
(exp.f32 (neg.f32 (log1p.f32 (cbrt.f32 (pow.f32 (exp.f32 (/.f32 x s)) -3)))))
0.3b
(*.f32 (/.f32 1 (*.f32 (cbrt.f32 (+.f32 1 (pow.f32 (exp.f32 -1) (/.f32 x s)))) (cbrt.f32 (+.f32 1 (pow.f32 (exp.f32 -1) (/.f32 x s)))))) (/.f32 1 (cbrt.f32 (+.f32 1 (pow.f32 (exp.f32 -1) (/.f32 x s))))))
Compiler

Compiled 2573 to 1704 computations (33.8% saved)

regimes1.0s (19.5%)

Accuracy

Total 0.0b remaining (53.1%)

Threshold costs 0.0b (53.1%)

Counts
134 → 1
Compiler

Compiled 17414 to 13495 computations (22.5% saved)

simplify2.0ms (0%)

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
01015
11515
21715
31815
41715

end0.0ms (0%)

Compiler

Compiled 11 to 9 computations (18.2% saved)

sample1.2s (22.8%)

Algorithm
intervals
Results
501.0ms8000×body128valid
141.0ms8000×pre128true
Compiler

Compiled 132 to 98 computations (25.8% saved)

Profiling

Loading profile data...