Details

Time bar (total: 7.4s)

analyze121.0ms (1.6%)

Algorithm
search
Search
TrueOtherFalseIter
0%0.6%99.4%0
0%0.6%99.4%1
0%0.6%99.4%2
0.3%0.3%99.4%3
0.3%0.3%99.4%4
0.5%0.2%99.4%5
0.5%0.2%99.4%6
0.6%0.1%99.4%7
0.6%0.1%99.4%8
0.6%0%99.4%9
0.6%0%99.4%10
0.6%0%99.4%11
0.6%0%99.4%12
0.6%0%99.4%13
0.6%0%99.4%14
Compiler

Compiled 41 to 27 computations (34.1% saved)

sample1.7s (22.5%)

Results
1.7s8256×body128valid
Compiler

Compiled 82 to 54 computations (34.1% saved)

preprocess28.0ms (0.4%)

Algorithm
egg-herbie
Rules
712×distribute-rgt-in_binary32
694×distribute-lft-in_binary32
348×fma-def_binary32
322×times-frac_binary32
140×associate-/l/_binary32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02366
17962
231762
3161562
022
Stop Event
saturated
node limit
Compiler

Compiled 26 to 16 computations (38.5% saved)

simplify25.0ms (0.3%)

Algorithm
egg-herbie
Rules
435×associate-*l*_binary32
360×distribute-rgt-in_binary32
359×distribute-lft-in_binary32
342×associate-*r*_binary32
242×associate-/r*_binary32
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01433
14531
216631
382331
4424031
Stop Event
node limit
Counts
1 → 2

prune8.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.5b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.5b
(/.f32 (fma.f32 alpha alpha -1) (*.f32 (*.f32 (PI.f32) (log.f32 (*.f32 alpha alpha))) (fma.f32 (fma.f32 alpha alpha -1) (*.f32 cosTheta cosTheta) 1)))
0.5b
(/.f32 (-.f32 (*.f32 alpha alpha) 1) (*.f32 (*.f32 (PI.f32) (log.f32 (*.f32 alpha alpha))) (+.f32 1 (*.f32 (*.f32 (-.f32 (*.f32 alpha alpha) 1) cosTheta) cosTheta))))
Compiler

Compiled 145 to 87 computations (40% saved)

localize48.0ms (0.6%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f32 (*.f32 (-.f32 (*.f32 alpha alpha) 1) cosTheta) cosTheta)
0.2b
(*.f32 (-.f32 (*.f32 alpha alpha) 1) cosTheta)
0.3b
(/.f32 (-.f32 (*.f32 alpha alpha) 1) (*.f32 (*.f32 (PI.f32) (log.f32 (*.f32 alpha alpha))) (+.f32 1 (*.f32 (*.f32 (-.f32 (*.f32 alpha alpha) 1) cosTheta) cosTheta))))
0.4b
(*.f32 (PI.f32) (log.f32 (*.f32 alpha alpha)))

series109.0ms (1.5%)

Counts
4 → 84
Calls

21 calls:

13.0ms
(/.f32 (-.f32 (*.f32 alpha alpha) 1) (*.f32 (*.f32 (PI.f32) (log.f32 (*.f32 alpha alpha))) (+.f32 1 (*.f32 (*.f32 (-.f32 (*.f32 alpha alpha) 1) cosTheta) cosTheta))))
cosTheta
0
11.0ms
(*.f32 (PI.f32) (log.f32 (*.f32 alpha alpha)))
alpha
0
10.0ms
(/.f32 (-.f32 (*.f32 alpha alpha) 1) (*.f32 (*.f32 (PI.f32) (log.f32 (*.f32 alpha alpha))) (+.f32 1 (*.f32 (*.f32 (-.f32 (*.f32 alpha alpha) 1) cosTheta) cosTheta))))
alpha
-inf
10.0ms
(/.f32 (-.f32 (*.f32 alpha alpha) 1) (*.f32 (*.f32 (PI.f32) (log.f32 (*.f32 alpha alpha))) (+.f32 1 (*.f32 (*.f32 (-.f32 (*.f32 alpha alpha) 1) cosTheta) cosTheta))))
alpha
0
9.0ms
(*.f32 (PI.f32) (log.f32 (*.f32 alpha alpha)))
alpha
inf

rewrite72.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
266×log1p-udef_binary32
154×add-sqr-sqrt_binary32
146×log1p-expm1-u_binary32
146×expm1-log1p-u_binary32
144×add-cbrt-cube_binary32
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01462
131260
2461660
Stop Event
node limit
Counts
4 → 107

simplify64.0ms (0.9%)

Algorithm
egg-herbie
Rules
335×associate-/r*_binary32
303×cancel-sign-sub-inv_binary32
264×associate-*r*_binary32
258×fma-neg_binary32
223×sub-neg_binary32
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
02643015
19612707
239952707
Stop Event
node limit
Counts
191 → 167

prune241.0ms (3.2%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1589167
Fresh101
Picked101
Done000
Total1609169
Error
0.0b
Counts
169 → 9
Alt Table
StatusErrorProgram
0.7b
(pow.f32 (sqrt.f32 (/.f32 (/.f32 (fma.f32 alpha alpha -1) (fma.f32 (fma.f32 alpha alpha -1) (*.f32 cosTheta cosTheta) 1)) (log.f32 (pow.f32 (*.f32 alpha alpha) (PI.f32))))) 2)
0.8b
(/.f32 (-.f32 (*.f32 alpha alpha) 1) (*.f32 (pow.f32 (cbrt.f32 (log.f32 (pow.f32 (*.f32 alpha alpha) (PI.f32)))) 3) (+.f32 1 (*.f32 (*.f32 (-.f32 (*.f32 alpha alpha) 1) cosTheta) cosTheta))))
10.0b
(/.f32 -1/2 (*.f32 (-.f32 1 (pow.f32 cosTheta 2)) (*.f32 (PI.f32) (log.f32 alpha))))
0.6b
(*.f32 (/.f32 1 (log.f32 (pow.f32 (*.f32 alpha alpha) (PI.f32)))) (/.f32 (fma.f32 alpha alpha -1) (fma.f32 (fma.f32 alpha alpha -1) (*.f32 cosTheta cosTheta) 1)))
0.6b
(*.f32 (/.f32 (+.f32 alpha 1) (PI.f32)) (/.f32 (+.f32 alpha -1) (*.f32 (*.f32 2 (log.f32 alpha)) (fma.f32 (fma.f32 alpha alpha -1) (*.f32 cosTheta cosTheta) 1))))
0.8b
(-.f32 (fma.f32 3 (*.f32 (*.f32 (/.f32 alpha (PI.f32)) (/.f32 alpha (*.f32 2 (log.f32 alpha)))) (pow.f32 cosTheta 4)) (fma.f32 2 (*.f32 (*.f32 (/.f32 alpha (PI.f32)) (/.f32 alpha (*.f32 2 (log.f32 alpha)))) (*.f32 cosTheta cosTheta)) (fma.f32 (/.f32 (pow.f32 cosTheta 4) (*.f32 2 (log.f32 alpha))) (/.f32 (pow.f32 alpha 6) (PI.f32)) (*.f32 (/.f32 alpha (PI.f32)) (/.f32 alpha (*.f32 2 (log.f32 alpha))))))) (+.f32 (/.f32 (/.f32 1/2 (log.f32 alpha)) (PI.f32)) (+.f32 (fma.f32 (*.f32 (/.f32 cosTheta 2) (/.f32 cosTheta (log.f32 alpha))) (/.f32 (pow.f32 alpha 4) (PI.f32)) (/.f32 (/.f32 (pow.f32 cosTheta 4) (PI.f32)) (*.f32 2 (log.f32 alpha)))) (fma.f32 3 (*.f32 (/.f32 (/.f32 (pow.f32 cosTheta 4) (PI.f32)) (*.f32 2 (log.f32 alpha))) (pow.f32 alpha 4)) (/.f32 cosTheta (/.f32 (*.f32 2 (*.f32 (PI.f32) (log.f32 alpha))) cosTheta))))))
0.6b
(*.f32 (/.f32 (+.f32 alpha 1) (fma.f32 (fma.f32 alpha alpha -1) (*.f32 cosTheta cosTheta) 1)) (/.f32 (+.f32 alpha -1) (log.f32 (pow.f32 (*.f32 alpha alpha) (PI.f32)))))
0.5b
(expm1.f32 (log1p.f32 (/.f32 (/.f32 (fma.f32 alpha alpha -1) (fma.f32 (fma.f32 alpha alpha -1) (*.f32 cosTheta cosTheta) 1)) (log.f32 (pow.f32 (*.f32 alpha alpha) (PI.f32))))))
0.8b
(exp.f32 (log.f32 (/.f32 (/.f32 (fma.f32 alpha alpha -1) (fma.f32 (fma.f32 alpha alpha -1) (*.f32 cosTheta cosTheta) 1)) (log.f32 (pow.f32 (*.f32 alpha alpha) (PI.f32))))))
Compiler

Compiled 6708 to 3808 computations (43.2% saved)

localize50.0ms (0.7%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(/.f32 (/.f32 (fma.f32 alpha alpha -1) (fma.f32 (fma.f32 alpha alpha -1) (*.f32 cosTheta cosTheta) 1)) (log.f32 (pow.f32 (*.f32 alpha alpha) (PI.f32))))
0.3b
(log1p.f32 (/.f32 (/.f32 (fma.f32 alpha alpha -1) (fma.f32 (fma.f32 alpha alpha -1) (*.f32 cosTheta cosTheta) 1)) (log.f32 (pow.f32 (*.f32 alpha alpha) (PI.f32)))))
0.3b
(expm1.f32 (log1p.f32 (/.f32 (/.f32 (fma.f32 alpha alpha -1) (fma.f32 (fma.f32 alpha alpha -1) (*.f32 cosTheta cosTheta) 1)) (log.f32 (pow.f32 (*.f32 alpha alpha) (PI.f32))))))
3.1b
(pow.f32 (*.f32 alpha alpha) (PI.f32))

series383.0ms (5.1%)

Counts
4 → 84
Calls

21 calls:

75.0ms
(log1p.f32 (/.f32 (/.f32 (fma.f32 alpha alpha -1) (fma.f32 (fma.f32 alpha alpha -1) (*.f32 cosTheta cosTheta) 1)) (log.f32 (pow.f32 (*.f32 alpha alpha) (PI.f32)))))
cosTheta
0
43.0ms
(log1p.f32 (/.f32 (/.f32 (fma.f32 alpha alpha -1) (fma.f32 (fma.f32 alpha alpha -1) (*.f32 cosTheta cosTheta) 1)) (log.f32 (pow.f32 (*.f32 alpha alpha) (PI.f32)))))
alpha
0
29.0ms
(log1p.f32 (/.f32 (/.f32 (fma.f32 alpha alpha -1) (fma.f32 (fma.f32 alpha alpha -1) (*.f32 cosTheta cosTheta) 1)) (log.f32 (pow.f32 (*.f32 alpha alpha) (PI.f32)))))
cosTheta
-inf
23.0ms
(log1p.f32 (/.f32 (/.f32 (fma.f32 alpha alpha -1) (fma.f32 (fma.f32 alpha alpha -1) (*.f32 cosTheta cosTheta) 1)) (log.f32 (pow.f32 (*.f32 alpha alpha) (PI.f32)))))
alpha
-inf
22.0ms
(log1p.f32 (/.f32 (/.f32 (fma.f32 alpha alpha -1) (fma.f32 (fma.f32 alpha alpha -1) (*.f32 cosTheta cosTheta) 1)) (log.f32 (pow.f32 (*.f32 alpha alpha) (PI.f32)))))
cosTheta
inf

rewrite81.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
316×prod-diff_binary32
253×log1p-udef_binary32
147×egg-rr
146×add-sqr-sqrt_binary32
137×expm1-log1p-u_binary32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
016103
1302103
23863103
Stop Event
node limit
Counts
4 → 147

simplify140.0ms (1.9%)

Algorithm
egg-herbie
Rules
817×times-frac_binary32
464×fma-def_binary32
284×*-commutative_binary32
150×+-commutative_binary32
136×associate-/r*_binary32
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
069112316
1267312015
Stop Event
node limit
Counts
231 → 187

prune376.0ms (5%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1870187
Fresh088
Picked011
Done000
Total1879196
Error
0.0b
Counts
196 → 9
Alt Table
StatusErrorProgram
0.7b
(pow.f32 (sqrt.f32 (/.f32 (/.f32 (fma.f32 alpha alpha -1) (fma.f32 (fma.f32 alpha alpha -1) (*.f32 cosTheta cosTheta) 1)) (log.f32 (pow.f32 (*.f32 alpha alpha) (PI.f32))))) 2)
0.8b
(/.f32 (-.f32 (*.f32 alpha alpha) 1) (*.f32 (pow.f32 (cbrt.f32 (log.f32 (pow.f32 (*.f32 alpha alpha) (PI.f32)))) 3) (+.f32 1 (*.f32 (*.f32 (-.f32 (*.f32 alpha alpha) 1) cosTheta) cosTheta))))
10.0b
(/.f32 -1/2 (*.f32 (-.f32 1 (pow.f32 cosTheta 2)) (*.f32 (PI.f32) (log.f32 alpha))))
0.6b
(*.f32 (/.f32 1 (log.f32 (pow.f32 (*.f32 alpha alpha) (PI.f32)))) (/.f32 (fma.f32 alpha alpha -1) (fma.f32 (fma.f32 alpha alpha -1) (*.f32 cosTheta cosTheta) 1)))
0.6b
(*.f32 (/.f32 (+.f32 alpha 1) (PI.f32)) (/.f32 (+.f32 alpha -1) (*.f32 (*.f32 2 (log.f32 alpha)) (fma.f32 (fma.f32 alpha alpha -1) (*.f32 cosTheta cosTheta) 1))))
0.8b
(-.f32 (fma.f32 3 (*.f32 (*.f32 (/.f32 alpha (PI.f32)) (/.f32 alpha (*.f32 2 (log.f32 alpha)))) (pow.f32 cosTheta 4)) (fma.f32 2 (*.f32 (*.f32 (/.f32 alpha (PI.f32)) (/.f32 alpha (*.f32 2 (log.f32 alpha)))) (*.f32 cosTheta cosTheta)) (fma.f32 (/.f32 (pow.f32 cosTheta 4) (*.f32 2 (log.f32 alpha))) (/.f32 (pow.f32 alpha 6) (PI.f32)) (*.f32 (/.f32 alpha (PI.f32)) (/.f32 alpha (*.f32 2 (log.f32 alpha))))))) (+.f32 (/.f32 (/.f32 1/2 (log.f32 alpha)) (PI.f32)) (+.f32 (fma.f32 (*.f32 (/.f32 cosTheta 2) (/.f32 cosTheta (log.f32 alpha))) (/.f32 (pow.f32 alpha 4) (PI.f32)) (/.f32 (/.f32 (pow.f32 cosTheta 4) (PI.f32)) (*.f32 2 (log.f32 alpha)))) (fma.f32 3 (*.f32 (/.f32 (/.f32 (pow.f32 cosTheta 4) (PI.f32)) (*.f32 2 (log.f32 alpha))) (pow.f32 alpha 4)) (/.f32 cosTheta (/.f32 (*.f32 2 (*.f32 (PI.f32) (log.f32 alpha))) cosTheta))))))
0.6b
(*.f32 (/.f32 (+.f32 alpha 1) (fma.f32 (fma.f32 alpha alpha -1) (*.f32 cosTheta cosTheta) 1)) (/.f32 (+.f32 alpha -1) (log.f32 (pow.f32 (*.f32 alpha alpha) (PI.f32)))))
0.5b
(expm1.f32 (log1p.f32 (/.f32 (/.f32 (fma.f32 alpha alpha -1) (fma.f32 (fma.f32 alpha alpha -1) (*.f32 cosTheta cosTheta) 1)) (log.f32 (pow.f32 (*.f32 alpha alpha) (PI.f32))))))
0.8b
(exp.f32 (log.f32 (/.f32 (/.f32 (fma.f32 alpha alpha -1) (fma.f32 (fma.f32 alpha alpha -1) (*.f32 cosTheta cosTheta) 1)) (log.f32 (pow.f32 (*.f32 alpha alpha) (PI.f32))))))
Compiler

Compiled 15426 to 10447 computations (32.3% saved)

localize49.0ms (0.7%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f32 (fma.f32 alpha alpha -1) (fma.f32 (fma.f32 alpha alpha -1) (*.f32 cosTheta cosTheta) 1))
0.3b
(/.f32 1 (log.f32 (pow.f32 (*.f32 alpha alpha) (PI.f32))))
0.3b
(*.f32 (/.f32 1 (log.f32 (pow.f32 (*.f32 alpha alpha) (PI.f32)))) (/.f32 (fma.f32 alpha alpha -1) (fma.f32 (fma.f32 alpha alpha -1) (*.f32 cosTheta cosTheta) 1)))
3.1b
(pow.f32 (*.f32 alpha alpha) (PI.f32))

series381.0ms (5.1%)

Counts
3 → 60
Calls

15 calls:

96.0ms
(/.f32 1 (log.f32 (pow.f32 (*.f32 alpha alpha) (PI.f32))))
alpha
inf
94.0ms
(/.f32 1 (log.f32 (pow.f32 (*.f32 alpha alpha) (PI.f32))))
alpha
-inf
92.0ms
(/.f32 1 (log.f32 (pow.f32 (*.f32 alpha alpha) (PI.f32))))
alpha
0
15.0ms
(*.f32 (/.f32 1 (log.f32 (pow.f32 (*.f32 alpha alpha) (PI.f32)))) (/.f32 (fma.f32 alpha alpha -1) (fma.f32 (fma.f32 alpha alpha -1) (*.f32 cosTheta cosTheta) 1)))
cosTheta
0
13.0ms
(*.f32 (/.f32 1 (log.f32 (pow.f32 (*.f32 alpha alpha) (PI.f32)))) (/.f32 (fma.f32 alpha alpha -1) (fma.f32 (fma.f32 alpha alpha -1) (*.f32 cosTheta cosTheta) 1)))
alpha
-inf

rewrite61.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
252×expm1-udef_binary32
252×log1p-udef_binary32
147×add-sqr-sqrt_binary32
141×fma-def_binary32
136×add-cbrt-cube_binary32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01563
130663
2391163
Stop Event
node limit
Counts
3 → 109

simplify49.0ms (0.7%)

Algorithm
egg-herbie
Rules
385×associate-/r*_binary32
274×associate-*r*_binary32
241×fma-def_binary32
234×times-frac_binary32
224×+-commutative_binary32
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
03343635
112193426
Stop Event
node limit
Counts
169 → 184

prune249.0ms (3.3%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New2041205
Fresh077
Picked011
Done011
Total20410214
Error
0b
Counts
214 → 10
Alt Table
StatusErrorProgram
0.5b
(/.f32 1 (/.f32 (fma.f32 (fma.f32 alpha alpha -1) (*.f32 cosTheta cosTheta) 1) (/.f32 (fma.f32 alpha alpha -1) (*.f32 (PI.f32) (*.f32 2 (log.f32 alpha))))))
0.8b
(-.f32 (fma.f32 3 (*.f32 (*.f32 (/.f32 alpha (PI.f32)) (/.f32 alpha (*.f32 2 (log.f32 alpha)))) (pow.f32 cosTheta 4)) (fma.f32 2 (*.f32 (*.f32 (/.f32 alpha (PI.f32)) (/.f32 alpha (*.f32 2 (log.f32 alpha)))) (*.f32 cosTheta cosTheta)) (fma.f32 (/.f32 (pow.f32 cosTheta 4) (*.f32 2 (log.f32 alpha))) (/.f32 (pow.f32 alpha 6) (PI.f32)) (*.f32 (/.f32 alpha (PI.f32)) (/.f32 alpha (*.f32 2 (log.f32 alpha))))))) (+.f32 (/.f32 (/.f32 1/2 (log.f32 alpha)) (PI.f32)) (+.f32 (fma.f32 (*.f32 (/.f32 cosTheta 2) (/.f32 cosTheta (log.f32 alpha))) (/.f32 (pow.f32 alpha 4) (PI.f32)) (/.f32 (/.f32 (pow.f32 cosTheta 4) (PI.f32)) (*.f32 2 (log.f32 alpha)))) (fma.f32 3 (*.f32 (/.f32 (/.f32 (pow.f32 cosTheta 4) (PI.f32)) (*.f32 2 (log.f32 alpha))) (pow.f32 alpha 4)) (/.f32 cosTheta (/.f32 (*.f32 2 (*.f32 (PI.f32) (log.f32 alpha))) cosTheta))))))
0.7b
(pow.f32 (sqrt.f32 (/.f32 (/.f32 (fma.f32 alpha alpha -1) (fma.f32 (fma.f32 alpha alpha -1) (*.f32 cosTheta cosTheta) 1)) (log.f32 (pow.f32 (*.f32 alpha alpha) (PI.f32))))) 2)
0.8b
(/.f32 (-.f32 (*.f32 alpha alpha) 1) (*.f32 (pow.f32 (cbrt.f32 (log.f32 (pow.f32 (*.f32 alpha alpha) (PI.f32)))) 3) (+.f32 1 (*.f32 (*.f32 (-.f32 (*.f32 alpha alpha) 1) cosTheta) cosTheta))))
10.0b
(/.f32 -1/2 (*.f32 (-.f32 1 (pow.f32 cosTheta 2)) (*.f32 (PI.f32) (log.f32 alpha))))
0.6b
(*.f32 (/.f32 1 (log.f32 (pow.f32 (*.f32 alpha alpha) (PI.f32)))) (/.f32 (fma.f32 alpha alpha -1) (fma.f32 (fma.f32 alpha alpha -1) (*.f32 cosTheta cosTheta) 1)))
0.6b
(*.f32 (/.f32 (+.f32 alpha 1) (PI.f32)) (/.f32 (+.f32 alpha -1) (*.f32 (*.f32 2 (log.f32 alpha)) (fma.f32 (fma.f32 alpha alpha -1) (*.f32 cosTheta cosTheta) 1))))
0.6b
(*.f32 (/.f32 (+.f32 alpha 1) (fma.f32 (fma.f32 alpha alpha -1) (*.f32 cosTheta cosTheta) 1)) (/.f32 (+.f32 alpha -1) (log.f32 (pow.f32 (*.f32 alpha alpha) (PI.f32)))))
0.5b
(expm1.f32 (log1p.f32 (/.f32 (/.f32 (fma.f32 alpha alpha -1) (fma.f32 (fma.f32 alpha alpha -1) (*.f32 cosTheta cosTheta) 1)) (log.f32 (pow.f32 (*.f32 alpha alpha) (PI.f32))))))
0.8b
(exp.f32 (log.f32 (/.f32 (/.f32 (fma.f32 alpha alpha -1) (fma.f32 (fma.f32 alpha alpha -1) (*.f32 cosTheta cosTheta) 1)) (log.f32 (pow.f32 (*.f32 alpha alpha) (PI.f32))))))
Compiler

Compiled 8270 to 5132 computations (37.9% saved)

localize45.0ms (0.6%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(/.f32 (fma.f32 alpha alpha -1) (*.f32 (PI.f32) (*.f32 2 (log.f32 alpha))))
0.3b
(/.f32 1 (/.f32 (fma.f32 (fma.f32 alpha alpha -1) (*.f32 cosTheta cosTheta) 1) (/.f32 (fma.f32 alpha alpha -1) (*.f32 (PI.f32) (*.f32 2 (log.f32 alpha))))))
0.3b
(/.f32 (fma.f32 (fma.f32 alpha alpha -1) (*.f32 cosTheta cosTheta) 1) (/.f32 (fma.f32 alpha alpha -1) (*.f32 (PI.f32) (*.f32 2 (log.f32 alpha)))))
0.4b
(*.f32 (PI.f32) (*.f32 2 (log.f32 alpha)))

series307.0ms (4.1%)

Counts
4 → 72
Calls

18 calls:

72.0ms
(/.f32 1 (/.f32 (fma.f32 (fma.f32 alpha alpha -1) (*.f32 cosTheta cosTheta) 1) (/.f32 (fma.f32 alpha alpha -1) (*.f32 (PI.f32) (*.f32 2 (log.f32 alpha))))))
alpha
-inf
60.0ms
(/.f32 (fma.f32 (fma.f32 alpha alpha -1) (*.f32 cosTheta cosTheta) 1) (/.f32 (fma.f32 alpha alpha -1) (*.f32 (PI.f32) (*.f32 2 (log.f32 alpha)))))
cosTheta
0
31.0ms
(/.f32 (fma.f32 (fma.f32 alpha alpha -1) (*.f32 cosTheta cosTheta) 1) (/.f32 (fma.f32 alpha alpha -1) (*.f32 (PI.f32) (*.f32 2 (log.f32 alpha)))))
cosTheta
-inf
23.0ms
(/.f32 (fma.f32 (fma.f32 alpha alpha -1) (*.f32 cosTheta cosTheta) 1) (/.f32 (fma.f32 alpha alpha -1) (*.f32 (PI.f32) (*.f32 2 (log.f32 alpha)))))
cosTheta
inf
14.0ms
(/.f32 1 (/.f32 (fma.f32 (fma.f32 alpha alpha -1) (*.f32 cosTheta cosTheta) 1) (/.f32 (fma.f32 alpha alpha -1) (*.f32 (PI.f32) (*.f32 2 (log.f32 alpha))))))
cosTheta
0

rewrite82.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
274×expm1-udef_binary32
274×log1p-udef_binary32
158×add-sqr-sqrt_binary32
149×egg-rr
147×add-log-exp_binary32
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01692
132889
2430589
Stop Event
node limit
Counts
4 → 149

simplify95.0ms (1.3%)

Algorithm
egg-herbie
Rules
772×associate-/r*_binary32
591×times-frac_binary32
576×fma-def_binary32
401×associate-/l*_binary32
207×*-commutative_binary32
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
05416662
121036459
Stop Event
node limit
Counts
221 → 238

prune450.0ms (6%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New2371238
Fresh167
Picked101
Done022
Total2399248
Error
0b
Counts
248 → 9
Alt Table
StatusErrorProgram
0.8b
(/.f32 1 (/.f32 (fma.f32 (fma.f32 alpha alpha -1) (*.f32 cosTheta cosTheta) 1) (/.f32 (fma.f32 alpha alpha -1) (pow.f32 (cbrt.f32 (*.f32 2 (*.f32 (log.f32 alpha) (PI.f32)))) 3))))
10.0b
(/.f32 -1/2 (*.f32 (-.f32 1 (pow.f32 cosTheta 2)) (*.f32 (PI.f32) (log.f32 alpha))))
0.6b
(*.f32 (/.f32 1 (log.f32 (pow.f32 (*.f32 alpha alpha) (PI.f32)))) (/.f32 (fma.f32 alpha alpha -1) (fma.f32 (fma.f32 alpha alpha -1) (*.f32 cosTheta cosTheta) 1)))
0.6b
(*.f32 (/.f32 (+.f32 alpha 1) (PI.f32)) (/.f32 (+.f32 alpha -1) (*.f32 (*.f32 2 (log.f32 alpha)) (fma.f32 (fma.f32 alpha alpha -1) (*.f32 cosTheta cosTheta) 1))))
0.8b
(-.f32 (fma.f32 3 (*.f32 (*.f32 (/.f32 alpha (PI.f32)) (/.f32 alpha (*.f32 2 (log.f32 alpha)))) (pow.f32 cosTheta 4)) (fma.f32 2 (*.f32 (*.f32 (/.f32 alpha (PI.f32)) (/.f32 alpha (*.f32 2 (log.f32 alpha)))) (*.f32 cosTheta cosTheta)) (fma.f32 (/.f32 (pow.f32 cosTheta 4) (*.f32 2 (log.f32 alpha))) (/.f32 (pow.f32 alpha 6) (PI.f32)) (*.f32 (/.f32 alpha (PI.f32)) (/.f32 alpha (*.f32 2 (log.f32 alpha))))))) (+.f32 (/.f32 (/.f32 1/2 (log.f32 alpha)) (PI.f32)) (+.f32 (fma.f32 (*.f32 (/.f32 cosTheta 2) (/.f32 cosTheta (log.f32 alpha))) (/.f32 (pow.f32 alpha 4) (PI.f32)) (/.f32 (/.f32 (pow.f32 cosTheta 4) (PI.f32)) (*.f32 2 (log.f32 alpha)))) (fma.f32 3 (*.f32 (/.f32 (/.f32 (pow.f32 cosTheta 4) (PI.f32)) (*.f32 2 (log.f32 alpha))) (pow.f32 alpha 4)) (/.f32 cosTheta (/.f32 (*.f32 2 (*.f32 (PI.f32) (log.f32 alpha))) cosTheta))))))
0.7b
(pow.f32 (sqrt.f32 (/.f32 (/.f32 (fma.f32 alpha alpha -1) (fma.f32 (fma.f32 alpha alpha -1) (*.f32 cosTheta cosTheta) 1)) (log.f32 (pow.f32 (*.f32 alpha alpha) (PI.f32))))) 2)
0.6b
(*.f32 (/.f32 (+.f32 alpha 1) (fma.f32 (fma.f32 alpha alpha -1) (*.f32 cosTheta cosTheta) 1)) (/.f32 (+.f32 alpha -1) (log.f32 (pow.f32 (*.f32 alpha alpha) (PI.f32)))))
0.5b
(expm1.f32 (log1p.f32 (/.f32 (/.f32 (fma.f32 alpha alpha -1) (fma.f32 (fma.f32 alpha alpha -1) (*.f32 cosTheta cosTheta) 1)) (log.f32 (pow.f32 (*.f32 alpha alpha) (PI.f32))))))
0.8b
(exp.f32 (log.f32 (/.f32 (/.f32 (fma.f32 alpha alpha -1) (fma.f32 (fma.f32 alpha alpha -1) (*.f32 cosTheta cosTheta) 1)) (log.f32 (pow.f32 (*.f32 alpha alpha) (PI.f32))))))
Compiler

Compiled 12489 to 8166 computations (34.6% saved)

regimes2.0s (27%)

Accuracy

Total 0.4b remaining (90.1%)

Threshold costs 0.4b (90.1%)

Counts
322 → 1
Compiler

Compiled 41154 to 28734 computations (30.2% saved)

simplify3.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary32
+-commutative_binary32
sub-neg_binary32
1-exp_binary32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01437
12337
22437
Stop Event
saturated

end238.0ms (3.2%)

Stop Event
fuel
Compiler

Compiled 364 to 242 computations (33.5% saved)

Profiling

Loading profile data...