Details

Time bar (total: 5.5s)

analyze99.0ms (1.8%)

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)

sample2.1s (37.4%)

Results
2.0s8256×body128valid
Compiler

Compiled 135 to 97 computations (28.1% saved)

simplify57.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

prune4.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.2b
Counts
3 → 2
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 (*.f32 (*.f32 6 (PI.f32)) s) r)))
1.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)

localize81.0ms (1.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(*.f32 (*.f32 (*.f32 6 (PI.f32)) s) r)
0.3b
(/.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)

series28.0ms (0.5%)

Counts
4 → 84
Calls

4 calls:

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

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

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

simplify93.0ms (1.7%)

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

Useful iterations: 2 (0.0ms)

IterNodesCost
01872248
14421951
218851945
345711945
449351945

prune287.0ms (5.2%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1459154
Fresh101
Picked101
Done000
Total1479156
Error
0.1b
Counts
156 → 9
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 6 (*.f32 s (*.f32 (PI.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 (sqrt.f32 (*.f32 (*.f32 (*.f32 6 (PI.f32)) s) r)) (sqrt.f32 (*.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 (*.f32 (*.f32 (*.f32 6 (PI.f32)) s) (*.f32 (cbrt.f32 r) (cbrt.f32 r))) (cbrt.f32 r))))
0.3b
(+.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 (+.f32 (log.f32 (*.f32 6 (PI.f32))) (log.f32 s)) (log.f32 r)))))
0.3b
(+.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 (+.f32 (+.f32 (log.f32 6) (log.f32 (PI.f32))) (log.f32 s)) (log.f32 r)))))
19.5b
(+.f32 (/.f32 (*.f32 1/4 (exp.f32 (/.f32 (neg.f32 r) s))) (*.f32 (cbrt.f32 (*.f32 (*.f32 (*.f32 (*.f32 2 (PI.f32)) (*.f32 2 (PI.f32))) (*.f32 2 (PI.f32))) (*.f32 (*.f32 s s) 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 2 (*.f32 s (*.f32 (PI.f32) 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 (sqrt.f32 (*.f32 (*.f32 (*.f32 2 (PI.f32)) s) r)) (sqrt.f32 (*.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 (*.f32 (cbrt.f32 (/.f32 (neg.f32 r) (*.f32 3 s))) (cbrt.f32 (/.f32 (neg.f32 r) (*.f32 3 s)))) (cbrt.f32 (/.f32 (neg.f32 r) (*.f32 3 s)))))) (*.f32 (*.f32 (*.f32 6 (PI.f32)) s) r)))
Compiler

Compiled 6603 to 3856 computations (41.6% saved)

localize91.0ms (1.7%)

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 2 (PI.f32)) s)
0.5b
(*.f32 (sqrt.f32 (*.f32 (*.f32 (*.f32 6 (PI.f32)) s) r)) (sqrt.f32 (*.f32 (*.f32 (*.f32 6 (PI.f32)) s) r)))

series34.0ms (0.6%)

Counts
1 → 16
Calls

1 calls:

33.0ms
(*.f32 (sqrt.f32 (*.f32 (*.f32 (*.f32 6 (PI.f32)) s) r)) (sqrt.f32 (*.f32 (*.f32 (*.f32 6 (PI.f32)) s) r)))

rewrite30.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
268×pow1_binary32
174×pow-prod-down_binary32
104×sqrt-pow1_binary32
26×pow-prod-up_binary32
18×pow-sqr_binary32
Counts
1 → 91
Calls

1 calls:

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

simplify89.0ms (1.6%)

Algorithm
egg-herbie
Rules
521×associate-/l*_binary32
490×sqr-pow_binary32
422×fma-def_binary32
324×unswap-sqr_binary32
312×associate-/l/_binary32
Counts
107 → 60
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
0561281
11091062
2390960
3807943
41721913
52807913
64890913
74963913

prune558.0ms (10.1%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1783181
Fresh358
Picked011
Done000
Total1819190
Error
0.1b
Counts
190 → 9
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 6 (*.f32 s (*.f32 (PI.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 (sqrt.f32 (*.f32 (*.f32 (*.f32 6 (PI.f32)) s) r)) (sqrt.f32 (*.f32 (*.f32 (*.f32 6 (PI.f32)) s) r)))))
0.3b
(+.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 (+.f32 (+.f32 (log.f32 6) (log.f32 (PI.f32))) (log.f32 s)) (log.f32 r)))))
0.3b
(+.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 (cbrt.f32 (sqrt.f32 (*.f32 (*.f32 (*.f32 6 (PI.f32)) s) r))) (cbrt.f32 (sqrt.f32 (*.f32 (*.f32 (*.f32 6 (PI.f32)) s) r)))) (*.f32 (cbrt.f32 (sqrt.f32 (*.f32 (*.f32 (*.f32 6 (PI.f32)) s) r))) (cbrt.f32 (sqrt.f32 (*.f32 (*.f32 (*.f32 6 (PI.f32)) s) r))))) (*.f32 (cbrt.f32 (sqrt.f32 (*.f32 (*.f32 (*.f32 6 (PI.f32)) s) r))) (cbrt.f32 (sqrt.f32 (*.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 (pow.f32 (sqrt.f32 6) 2) (*.f32 s (*.f32 (PI.f32) r)))))
0.2b
(+.f32 (/.f32 (*.f32 1/4 (exp.f32 (/.f32 (neg.f32 r) s))) (*.f32 2 (*.f32 s (*.f32 (PI.f32) 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 (*.f32 (cbrt.f32 (/.f32 (neg.f32 r) (*.f32 3 s))) (cbrt.f32 (/.f32 (neg.f32 r) (*.f32 3 s)))) (cbrt.f32 (/.f32 (neg.f32 r) (*.f32 3 s)))))) (*.f32 (*.f32 (*.f32 6 (PI.f32)) s) r)))
0.3b
(+.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 (+.f32 (log.f32 (*.f32 6 (PI.f32))) (log.f32 s)) (log.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 (sqrt.f32 (sqrt.f32 (*.f32 (*.f32 (*.f32 6 (PI.f32)) s) r))) (pow.f32 (sqrt.f32 (sqrt.f32 (*.f32 6 (*.f32 s (*.f32 (PI.f32) r))))) 3))))
Compiler

Compiled 9304 to 5681 computations (38.9% saved)

localize79.0ms (1.4%)

Local error

Found 4 expressions with local error:

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

series17.0ms (0.3%)

Counts
3 → 0
Calls

3 calls:

8.0ms
(*.f32 6 (*.f32 s (*.f32 (PI.f32) r)))
7.0ms
(*.f32 s (*.f32 (PI.f32) r))
2.0ms
(*.f32 (PI.f32) r)

rewrite16.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
19×add-cbrt-cube_binary32
19×add-exp-log_binary32
19×pow1_binary32
10×cbrt-unprod_binary32
10×prod-exp_binary32
Counts
3 → 63
Calls

3 calls:

7.0ms
(*.f32 6 (*.f32 s (*.f32 (PI.f32) r)))
4.0ms
(*.f32 s (*.f32 (PI.f32) r))
3.0ms
(*.f32 (PI.f32) r)

simplify83.0ms (1.5%)

Algorithm
egg-herbie
Rules
505×log-div_binary32
477×associate-*r/_binary32
455×associate-*l/_binary32
350×*-commutative_binary32
262×associate-/l*_binary32
Counts
63 → 81
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
083786
1172633
2591633
3943633
41255633
51830633
64193633
74877633
85132633

prune286.0ms (5.2%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1027109
Fresh437
Picked101
Done011
Total10711118
Error
0.1b
Counts
118 → 11
Alt Table
StatusErrorProgram
0.3b
(+.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 (+.f32 (+.f32 (log.f32 6) (log.f32 (PI.f32))) (log.f32 s)) (log.f32 r)))))
0.3b
(+.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 6 (exp.f32 (+.f32 (log.f32 s) (log.f32 (*.f32 (PI.f32) r)))))))
0.3b
(+.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 6 (exp.f32 (log.f32 (*.f32 (*.f32 (PI.f32) r) s))))))
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 6 (*.f32 s (*.f32 (*.f32 (cbrt.f32 (PI.f32)) (cbrt.f32 (PI.f32))) (*.f32 (cbrt.f32 (PI.f32)) r))))))
0.2b
(+.f32 (/.f32 (*.f32 1/4 (exp.f32 (/.f32 (neg.f32 r) s))) (*.f32 (*.f32 (*.f32 (*.f32 2 (PI.f32)) (sqrt.f32 s)) (sqrt.f32 s)) r)) (/.f32 (*.f32 3/4 (exp.f32 (/.f32 (neg.f32 r) (*.f32 3 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 (*.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)))))
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 6 (*.f32 s (*.f32 (*.f32 (cbrt.f32 (*.f32 (PI.f32) r)) (cbrt.f32 (*.f32 (PI.f32) r))) (cbrt.f32 (*.f32 (PI.f32) r)))))))
0.3b
(+.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 6 (*.f32 s (exp.f32 (log.f32 (*.f32 (PI.f32) r)))))))
0.3b
(+.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 6) (+.f32 (log.f32 s) (log.f32 (*.f32 (PI.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 (*.f32 (cbrt.f32 (/.f32 (neg.f32 r) (*.f32 3 s))) (cbrt.f32 (/.f32 (neg.f32 r) (*.f32 3 s)))) (cbrt.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 (neg.f32 r) (*.f32 3 s)))) (*.f32 (sqrt.f32 (sqrt.f32 (*.f32 (*.f32 (*.f32 6 (PI.f32)) s) r))) (pow.f32 (sqrt.f32 (sqrt.f32 (*.f32 6 (*.f32 s (*.f32 (PI.f32) r))))) 3))))
Compiler

Compiled 5036 to 2811 computations (44.2% saved)

localize87.0ms (1.6%)

Local error

Found 4 expressions with local error:

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

series15.0ms (0.3%)

Counts
2 → 8
Calls

2 calls:

9.0ms
(*.f32 (*.f32 2 (PI.f32)) (sqrt.f32 s))
6.0ms
(*.f32 (*.f32 (*.f32 2 (PI.f32)) (sqrt.f32 s)) (sqrt.f32 s))

rewrite20.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
16×add-cbrt-cube_binary32
16×add-exp-log_binary32
16×pow1_binary32
12×associate-*r*_binary32
cbrt-unprod_binary32
Counts
2 → 49
Calls

2 calls:

12.0ms
(*.f32 (*.f32 (*.f32 2 (PI.f32)) (sqrt.f32 s)) (sqrt.f32 s))
5.0ms
(*.f32 (*.f32 2 (PI.f32)) (sqrt.f32 s))

simplify70.0ms (1.3%)

Algorithm
egg-herbie
Rules
744×fma-def_binary32
682×associate-*l/_binary32
376×*-commutative_binary32
255×log-div_binary32
228×distribute-rgt-in_binary32
Counts
57 → 57
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
071704
1171615
2615615
3885615
41123615
51501615
63981615
74985615

prune318.0ms (5.8%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1081109
Fresh189
Picked101
Done011
Total11010120
Error
0.1b
Counts
120 → 10
Alt Table
StatusErrorProgram
0.2b
(+.f32 (/.f32 (*.f32 1/4 (exp.f32 (/.f32 (neg.f32 r) s))) (*.f32 (*.f32 (*.f32 (*.f32 2 (PI.f32)) (sqrt.f32 s)) (sqrt.f32 s)) r)) (/.f32 (*.f32 3/4 (exp.f32 (/.f32 (neg.f32 r) (*.f32 3 s)))) (*.f32 6 (*.f32 s (exp.f32 (log.f32 (*.f32 (PI.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 6 (*.f32 s (*.f32 (*.f32 (cbrt.f32 (PI.f32)) (cbrt.f32 (PI.f32))) (*.f32 (cbrt.f32 (PI.f32)) r))))))
0.3b
(+.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 (+.f32 (+.f32 (log.f32 6) (log.f32 (PI.f32))) (log.f32 s)) (log.f32 r)))))
0.3b
(+.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 6 (exp.f32 (+.f32 (log.f32 s) (log.f32 (*.f32 (PI.f32) r)))))))
0.3b
(+.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 6 (exp.f32 (log.f32 (*.f32 (*.f32 (PI.f32) r) s))))))
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 (sqrt.f32 (*.f32 (*.f32 (*.f32 6 (PI.f32)) s) r)) (sqrt.f32 (*.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 6 (*.f32 s (*.f32 (*.f32 (cbrt.f32 (*.f32 (PI.f32) r)) (cbrt.f32 (*.f32 (PI.f32) r))) (cbrt.f32 (*.f32 (PI.f32) r)))))))
0.3b
(+.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 6) (+.f32 (log.f32 s) (log.f32 (*.f32 (PI.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 (*.f32 (cbrt.f32 (/.f32 (neg.f32 r) (*.f32 3 s))) (cbrt.f32 (/.f32 (neg.f32 r) (*.f32 3 s)))) (cbrt.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 (neg.f32 r) (*.f32 3 s)))) (*.f32 (sqrt.f32 (sqrt.f32 (*.f32 (*.f32 (*.f32 6 (PI.f32)) s) r))) (pow.f32 (sqrt.f32 (sqrt.f32 (*.f32 6 (*.f32 s (*.f32 (PI.f32) r))))) 3))))
Compiler

Compiled 5043 to 2632 computations (47.8% saved)

regimes752.0ms (13.6%)

Accuracy

Total 0.1b remaining (40.4%)

Threshold costs 0.1b (40.4%)

Counts
198 → 1
Compiler

Compiled 24184 to 17269 computations (28.6% saved)

simplify3.0ms (0.1%)

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
03058
14958
25558
36058
46258
56058

end229.0ms (4.2%)

Compiler

Compiled 505 to 359 computations (28.9% saved)

Profiling

Loading profile data...