Details

Time bar (total: 7.6s)

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

sample91.0ms (1.2%)

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

Compiled 31 to 25 computations (19.4% saved)

simplify58.0ms (0.8%)

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)

localize23.0ms (0.3%)

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

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

rewrite21.0ms (0.3%)

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

simplify103.0ms (1.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

prune133.0ms (1.8%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1574161
Fresh000
Picked101
Done000
Total1584162
Error
0.1b
Counts
162 → 4
Alt Table
StatusErrorProgram
0.3b
(/.f32 1 (*.f32 (hypot.f32 1 (pow.f32 (exp.f32 (/.f32 x s)) -1/2)) (hypot.f32 1 (pow.f32 (exp.f32 (/.f32 x s)) -1/2))))
0.1b
(/.f32 1 (+.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s))))
0.3b
(*.f32 (sqrt.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 x) s))))) (sqrt.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 x) s))))))
0.1b
(exp.f32 (neg.f32 (log1p.f32 (exp.f32 (neg.f32 (/.f32 x s))))))
Compiler

Compiled 2747 to 1473 computations (46.4% saved)

localize25.0ms (0.3%)

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

series39.0ms (0.5%)

Counts
3 → 72
Calls

3 calls:

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

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
(pow.f32 (E.f32) (/.f32 (neg.f32 x) s))
5.0ms
(/.f32 1 (+.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s))))
3.0ms
(+.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s)))

simplify144.0ms (1.9%)

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

prune159.0ms (2.1%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1693172
Fresh123
Picked011
Done000
Total1706176
Error
0.0b
Counts
176 → 6
Alt Table
StatusErrorProgram
0.3b
(*.f32 (sqrt.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 x) s))))) (sqrt.f32 (/.f32 1 (+.f32 1 (exp.f32 (/.f32 (neg.f32 x) s))))))
0.1b
(exp.f32 (neg.f32 (log1p.f32 (exp.f32 (neg.f32 (/.f32 x s))))))
17.4b
(*.f32 (/.f32 1 (-.f32 1 (pow.f32 (exp.f32 (/.f32 x s)) -2))) (-.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s))))
11.3b
(*.f32 (/.f32 1 (+.f32 (pow.f32 1 3) (pow.f32 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s)) 3))) (+.f32 (*.f32 1 1) (-.f32 (*.f32 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s)) (pow.f32 (E.f32) (/.f32 (neg.f32 x) s))) (*.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s))))))
0.3b
(*.f32 (/.f32 1 (*.f32 (cbrt.f32 (+.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s)))) (cbrt.f32 (+.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s)))))) (/.f32 1 (cbrt.f32 (+.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s))))))
0.1b
(/.f32 1 (+.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s))))
Compiler

Compiled 3224 to 1627 computations (49.5% saved)

localize23.0ms (0.3%)

Local error

Found 3 expressions with local error:

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

series855.0ms (11.2%)

Counts
3 → 64
Calls

3 calls:

492.0ms
(exp.f32 (neg.f32 (log1p.f32 (exp.f32 (neg.f32 (/.f32 x s))))))
357.0ms
(log1p.f32 (exp.f32 (neg.f32 (/.f32 x s))))
6.0ms
(exp.f32 (neg.f32 (/.f32 x s)))

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

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

simplify173.0ms (2.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

prune144.0ms (1.9%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1171118
Fresh134
Picked011
Done011
Total1186124
Error
0.0b
Counts
124 → 6
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
(exp.f32 (neg.f32 (log1p.f32 (exp.f32 (neg.f32 (/.f32 x s))))))
17.4b
(*.f32 (/.f32 1 (-.f32 1 (pow.f32 (exp.f32 (/.f32 x s)) -2))) (-.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s))))
11.3b
(*.f32 (/.f32 1 (+.f32 (pow.f32 1 3) (pow.f32 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s)) 3))) (+.f32 (*.f32 1 1) (-.f32 (*.f32 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s)) (pow.f32 (E.f32) (/.f32 (neg.f32 x) s))) (*.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s))))))
0.3b
(*.f32 (/.f32 1 (*.f32 (cbrt.f32 (+.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s)))) (cbrt.f32 (+.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s)))))) (/.f32 1 (cbrt.f32 (+.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s))))))
0.1b
(/.f32 1 (+.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s))))
Compiler

Compiled 1995 to 938 computations (53% saved)

localize56.0ms (0.7%)

Local error

Found 4 expressions with local error:

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

series1.2s (15.5%)

Counts
3 → 72
Calls

3 calls:

673.0ms
(/.f32 1 (*.f32 (cbrt.f32 (+.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s)))) (cbrt.f32 (+.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s))))))
479.0ms
(*.f32 (cbrt.f32 (+.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s)))) (cbrt.f32 (+.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s)))))
29.0ms
(*.f32 (/.f32 1 (*.f32 (cbrt.f32 (+.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s)))) (cbrt.f32 (+.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s)))))) (/.f32 1 (cbrt.f32 (+.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s))))))

rewrite93.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
99×add-exp-log_binary32
68×add-sqr-sqrt_binary32
61×*-un-lft-identity_binary32
50×times-frac_binary32
44×prod-exp_binary32
Counts
3 → 221
Calls

3 calls:

31.0ms
(*.f32 (/.f32 1 (*.f32 (cbrt.f32 (+.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s)))) (cbrt.f32 (+.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s)))))) (/.f32 1 (cbrt.f32 (+.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s))))))
13.0ms
(/.f32 1 (*.f32 (cbrt.f32 (+.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s)))) (cbrt.f32 (+.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s))))))
12.0ms
(*.f32 (cbrt.f32 (+.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s)))) (cbrt.f32 (+.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s)))))

simplify277.0ms (3.6%)

Algorithm
egg-herbie
Rules
580×associate-/l*_binary32
531×associate-*l/_binary32
382×fma-def_binary32
239×fma-neg_binary32
218×cancel-sign-sub-inv_binary32
Counts
293 → 329
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
024811904
15638335
217687184
344626980
449876980
549226980

prune1.0s (13.3%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New5594563
Fresh033
Picked101
Done202
Total5627569
Error
0.0b
Counts
569 → 7
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))))))))
17.4b
(*.f32 (/.f32 1 (-.f32 1 (pow.f32 (exp.f32 (/.f32 x s)) -2))) (-.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s))))
11.3b
(*.f32 (/.f32 1 (+.f32 (pow.f32 1 3) (pow.f32 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s)) 3))) (+.f32 (*.f32 1 1) (-.f32 (*.f32 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s)) (pow.f32 (E.f32) (/.f32 (neg.f32 x) s))) (*.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s))))))
15.3b
(*.f32 (/.f32 1 (*.f32 (cbrt.f32 (+.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s)))) (cbrt.f32 (+.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s)))))) (/.f32 1 (cbrt.f32 (+.f32 1 (pow.f32 (pow.f32 (E.f32) (/.f32 (sqrt.f32 (neg.f32 x)) (sqrt.f32 s))) (/.f32 (sqrt.f32 (neg.f32 x)) (sqrt.f32 s)))))))
0.3b
(*.f32 (/.f32 1 (*.f32 (cbrt.f32 (+.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s)))) (cbrt.f32 (+.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s)))))) (/.f32 1 (cbrt.f32 (+.f32 1 (*.f32 (pow.f32 (sqrt.f32 (E.f32)) (neg.f32 (/.f32 x s))) (pow.f32 (sqrt.f32 (E.f32)) (neg.f32 (/.f32 x s))))))))
0.3b
(*.f32 (/.f32 1 (*.f32 (*.f32 (cbrt.f32 (*.f32 (cbrt.f32 (+.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s)))) (cbrt.f32 (+.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s)))))) (cbrt.f32 (*.f32 (cbrt.f32 (+.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s)))) (cbrt.f32 (+.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s))))))) (cbrt.f32 (*.f32 (cbrt.f32 (+.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s)))) (cbrt.f32 (+.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s)))))))) (/.f32 1 (cbrt.f32 (+.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s))))))
0.3b
(*.f32 (/.f32 1 (exp.f32 (*.f32 2 (log.f32 (cbrt.f32 (+.f32 1 (pow.f32 (E.f32) (neg.f32 (/.f32 x s))))))))) (/.f32 1 (cbrt.f32 (+.f32 1 (pow.f32 (E.f32) (/.f32 (neg.f32 x) s))))))
Compiler

Compiled 23372 to 11137 computations (52.3% saved)

regimes1.5s (20.2%)

Accuracy

Total 0.0b remaining (50.4%)

Threshold costs 0.0b (50.4%)

Counts
152 → 1
Compiler

Compiled 40544 to 25950 computations (36% saved)

simplify3.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
01116
12116
22716
33116
43216
53116

end0.0ms (0%)

Compiler

Compiled 11 to 9 computations (18.2% saved)

sample1.3s (17.1%)

Algorithm
intervals
Results
470.0ms8000×body128valid
207.0ms8000×pre128true
Compiler

Compiled 311 to 191 computations (38.6% saved)

Profiling

Loading profile data...