Details

Time bar (total: 14.1s)

analyze3.2s (22.5%)

Algorithm
search
Search
TrueOtherFalseIter
0%3%97%0
0%3%97%1
0%3%97%2
0%3%97%3
0%3%97%4
0%3%97%5
0%1.5%98.5%6
0%1.5%98.5%7
0%1.5%98.5%8
0%1.5%98.5%9
0%1.5%98.5%10
0%1.5%98.5%11
0%1.5%98.5%12
0%1.5%98.5%13
0%1.5%98.5%14
Compiler

Compiled 69 to 51 computations (26.1% saved)

sample2.8s (19.8%)

Symmetry

(sort cosTheta_i cosTheta_O)

(sort sinTheta_i sinTheta_O)

Results
2.7s8256×body128valid
43.0ms128×body128invalid
Compiler

Compiled 99 to 73 computations (26.3% saved)

simplify53.0ms (0.4%)

Algorithm
egg-herbie
Rules
788×fma-neg_binary32
718×fma-def_binary32
560×exp-diff_binary32
512×exp-sum_binary32
448×sub-neg_binary32
Counts
1 → 2
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02235
15333
214531
353229
4211929
5443129
6497529

prune5.0ms (0%)

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 1/2 v) (exp.f32 (-.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000) (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v)))))
0.1b
(exp.f32 (+.f32 (+.f32 (-.f32 (-.f32 (/.f32 (*.f32 cosTheta_i cosTheta_O) v) (/.f32 (*.f32 sinTheta_i sinTheta_O) v)) (/.f32 1 v)) 6931/10000) (log.f32 (/.f32 1 (*.f32 2 v)))))
Compiler

Compiled 160 to 112 computations (30% saved)

localize50.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v))
0.0b
(-.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000) (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v)))
0.1b
(exp.f32 (-.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000) (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v))))
0.1b
(fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000)

series120.0ms (0.9%)

Counts
4 → 156
Calls

4 calls:

52.0ms
(exp.f32 (-.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000) (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v))))
42.0ms
(-.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000) (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v)))
15.0ms
(fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v))
11.0ms
(fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000)

rewrite16.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity_binary32
24×add-sqr-sqrt_binary32
20×add-cube-cbrt_binary32
18×prod-diff_binary32
14×exp-sum_binary32
Counts
4 → 83
Calls

4 calls:

4.0ms
(-.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000) (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v)))
4.0ms
(exp.f32 (-.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000) (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v))))
0.0ms
(fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000)
0.0ms
(fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v))

simplify158.0ms (1.1%)

Algorithm
egg-herbie
Rules
373×distribute-rgt-in_binary32
252×times-frac_binary32
214×fma-neg_binary32
180×associate-*r*_binary32
152×associate-+r+_binary32
Counts
239 → 160
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02816496
17045860
230715155
348885155
449365155

prune313.0ms (2.2%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1564160
Fresh101
Picked101
Done000
Total1584162
Error
0.0b
Counts
162 → 4
Alt Table
StatusErrorProgram
0.1b
(*.f32 (/.f32 1/2 v) (pow.f32 (E.f32) (-.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000) (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v)))))
2.7b
(*.f32 (/.f32 1/2 v) (*.f32 (exp.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000)) (exp.f32 (neg.f32 (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v))))))
3.0b
(*.f32 (/.f32 1/2 v) (pow.f32 (exp.f32 (+.f32 (sqrt.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000)) (sqrt.f32 (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v))))) (-.f32 (sqrt.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000)) (sqrt.f32 (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v))))))
0.1b
(*.f32 (/.f32 1/2 v) (*.f32 (*.f32 (cbrt.f32 (exp.f32 (+.f32 6931/10000 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (fma.f32 sinTheta_i sinTheta_O 1)) v)))) (cbrt.f32 (exp.f32 (+.f32 6931/10000 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (fma.f32 sinTheta_i sinTheta_O 1)) v))))) (cbrt.f32 (exp.f32 (+.f32 6931/10000 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (fma.f32 sinTheta_i sinTheta_O 1)) v))))))
Compiler

Compiled 6862 to 3939 computations (42.6% saved)

localize58.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f32 (*.f32 (cbrt.f32 (exp.f32 (+.f32 6931/10000 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (fma.f32 sinTheta_i sinTheta_O 1)) v)))) (cbrt.f32 (exp.f32 (+.f32 6931/10000 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (fma.f32 sinTheta_i sinTheta_O 1)) v))))) (cbrt.f32 (exp.f32 (+.f32 6931/10000 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (fma.f32 sinTheta_i sinTheta_O 1)) v)))))
0.0b
(+.f32 6931/10000 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (fma.f32 sinTheta_i sinTheta_O 1)) v))
0.1b
(exp.f32 (+.f32 6931/10000 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (fma.f32 sinTheta_i sinTheta_O 1)) v)))
0.3b
(cbrt.f32 (exp.f32 (+.f32 6931/10000 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (fma.f32 sinTheta_i sinTheta_O 1)) v))))

series2.1s (14.7%)

Counts
4 → 240
Calls

4 calls:

1.9s
(cbrt.f32 (exp.f32 (+.f32 6931/10000 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (fma.f32 sinTheta_i sinTheta_O 1)) v))))
72.0ms
(*.f32 (*.f32 (cbrt.f32 (exp.f32 (+.f32 6931/10000 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (fma.f32 sinTheta_i sinTheta_O 1)) v)))) (cbrt.f32 (exp.f32 (+.f32 6931/10000 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (fma.f32 sinTheta_i sinTheta_O 1)) v))))) (cbrt.f32 (exp.f32 (+.f32 6931/10000 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (fma.f32 sinTheta_i sinTheta_O 1)) v)))))
54.0ms
(exp.f32 (+.f32 6931/10000 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (fma.f32 sinTheta_i sinTheta_O 1)) v)))
35.0ms
(+.f32 6931/10000 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (fma.f32 sinTheta_i sinTheta_O 1)) v))

rewrite65.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
23×pow1_binary32
15×associate-+r-_binary32
15×div-sub_binary32
14×exp-diff_binary32
13×*-un-lft-identity_binary32
Counts
4 → 96
Calls

4 calls:

31.0ms
(*.f32 (*.f32 (cbrt.f32 (exp.f32 (+.f32 6931/10000 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (fma.f32 sinTheta_i sinTheta_O 1)) v)))) (cbrt.f32 (exp.f32 (+.f32 6931/10000 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (fma.f32 sinTheta_i sinTheta_O 1)) v))))) (cbrt.f32 (exp.f32 (+.f32 6931/10000 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (fma.f32 sinTheta_i sinTheta_O 1)) v)))))
11.0ms
(exp.f32 (+.f32 6931/10000 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (fma.f32 sinTheta_i sinTheta_O 1)) v)))
7.0ms
(cbrt.f32 (exp.f32 (+.f32 6931/10000 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (fma.f32 sinTheta_i sinTheta_O 1)) v))))
7.0ms
(+.f32 6931/10000 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (fma.f32 sinTheta_i sinTheta_O 1)) v))

simplify252.0ms (1.8%)

Algorithm
egg-herbie
Rules
520×times-frac_binary32
384×associate-*r*_binary32
317×associate-/l*_binary32
275×associate-*l*_binary32
271×associate-/r*_binary32
Counts
336 → 161
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
044413204
1127612954
2498512740
3504912740

prune1.1s (8%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New3974401
Fresh213
Picked101
Done000
Total4005405
Error
0.0b
Counts
405 → 5
Alt Table
StatusErrorProgram
0.1b
(*.f32 (/.f32 1/2 v) (*.f32 (*.f32 (cbrt.f32 (exp.f32 (+.f32 6931/10000 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (fma.f32 sinTheta_i sinTheta_O 1)) v)))) (cbrt.f32 (pow.f32 (E.f32) (+.f32 6931/10000 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (fma.f32 sinTheta_i sinTheta_O 1)) v))))) (cbrt.f32 (exp.f32 (+.f32 6931/10000 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (fma.f32 sinTheta_i sinTheta_O 1)) v))))))
0.1b
(*.f32 (/.f32 1/2 v) (*.f32 (*.f32 (cbrt.f32 (exp.f32 (+.f32 6931/10000 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (fma.f32 sinTheta_i sinTheta_O 1)) v)))) (cbrt.f32 (exp.f32 (+.f32 6931/10000 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (fma.f32 sinTheta_i sinTheta_O 1)) v))))) (exp.f32 (*.f32 1/3 (-.f32 6931/10000 (+.f32 (/.f32 1 v) (/.f32 (*.f32 sinTheta_i sinTheta_O) v)))))))
0.1b
(*.f32 (/.f32 1/2 v) (pow.f32 (E.f32) (-.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000) (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v)))))
2.7b
(*.f32 (/.f32 1/2 v) (/.f32 (*.f32 (*.f32 (cbrt.f32 (exp.f32 (+.f32 6931/10000 (/.f32 (*.f32 cosTheta_i cosTheta_O) v)))) (cbrt.f32 (exp.f32 (+.f32 6931/10000 (/.f32 (*.f32 cosTheta_i cosTheta_O) v))))) (cbrt.f32 (exp.f32 (+.f32 6931/10000 (/.f32 (*.f32 cosTheta_i cosTheta_O) v))))) (*.f32 (*.f32 (cbrt.f32 (exp.f32 (/.f32 (fma.f32 sinTheta_i sinTheta_O 1) v))) (cbrt.f32 (exp.f32 (/.f32 (fma.f32 sinTheta_i sinTheta_O 1) v)))) (cbrt.f32 (exp.f32 (/.f32 (fma.f32 sinTheta_i sinTheta_O 1) v))))))
0.1b
(*.f32 (/.f32 1/2 v) (*.f32 (*.f32 (cbrt.f32 (exp.f32 (+.f32 6931/10000 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (fma.f32 sinTheta_i sinTheta_O 1)) v)))) (cbrt.f32 (exp.f32 (+.f32 6931/10000 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (fma.f32 sinTheta_i sinTheta_O 1)) v))))) (pow.f32 (exp.f32 1/3) (+.f32 6931/10000 (fma.f32 (/.f32 cosTheta_i v) cosTheta_O (/.f32 -1 v))))))
Compiler

Compiled 32993 to 20936 computations (36.5% saved)

localize105.0ms (0.7%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(exp.f32 (*.f32 1/3 (-.f32 6931/10000 (+.f32 (/.f32 1 v) (/.f32 (*.f32 sinTheta_i sinTheta_O) v)))))
0.3b
(cbrt.f32 (exp.f32 (+.f32 6931/10000 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (fma.f32 sinTheta_i sinTheta_O 1)) v))))
0.4b
(*.f32 1/3 (-.f32 6931/10000 (+.f32 (/.f32 1 v) (/.f32 (*.f32 sinTheta_i sinTheta_O) v))))
6.4b
(/.f32 (*.f32 sinTheta_i sinTheta_O) v)

series73.0ms (0.5%)

Counts
3 → 52
Calls

3 calls:

31.0ms
(/.f32 (*.f32 sinTheta_i sinTheta_O) v)
23.0ms
(exp.f32 (*.f32 1/3 (-.f32 6931/10000 (+.f32 (/.f32 1 v) (/.f32 (*.f32 sinTheta_i sinTheta_O) v)))))
19.0ms
(*.f32 1/3 (-.f32 6931/10000 (+.f32 (/.f32 1 v) (/.f32 (*.f32 sinTheta_i sinTheta_O) v))))

rewrite69.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
162×*-un-lft-identity_binary32
108×prod-diff_binary32
98×div-inv_binary32
74×exp-sum_binary32
74×distribute-lft-in_binary32
Counts
3 → 209
Calls

3 calls:

18.0ms
(*.f32 1/3 (-.f32 6931/10000 (+.f32 (/.f32 1 v) (/.f32 (*.f32 sinTheta_i sinTheta_O) v))))
16.0ms
(exp.f32 (*.f32 1/3 (-.f32 6931/10000 (+.f32 (/.f32 1 v) (/.f32 (*.f32 sinTheta_i sinTheta_O) v)))))
3.0ms
(/.f32 (*.f32 sinTheta_i sinTheta_O) v)

simplify246.0ms (1.7%)

Algorithm
egg-herbie
Rules
732×fma-def_binary32
335×distribute-rgt-in_binary32
289×exp-prod_binary32
206×cancel-sign-sub-inv_binary32
176×fma-neg_binary32
Counts
261 → 212
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03479207
16666395
223954068
345474068
449924068
549424068

prune861.0ms (6.1%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New2982300
Fresh224
Picked101
Done000
Total3014305
Error
0.0b
Counts
305 → 4
Alt Table
StatusErrorProgram
0.1b
(*.f32 (/.f32 1/2 v) (pow.f32 (E.f32) (-.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000) (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v)))))
0.1b
(*.f32 (/.f32 1/2 v) (*.f32 (*.f32 (cbrt.f32 (exp.f32 (+.f32 6931/10000 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (fma.f32 sinTheta_i sinTheta_O 1)) v)))) (cbrt.f32 (exp.f32 (+.f32 6931/10000 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (fma.f32 sinTheta_i sinTheta_O 1)) v))))) (exp.f32 (-.f32 6931/30000 (/.f32 1/3 v)))))
2.7b
(*.f32 (/.f32 1/2 v) (/.f32 (*.f32 (*.f32 (cbrt.f32 (exp.f32 (+.f32 6931/10000 (/.f32 (*.f32 cosTheta_i cosTheta_O) v)))) (cbrt.f32 (exp.f32 (+.f32 6931/10000 (/.f32 (*.f32 cosTheta_i cosTheta_O) v))))) (cbrt.f32 (exp.f32 (+.f32 6931/10000 (/.f32 (*.f32 cosTheta_i cosTheta_O) v))))) (*.f32 (*.f32 (cbrt.f32 (exp.f32 (/.f32 (fma.f32 sinTheta_i sinTheta_O 1) v))) (cbrt.f32 (exp.f32 (/.f32 (fma.f32 sinTheta_i sinTheta_O 1) v)))) (cbrt.f32 (exp.f32 (/.f32 (fma.f32 sinTheta_i sinTheta_O 1) v))))))
0.1b
(*.f32 (/.f32 1/2 v) (*.f32 (*.f32 (cbrt.f32 (exp.f32 (+.f32 6931/10000 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (fma.f32 sinTheta_i sinTheta_O 1)) v)))) (cbrt.f32 (exp.f32 (+.f32 6931/10000 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (fma.f32 sinTheta_i sinTheta_O 1)) v))))) (exp.f32 (+.f32 (*.f32 6931/10000 1/3) (*.f32 (*.f32 (neg.f32 (sqrt.f32 (+.f32 (/.f32 1 v) (/.f32 (*.f32 sinTheta_i sinTheta_O) v)))) (sqrt.f32 (+.f32 (/.f32 1 v) (/.f32 (*.f32 sinTheta_i sinTheta_O) v)))) 1/3)))))
Compiler

Compiled 23640 to 14991 computations (36.6% saved)

localize116.0ms (0.8%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.4b
(*.f32 (*.f32 (neg.f32 (sqrt.f32 (+.f32 (/.f32 1 v) (/.f32 (*.f32 sinTheta_i sinTheta_O) v)))) (sqrt.f32 (+.f32 (/.f32 1 v) (/.f32 (*.f32 sinTheta_i sinTheta_O) v)))) 1/3)
0.5b
(*.f32 (neg.f32 (sqrt.f32 (+.f32 (/.f32 1 v) (/.f32 (*.f32 sinTheta_i sinTheta_O) v)))) (sqrt.f32 (+.f32 (/.f32 1 v) (/.f32 (*.f32 sinTheta_i sinTheta_O) v))))
1.0b
(*.f32 6931/10000 1/3)
6.4b
(/.f32 (*.f32 sinTheta_i sinTheta_O) v)

series140.0ms (1%)

Counts
3 → 64
Calls

3 calls:

75.0ms
(*.f32 (*.f32 (neg.f32 (sqrt.f32 (+.f32 (/.f32 1 v) (/.f32 (*.f32 sinTheta_i sinTheta_O) v)))) (sqrt.f32 (+.f32 (/.f32 1 v) (/.f32 (*.f32 sinTheta_i sinTheta_O) v)))) 1/3)
65.0ms
(*.f32 (neg.f32 (sqrt.f32 (+.f32 (/.f32 1 v) (/.f32 (*.f32 sinTheta_i sinTheta_O) v)))) (sqrt.f32 (+.f32 (/.f32 1 v) (/.f32 (*.f32 sinTheta_i sinTheta_O) v))))
0.0ms
(*.f32 6931/10000 1/3)

rewrite72.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
48×sqrt-div_binary32
32×associate-*l*_binary32
31×*-un-lft-identity_binary32
28×sqrt-prod_binary32
24×distribute-neg-frac_binary32
Counts
3 → 127
Calls

3 calls:

25.0ms
(*.f32 (neg.f32 (sqrt.f32 (+.f32 (/.f32 1 v) (/.f32 (*.f32 sinTheta_i sinTheta_O) v)))) (sqrt.f32 (+.f32 (/.f32 1 v) (/.f32 (*.f32 sinTheta_i sinTheta_O) v))))
24.0ms
(*.f32 (*.f32 (neg.f32 (sqrt.f32 (+.f32 (/.f32 1 v) (/.f32 (*.f32 sinTheta_i sinTheta_O) v)))) (sqrt.f32 (+.f32 (/.f32 1 v) (/.f32 (*.f32 sinTheta_i sinTheta_O) v)))) 1/3)
4.0ms
(*.f32 6931/10000 1/3)

simplify159.0ms (1.1%)

Algorithm
egg-herbie
Rules
413×distribute-rgt-in_binary32
394×distribute-lft-in_binary32
234×distribute-lft-neg-out_binary32
208×distribute-rgt-neg-out_binary32
196×associate-*l*_binary32
Counts
191 → 200
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02074267
14963805
214833505
344803500
449883500
549653500

prune631.0ms (4.5%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New2560256
Fresh033
Picked011
Done000
Total2564260
Error
0.0b
Counts
260 → 4
Alt Table
StatusErrorProgram
0.1b
(*.f32 (/.f32 1/2 v) (pow.f32 (E.f32) (-.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000) (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v)))))
0.1b
(*.f32 (/.f32 1/2 v) (*.f32 (*.f32 (cbrt.f32 (exp.f32 (+.f32 6931/10000 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (fma.f32 sinTheta_i sinTheta_O 1)) v)))) (cbrt.f32 (exp.f32 (+.f32 6931/10000 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (fma.f32 sinTheta_i sinTheta_O 1)) v))))) (exp.f32 (-.f32 6931/30000 (/.f32 1/3 v)))))
2.7b
(*.f32 (/.f32 1/2 v) (/.f32 (*.f32 (*.f32 (cbrt.f32 (exp.f32 (+.f32 6931/10000 (/.f32 (*.f32 cosTheta_i cosTheta_O) v)))) (cbrt.f32 (exp.f32 (+.f32 6931/10000 (/.f32 (*.f32 cosTheta_i cosTheta_O) v))))) (cbrt.f32 (exp.f32 (+.f32 6931/10000 (/.f32 (*.f32 cosTheta_i cosTheta_O) v))))) (*.f32 (*.f32 (cbrt.f32 (exp.f32 (/.f32 (fma.f32 sinTheta_i sinTheta_O 1) v))) (cbrt.f32 (exp.f32 (/.f32 (fma.f32 sinTheta_i sinTheta_O 1) v)))) (cbrt.f32 (exp.f32 (/.f32 (fma.f32 sinTheta_i sinTheta_O 1) v))))))
0.1b
(*.f32 (/.f32 1/2 v) (*.f32 (*.f32 (cbrt.f32 (exp.f32 (+.f32 6931/10000 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (fma.f32 sinTheta_i sinTheta_O 1)) v)))) (cbrt.f32 (exp.f32 (+.f32 6931/10000 (/.f32 (-.f32 (*.f32 cosTheta_i cosTheta_O) (fma.f32 sinTheta_i sinTheta_O 1)) v))))) (exp.f32 (+.f32 (*.f32 6931/10000 1/3) (*.f32 (*.f32 (neg.f32 (sqrt.f32 (+.f32 (/.f32 1 v) (/.f32 (*.f32 sinTheta_i sinTheta_O) v)))) (sqrt.f32 (+.f32 (/.f32 1 v) (/.f32 (*.f32 sinTheta_i sinTheta_O) v)))) 1/3)))))
Compiler

Compiled 18598 to 11160 computations (40% saved)

regimes1.2s (8.3%)

Accuracy

Total 0.0b remaining (35.6%)

Threshold costs 0.0b (35.6%)

Counts
99 → 1
Compiler

Compiled 35289 to 24646 computations (30.2% saved)

simplify6.0ms (0%)

Algorithm
egg-herbie
Rules
17×*-commutative_binary32
10×+-commutative_binary32
neg-sub0_binary32
neg-mul-1_binary32
sub-neg_binary32
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
03492
15292
26692
38290
49690
510290
610490
710190

end184.0ms (1.3%)

Remove

(sort sinTheta_i sinTheta_O)

(sort cosTheta_i cosTheta_O)

Compiler

Compiled 588 to 414 computations (29.6% saved)

Profiling

Loading profile data...