Details

Time bar (total: 8.1s)

analyze281.0ms (3.5%)

Algorithm
search
Search
TrueOtherFalseIter
0%2.1%97.9%0
0%2.1%97.9%1
1%1%97.9%2
1%1%97.9%3
1.5%0.5%97.9%4
1.5%0.5%97.9%5
1.8%0.3%97.9%6
1.8%0.3%97.9%7
1.9%0.1%97.9%8
1.9%0.1%97.9%9
2%0.1%97.9%10
2%0.1%97.9%11
2%0%97.9%12
2%0%97.9%13
2%0%97.9%14
Compiler

Compiled 50 to 36 computations (28% saved)

sample113.0ms (1.4%)

Algorithm
intervals
Results
72.0ms256×body128valid
11.0ms256×pre128true
Compiler

Compiled 87 to 63 computations (27.6% saved)

simplify94.0ms (1.2%)

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

prune9.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)))
1.8b
(*.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)

localize222.0ms (2.7%)

Local error

Found 4 expressions with local error:

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

series62.0ms (0.8%)

Counts
4 → 84
Calls

4 calls:

21.0ms
(*.f32 (*.f32 (*.f32 6 (PI.f32)) s) r)
20.0ms
(*.f32 (*.f32 (*.f32 2 (PI.f32)) s) r)
14.0ms
(/.f32 (neg.f32 r) (*.f32 3 s))
6.0ms
(*.f32 (*.f32 2 (PI.f32)) s)

rewrite53.0ms (0.7%)

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:

11.0ms
(*.f32 (*.f32 (*.f32 6 (PI.f32)) s) r)
11.0ms
(*.f32 (*.f32 (*.f32 2 (PI.f32)) s) r)
9.0ms
(*.f32 (*.f32 2 (PI.f32)) s)
8.0ms
(/.f32 (neg.f32 r) (*.f32 3 s))

simplify167.0ms (2%)

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

Useful iterations: 2 (0.0ms)

IterNodesCost
01872248
14421951
218851945
345711945
449351945

prune642.0ms (7.9%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1506156
Fresh101
Picked101
Done000
Total1526158
Error
0.1b
Counts
158 → 6
Alt Table
StatusErrorProgram
0.1b
(+.f32 (/.f32 (*.f32 1/4 (exp.f32 (/.f32 (neg.f32 r) s))) (*.f32 (expm1.f32 (log1p.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.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 (*.f32 6 (PI.f32)) s) (*.f32 (cbrt.f32 r) (cbrt.f32 r))) (cbrt.f32 r))))
0.2b
(+.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 (+.f32 (log.f32 (*.f32 (*.f32 6 (PI.f32)) s)) (log.f32 r)))))
0.1b
(+.f32 (/.f32 (*.f32 1/4 (exp.f32 (/.f32 (neg.f32 r) s))) (*.f32 (*.f32 (*.f32 (cbrt.f32 (*.f32 (*.f32 2 (PI.f32)) s)) (cbrt.f32 (*.f32 (*.f32 2 (PI.f32)) s))) (cbrt.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.2b
(+.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 -1/3 (/.f32 r 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 (*.f32 (*.f32 6 (PI.f32)) s) (sqrt.f32 r)) (sqrt.f32 r))))
Compiler

Compiled 6398 to 3703 computations (42.1% saved)

localize195.0ms (2.4%)

Local error

Found 4 expressions with local error:

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

series18.0ms (0.2%)

Counts
1 → 24
Calls

1 calls:

18.0ms
(*.f32 (expm1.f32 (log1p.f32 (*.f32 (*.f32 2 (PI.f32)) s))) r)

rewrite7.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary32
associate-*r*_binary32
associate-*l*_binary32
*-un-lft-identity_binary32
add-cube-cbrt_binary32
Counts
1 → 20
Calls

1 calls:

5.0ms
(*.f32 (expm1.f32 (log1p.f32 (*.f32 (*.f32 2 (PI.f32)) s))) r)

simplify132.0ms (1.6%)

Algorithm
egg-herbie
Rules
585×fma-def_binary32
560×*-commutative_binary32
515×associate-*r*_binary32
240×associate-/l*_binary32
230×sqr-pow_binary32
Counts
44 → 34
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
042587
182541
2313541
31091541
41798541
52255541
63643541
74957541

prune664.0ms (8.2%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1552157
Fresh235
Picked101
Done000
Total1585163
Error
0.1b
Counts
163 → 5
Alt Table
StatusErrorProgram
0.2b
(+.f32 (/.f32 (*.f32 1/4 (exp.f32 (/.f32 (neg.f32 r) s))) (*.f32 (expm1.f32 (log1p.f32 (*.f32 (*.f32 2 (PI.f32)) s))) r)) (/.f32 (*.f32 3/4 (exp.f32 (*.f32 -1/3 (/.f32 r 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 (*.f32 (*.f32 6 (PI.f32)) s) (*.f32 (cbrt.f32 r) (cbrt.f32 r))) (cbrt.f32 r))))
0.2b
(+.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 (+.f32 (log.f32 (*.f32 (*.f32 6 (PI.f32)) s)) (log.f32 r)))))
0.1b
(+.f32 (/.f32 (*.f32 1/4 (exp.f32 (/.f32 (neg.f32 r) s))) (*.f32 (*.f32 (sqrt.f32 (*.f32 s (*.f32 2 (PI.f32)))) (sqrt.f32 r)) (*.f32 (sqrt.f32 (*.f32 s (*.f32 2 (PI.f32)))) (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 (*.f32 (*.f32 (*.f32 6 (PI.f32)) s) (sqrt.f32 r)) (sqrt.f32 r))))
Compiler

Compiled 6694 to 4003 computations (40.2% saved)

localize186.0ms (2.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(*.f32 (*.f32 (*.f32 2 (PI.f32)) s) r)
0.3b
(*.f32 (*.f32 2 (PI.f32)) s)
0.3b
(*.f32 (*.f32 (*.f32 (*.f32 6 (PI.f32)) s) (sqrt.f32 r)) (sqrt.f32 r))
0.4b
(*.f32 (*.f32 (*.f32 6 (PI.f32)) s) (sqrt.f32 r))

series61.0ms (0.8%)

Counts
2 → 32
Calls

2 calls:

37.0ms
(*.f32 (*.f32 (*.f32 6 (PI.f32)) s) (sqrt.f32 r))
24.0ms
(*.f32 (*.f32 (*.f32 (*.f32 6 (PI.f32)) s) (sqrt.f32 r)) (sqrt.f32 r))

rewrite40.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
25×add-cbrt-cube_binary32
25×add-exp-log_binary32
25×pow1_binary32
16×cbrt-unprod_binary32
16×prod-exp_binary32
Counts
2 → 55
Calls

2 calls:

19.0ms
(*.f32 (*.f32 (*.f32 (*.f32 6 (PI.f32)) s) (sqrt.f32 r)) (sqrt.f32 r))
12.0ms
(*.f32 (*.f32 (*.f32 6 (PI.f32)) s) (sqrt.f32 r))

simplify162.0ms (2%)

Algorithm
egg-herbie
Rules
563×*-commutative_binary32
455×sqr-pow_binary32
339×associate-*l*_binary32
332×associate-/l/_binary32
316×unswap-sqr_binary32
Counts
87 → 73
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0911317
12271149
29981149
315931149
421461149
534711149
647791149
749871149

prune618.0ms (7.6%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1351136
Fresh044
Picked011
Done000
Total1356141
Error
0.1b
Counts
141 → 6
Alt Table
StatusErrorProgram
0.2b
(+.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 (exp.f32 (log.f32 (*.f32 6 (*.f32 (*.f32 s (PI.f32)) (sqrt.f32 r))))) (sqrt.f32 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 (*.f32 (*.f32 6 (PI.f32)) s) (*.f32 (cbrt.f32 r) (cbrt.f32 r))) (cbrt.f32 r))))
0.2b
(+.f32 (/.f32 (*.f32 1/4 (exp.f32 (/.f32 (neg.f32 r) s))) (*.f32 (expm1.f32 (log1p.f32 (*.f32 (*.f32 2 (PI.f32)) s))) r)) (/.f32 (*.f32 3/4 (exp.f32 (*.f32 -1/3 (/.f32 r s)))) (*.f32 (*.f32 (*.f32 6 (PI.f32)) s) r)))
0.2b
(+.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 (+.f32 (log.f32 (*.f32 (*.f32 6 (PI.f32)) s)) (log.f32 r)))))
0.1b
(+.f32 (/.f32 (*.f32 1/4 (exp.f32 (/.f32 (neg.f32 r) s))) (*.f32 (*.f32 (sqrt.f32 (*.f32 s (*.f32 2 (PI.f32)))) (sqrt.f32 r)) (*.f32 (sqrt.f32 (*.f32 s (*.f32 2 (PI.f32)))) (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 (*.f32 (*.f32 (*.f32 6 (PI.f32)) s) (sqrt.f32 r)) (sqrt.f32 r))))
Compiler

Compiled 6276 to 3418 computations (45.5% saved)

localize198.0ms (2.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(*.f32 (*.f32 2 (PI.f32)) s)
0.3b
(*.f32 (*.f32 (*.f32 (*.f32 6 (PI.f32)) s) (*.f32 (cbrt.f32 r) (cbrt.f32 r))) (cbrt.f32 r))
0.3b
(*.f32 (*.f32 (*.f32 6 (PI.f32)) s) (*.f32 (cbrt.f32 r) (cbrt.f32 r)))
0.5b
(*.f32 (cbrt.f32 r) (cbrt.f32 r))

series854.0ms (10.5%)

Counts
3 → 60
Calls

3 calls:

727.0ms
(*.f32 (*.f32 (*.f32 6 (PI.f32)) s) (*.f32 (cbrt.f32 r) (cbrt.f32 r)))
76.0ms
(*.f32 (cbrt.f32 r) (cbrt.f32 r))
51.0ms
(*.f32 (*.f32 (*.f32 (*.f32 6 (PI.f32)) s) (*.f32 (cbrt.f32 r) (cbrt.f32 r))) (cbrt.f32 r))

rewrite58.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
60×pow1_binary32
55×add-exp-log_binary32
39×pow-prod-down_binary32
38×cbrt-unprod_binary32
38×prod-exp_binary32
Counts
3 → 110
Calls

3 calls:

19.0ms
(*.f32 (*.f32 (*.f32 (*.f32 6 (PI.f32)) s) (*.f32 (cbrt.f32 r) (cbrt.f32 r))) (cbrt.f32 r))
16.0ms
(*.f32 (*.f32 (*.f32 6 (PI.f32)) s) (*.f32 (cbrt.f32 r) (cbrt.f32 r)))
9.0ms
(*.f32 (cbrt.f32 r) (cbrt.f32 r))

simplify293.0ms (3.6%)

Algorithm
egg-herbie
Rules
883×fma-def_binary32
419×sqr-pow_binary32
391×unswap-sqr_binary32
384×associate-*l*_binary32
315×log-prod_binary32
Counts
170 → 140
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01422626
13002214
212642148
318392114
432042022
543122022
649702022
750762022

prune478.0ms (5.9%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1664170
Fresh134
Picked101
Done011
Total1688176
Error
0.0b
Counts
176 → 8
Alt Table
StatusErrorProgram
0.2b
(+.f32 (/.f32 (*.f32 1/4 (exp.f32 (/.f32 (neg.f32 r) s))) (*.f32 (expm1.f32 (log1p.f32 (*.f32 (*.f32 2 (PI.f32)) s))) r)) (/.f32 (*.f32 3/4 (exp.f32 (*.f32 -1/3 (/.f32 r s)))) (*.f32 (*.f32 (*.f32 6 (PI.f32)) s) r)))
0.2b
(+.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 (exp.f32 (log.f32 (*.f32 6 (*.f32 (*.f32 s (PI.f32)) (sqrt.f32 r))))) (sqrt.f32 r))))
0.2b
(+.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 (+.f32 (log.f32 (*.f32 (*.f32 6 (PI.f32)) s)) (log.f32 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 (sqrt.f32 (*.f32 (*.f32 (*.f32 6 (PI.f32)) s) (*.f32 (cbrt.f32 r) (cbrt.f32 r)))) (sqrt.f32 (*.f32 (*.f32 (*.f32 6 (PI.f32)) s) (*.f32 (cbrt.f32 r) (cbrt.f32 r))))) (cbrt.f32 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 (*.f32 (*.f32 6 (PI.f32)) s) (*.f32 (*.f32 (cbrt.f32 (sqrt.f32 r)) (cbrt.f32 (sqrt.f32 r))) (*.f32 (cbrt.f32 (sqrt.f32 r)) (cbrt.f32 (sqrt.f32 r))))) (cbrt.f32 r))))
19.2b
(+.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 (log.f32 (pow.f32 (exp.f32 (cbrt.f32 (*.f32 r r))) (*.f32 6 (*.f32 s (PI.f32))))) (cbrt.f32 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 (*.f32 (*.f32 6 (PI.f32)) s) (sqrt.f32 r)) (sqrt.f32 r))))
0.2b
(+.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 (*.f32 (*.f32 s (PI.f32)) (pow.f32 (pow.f32 r 2) 1/3))) (cbrt.f32 r))))
Compiler

Compiled 8045 to 4134 computations (48.6% saved)

regimes519.0ms (6.4%)

Accuracy

Total 0.1b remaining (40.1%)

Threshold costs 0.1b (40.1%)

Counts
136 → 1
Compiler

Compiled 16309 to 11581 computations (29% saved)

simplify4.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02870
14670
25270
35770
45970
55970

end3.0ms (0%)

Compiler

Compiled 45 to 30 computations (33.3% saved)

sample2.0s (24.6%)

Algorithm
intervals
Results
1.1s8000×body128valid
214.0ms8000×pre128true
Compiler

Compiled 444 to 307 computations (30.9% saved)

Profiling

Loading profile data...