Details

Time bar (total: 3.5s)

analyze98.0ms (2.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)

sample1.9s (52.3%)

Results
1.8s8256×body128valid
Compiler

Compiled 135 to 97 computations (28.1% saved)

simplify23.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.3b
(*.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.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)))
Compiler

Compiled 169 to 117 computations (30.8% saved)

localize79.0ms (2.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(/.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)

series27.0ms (0.7%)

Counts
4 → 84
Calls

4 calls:

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

rewrite55.0ms (1.6%)

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
Calls

4 calls:

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

simplify25.0ms (0.7%)

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

prune126.0ms (3.6%)

Pruning

8 alts after pruning (8 fresh and 0 done)

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

Compiled 4107 to 2565 computations (37.5% saved)

localize74.0ms (2.1%)

Local error

Found 4 expressions with local error:

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

series10.0ms (0.3%)

Counts
2 → 0
Calls

2 calls:

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

rewrite32.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
532×log1p-expm1-u_binary32
532×expm1-log1p-u_binary32
437×unpow-prod-down_binary32
330×log-prod_binary32
160×pow2_binary32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0613
111913
2146713
Stop Event
node limit
Counts
2 → 34
Calls

2 calls:

32.0ms
(*.f32 s (*.f32 (PI.f32) r))
32.0ms
(*.f32 (PI.f32) r)

simplify8.0ms (0.2%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
Stop Event
saturated
Counts
34 → 34

prune163.0ms (4.6%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New99099
Fresh077
Picked011
Done000
Total998107
Error
0.1b
Counts
107 → 8
Alt Table
StatusErrorProgram
18.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)))) (pow.f32 (pow.f32 (*.f32 (*.f32 r (*.f32 (PI.f32) 6)) s) 3) 1/3)))
1.3b
(*.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.2b
(+.f32 (/.f32 (*.f32 1/4 (exp.f32 (/.f32 (neg.f32 r) s))) (*.f32 (pow.f32 (sqrt.f32 (*.f32 (PI.f32) (*.f32 2 s))) 2) 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 (neg.f32 r) (*.f32 3 s)))) (*.f32 s (*.f32 (*.f32 (PI.f32) r) 6))))
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 (*.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 (log.f32 (*.f32 (*.f32 r (*.f32 (PI.f32) 6)) 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)))) (expm1.f32 (log1p.f32 (*.f32 (*.f32 r (*.f32 (PI.f32) 6)) 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)))) (pow.f32 (cbrt.f32 (*.f32 (*.f32 r (*.f32 (PI.f32) 6)) s)) 3)))
Compiler

Compiled 4145 to 2401 computations (42.1% saved)

localize85.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 (pow.f32 (sqrt.f32 (*.f32 (PI.f32) (*.f32 2 s))) 2) r)
0.3b
(*.f32 (PI.f32) (*.f32 2 s))
0.6b
(pow.f32 (sqrt.f32 (*.f32 (PI.f32) (*.f32 2 s))) 2)

series48.0ms (1.4%)

Counts
3 → 32
Calls

3 calls:

28.0ms
(*.f32 (pow.f32 (sqrt.f32 (*.f32 (PI.f32) (*.f32 2 s))) 2) r)
18.0ms
(pow.f32 (sqrt.f32 (*.f32 (PI.f32) (*.f32 2 s))) 2)
3.0ms
(*.f32 (PI.f32) (*.f32 2 s))

rewrite43.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
765×log1p-expm1-u_binary32
765×expm1-log1p-u_binary32
157×log1p-udef_binary32
89×add-sqr-sqrt_binary32
86×associate-*r*_binary32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01027
120427
2217727
Stop Event
node limit
Counts
3 → 70
Calls

3 calls:

42.0ms
(*.f32 (pow.f32 (sqrt.f32 (*.f32 (PI.f32) (*.f32 2 s))) 2) r)
42.0ms
(*.f32 (PI.f32) (*.f32 2 s))
42.0ms
(pow.f32 (sqrt.f32 (*.f32 (PI.f32) (*.f32 2 s))) 2)

simplify73.0ms (2.1%)

Algorithm
egg-herbie
Rules
510×associate-*l*_binary32
471×sqr-pow_binary32
428×*-commutative_binary32
411×fabs-mul_binary32
381×cube-prod_binary32
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
012416
127316
271316
3156316
4408316
51384316
61668316
71825316
82302316
92491316
102753316
113105316
123481316
133938316
144418316
Stop Event
node limit
Counts
102 → 61

prune168.0ms (4.7%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New78078
Fresh066
Picked011
Done011
Total78886
Error
0.1b
Counts
86 → 8
Alt Table
StatusErrorProgram
18.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)))) (pow.f32 (pow.f32 (*.f32 (*.f32 r (*.f32 (PI.f32) 6)) s) 3) 1/3)))
1.3b
(*.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.2b
(+.f32 (/.f32 (*.f32 1/4 (exp.f32 (/.f32 (neg.f32 r) s))) (*.f32 (pow.f32 (sqrt.f32 (*.f32 (PI.f32) (*.f32 2 s))) 2) 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 (neg.f32 r) (*.f32 3 s)))) (*.f32 s (*.f32 (*.f32 (PI.f32) r) 6))))
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 (*.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 (log.f32 (*.f32 (*.f32 r (*.f32 (PI.f32) 6)) 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)))) (expm1.f32 (log1p.f32 (*.f32 (*.f32 r (*.f32 (PI.f32) 6)) 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)))) (pow.f32 (cbrt.f32 (*.f32 (*.f32 r (*.f32 (PI.f32) 6)) s)) 3)))
Compiler

Compiled 3464 to 2145 computations (38.1% saved)

localize76.0ms (2.1%)

Local error

Found 4 expressions with local error:

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

series3.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

3.0ms
(*.f32 (*.f32 (PI.f32) r) 6)

rewrite29.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
511×log1p-expm1-u_binary32
511×expm1-log1p-u_binary32
385×unpow-prod-down_binary32
298×log-prod_binary32
153×pow2_binary32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
11218
214038
Stop Event
node limit
Counts
1 → 17
Calls

1 calls:

29.0ms
(*.f32 (*.f32 (PI.f32) r) 6)

simplify8.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0696
11096
21796
31996
Stop Event
saturated
Counts
29 → 19

prune158.0ms (4.5%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New65469
Fresh235
Picked101
Done112
Total69877
Error
0.1b
Counts
77 → 8
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 (*.f32 6 (PI.f32)) s) r)))
1.5b
(+.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 s (+.f32 (log.f32 (sqrt.f32 (pow.f32 (exp.f32 6) (*.f32 (PI.f32) r)))) (log.f32 (sqrt.f32 (pow.f32 (exp.f32 6) (*.f32 (PI.f32) r))))))))
1.3b
(*.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.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 s (*.f32 (exp.f32 (log.f32 (*.f32 (PI.f32) r))) 6))))
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 s (exp.f32 (log.f32 (*.f32 (*.f32 (PI.f32) r) 6))))))
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 s (pow.f32 (sqrt.f32 (*.f32 (*.f32 (PI.f32) r) 6)) 2))))
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 (log.f32 (*.f32 (*.f32 r (*.f32 (PI.f32) 6)) 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)))) (expm1.f32 (log1p.f32 (*.f32 (*.f32 r (*.f32 (PI.f32) 6)) s)))))
Compiler

Compiled 2801 to 1658 computations (40.8% saved)

regimes99.0ms (2.8%)

Accuracy

Total 0.1b remaining (35.3%)

Threshold costs 0.1b (35.3%)

Counts
26 → 1
Compiler

Compiled 2926 to 2137 computations (27% 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
Stop Event
saturated

end172.0ms (4.8%)

Compiler

Compiled 360 to 261 computations (27.5% saved)

Profiling

Loading profile data...