Details

Time bar (total: 3.5s)

analyze89.0ms (2.6%)

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)

sample1.9s (55.9%)

Results
1.9s8256×body128valid
Compiler

Compiled 100 to 72 computations (28% saved)

preprocess25.0ms (0.7%)

Algorithm
egg-herbie
Rules
654×associate-/l*_binary32
635×associate-/l/_binary32
596×times-frac_binary32
556×associate-*r/_binary32
486×associate-/r/_binary32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
041106
111786
244670
3187364
022
Stop Event
saturated
node limit
Compiler

Compiled 35 to 25 computations (28.6% saved)

simplify20.0ms (0.6%)

Algorithm
egg-herbie
Rules
622×associate-*l*_binary32
523×associate-*r*_binary32
423×associate-/r*_binary32
364×associate-/l*_binary32
320×associate-/l/_binary32
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02653
16643
224435
3102632
4341732
Stop Event
node limit
Counts
1 → 2

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
1.0b
(*.f32 (/.f32 (/.f32 (/.f32 1/8 s) (PI.f32)) r) (+.f32 (exp.f32 (/.f32 (neg.f32 r) s)) (pow.f32 (exp.f32 r) (/.f32 -1/3 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 (*.f32 6 (PI.f32)) s) r)))
Compiler

Compiled 169 to 117 computations (30.8% saved)

localize76.0ms (2.2%)

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)

series31.0ms (0.9%)

Counts
4 → 84
Calls

21 calls:

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

rewrite63.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
276×expm1-udef_binary32
276×log1p-udef_binary32
166×associate-*r*_binary32
166×add-sqr-sqrt_binary32
155×log1p-expm1-u_binary32
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01639
133937
2445337
Stop Event
node limit
Counts
4 → 92

simplify28.0ms (0.8%)

Algorithm
egg-herbie
Rules
48×associate-*l*_binary32
34×associate-*r*_binary32
26×*-commutative_binary32
associate-/l*_binary32
associate-*r/_binary32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
015792
130792
273792
3142792
4155792
Stop Event
saturated
Counts
176 → 98

prune120.0ms (3.5%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New92698
Fresh011
Picked101
Done000
Total937100
Error
0.0b
Counts
100 → 7
Alt Table
StatusErrorProgram
1.0b
(*.f32 (/.f32 (/.f32 (/.f32 1/8 s) (PI.f32)) r) (+.f32 (exp.f32 (/.f32 (neg.f32 r) s)) (pow.f32 (exp.f32 r) (/.f32 -1/3 s))))
19.4b
(+.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)))) (pow.f32 (pow.f32 (*.f32 (*.f32 r (*.f32 (PI.f32) 6)) s) 3) 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)))) (exp.f32 (log.f32 (*.f32 (*.f32 r (*.f32 (PI.f32) 6)) s)))))
0.1b
(+.f32 (/.f32 (*.f32 1/4 (exp.f32 (/.f32 (neg.f32 r) s))) (expm1.f32 (log1p.f32 (*.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))) (pow.f32 (sqrt.f32 (*.f32 (*.f32 2 (PI.f32)) (*.f32 s r))) 2)) (/.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 -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 (/.f32 -1 s) (*.f32 r 1/3)))) (*.f32 (*.f32 (*.f32 6 (PI.f32)) s) r)))
Compiler

Compiled 4031 to 2513 computations (37.7% saved)

localize80.0ms (2.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(*.f32 r 1/3)
0.3b
(*.f32 (*.f32 (*.f32 2 (PI.f32)) s) r)
0.3b
(*.f32 (/.f32 -1 s) (*.f32 r 1/3))
0.3b
(*.f32 (*.f32 2 (PI.f32)) s)

series10.0ms (0.3%)

Counts
2 → 36
Calls

9 calls:

3.0ms
(*.f32 (/.f32 -1 s) (*.f32 r 1/3))
r
-inf
1.0ms
(*.f32 (/.f32 -1 s) (*.f32 r 1/3))
r
0
1.0ms
(*.f32 (/.f32 -1 s) (*.f32 r 1/3))
r
inf
1.0ms
(*.f32 (/.f32 -1 s) (*.f32 r 1/3))
s
0
1.0ms
(*.f32 (/.f32 -1 s) (*.f32 r 1/3))
s
inf

rewrite34.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
709×log1p-expm1-u_binary32
709×expm1-log1p-u_binary32
143×expm1-udef_binary32
143×log1p-udef_binary32
80×add-sqr-sqrt_binary32
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0814
116411
2195411
Stop Event
node limit
Counts
2 → 37

simplify14.0ms (0.4%)

Algorithm
egg-herbie
Rules
*-commutative_binary32
associate-/l*_binary32
associate-*r/_binary32
associate-*l/_binary32
associate-/r/_binary32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
08216
112216
216216
320216
421216
Stop Event
saturated
Counts
73 → 41

prune129.0ms (3.7%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New73174
Fresh156
Picked101
Done000
Total75681
Error
0.0b
Counts
81 → 6
Alt Table
StatusErrorProgram
1.0b
(*.f32 (/.f32 (/.f32 (/.f32 1/8 s) (PI.f32)) r) (+.f32 (exp.f32 (/.f32 (neg.f32 r) s)) (pow.f32 (exp.f32 r) (/.f32 -1/3 s))))
19.4b
(+.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)))) (pow.f32 (pow.f32 (*.f32 (*.f32 r (*.f32 (PI.f32) 6)) s) 3) 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)))) (exp.f32 (log.f32 (*.f32 (*.f32 r (*.f32 (PI.f32) 6)) s)))))
0.1b
(+.f32 (/.f32 (*.f32 1/4 (exp.f32 (/.f32 (neg.f32 r) s))) (expm1.f32 (log1p.f32 (*.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))) (pow.f32 (sqrt.f32 (*.f32 (*.f32 2 (PI.f32)) (*.f32 s r))) 2)) (/.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 (*.f32 -1/3 r) s))) (*.f32 (*.f32 (*.f32 6 (PI.f32)) s) r)))
Compiler

Compiled 3087 to 2000 computations (35.2% saved)

localize83.0ms (2.4%)

Local error

Found 4 expressions with local error:

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

series2.0ms (0%)

Counts
1 → 0
Calls

3 calls:

0.0ms
(*.f32 -1/3 r)
r
0
0.0ms
(*.f32 -1/3 r)
r
-inf
0.0ms
(*.f32 -1/3 r)
r
inf

rewrite27.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
321×log1p-expm1-u_binary32
321×expm1-log1p-u_binary32
296×add-log-exp_binary32
295×add-exp-log_binary32
285×pow1_binary32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
044
1804
28804
Stop Event
node limit
Counts
1 → 21

simplify6.0ms (0.2%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
Stop Event
saturated
Counts
21 → 21

prune114.0ms (3.3%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New67471
Fresh415
Picked011
Done000
Total71677
Error
0.0b
Counts
77 → 6
Alt Table
StatusErrorProgram
1.0b
(*.f32 (/.f32 (/.f32 (/.f32 1/8 s) (PI.f32)) r) (+.f32 (exp.f32 (/.f32 (neg.f32 r) s)) (pow.f32 (exp.f32 r) (/.f32 -1/3 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 (*.f32 -1/3 r) s))) (exp.f32 (log.f32 (*.f32 (*.f32 r (*.f32 (PI.f32) 6)) s)))))
19.4b
(+.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 -1/3 r) s))) (pow.f32 (pow.f32 (*.f32 (*.f32 r (*.f32 (PI.f32) 6)) s) 3) 1/3)))
0.1b
(+.f32 (/.f32 (*.f32 1/4 (exp.f32 (/.f32 (neg.f32 r) s))) (pow.f32 (sqrt.f32 (*.f32 (*.f32 2 (PI.f32)) (*.f32 s r))) 2)) (/.f32 (*.f32 3/4 (exp.f32 (/.f32 (*.f32 -1/3 r) s))) (*.f32 (*.f32 (*.f32 6 (PI.f32)) s) r)))
0.1b
(+.f32 (/.f32 (*.f32 1/4 (exp.f32 (/.f32 (neg.f32 r) s))) (expm1.f32 (log1p.f32 (*.f32 (*.f32 2 (PI.f32)) (*.f32 s r))))) (/.f32 (*.f32 3/4 (exp.f32 (/.f32 (*.f32 -1/3 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 (*.f32 -1/3 r) s))) (*.f32 (*.f32 (*.f32 6 (PI.f32)) s) r)))
Compiler

Compiled 2887 to 1851 computations (35.9% saved)

localize86.0ms (2.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(*.f32 (*.f32 (*.f32 6 (PI.f32)) s) r)
0.3b
(*.f32 -1/3 r)
0.4b
(*.f32 (*.f32 2 (PI.f32)) (*.f32 s r))
0.5b
(pow.f32 (sqrt.f32 (*.f32 (*.f32 2 (PI.f32)) (*.f32 s r))) 2)

series53.0ms (1.5%)

Counts
2 → 24
Calls

12 calls:

9.0ms
(pow.f32 (sqrt.f32 (*.f32 (*.f32 2 (PI.f32)) (*.f32 s r))) 2)
r
0
9.0ms
(pow.f32 (sqrt.f32 (*.f32 (*.f32 2 (PI.f32)) (*.f32 s r))) 2)
s
0
8.0ms
(pow.f32 (sqrt.f32 (*.f32 (*.f32 2 (PI.f32)) (*.f32 s r))) 2)
s
inf
8.0ms
(pow.f32 (sqrt.f32 (*.f32 (*.f32 2 (PI.f32)) (*.f32 s r))) 2)
r
inf
5.0ms
(pow.f32 (sqrt.f32 (*.f32 (*.f32 2 (PI.f32)) (*.f32 s r))) 2)
r
-inf

rewrite42.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
790×log1p-expm1-u_binary32
790×expm1-log1p-u_binary32
95×associate-*r*_binary32
89×add-sqr-sqrt_binary32
84×add-log-exp_binary32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01022
120422
2223522
Stop Event
node limit
Counts
2 → 59

simplify12.0ms (0.4%)

Algorithm
egg-herbie
Rules
26×associate-*l*_binary32
20×associate-*r*_binary32
17×*-commutative_binary32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
08264
115264
237264
372264
483264
Stop Event
saturated
Counts
83 → 50

prune141.0ms (4.1%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New88088
Fresh044
Picked011
Done011
Total88694
Error
0.0b
Counts
94 → 6
Alt Table
StatusErrorProgram
1.0b
(*.f32 (/.f32 (/.f32 (/.f32 1/8 s) (PI.f32)) r) (+.f32 (exp.f32 (/.f32 (neg.f32 r) s)) (pow.f32 (exp.f32 r) (/.f32 -1/3 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 (*.f32 -1/3 r) s))) (exp.f32 (log.f32 (*.f32 (*.f32 r (*.f32 (PI.f32) 6)) s)))))
19.4b
(+.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 -1/3 r) s))) (pow.f32 (pow.f32 (*.f32 (*.f32 r (*.f32 (PI.f32) 6)) s) 3) 1/3)))
0.1b
(+.f32 (/.f32 (*.f32 1/4 (exp.f32 (/.f32 (neg.f32 r) s))) (pow.f32 (sqrt.f32 (*.f32 (*.f32 2 (PI.f32)) (*.f32 s r))) 2)) (/.f32 (*.f32 3/4 (exp.f32 (/.f32 (*.f32 -1/3 r) s))) (*.f32 (*.f32 (*.f32 6 (PI.f32)) s) r)))
0.1b
(+.f32 (/.f32 (*.f32 1/4 (exp.f32 (/.f32 (neg.f32 r) s))) (expm1.f32 (log1p.f32 (*.f32 (*.f32 2 (PI.f32)) (*.f32 s r))))) (/.f32 (*.f32 3/4 (exp.f32 (/.f32 (*.f32 -1/3 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 (*.f32 -1/3 r) s))) (*.f32 (*.f32 (*.f32 6 (PI.f32)) s) r)))
Compiler

Compiled 3563 to 2163 computations (39.3% saved)

regimes98.0ms (2.8%)

Accuracy

Total 0.0b remaining (33.4%)

Threshold costs 0.0b (33.4%)

Counts
27 → 1
Compiler

Compiled 2968 to 2200 computations (25.9% saved)

simplify4.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
02651
14251
24651
34951
45051
Stop Event
saturated

end134.0ms (3.9%)

Stop Event
fuel
Compiler

Compiled 271 to 202 computations (25.5% saved)

Profiling

Loading profile data...