Details

Time bar (total: 6.5s)

analyze807.0ms (12.5%)

Algorithm
search
Search
TrueOtherFalseIter
0%2.1%97.9%0
0%2.1%97.9%1
0%2.1%97.9%2
0%2.1%97.9%3
0.8%1.3%97.9%4
0.9%1.2%97.9%5
1.3%0.7%97.9%6
1.4%0.7%97.9%7
1.6%0.5%97.9%8
1.6%0.5%97.9%9
1.7%0.4%97.9%10
1.7%0.4%97.9%11
1.7%0.3%97.9%12
1.7%0.3%97.9%13
1.8%0.3%97.9%14
Compiler

Compiled 50 to 36 computations (28% saved)

sample2.7s (41.5%)

Results
2.6s8256×body128valid
Compiler

Compiled 135 to 97 computations (28.1% saved)

simplify64.0ms (1%)

Algorithm
egg-herbie
Rules
672×fma-neg_binary32
634×associate-*l*_binary32
530×associate-*r*_binary32
445×associate-/r*_binary32
406×*-commutative_binary32
Counts
1 → 2
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02653
16643
223735
386432
4257232
5389032
6429332
7487132
8487032

prune5.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.1b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.1b
(+.f32 (/.f32 (*.f32 1/4 (exp.f32 (/.f32 (neg.f32 r) s))) (*.f32 (*.f32 (*.f32 2 (PI.f32)) s) r)) (/.f32 (*.f32 3/4 (exp.f32 (/.f32 (neg.f32 r) (*.f32 3 s)))) (*.f32 (*.f32 (*.f32 6 (PI.f32)) s) r)))
0.4b
(*.f32 (/.f32 (/.f32 1/8 (*.f32 s (PI.f32))) r) (+.f32 (exp.f32 (/.f32 (neg.f32 r) s)) (pow.f32 (exp.f32 (/.f32 r s)) -1/3)))
Compiler

Compiled 169 to 117 computations (30.8% saved)

localize86.0ms (1.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(/.f32 (neg.f32 r) (*.f32 3 s))
0.3b
(*.f32 (*.f32 (*.f32 2 (PI.f32)) s) r)
0.3b
(*.f32 (*.f32 (*.f32 6 (PI.f32)) s) r)
0.3b
(*.f32 (*.f32 2 (PI.f32)) s)

series33.0ms (0.5%)

Counts
4 → 84
Calls

4 calls:

12.0ms
(*.f32 (*.f32 (*.f32 6 (PI.f32)) s) r)
9.0ms
(*.f32 (*.f32 (*.f32 2 (PI.f32)) s) r)
9.0ms
(/.f32 (neg.f32 r) (*.f32 3 s))
3.0ms
(*.f32 (*.f32 2 (PI.f32)) s)

rewrite26.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
32×add-cbrt-cube_binary32
32×add-exp-log_binary32
27×pow1_binary32
16×cbrt-unprod_binary32
16×prod-exp_binary32
Counts
4 → 105
Calls

4 calls:

5.0ms
(*.f32 (*.f32 (*.f32 2 (PI.f32)) s) r)
5.0ms
(*.f32 (*.f32 (*.f32 6 (PI.f32)) s) r)
4.0ms
(/.f32 (neg.f32 r) (*.f32 3 s))
4.0ms
(*.f32 (*.f32 2 (PI.f32)) s)

simplify92.0ms (1.4%)

Algorithm
egg-herbie
Rules
512×associate-/l*_binary32
418×associate-*l*_binary32
326×associate-/r*_binary32
318×distribute-rgt-neg-out_binary32
310×associate-*r*_binary32
Counts
189 → 153
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01872248
14421951
218851945
345711945
449351945

prune317.0ms (4.9%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1485153
Fresh011
Picked101
Done000
Total1496155
Error
0.0b
Counts
155 → 6
Alt Table
StatusErrorProgram
0.1b
(+.f32 (/.f32 (*.f32 1/4 (exp.f32 (/.f32 (neg.f32 r) s))) (*.f32 (*.f32 2 (PI.f32)) (*.f32 s r))) (/.f32 (*.f32 3/4 (exp.f32 (/.f32 (neg.f32 r) (*.f32 3 s)))) (*.f32 (*.f32 (*.f32 6 (PI.f32)) s) r)))
0.1b
(+.f32 (/.f32 (*.f32 1/4 (exp.f32 (/.f32 (neg.f32 r) s))) (*.f32 (*.f32 (*.f32 2 (PI.f32)) s) r)) (/.f32 (*.f32 3/4 (exp.f32 (/.f32 (neg.f32 r) (*.f32 3 s)))) (*.f32 (*.f32 6 (PI.f32)) (*.f32 s r))))
0.1b
(+.f32 (/.f32 (*.f32 1/4 (exp.f32 (/.f32 (neg.f32 r) s))) (*.f32 (*.f32 (*.f32 2 (PI.f32)) s) r)) (/.f32 (*.f32 3/4 (exp.f32 (/.f32 (neg.f32 r) (*.f32 3 s)))) (exp.f32 (log.f32 (*.f32 6 (*.f32 s (*.f32 (PI.f32) r)))))))
0.4b
(*.f32 (/.f32 (/.f32 1/8 (*.f32 s (PI.f32))) r) (+.f32 (exp.f32 (/.f32 (neg.f32 r) s)) (pow.f32 (exp.f32 (/.f32 r s)) -1/3)))
0.1b
(+.f32 (/.f32 (*.f32 1/4 (exp.f32 (/.f32 (neg.f32 r) s))) (*.f32 (*.f32 (*.f32 (*.f32 2 (PI.f32)) s) (sqrt.f32 r)) (sqrt.f32 r))) (/.f32 (*.f32 3/4 (exp.f32 (/.f32 (neg.f32 r) (*.f32 3 s)))) (*.f32 (*.f32 (*.f32 6 (PI.f32)) s) r)))
0.1b
(+.f32 (/.f32 (*.f32 1/4 (exp.f32 (/.f32 (neg.f32 r) s))) (*.f32 (*.f32 (*.f32 2 (PI.f32)) s) r)) (/.f32 (*.f32 3/4 (exp.f32 (/.f32 (neg.f32 r) (*.f32 3 s)))) (*.f32 (sqrt.f32 (*.f32 (*.f32 (*.f32 6 (PI.f32)) s) r)) (sqrt.f32 (*.f32 (*.f32 (*.f32 6 (PI.f32)) s) r)))))
Compiler

Compiled 6234 to 3601 computations (42.2% saved)

localize87.0ms (1.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(/.f32 (neg.f32 r) (*.f32 3 s))
0.3b
(*.f32 (*.f32 (*.f32 2 (PI.f32)) s) r)
0.3b
(*.f32 (*.f32 6 (PI.f32)) (*.f32 s r))
0.3b
(*.f32 (*.f32 2 (PI.f32)) s)

series9.0ms (0.1%)

Counts
1 → 24
Calls

1 calls:

9.0ms
(*.f32 (*.f32 6 (PI.f32)) (*.f32 s r))

rewrite7.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
13×add-cbrt-cube_binary32
13×add-exp-log_binary32
13×pow1_binary32
cbrt-unprod_binary32
prod-exp_binary32
Counts
1 → 24
Calls

1 calls:

5.0ms
(*.f32 (*.f32 6 (PI.f32)) (*.f32 s r))

simplify70.0ms (1.1%)

Algorithm
egg-herbie
Rules
407×associate-/l/_binary32
395×*-commutative_binary32
338×sqr-pow_binary32
336×associate-/l*_binary32
287×associate-*r/_binary32
Counts
48 → 30
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
054665
1132565
2487565
3756565
41012565
51447565
62224565
73813565
84955565

prune303.0ms (4.7%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1510151
Fresh055
Picked011
Done000
Total1516157
Error
0.0b
Counts
157 → 6
Alt Table
StatusErrorProgram
0.1b
(+.f32 (/.f32 (*.f32 1/4 (exp.f32 (/.f32 (neg.f32 r) s))) (*.f32 (*.f32 2 (PI.f32)) (*.f32 s r))) (/.f32 (*.f32 3/4 (exp.f32 (/.f32 (neg.f32 r) (*.f32 3 s)))) (*.f32 (*.f32 (*.f32 6 (PI.f32)) s) r)))
0.1b
(+.f32 (/.f32 (*.f32 1/4 (exp.f32 (/.f32 (neg.f32 r) s))) (*.f32 (*.f32 (*.f32 2 (PI.f32)) s) r)) (/.f32 (*.f32 3/4 (exp.f32 (/.f32 (neg.f32 r) (*.f32 3 s)))) (*.f32 (*.f32 6 (PI.f32)) (*.f32 s r))))
0.1b
(+.f32 (/.f32 (*.f32 1/4 (exp.f32 (/.f32 (neg.f32 r) s))) (*.f32 (*.f32 (*.f32 2 (PI.f32)) s) r)) (/.f32 (*.f32 3/4 (exp.f32 (/.f32 (neg.f32 r) (*.f32 3 s)))) (exp.f32 (log.f32 (*.f32 6 (*.f32 s (*.f32 (PI.f32) r)))))))
0.4b
(*.f32 (/.f32 (/.f32 1/8 (*.f32 s (PI.f32))) r) (+.f32 (exp.f32 (/.f32 (neg.f32 r) s)) (pow.f32 (exp.f32 (/.f32 r s)) -1/3)))
0.1b
(+.f32 (/.f32 (*.f32 1/4 (exp.f32 (/.f32 (neg.f32 r) s))) (*.f32 (*.f32 (*.f32 (*.f32 2 (PI.f32)) s) (sqrt.f32 r)) (sqrt.f32 r))) (/.f32 (*.f32 3/4 (exp.f32 (/.f32 (neg.f32 r) (*.f32 3 s)))) (*.f32 (*.f32 (*.f32 6 (PI.f32)) s) r)))
0.1b
(+.f32 (/.f32 (*.f32 1/4 (exp.f32 (/.f32 (neg.f32 r) s))) (*.f32 (*.f32 (*.f32 2 (PI.f32)) s) r)) (/.f32 (*.f32 3/4 (exp.f32 (/.f32 (neg.f32 r) (*.f32 3 s)))) (*.f32 (sqrt.f32 (*.f32 (*.f32 (*.f32 6 (PI.f32)) s) r)) (sqrt.f32 (*.f32 (*.f32 (*.f32 6 (PI.f32)) s) r)))))
Compiler

Compiled 6130 to 3398 computations (44.6% saved)

localize102.0ms (1.6%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f32 (*.f32 3/4 (exp.f32 (/.f32 (neg.f32 r) (*.f32 3 s)))) (*.f32 (*.f32 (*.f32 6 (PI.f32)) s) r))
0.3b
(/.f32 (neg.f32 r) (*.f32 3 s))
0.3b
(*.f32 (*.f32 (*.f32 6 (PI.f32)) s) r)
0.4b
(*.f32 (*.f32 2 (PI.f32)) (*.f32 s r))

series38.0ms (0.6%)

Counts
2 → 48
Calls

2 calls:

29.0ms
(/.f32 (*.f32 3/4 (exp.f32 (/.f32 (neg.f32 r) (*.f32 3 s)))) (*.f32 (*.f32 (*.f32 6 (PI.f32)) s) r))
9.0ms
(*.f32 (*.f32 2 (PI.f32)) (*.f32 s r))

rewrite27.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
46×add-cbrt-cube_binary32
42×add-exp-log_binary32
24×cbrt-unprod_binary32
24×prod-exp_binary32
14×pow1_binary32
Counts
2 → 58
Calls

2 calls:

12.0ms
(/.f32 (*.f32 3/4 (exp.f32 (/.f32 (neg.f32 r) (*.f32 3 s)))) (*.f32 (*.f32 (*.f32 6 (PI.f32)) s) r))
7.0ms
(*.f32 (*.f32 2 (PI.f32)) (*.f32 s r))

simplify123.0ms (1.9%)

Algorithm
egg-herbie
Rules
730×associate-*l/_binary32
496×associate-/l/_binary32
357×times-frac_binary32
316×associate-*l*_binary32
253×associate-*r*_binary32
Counts
106 → 89
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01722780
14992031
224721978
349401978
449401978

prune391.0ms (6%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1784182
Fresh224
Picked101
Done011
Total1817188
Error
0b
Counts
188 → 7
Alt Table
StatusErrorProgram
0.1b
(+.f32 (/.f32 (*.f32 1/4 (exp.f32 (/.f32 (neg.f32 r) s))) (*.f32 (*.f32 (*.f32 2 (PI.f32)) s) r)) (/.f32 (*.f32 3/4 (exp.f32 (/.f32 (neg.f32 r) (*.f32 3 s)))) (exp.f32 (log.f32 (*.f32 6 (*.f32 s (*.f32 (PI.f32) r)))))))
0.1b
(+.f32 (/.f32 (*.f32 1/4 (exp.f32 (/.f32 (neg.f32 r) s))) (*.f32 (*.f32 2 (PI.f32)) (*.f32 s r))) (*.f32 (/.f32 3/4 (*.f32 (*.f32 6 (PI.f32)) s)) (/.f32 (exp.f32 (/.f32 (neg.f32 r) (*.f32 3 s))) r)))
0.2b
(+.f32 (/.f32 (*.f32 1/4 (exp.f32 (/.f32 (neg.f32 r) s))) (*.f32 (*.f32 2 (PI.f32)) (*.f32 s r))) (/.f32 (/.f32 -3/4 (cbrt.f32 (exp.f32 (/.f32 r s)))) (*.f32 -6 (*.f32 s (*.f32 (PI.f32) r)))))
0.2b
(+.f32 (/.f32 (*.f32 1/4 (exp.f32 (/.f32 (neg.f32 r) s))) (*.f32 (*.f32 2 (PI.f32)) (*.f32 s r))) (/.f32 (/.f32 (/.f32 1/8 (cbrt.f32 (exp.f32 (/.f32 r s)))) (*.f32 s (PI.f32))) r))
0.3b
(+.f32 (/.f32 (*.f32 1/4 (exp.f32 (/.f32 (neg.f32 r) s))) (*.f32 (*.f32 2 (PI.f32)) (*.f32 s r))) (exp.f32 (+.f32 (log.f32 (/.f32 1/8 (*.f32 s (*.f32 (PI.f32) r)))) (*.f32 -1/3 (/.f32 r s)))))
0.4b
(*.f32 (/.f32 (/.f32 1/8 (*.f32 s (PI.f32))) r) (+.f32 (exp.f32 (/.f32 (neg.f32 r) s)) (pow.f32 (exp.f32 (/.f32 r s)) -1/3)))
0.1b
(+.f32 (/.f32 (*.f32 1/4 (exp.f32 (/.f32 (neg.f32 r) s))) (*.f32 (*.f32 (*.f32 2 (PI.f32)) s) r)) (/.f32 (*.f32 3/4 (exp.f32 (/.f32 (neg.f32 r) (*.f32 3 s)))) (*.f32 (*.f32 6 (PI.f32)) (*.f32 s r))))
Compiler

Compiled 7562 to 4140 computations (45.3% saved)

localize91.0ms (1.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f32 (/.f32 3/4 (*.f32 (*.f32 6 (PI.f32)) s)) (/.f32 (exp.f32 (/.f32 (neg.f32 r) (*.f32 3 s))) r))
0.2b
(/.f32 3/4 (*.f32 (*.f32 6 (PI.f32)) s))
0.3b
(/.f32 (neg.f32 r) (*.f32 3 s))
0.4b
(*.f32 (*.f32 2 (PI.f32)) (*.f32 s r))

series35.0ms (0.5%)

Counts
2 → 36
Calls

2 calls:

28.0ms
(*.f32 (/.f32 3/4 (*.f32 (*.f32 6 (PI.f32)) s)) (/.f32 (exp.f32 (/.f32 (neg.f32 r) (*.f32 3 s))) r))
7.0ms
(/.f32 3/4 (*.f32 (*.f32 6 (PI.f32)) s))

rewrite30.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
43×add-cbrt-cube_binary32
39×add-exp-log_binary32
18×add-sqr-sqrt_binary32
17×cbrt-unprod_binary32
17×prod-exp_binary32
Counts
2 → 77
Calls

2 calls:

14.0ms
(*.f32 (/.f32 3/4 (*.f32 (*.f32 6 (PI.f32)) s)) (/.f32 (exp.f32 (/.f32 (neg.f32 r) (*.f32 3 s))) r))
5.0ms
(/.f32 3/4 (*.f32 (*.f32 6 (PI.f32)) s))

simplify121.0ms (1.9%)

Algorithm
egg-herbie
Rules
654×fma-def_binary32
528×*-commutative_binary32
308×fma-neg_binary32
246×cancel-sign-sub-inv_binary32
223×sub-neg_binary32
Counts
113 → 132
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01902938
15112317
219722299
331792243
446942243
550122243

prune485.0ms (7.5%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New2221223
Fresh145
Picked101
Done011
Total2246230
Error
0b
Counts
230 → 6
Alt Table
StatusErrorProgram
0.1b
(+.f32 (/.f32 (*.f32 1/4 (exp.f32 (/.f32 (neg.f32 r) s))) (*.f32 (*.f32 (*.f32 2 (PI.f32)) s) r)) (/.f32 (*.f32 3/4 (exp.f32 (/.f32 (neg.f32 r) (*.f32 3 s)))) (exp.f32 (log.f32 (*.f32 6 (*.f32 s (*.f32 (PI.f32) r)))))))
0.2b
(+.f32 (/.f32 (*.f32 1/4 (exp.f32 (/.f32 (neg.f32 r) s))) (*.f32 (*.f32 2 (PI.f32)) (*.f32 s r))) (/.f32 (/.f32 -3/4 (cbrt.f32 (exp.f32 (/.f32 r s)))) (*.f32 -6 (*.f32 s (*.f32 (PI.f32) r)))))
0.3b
(+.f32 (/.f32 (*.f32 1/4 (exp.f32 (/.f32 (neg.f32 r) s))) (*.f32 (*.f32 2 (PI.f32)) (*.f32 s r))) (exp.f32 (+.f32 (log.f32 (/.f32 1/8 (*.f32 s (*.f32 (PI.f32) r)))) (*.f32 -1/3 (/.f32 r s)))))
0.4b
(*.f32 (/.f32 (/.f32 1/8 (*.f32 s (PI.f32))) r) (+.f32 (exp.f32 (/.f32 (neg.f32 r) s)) (pow.f32 (exp.f32 (/.f32 r s)) -1/3)))
0.2b
(+.f32 (/.f32 (*.f32 1/4 (exp.f32 (/.f32 (neg.f32 r) s))) (*.f32 (*.f32 2 (PI.f32)) (*.f32 s r))) (*.f32 3/4 (/.f32 (/.f32 (/.f32 1/6 (PI.f32)) s) (*.f32 r (cbrt.f32 (exp.f32 (/.f32 r s)))))))
0.1b
(+.f32 (/.f32 (*.f32 1/4 (exp.f32 (/.f32 (neg.f32 r) s))) (*.f32 (*.f32 (*.f32 2 (PI.f32)) s) r)) (/.f32 (*.f32 3/4 (exp.f32 (/.f32 (neg.f32 r) (*.f32 3 s)))) (*.f32 (*.f32 6 (PI.f32)) (*.f32 s r))))
Compiler

Compiled 9120 to 4997 computations (45.2% saved)

regimes303.0ms (4.7%)

Accuracy

Total 0.1b remaining (53.3%)

Threshold costs 0.1b (53.3%)

Counts
82 → 1
Compiler

Compiled 9037 to 6478 computations (28.3% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
11×*-commutative_binary32
+-commutative_binary32
sub-neg_binary32
neg-sub0_binary32
neg-mul-1_binary32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02653
14353
24953
35453
45653
55653

end133.0ms (2.1%)

Compiler

Compiled 263 to 190 computations (27.8% saved)

Profiling

Loading profile data...