Details

Time bar (total: 11.9s)

analyze109.0ms (0.9%)

Algorithm
search
Search
TrueOtherFalseIter
0%12.3%87.7%0
0%12.3%87.7%1
6.2%6.2%87.7%2
6.2%6.2%87.7%3
9.2%3.1%87.7%4
9.2%3.1%87.7%5
10.8%1.5%87.7%6
10.8%1.5%87.7%7
11.5%0.8%87.7%8
11.5%0.8%87.7%9
11.9%0.4%87.7%10
11.9%0.4%87.7%11
12.1%0.2%87.7%12
12.1%0.2%87.7%13
12.1%0.1%87.8%14
Compiler

Compiled 42 to 32 computations (23.8% saved)

sample2.4s (20.1%)

Results
2.3s8256×body128valid
Compiler

Compiled 111 to 85 computations (23.4% saved)

simplify48.0ms (0.4%)

Algorithm
egg-herbie
Rules
940×fma-neg_binary32
929×fma-def_binary32
740×times-frac_binary32
329×div-sub_binary32
317×associate-*l*_binary32
Counts
1 → 2
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01940
14535
210735
326433
460533
5250033
6375433
7504933

prune5.0ms (0%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.4b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.4b
(/.f32 1 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))))
0.7b
(/.f32 1 (+.f32 (+.f32 1 c) (*.f32 (*.f32 (/.f32 1 (sqrt.f32 (PI.f32))) (/.f32 (sqrt.f32 (-.f32 (-.f32 1 cosTheta) cosTheta)) cosTheta)) (exp.f32 (*.f32 (neg.f32 cosTheta) cosTheta)))))
Compiler

Compiled 148 to 113 computations (23.6% saved)

localize69.0ms (0.6%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f32 (fma.f32 cosTheta -2 1))
0.3b
(/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))
0.3b
(/.f32 1 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))))
0.3b
(*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))

series136.0ms (1.1%)

Counts
4 → 38
Calls

4 calls:

88.0ms
(/.f32 1 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))))
29.0ms
(/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))
11.0ms
(*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))
8.0ms
(sqrt.f32 (fma.f32 cosTheta -2 1))

rewrite34.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
41×*-un-lft-identity_binary32
32×add-exp-log_binary32
22×add-sqr-sqrt_binary32
21×times-frac_binary32
21×add-cube-cbrt_binary32
Counts
4 → 117
Calls

4 calls:

10.0ms
(/.f32 1 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))))
7.0ms
(/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))
6.0ms
(*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))
1.0ms
(sqrt.f32 (fma.f32 cosTheta -2 1))

simplify130.0ms (1.1%)

Algorithm
egg-herbie
Rules
449×cancel-sign-sub-inv_binary32
348×associate-*r*_binary32
306×associate-*l*_binary32
287×unswap-sqr_binary32
281×fma-def_binary32
Counts
155 → 200
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03645718
110295271
238385255
354065255

prune380.0ms (3.2%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1919200
Fresh101
Picked101
Done000
Total1939202
Error
0.0b
Counts
202 → 9
Alt Table
StatusErrorProgram
13.7b
(*.f32 (/.f32 1 (-.f32 (*.f32 (+.f32 1 c) (+.f32 1 c)) (/.f32 (fma.f32 cosTheta -2 1) (*.f32 (PI.f32) (*.f32 (*.f32 cosTheta cosTheta) (pow.f32 (exp.f32 (*.f32 cosTheta cosTheta)) 2)))))) (-.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))))
0.4b
(/.f32 1 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (*.f32 (cbrt.f32 (PI.f32)) (cbrt.f32 (PI.f32)))) (*.f32 (sqrt.f32 (cbrt.f32 (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))))))
0.8b
(*.f32 (*.f32 (cbrt.f32 (/.f32 1 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))))) (cbrt.f32 (/.f32 1 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))))))) (cbrt.f32 (/.f32 1 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))))))
0.7b
(-.f32 (fma.f32 (sqrt.f32 (PI.f32)) cosTheta (fma.f32 (*.f32 (sqrt.f32 (PI.f32)) (pow.f32 cosTheta 3)) 5/2 (fma.f32 7/2 (*.f32 (sqrt.f32 (PI.f32)) (pow.f32 cosTheta 4)) (fma.f32 2 (*.f32 (pow.f32 (PI.f32) 3/2) (*.f32 (pow.f32 cosTheta 3) c)) (fma.f32 3 (*.f32 (pow.f32 (PI.f32) 3/2) (pow.f32 cosTheta 4)) (fma.f32 (pow.f32 cosTheta 3) (pow.f32 (PI.f32) 3/2) (fma.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta cosTheta) (fma.f32 (*.f32 c c) (*.f32 (pow.f32 cosTheta 3) (pow.f32 (PI.f32) 3/2)) (*.f32 (pow.f32 (PI.f32) 3/2) (+.f32 (*.f32 3 (*.f32 (*.f32 c c) (pow.f32 cosTheta 4))) (*.f32 6 (*.f32 c (pow.f32 cosTheta 4))))))))))))) (fma.f32 c (*.f32 (PI.f32) (*.f32 cosTheta cosTheta)) (fma.f32 3 (*.f32 (*.f32 c c) (*.f32 (pow.f32 cosTheta 4) (pow.f32 (PI.f32) 2))) (fma.f32 6 (*.f32 (PI.f32) (*.f32 c (pow.f32 cosTheta 4))) (+.f32 (+.f32 (*.f32 (PI.f32) (*.f32 cosTheta cosTheta)) (*.f32 (*.f32 (PI.f32) (pow.f32 cosTheta 3)) (+.f32 2 (*.f32 2 c)))) (+.f32 (*.f32 (pow.f32 cosTheta 4) (+.f32 (pow.f32 (PI.f32) 2) (*.f32 (PI.f32) 6))) (*.f32 (*.f32 (pow.f32 cosTheta 4) (pow.f32 (PI.f32) 2)) (+.f32 (pow.f32 c 3) (*.f32 3 c)))))))))
0.5b
(/.f32 1 (+.f32 (+.f32 1 c) (*.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (/.f32 (/.f32 (exp.f32 (neg.f32 (*.f32 cosTheta cosTheta))) cosTheta) (sqrt.f32 (PI.f32))))))
0.8b
(*.f32 (/.f32 1 (sqrt.f32 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (exp.f32 (*.f32 cosTheta cosTheta)))))))) (/.f32 1 (sqrt.f32 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (exp.f32 (*.f32 cosTheta cosTheta)))))))))
0.9b
(*.f32 (/.f32 1 (*.f32 (cbrt.f32 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (exp.f32 (*.f32 cosTheta cosTheta))))))) (cbrt.f32 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (exp.f32 (*.f32 cosTheta cosTheta))))))))) (/.f32 1 (cbrt.f32 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (exp.f32 (*.f32 cosTheta cosTheta)))))))))
0.5b
(/.f32 1 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (*.f32 (cbrt.f32 (fma.f32 cosTheta -2 1)) (cbrt.f32 (fma.f32 cosTheta -2 1)))) (/.f32 (sqrt.f32 (PI.f32)) (/.f32 (sqrt.f32 (cbrt.f32 (fma.f32 cosTheta -2 1))) (*.f32 cosTheta (exp.f32 (*.f32 cosTheta cosTheta))))))))
0.8b
(/.f32 1 (+.f32 (+.f32 1 c) (*.f32 (sqrt.f32 (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))) (sqrt.f32 (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))))))
Compiler

Compiled 8321 to 4776 computations (42.6% saved)

localize84.0ms (0.7%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (*.f32 (cbrt.f32 (PI.f32)) (cbrt.f32 (PI.f32)))) (*.f32 (sqrt.f32 (cbrt.f32 (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))))
0.3b
(/.f32 1 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (*.f32 (cbrt.f32 (PI.f32)) (cbrt.f32 (PI.f32)))) (*.f32 (sqrt.f32 (cbrt.f32 (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))))))
0.3b
(*.f32 (sqrt.f32 (*.f32 (cbrt.f32 (PI.f32)) (cbrt.f32 (PI.f32)))) (*.f32 (sqrt.f32 (cbrt.f32 (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))
0.5b
(*.f32 (sqrt.f32 (cbrt.f32 (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))

series294.0ms (2.5%)

Counts
4 → 46
Calls

4 calls:

162.0ms
(*.f32 (sqrt.f32 (cbrt.f32 (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))
90.0ms
(/.f32 1 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (*.f32 (cbrt.f32 (PI.f32)) (cbrt.f32 (PI.f32)))) (*.f32 (sqrt.f32 (cbrt.f32 (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))))))
30.0ms
(/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (*.f32 (cbrt.f32 (PI.f32)) (cbrt.f32 (PI.f32)))) (*.f32 (sqrt.f32 (cbrt.f32 (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))))
12.0ms
(*.f32 (sqrt.f32 (*.f32 (cbrt.f32 (PI.f32)) (cbrt.f32 (PI.f32)))) (*.f32 (sqrt.f32 (cbrt.f32 (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))

rewrite60.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
54×add-exp-log_binary32
42×*-un-lft-identity_binary32
34×add-cbrt-cube_binary32
31×prod-exp_binary32
22×add-sqr-sqrt_binary32
Counts
4 → 132
Calls

4 calls:

13.0ms
(*.f32 (sqrt.f32 (*.f32 (cbrt.f32 (PI.f32)) (cbrt.f32 (PI.f32)))) (*.f32 (sqrt.f32 (cbrt.f32 (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))
13.0ms
(/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (*.f32 (cbrt.f32 (PI.f32)) (cbrt.f32 (PI.f32)))) (*.f32 (sqrt.f32 (cbrt.f32 (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))))
12.0ms
(/.f32 1 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (*.f32 (cbrt.f32 (PI.f32)) (cbrt.f32 (PI.f32)))) (*.f32 (sqrt.f32 (cbrt.f32 (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))))))
6.0ms
(*.f32 (sqrt.f32 (cbrt.f32 (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))

simplify171.0ms (1.4%)

Algorithm
egg-herbie
Rules
445×associate-*r*_binary32
372×associate-*l*_binary32
300×unswap-sqr_binary32
298×fma-def_binary32
258×*-commutative_binary32
Counts
178 → 233
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
04047630
111286450
241636415
352276415

prune356.0ms (3%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New2294233
Fresh268
Picked101
Done000
Total23210242
Error
0.0b
Counts
242 → 10
Alt Table
StatusErrorProgram
13.7b
(*.f32 (/.f32 1 (-.f32 (*.f32 (+.f32 1 c) (+.f32 1 c)) (/.f32 (fma.f32 cosTheta -2 1) (*.f32 (PI.f32) (*.f32 (*.f32 cosTheta cosTheta) (pow.f32 (exp.f32 (*.f32 cosTheta cosTheta)) 2)))))) (-.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))))
0.5b
(/.f32 1 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (*.f32 (cbrt.f32 (PI.f32)) (cbrt.f32 (PI.f32)))) (*.f32 (sqrt.f32 (cbrt.f32 (*.f32 (cbrt.f32 (PI.f32)) (cbrt.f32 (PI.f32))))) (*.f32 (sqrt.f32 (cbrt.f32 (cbrt.f32 (PI.f32)))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))))))
0.8b
(*.f32 (*.f32 (cbrt.f32 (/.f32 1 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))))) (cbrt.f32 (/.f32 1 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))))))) (cbrt.f32 (/.f32 1 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))))))
0.7b
(-.f32 (fma.f32 (sqrt.f32 (PI.f32)) cosTheta (fma.f32 (*.f32 (sqrt.f32 (PI.f32)) (pow.f32 cosTheta 3)) 5/2 (fma.f32 7/2 (*.f32 (sqrt.f32 (PI.f32)) (pow.f32 cosTheta 4)) (fma.f32 2 (*.f32 (pow.f32 (PI.f32) 3/2) (*.f32 (pow.f32 cosTheta 3) c)) (fma.f32 3 (*.f32 (pow.f32 (PI.f32) 3/2) (pow.f32 cosTheta 4)) (fma.f32 (pow.f32 cosTheta 3) (pow.f32 (PI.f32) 3/2) (fma.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta cosTheta) (fma.f32 (*.f32 c c) (*.f32 (pow.f32 cosTheta 3) (pow.f32 (PI.f32) 3/2)) (*.f32 (pow.f32 (PI.f32) 3/2) (+.f32 (*.f32 3 (*.f32 (*.f32 c c) (pow.f32 cosTheta 4))) (*.f32 6 (*.f32 c (pow.f32 cosTheta 4))))))))))))) (fma.f32 c (*.f32 (PI.f32) (*.f32 cosTheta cosTheta)) (fma.f32 3 (*.f32 (*.f32 c c) (*.f32 (pow.f32 cosTheta 4) (pow.f32 (PI.f32) 2))) (fma.f32 6 (*.f32 (PI.f32) (*.f32 c (pow.f32 cosTheta 4))) (+.f32 (+.f32 (*.f32 (PI.f32) (*.f32 cosTheta cosTheta)) (*.f32 (*.f32 (PI.f32) (pow.f32 cosTheta 3)) (+.f32 2 (*.f32 2 c)))) (+.f32 (*.f32 (pow.f32 cosTheta 4) (+.f32 (pow.f32 (PI.f32) 2) (*.f32 (PI.f32) 6))) (*.f32 (*.f32 (pow.f32 cosTheta 4) (pow.f32 (PI.f32) 2)) (+.f32 (pow.f32 c 3) (*.f32 3 c)))))))))
0.5b
(/.f32 1 (+.f32 (+.f32 1 c) (*.f32 (/.f32 1 (cbrt.f32 (PI.f32))) (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (*.f32 cosTheta (exp.f32 (*.f32 cosTheta cosTheta))) (sqrt.f32 (cbrt.f32 (PI.f32))))))))
0.8b
(*.f32 (/.f32 1 (sqrt.f32 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (exp.f32 (*.f32 cosTheta cosTheta)))))))) (/.f32 1 (sqrt.f32 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (exp.f32 (*.f32 cosTheta cosTheta)))))))))
0.9b
(*.f32 (/.f32 1 (*.f32 (cbrt.f32 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (exp.f32 (*.f32 cosTheta cosTheta))))))) (cbrt.f32 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (exp.f32 (*.f32 cosTheta cosTheta))))))))) (/.f32 1 (cbrt.f32 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (exp.f32 (*.f32 cosTheta cosTheta)))))))))
0.5b
(/.f32 1 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (*.f32 (cbrt.f32 (fma.f32 cosTheta -2 1)) (cbrt.f32 (fma.f32 cosTheta -2 1)))) (/.f32 (sqrt.f32 (PI.f32)) (/.f32 (sqrt.f32 (cbrt.f32 (fma.f32 cosTheta -2 1))) (*.f32 cosTheta (exp.f32 (*.f32 cosTheta cosTheta))))))))
0.5b
(/.f32 1 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (*.f32 (cbrt.f32 (sqrt.f32 (*.f32 (cbrt.f32 (PI.f32)) (cbrt.f32 (PI.f32))))) (cbrt.f32 (sqrt.f32 (*.f32 (cbrt.f32 (PI.f32)) (cbrt.f32 (PI.f32)))))) (*.f32 (*.f32 (*.f32 cosTheta (exp.f32 (*.f32 cosTheta cosTheta))) (sqrt.f32 (cbrt.f32 (PI.f32)))) (cbrt.f32 (cbrt.f32 (PI.f32))))))))
0.4b
(/.f32 1 (+.f32 (+.f32 1 c) (*.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (/.f32 1 (*.f32 (sqrt.f32 (*.f32 (cbrt.f32 (PI.f32)) (cbrt.f32 (PI.f32)))) (*.f32 (sqrt.f32 (cbrt.f32 (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))))))
Compiler

Compiled 11201 to 5518 computations (50.7% saved)

localize90.0ms (0.8%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(/.f32 1 (*.f32 (sqrt.f32 (*.f32 (cbrt.f32 (PI.f32)) (cbrt.f32 (PI.f32)))) (*.f32 (sqrt.f32 (cbrt.f32 (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))))
0.3b
(/.f32 1 (+.f32 (+.f32 1 c) (*.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (/.f32 1 (*.f32 (sqrt.f32 (*.f32 (cbrt.f32 (PI.f32)) (cbrt.f32 (PI.f32)))) (*.f32 (sqrt.f32 (cbrt.f32 (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))))))
0.3b
(*.f32 (sqrt.f32 (*.f32 (cbrt.f32 (PI.f32)) (cbrt.f32 (PI.f32)))) (*.f32 (sqrt.f32 (cbrt.f32 (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))
0.5b
(*.f32 (sqrt.f32 (cbrt.f32 (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))

series124.0ms (1%)

Counts
2 → 30
Calls

2 calls:

89.0ms
(/.f32 1 (+.f32 (+.f32 1 c) (*.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (/.f32 1 (*.f32 (sqrt.f32 (*.f32 (cbrt.f32 (PI.f32)) (cbrt.f32 (PI.f32)))) (*.f32 (sqrt.f32 (cbrt.f32 (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))))))
35.0ms
(/.f32 1 (*.f32 (sqrt.f32 (*.f32 (cbrt.f32 (PI.f32)) (cbrt.f32 (PI.f32)))) (*.f32 (sqrt.f32 (cbrt.f32 (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))))

rewrite32.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
60×add-exp-log_binary32
36×prod-exp_binary32
18×add-cbrt-cube_binary32
14×div-exp_binary32
12×*-un-lft-identity_binary32
Counts
2 → 84
Calls

2 calls:

14.0ms
(/.f32 1 (*.f32 (sqrt.f32 (*.f32 (cbrt.f32 (PI.f32)) (cbrt.f32 (PI.f32)))) (*.f32 (sqrt.f32 (cbrt.f32 (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))))
8.0ms
(/.f32 1 (+.f32 (+.f32 1 c) (*.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (/.f32 1 (*.f32 (sqrt.f32 (*.f32 (cbrt.f32 (PI.f32)) (cbrt.f32 (PI.f32)))) (*.f32 (sqrt.f32 (cbrt.f32 (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))))))

simplify133.0ms (1.1%)

Algorithm
egg-herbie
Rules
434×cancel-sign-sub-inv_binary32
412×associate-*r*_binary32
352×associate-*l*_binary32
266×unswap-sqr_binary32
260×fma-def_binary32
Counts
114 → 148
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03426021
19594831
237514810
353114810

prune433.0ms (3.6%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New2403243
Fresh369
Picked011
Done000
Total24310253
Error
0.0b
Counts
253 → 10
Alt Table
StatusErrorProgram
0.8b
(*.f32 (*.f32 (cbrt.f32 (/.f32 1 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))))) (cbrt.f32 (/.f32 1 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))))))) (cbrt.f32 (/.f32 1 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))))))
0.7b
(-.f32 (fma.f32 (sqrt.f32 (PI.f32)) cosTheta (fma.f32 (*.f32 (sqrt.f32 (PI.f32)) (pow.f32 cosTheta 3)) 5/2 (fma.f32 7/2 (*.f32 (sqrt.f32 (PI.f32)) (pow.f32 cosTheta 4)) (fma.f32 2 (*.f32 (pow.f32 (PI.f32) 3/2) (*.f32 (pow.f32 cosTheta 3) c)) (fma.f32 3 (*.f32 (pow.f32 (PI.f32) 3/2) (pow.f32 cosTheta 4)) (fma.f32 (pow.f32 cosTheta 3) (pow.f32 (PI.f32) 3/2) (fma.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta cosTheta) (fma.f32 (*.f32 c c) (*.f32 (pow.f32 cosTheta 3) (pow.f32 (PI.f32) 3/2)) (*.f32 (pow.f32 (PI.f32) 3/2) (+.f32 (*.f32 3 (*.f32 (*.f32 c c) (pow.f32 cosTheta 4))) (*.f32 6 (*.f32 c (pow.f32 cosTheta 4))))))))))))) (fma.f32 c (*.f32 (PI.f32) (*.f32 cosTheta cosTheta)) (fma.f32 3 (*.f32 (*.f32 c c) (*.f32 (pow.f32 cosTheta 4) (pow.f32 (PI.f32) 2))) (fma.f32 6 (*.f32 (PI.f32) (*.f32 c (pow.f32 cosTheta 4))) (+.f32 (+.f32 (*.f32 (PI.f32) (*.f32 cosTheta cosTheta)) (*.f32 (*.f32 (PI.f32) (pow.f32 cosTheta 3)) (+.f32 2 (*.f32 2 c)))) (+.f32 (*.f32 (pow.f32 cosTheta 4) (+.f32 (pow.f32 (PI.f32) 2) (*.f32 (PI.f32) 6))) (*.f32 (*.f32 (pow.f32 cosTheta 4) (pow.f32 (PI.f32) 2)) (+.f32 (pow.f32 c 3) (*.f32 3 c)))))))))
0.8b
(*.f32 (/.f32 1 (*.f32 (cbrt.f32 (+.f32 (+.f32 1 c) (*.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (/.f32 1 (*.f32 (sqrt.f32 (*.f32 (cbrt.f32 (PI.f32)) (cbrt.f32 (PI.f32)))) (*.f32 (sqrt.f32 (cbrt.f32 (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))))))) (cbrt.f32 (+.f32 (+.f32 1 c) (*.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (/.f32 1 (*.f32 (sqrt.f32 (*.f32 (cbrt.f32 (PI.f32)) (cbrt.f32 (PI.f32)))) (*.f32 (sqrt.f32 (cbrt.f32 (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))))))))) (/.f32 1 (cbrt.f32 (+.f32 (+.f32 1 c) (*.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (/.f32 1 (*.f32 (sqrt.f32 (*.f32 (cbrt.f32 (PI.f32)) (cbrt.f32 (PI.f32)))) (*.f32 (sqrt.f32 (cbrt.f32 (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))))))))
0.5b
(/.f32 1 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (*.f32 (cbrt.f32 (PI.f32)) (cbrt.f32 (PI.f32)))) (*.f32 (sqrt.f32 (cbrt.f32 (*.f32 (cbrt.f32 (PI.f32)) (cbrt.f32 (PI.f32))))) (*.f32 (sqrt.f32 (cbrt.f32 (cbrt.f32 (PI.f32)))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))))))
0.5b
(/.f32 1 (+.f32 (+.f32 1 c) (*.f32 (/.f32 1 (cbrt.f32 (PI.f32))) (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (*.f32 cosTheta (exp.f32 (*.f32 cosTheta cosTheta))) (sqrt.f32 (cbrt.f32 (PI.f32))))))))
0.4b
(/.f32 1 (+.f32 (+.f32 1 c) (*.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (/.f32 1 (*.f32 (sqrt.f32 (cbrt.f32 (PI.f32))) (*.f32 (*.f32 cosTheta (exp.f32 (*.f32 cosTheta cosTheta))) (cbrt.f32 (PI.f32))))))))
0.8b
(*.f32 (/.f32 1 (sqrt.f32 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (exp.f32 (*.f32 cosTheta cosTheta)))))))) (/.f32 1 (sqrt.f32 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (exp.f32 (*.f32 cosTheta cosTheta)))))))))
0.6b
(+.f32 (/.f32 (*.f32 c c) (pow.f32 (+.f32 1 (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (exp.f32 (*.f32 cosTheta cosTheta))))) 3)) (-.f32 (/.f32 1 (+.f32 1 (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (exp.f32 (*.f32 cosTheta cosTheta)))))) (/.f32 c (pow.f32 (+.f32 1 (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (exp.f32 (*.f32 cosTheta cosTheta))))) 2))))
0.5b
(/.f32 1 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (*.f32 (cbrt.f32 (fma.f32 cosTheta -2 1)) (cbrt.f32 (fma.f32 cosTheta -2 1)))) (/.f32 (sqrt.f32 (PI.f32)) (/.f32 (sqrt.f32 (cbrt.f32 (fma.f32 cosTheta -2 1))) (*.f32 cosTheta (exp.f32 (*.f32 cosTheta cosTheta))))))))
0.4b
(/.f32 1 (+.f32 (+.f32 1 c) (*.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (/.f32 1 (*.f32 (sqrt.f32 (*.f32 (cbrt.f32 (PI.f32)) (cbrt.f32 (PI.f32)))) (*.f32 (sqrt.f32 (cbrt.f32 (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))))))
Compiler

Compiled 11894 to 5964 computations (49.9% saved)

localize103.0ms (0.9%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(*.f32 (*.f32 cosTheta (exp.f32 (*.f32 cosTheta cosTheta))) (cbrt.f32 (PI.f32)))
0.3b
(/.f32 1 (*.f32 (sqrt.f32 (cbrt.f32 (PI.f32))) (*.f32 (*.f32 cosTheta (exp.f32 (*.f32 cosTheta cosTheta))) (cbrt.f32 (PI.f32)))))
0.3b
(/.f32 1 (+.f32 (+.f32 1 c) (*.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (/.f32 1 (*.f32 (sqrt.f32 (cbrt.f32 (PI.f32))) (*.f32 (*.f32 cosTheta (exp.f32 (*.f32 cosTheta cosTheta))) (cbrt.f32 (PI.f32))))))))
0.5b
(*.f32 (sqrt.f32 (cbrt.f32 (PI.f32))) (*.f32 (*.f32 cosTheta (exp.f32 (*.f32 cosTheta cosTheta))) (cbrt.f32 (PI.f32))))

series297.0ms (2.5%)

Counts
4 → 54
Calls

4 calls:

161.0ms
(*.f32 (*.f32 cosTheta (exp.f32 (*.f32 cosTheta cosTheta))) (cbrt.f32 (PI.f32)))
90.0ms
(/.f32 1 (+.f32 (+.f32 1 c) (*.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (/.f32 1 (*.f32 (sqrt.f32 (cbrt.f32 (PI.f32))) (*.f32 (*.f32 cosTheta (exp.f32 (*.f32 cosTheta cosTheta))) (cbrt.f32 (PI.f32))))))))
35.0ms
(/.f32 1 (*.f32 (sqrt.f32 (cbrt.f32 (PI.f32))) (*.f32 (*.f32 cosTheta (exp.f32 (*.f32 cosTheta cosTheta))) (cbrt.f32 (PI.f32)))))
11.0ms
(*.f32 (sqrt.f32 (cbrt.f32 (PI.f32))) (*.f32 (*.f32 cosTheta (exp.f32 (*.f32 cosTheta cosTheta))) (cbrt.f32 (PI.f32))))

rewrite46.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
51×add-exp-log_binary32
29×pow1_binary32
28×add-cbrt-cube_binary32
27×prod-exp_binary32
19×*-un-lft-identity_binary32
Counts
4 → 131
Calls

4 calls:

12.0ms
(/.f32 1 (*.f32 (sqrt.f32 (cbrt.f32 (PI.f32))) (*.f32 (*.f32 cosTheta (exp.f32 (*.f32 cosTheta cosTheta))) (cbrt.f32 (PI.f32)))))
9.0ms
(*.f32 (sqrt.f32 (cbrt.f32 (PI.f32))) (*.f32 (*.f32 cosTheta (exp.f32 (*.f32 cosTheta cosTheta))) (cbrt.f32 (PI.f32))))
7.0ms
(/.f32 1 (+.f32 (+.f32 1 c) (*.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (/.f32 1 (*.f32 (sqrt.f32 (cbrt.f32 (PI.f32))) (*.f32 (*.f32 cosTheta (exp.f32 (*.f32 cosTheta cosTheta))) (cbrt.f32 (PI.f32))))))))
6.0ms
(*.f32 (*.f32 cosTheta (exp.f32 (*.f32 cosTheta cosTheta))) (cbrt.f32 (PI.f32)))

simplify159.0ms (1.3%)

Algorithm
egg-herbie
Rules
496×associate-*r*_binary32
443×associate-*l*_binary32
316×fma-def_binary32
254×*-commutative_binary32
193×associate-+r+_binary32
Counts
185 → 235
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03847290
111146183
244146024
349216024

prune445.0ms (3.8%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New2332235
Fresh268
Picked101
Done101
Total2378245
Error
0.0b
Counts
245 → 8
Alt Table
StatusErrorProgram
0.8b
(*.f32 (*.f32 (cbrt.f32 (/.f32 1 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))))) (cbrt.f32 (/.f32 1 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))))))) (cbrt.f32 (/.f32 1 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))))))
0.4b
(/.f32 1 (+.f32 (+.f32 1 c) (*.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (/.f32 (/.f32 1 (sqrt.f32 (cbrt.f32 (PI.f32)))) (*.f32 (*.f32 cosTheta (exp.f32 (*.f32 cosTheta cosTheta))) (cbrt.f32 (PI.f32)))))))
0.7b
(-.f32 (fma.f32 (sqrt.f32 (PI.f32)) cosTheta (fma.f32 (*.f32 (sqrt.f32 (PI.f32)) (pow.f32 cosTheta 3)) 5/2 (fma.f32 7/2 (*.f32 (sqrt.f32 (PI.f32)) (pow.f32 cosTheta 4)) (fma.f32 2 (*.f32 (pow.f32 (PI.f32) 3/2) (*.f32 (pow.f32 cosTheta 3) c)) (fma.f32 3 (*.f32 (pow.f32 (PI.f32) 3/2) (pow.f32 cosTheta 4)) (fma.f32 (pow.f32 cosTheta 3) (pow.f32 (PI.f32) 3/2) (fma.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta cosTheta) (fma.f32 (*.f32 c c) (*.f32 (pow.f32 cosTheta 3) (pow.f32 (PI.f32) 3/2)) (*.f32 (pow.f32 (PI.f32) 3/2) (+.f32 (*.f32 3 (*.f32 (*.f32 c c) (pow.f32 cosTheta 4))) (*.f32 6 (*.f32 c (pow.f32 cosTheta 4))))))))))))) (fma.f32 c (*.f32 (PI.f32) (*.f32 cosTheta cosTheta)) (fma.f32 3 (*.f32 (*.f32 c c) (*.f32 (pow.f32 cosTheta 4) (pow.f32 (PI.f32) 2))) (fma.f32 6 (*.f32 (PI.f32) (*.f32 c (pow.f32 cosTheta 4))) (+.f32 (+.f32 (*.f32 (PI.f32) (*.f32 cosTheta cosTheta)) (*.f32 (*.f32 (PI.f32) (pow.f32 cosTheta 3)) (+.f32 2 (*.f32 2 c)))) (+.f32 (*.f32 (pow.f32 cosTheta 4) (+.f32 (pow.f32 (PI.f32) 2) (*.f32 (PI.f32) 6))) (*.f32 (*.f32 (pow.f32 cosTheta 4) (pow.f32 (PI.f32) 2)) (+.f32 (pow.f32 c 3) (*.f32 3 c)))))))))
0.8b
(*.f32 (/.f32 1 (*.f32 (cbrt.f32 (+.f32 (+.f32 1 c) (*.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (/.f32 1 (*.f32 (sqrt.f32 (*.f32 (cbrt.f32 (PI.f32)) (cbrt.f32 (PI.f32)))) (*.f32 (sqrt.f32 (cbrt.f32 (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))))))) (cbrt.f32 (+.f32 (+.f32 1 c) (*.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (/.f32 1 (*.f32 (sqrt.f32 (*.f32 (cbrt.f32 (PI.f32)) (cbrt.f32 (PI.f32)))) (*.f32 (sqrt.f32 (cbrt.f32 (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta)))))))))) (/.f32 1 (cbrt.f32 (+.f32 (+.f32 1 c) (*.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (/.f32 1 (*.f32 (sqrt.f32 (*.f32 (cbrt.f32 (PI.f32)) (cbrt.f32 (PI.f32)))) (*.f32 (sqrt.f32 (cbrt.f32 (PI.f32))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))))))))
0.5b
(/.f32 1 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (*.f32 (cbrt.f32 (PI.f32)) (cbrt.f32 (PI.f32)))) (*.f32 (sqrt.f32 (cbrt.f32 (*.f32 (cbrt.f32 (PI.f32)) (cbrt.f32 (PI.f32))))) (*.f32 (sqrt.f32 (cbrt.f32 (cbrt.f32 (PI.f32)))) (*.f32 cosTheta (pow.f32 (exp.f32 cosTheta) cosTheta))))))))
0.5b
(/.f32 1 (+.f32 (+.f32 1 c) (*.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (/.f32 1 (pow.f32 (PI.f32) 1/6)) (/.f32 (/.f32 (exp.f32 (neg.f32 (*.f32 cosTheta cosTheta))) cosTheta) (cbrt.f32 (PI.f32)))))))
0.8b
(*.f32 (/.f32 1 (sqrt.f32 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (exp.f32 (*.f32 cosTheta cosTheta)))))))) (/.f32 1 (sqrt.f32 (+.f32 (+.f32 1 c) (/.f32 (sqrt.f32 (fma.f32 cosTheta -2 1)) (*.f32 (sqrt.f32 (PI.f32)) (*.f32 cosTheta (exp.f32 (*.f32 cosTheta cosTheta)))))))))
0.6b
(+.f32 (/.f32 (*.f32 c c) (pow.f32 (+.f32 1 (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (exp.f32 (*.f32 cosTheta cosTheta))))) 3)) (-.f32 (/.f32 1 (+.f32 1 (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (exp.f32 (*.f32 cosTheta cosTheta)))))) (/.f32 c (pow.f32 (+.f32 1 (/.f32 (sqrt.f32 (/.f32 (fma.f32 cosTheta -2 1) (PI.f32))) (*.f32 cosTheta (exp.f32 (*.f32 cosTheta cosTheta))))) 2))))
Compiler

Compiled 10149 to 5583 computations (45% saved)

regimes5.4s (45.8%)

Accuracy

Total 0.5b remaining (92.9%)

Threshold costs 0.5b (92.9%)

Counts
555 → 1
Compiler

Compiled 127398 to 89786 computations (29.5% saved)

simplify3.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
03072
13972
23872

end298.0ms (2.5%)

Compiler

Compiled 632 to 407 computations (35.6% saved)

Profiling

Loading profile data...