Details

Time bar (total: 4.5s)

analyze94.0ms (2.1%)

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)

sample109.0ms (2.4%)

Algorithm
intervals
Results
34.0ms256×body128valid
7.0ms256×pre128true
Compiler

Compiled 87 to 63 computations (27.6% saved)

simplify62.0ms (1.4%)

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.9b
(*.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.9%)

Local error

Found 4 expressions with local error:

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

series28.0ms (0.6%)

Counts
4 → 84
Calls

4 calls:

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

rewrite24.0ms (0.5%)

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)

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

Useful iterations: 2 (0.0ms)

IterNodesCost
01872248
14421951
218851945
345711945
449351945

prune242.0ms (5.3%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1504154
Fresh011
Picked101
Done000
Total1515156
Error
0.0b
Counts
156 → 5
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 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)))) (*.f32 (sqrt.f32 (*.f32 (*.f32 (*.f32 6 (PI.f32)) s) r)) (sqrt.f32 (*.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)))) (exp.f32 (+.f32 (+.f32 (log.f32 (*.f32 6 (PI.f32))) (log.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)))) (exp.f32 (+.f32 (+.f32 (+.f32 (log.f32 6) (log.f32 (PI.f32))) (log.f32 s)) (log.f32 r)))))
0.9b
(*.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 6203 to 3578 computations (42.3% saved)

localize82.0ms (1.8%)

Local error

Found 4 expressions with local error:

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

series9.0ms (0.2%)

Counts
1 → 24
Calls

1 calls:

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

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

simplify71.0ms (1.6%)

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

prune330.0ms (7.3%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1492151
Fresh224
Picked101
Done000
Total1524156
Error
0.0b
Counts
156 → 4
Alt Table
StatusErrorProgram
0.1b
(+.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 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 (+.f32 (+.f32 (+.f32 (log.f32 6) (log.f32 (PI.f32))) (log.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)))) (exp.f32 (+.f32 (log.f32 (*.f32 6 (PI.f32))) (+.f32 (log.f32 s) (log.f32 r))))))
0.9b
(*.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 6011 to 3319 computations (44.8% saved)

localize87.0ms (1.9%)

Local error

Found 4 expressions with local error:

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

series10.0ms (0.2%)

Counts
2 → 0
Calls

2 calls:

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

rewrite8.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
add-cbrt-cube_binary32
add-exp-log_binary32
pow1_binary32
add-sqr-sqrt_binary32
associate-*l*_binary32
Counts
2 → 40
Calls

2 calls:

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

simplify69.0ms (1.5%)

Algorithm
egg-herbie
Rules
533×associate-/l/_binary32
503×times-frac_binary32
479×associate-*l*_binary32
382×*-commutative_binary32
359×associate-*r*_binary32
Counts
40 → 51
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
056418
1117345
2365345
31001345
41221345
51572345
62901345
74953345
85164345

prune265.0ms (5.9%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1402142
Fresh123
Picked011
Done000
Total1415146
Error
0.0b
Counts
146 → 5
Alt Table
StatusErrorProgram
0.1b
(+.f32 (/.f32 (*.f32 1/4 (exp.f32 (/.f32 (neg.f32 r) s))) (*.f32 2 (*.f32 s (*.f32 (*.f32 (cbrt.f32 (*.f32 (PI.f32) r)) (cbrt.f32 (*.f32 (PI.f32) r))) (cbrt.f32 (*.f32 (PI.f32) 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 (+.f32 (log.f32 (*.f32 6 (PI.f32))) (+.f32 (log.f32 s) (log.f32 r))))))
0.1b
(+.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 6 (PI.f32)) (*.f32 s r))))
0.1b
(+.f32 (/.f32 (*.f32 1/4 (exp.f32 (/.f32 (neg.f32 r) s))) (*.f32 2 (*.f32 s (exp.f32 (log.f32 (*.f32 (PI.f32) 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 (+.f32 (+.f32 (+.f32 (log.f32 6) (log.f32 (PI.f32))) (log.f32 s)) (log.f32 r)))))
Compiler

Compiled 5721 to 2897 computations (49.4% saved)

localize91.0ms (2%)

Local error

Found 4 expressions with local error:

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

series3.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

3.0ms
(exp.f32 (log.f32 (*.f32 (PI.f32) r)))

rewrite3.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
exp-prod_binary32
pow1_binary32
*-un-lft-identity_binary32
add-sqr-sqrt_binary32
add-cube-cbrt_binary32
Counts
1 → 16
Calls

1 calls:

2.0ms
(exp.f32 (log.f32 (*.f32 (PI.f32) r)))

simplify63.0ms (1.4%)

Algorithm
egg-herbie
Rules
758×fma-def_binary32
689×associate-*l*_binary32
482×associate-*r*_binary32
461×associate-/l*_binary32
258×associate-/l/_binary32
Counts
28 → 22
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
026186
135175
275175
3174175
4292175
5450175
6788175
71918175
82715175
94259175
104924175

prune237.0ms (5.2%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1341135
Fresh123
Picked101
Done011
Total1364140
Error
0.0b
Counts
140 → 4
Alt Table
StatusErrorProgram
0.1b
(+.f32 (/.f32 (*.f32 1/4 (exp.f32 (/.f32 (neg.f32 r) s))) (*.f32 2 (*.f32 s (exp.f32 (log.f32 (*.f32 (sqrt.f32 (*.f32 (PI.f32) r)) (sqrt.f32 (*.f32 (PI.f32) 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 2 (*.f32 s (*.f32 (PI.f32) 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 (+.f32 (+.f32 (+.f32 (log.f32 6) (log.f32 (PI.f32))) (log.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)))) (exp.f32 (+.f32 (log.f32 (*.f32 6 (PI.f32))) (+.f32 (log.f32 s) (log.f32 r))))))
Compiler

Compiled 5502 to 2679 computations (51.3% saved)

regimes400.0ms (8.8%)

Accuracy

Total 0.0b remaining (15.8%)

Threshold costs 0.0b (15.8%)

Counts
110 → 1
Compiler

Compiled 12607 to 9241 computations (26.7% 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
02653
14453
25053
35553
45753
55753

end1.0ms (0%)

Compiler

Compiled 35 to 25 computations (28.6% saved)

sample2.0s (45.2%)

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

Compiled 244 to 176 computations (27.9% saved)

Profiling

Loading profile data...