Details

Time bar (total: 10.3s)

analyze2.0s (19.5%)

Algorithm
search
Search
TrueOtherFalseIter
0%6.3%93.7%0
0%6.3%93.7%1
0%6.3%93.7%2
0%6.3%93.7%3
0%6.3%93.7%4
0%6.3%93.7%5
0.8%5.5%93.7%6
0.8%5.5%93.7%7
1%4.9%94.1%8
1.4%4.4%94.2%9
1.4%3.9%94.8%10
1.5%3%95.5%11
1.7%2.7%95.6%12
1.7%2.2%96.1%13
1.8%1.6%96.6%14
Compiler

Compiled 44 to 30 computations (31.8% saved)

sample3.5s (33.5%)

Results
2.1s8256×body128valid
1.1s4666×body128invalid
Compiler

Compiled 109 to 73 computations (33% saved)

simplify144.0ms (1.4%)

Algorithm
egg-herbie
Rules
1390×div-sub_binary32
623×sub-neg_binary32
600×fma-neg_binary32
545×fma-def_binary32
530×unsub-neg_binary32
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01428
12628
23928
37428
411428
516728
624628
743028
866328
999828
10198728
11252128
12353528
13437128
14474728
15479528
16487728
17486028
18563228

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
2.0b
Counts
2 → 1
Alt Table
StatusErrorProgram
2.0b
(asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))
Compiler

Compiled 63 to 39 computations (38.1% saved)

localize44.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))
0.0b
(-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))
0.1b
(asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))
1.8b
(sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))

series285.0ms (2.8%)

Counts
4 → 104
Calls

4 calls:

213.0ms
(/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))
30.0ms
(sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))
28.0ms
(-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))
14.0ms
(asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))

rewrite144.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
898×prod-diff_binary32
292×egg-rr
153×add-sqr-sqrt_binary32
147×log1p-expm1-u_binary32
147×expm1-log1p-u_binary32
Counts
4 → 292
Calls

4 calls:

132.0ms
(/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))
132.0ms
(-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))
132.0ms
(asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))
132.0ms
(sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01498
130898
2392798
3577898
000
100

simplify133.0ms (1.3%)

Algorithm
egg-herbie
Rules
323×cancel-sign-sub-inv_binary32
240×fma-def_binary32
196×times-frac_binary32
194×fma-neg_binary32
189×associate-/r*_binary32
Counts
396 → 383
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02604664
18874519
236334517
349854513
449884513

prune591.0ms (5.7%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New3767383
Fresh000
Picked101
Done000
Total3777384
Error
0.4b
Counts
384 → 7
Alt Table
StatusErrorProgram
2.2b
(asin.f32 (*.f32 h (pow.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))) -1/2)))
2.4b
(asin.f32 (/.f32 h (pow.f32 (pow.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))) 1/4) 2)))
3.5b
(asin.f32 (/.f32 h (exp.f32 (log.f32 (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))))
0.7b
(asin.f32 (/.f32 h (-.f32 eta (*.f32 1/2 (/.f32 (pow.f32 sinTheta_O 2) eta)))))
2.6b
(pow.f32 (cbrt.f32 (asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))) 3)
2.2b
(asin.f32 (pow.f32 (/.f32 (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))) h) -1))
24.9b
(+.f32 (fma.f32 (sqrt.f32 (/.f32 (PI.f32) 2)) (sqrt.f32 (/.f32 (PI.f32) 2)) (neg.f32 (*.f32 (acos.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))) 1))) (fma.f32 (neg.f32 (acos.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))) 1 (*.f32 (acos.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))) 1)))
Compiler

Compiled 18660 to 10949 computations (41.3% saved)

localize33.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f32 1/2 (/.f32 (pow.f32 sinTheta_O 2) eta))
0.0b
(/.f32 h (-.f32 eta (*.f32 1/2 (/.f32 (pow.f32 sinTheta_O 2) eta))))
0.1b
(asin.f32 (/.f32 h (-.f32 eta (*.f32 1/2 (/.f32 (pow.f32 sinTheta_O 2) eta)))))
5.8b
(/.f32 (pow.f32 sinTheta_O 2) eta)

series100.0ms (1%)

Counts
4 → 24
Calls

4 calls:

69.0ms
(/.f32 h (-.f32 eta (*.f32 1/2 (/.f32 (pow.f32 sinTheta_O 2) eta))))
12.0ms
(*.f32 1/2 (/.f32 (pow.f32 sinTheta_O 2) eta))
10.0ms
(/.f32 (pow.f32 sinTheta_O 2) eta)
9.0ms
(asin.f32 (/.f32 h (-.f32 eta (*.f32 1/2 (/.f32 (pow.f32 sinTheta_O 2) eta)))))

rewrite76.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
705×prod-diff_binary32
245×log1p-udef_binary32
138×add-sqr-sqrt_binary32
133×log1p-expm1-u_binary32
133×expm1-log1p-u_binary32
Counts
4 → 128
Calls

4 calls:

72.0ms
(*.f32 1/2 (/.f32 (pow.f32 sinTheta_O 2) eta))
72.0ms
(/.f32 h (-.f32 eta (*.f32 1/2 (/.f32 (pow.f32 sinTheta_O 2) eta))))
72.0ms
(asin.f32 (/.f32 h (-.f32 eta (*.f32 1/2 (/.f32 (pow.f32 sinTheta_O 2) eta)))))
72.0ms
(/.f32 (pow.f32 sinTheta_O 2) eta)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01251
127451
2348051
3523451
000
100

simplify55.0ms (0.5%)

Algorithm
egg-herbie
Rules
531×cancel-sign-sub-inv_binary32
363×fma-neg_binary32
334×times-frac_binary32
313×neg-mul-1_binary32
310×neg-sub0_binary32
Counts
152 → 143
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
060804
1178798
2598786
32621771
44434771
55029771

prune137.0ms (1.3%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1394143
Fresh336
Picked101
Done000
Total1437150
Error
0.2b
Counts
150 → 7
Alt Table
StatusErrorProgram
2.2b
(asin.f32 (*.f32 h (pow.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))) -1/2)))
2.4b
(asin.f32 (/.f32 h (pow.f32 (pow.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))) 1/4) 2)))
1.3b
(asin.f32 (pow.f32 (cbrt.f32 (/.f32 h (-.f32 eta (*.f32 (/.f32 (*.f32 sinTheta_O sinTheta_O) eta) 1/2)))) 3))
0.5b
(asin.f32 (/.f32 h (-.f32 eta (*.f32 1/2 (pow.f32 (/.f32 sinTheta_O (sqrt.f32 eta)) 2)))))
23.3b
(pow.f32 (pow.f32 (asin.f32 (/.f32 h (-.f32 eta (*.f32 (/.f32 (*.f32 sinTheta_O sinTheta_O) eta) 1/2)))) 3) 1/3)
24.2b
(+.f32 (fma.f32 (sqrt.f32 (*.f32 (PI.f32) 1/2)) (sqrt.f32 (*.f32 (PI.f32) 1/2)) (neg.f32 (*.f32 (acos.f32 (/.f32 h (-.f32 eta (*.f32 (/.f32 (*.f32 sinTheta_O sinTheta_O) eta) 1/2)))) 1))) (fma.f32 (neg.f32 (acos.f32 (/.f32 h (-.f32 eta (*.f32 (/.f32 (*.f32 sinTheta_O sinTheta_O) eta) 1/2))))) 1 (*.f32 (acos.f32 (/.f32 h (-.f32 eta (*.f32 (/.f32 (*.f32 sinTheta_O sinTheta_O) eta) 1/2)))) 1)))
2.2b
(asin.f32 (pow.f32 (/.f32 (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))) h) -1))
Compiler

Compiled 3783 to 2087 computations (44.8% saved)

localize40.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f32 h (-.f32 eta (*.f32 1/2 (pow.f32 (/.f32 sinTheta_O (sqrt.f32 eta)) 2))))
0.1b
(asin.f32 (/.f32 h (-.f32 eta (*.f32 1/2 (pow.f32 (/.f32 sinTheta_O (sqrt.f32 eta)) 2)))))
0.2b
(/.f32 sinTheta_O (sqrt.f32 eta))
0.3b
(pow.f32 (/.f32 sinTheta_O (sqrt.f32 eta)) 2)

series122.0ms (1.2%)

Counts
4 → 93
Calls

4 calls:

74.0ms
(/.f32 h (-.f32 eta (*.f32 1/2 (pow.f32 (/.f32 sinTheta_O (sqrt.f32 eta)) 2))))
22.0ms
(pow.f32 (/.f32 sinTheta_O (sqrt.f32 eta)) 2)
18.0ms
(/.f32 sinTheta_O (sqrt.f32 eta))
8.0ms
(asin.f32 (/.f32 h (-.f32 eta (*.f32 1/2 (pow.f32 (/.f32 sinTheta_O (sqrt.f32 eta)) 2)))))

rewrite78.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
768×prod-diff_binary32
144×egg-rr
144×add-sqr-sqrt_binary32
139×log1p-expm1-u_binary32
139×expm1-log1p-u_binary32
Counts
4 → 144
Calls

4 calls:

75.0ms
(/.f32 h (-.f32 eta (*.f32 1/2 (pow.f32 (/.f32 sinTheta_O (sqrt.f32 eta)) 2))))
75.0ms
(asin.f32 (/.f32 h (-.f32 eta (*.f32 1/2 (pow.f32 (/.f32 sinTheta_O (sqrt.f32 eta)) 2)))))
75.0ms
(/.f32 sinTheta_O (sqrt.f32 eta))
75.0ms
(pow.f32 (/.f32 sinTheta_O (sqrt.f32 eta)) 2)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01353
129047
2357747
3496847
000
100

simplify76.0ms (0.7%)

Algorithm
egg-herbie
Rules
538×cancel-sign-sub-inv_binary32
366×fma-neg_binary32
334×times-frac_binary32
327×neg-mul-1_binary32
324×neg-sub0_binary32
Counts
237 → 168
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0741734
12081730
26471630
327221615
444161615
550261615

prune144.0ms (1.4%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1662168
Fresh066
Picked101
Done000
Total1678175
Error
0.2b
Counts
175 → 8
Alt Table
StatusErrorProgram
0.5b
(asin.f32 (/.f32 h (-.f32 eta (*.f32 1/2 (pow.f32 (*.f32 sinTheta_O (pow.f32 eta -1/2)) 2)))))
23.3b
(pow.f32 (pow.f32 (asin.f32 (/.f32 h (-.f32 eta (*.f32 (/.f32 (*.f32 sinTheta_O sinTheta_O) eta) 1/2)))) 3) 1/3)
2.2b
(asin.f32 (*.f32 h (pow.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))) -1/2)))
2.4b
(asin.f32 (/.f32 h (pow.f32 (pow.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))) 1/4) 2)))
15.3b
(asin.f32 (/.f32 h (-.f32 eta (*.f32 1/2 (pow.f32 (exp.f32 (log.f32 (/.f32 sinTheta_O (sqrt.f32 eta)))) 2)))))
2.2b
(asin.f32 (pow.f32 (/.f32 (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))) h) -1))
24.2b
(+.f32 (fma.f32 (sqrt.f32 (*.f32 (PI.f32) 1/2)) (sqrt.f32 (*.f32 (PI.f32) 1/2)) (neg.f32 (*.f32 (acos.f32 (/.f32 h (-.f32 eta (*.f32 (/.f32 (*.f32 sinTheta_O sinTheta_O) eta) 1/2)))) 1))) (fma.f32 (neg.f32 (acos.f32 (/.f32 h (-.f32 eta (*.f32 (/.f32 (*.f32 sinTheta_O sinTheta_O) eta) 1/2))))) 1 (*.f32 (acos.f32 (/.f32 h (-.f32 eta (*.f32 (/.f32 (*.f32 sinTheta_O sinTheta_O) eta) 1/2)))) 1)))
1.3b
(asin.f32 (pow.f32 (cbrt.f32 (/.f32 h (-.f32 eta (*.f32 (/.f32 (*.f32 sinTheta_O sinTheta_O) eta) 1/2)))) 3))
Compiler

Compiled 4315 to 2376 computations (44.9% saved)

localize39.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f32 h (-.f32 eta (*.f32 1/2 (pow.f32 (*.f32 sinTheta_O (pow.f32 eta -1/2)) 2))))
0.1b
(asin.f32 (/.f32 h (-.f32 eta (*.f32 1/2 (pow.f32 (*.f32 sinTheta_O (pow.f32 eta -1/2)) 2)))))
0.3b
(pow.f32 (*.f32 sinTheta_O (pow.f32 eta -1/2)) 2)
0.3b
(*.f32 sinTheta_O (pow.f32 eta -1/2))

series119.0ms (1.2%)

Counts
4 → 93
Calls

4 calls:

78.0ms
(/.f32 h (-.f32 eta (*.f32 1/2 (pow.f32 (*.f32 sinTheta_O (pow.f32 eta -1/2)) 2))))
19.0ms
(pow.f32 (*.f32 sinTheta_O (pow.f32 eta -1/2)) 2)
13.0ms
(*.f32 sinTheta_O (pow.f32 eta -1/2))
9.0ms
(asin.f32 (/.f32 h (-.f32 eta (*.f32 1/2 (pow.f32 (*.f32 sinTheta_O (pow.f32 eta -1/2)) 2)))))

rewrite74.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
665×prod-diff_binary32
263×log1p-udef_binary32
151×add-sqr-sqrt_binary32
149×log1p-expm1-u_binary32
149×expm1-log1p-u_binary32
Counts
4 → 114
Calls

4 calls:

71.0ms
(/.f32 h (-.f32 eta (*.f32 1/2 (pow.f32 (*.f32 sinTheta_O (pow.f32 eta -1/2)) 2))))
71.0ms
(asin.f32 (/.f32 h (-.f32 eta (*.f32 1/2 (pow.f32 (*.f32 sinTheta_O (pow.f32 eta -1/2)) 2)))))
71.0ms
(pow.f32 (*.f32 sinTheta_O (pow.f32 eta -1/2)) 2)
71.0ms
(*.f32 sinTheta_O (pow.f32 eta -1/2))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01457
131357
2359957
3525357
000
100

simplify78.0ms (0.8%)

Algorithm
egg-herbie
Rules
538×cancel-sign-sub-inv_binary32
366×fma-neg_binary32
334×times-frac_binary32
327×neg-mul-1_binary32
324×neg-sub0_binary32
Counts
207 → 138
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0741734
12081730
26471630
327221615
444161615
550261615

prune150.0ms (1.5%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1326138
Fresh347
Picked011
Done000
Total13511146
Error
0.2b
Counts
146 → 11
Alt Table
StatusErrorProgram
0.5b
(asin.f32 (/.f32 h (-.f32 eta (*.f32 1/2 (pow.f32 (*.f32 sinTheta_O (pow.f32 eta -1/2)) 2)))))
23.3b
(pow.f32 (pow.f32 (asin.f32 (/.f32 h (-.f32 eta (*.f32 (/.f32 (*.f32 sinTheta_O sinTheta_O) eta) 1/2)))) 3) 1/3)
0.7b
(asin.f32 (*.f32 h (/.f32 1 (-.f32 eta (*.f32 (pow.f32 (*.f32 sinTheta_O (pow.f32 eta -1/2)) 2) 1/2)))))
24.2b
(+.f32 (fma.f32 (sqrt.f32 (*.f32 (PI.f32) 1/2)) (sqrt.f32 (*.f32 (PI.f32) 1/2)) (neg.f32 (*.f32 (acos.f32 (/.f32 h (-.f32 eta (*.f32 (/.f32 (*.f32 sinTheta_O sinTheta_O) eta) 1/2)))) 1))) (fma.f32 (neg.f32 (acos.f32 (/.f32 h (-.f32 eta (*.f32 (/.f32 (*.f32 sinTheta_O sinTheta_O) eta) 1/2))))) 1 (*.f32 (acos.f32 (/.f32 h (-.f32 eta (*.f32 (/.f32 (*.f32 sinTheta_O sinTheta_O) eta) 1/2)))) 1)))
24.7b
(+.f32 (fma.f32 (*.f32 (cbrt.f32 (*.f32 (PI.f32) 1/2)) (cbrt.f32 (*.f32 (PI.f32) 1/2))) (cbrt.f32 (*.f32 (PI.f32) 1/2)) (neg.f32 (acos.f32 (/.f32 h (-.f32 eta (*.f32 (pow.f32 (*.f32 sinTheta_O (pow.f32 eta -1/2)) 2) 1/2)))))) (fma.f32 (neg.f32 (sqrt.f32 (acos.f32 (/.f32 h (-.f32 eta (*.f32 (pow.f32 (*.f32 sinTheta_O (pow.f32 eta -1/2)) 2) 1/2)))))) (sqrt.f32 (acos.f32 (/.f32 h (-.f32 eta (*.f32 (pow.f32 (*.f32 sinTheta_O (pow.f32 eta -1/2)) 2) 1/2))))) (acos.f32 (/.f32 h (-.f32 eta (*.f32 (pow.f32 (*.f32 sinTheta_O (pow.f32 eta -1/2)) 2) 1/2))))))
17.8b
(asin.f32 (pow.f32 (sqrt.f32 (/.f32 h (-.f32 eta (*.f32 (pow.f32 (*.f32 sinTheta_O (pow.f32 eta -1/2)) 2) 1/2)))) 2))
1.1b
(asin.f32 (pow.f32 (cbrt.f32 (/.f32 h (-.f32 eta (*.f32 (pow.f32 (*.f32 sinTheta_O (pow.f32 eta -1/2)) 2) 1/2)))) 3))
2.4b
(asin.f32 (/.f32 h (pow.f32 (pow.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))) 1/4) 2)))
24.3b
(-.f32 (*.f32 (PI.f32) 1/2) (acos.f32 (/.f32 h (-.f32 eta (*.f32 (pow.f32 (*.f32 sinTheta_O (pow.f32 eta -1/2)) 2) 1/2)))))
24.8b
(+.f32 (fma.f32 (*.f32 (cbrt.f32 (*.f32 (PI.f32) 1/2)) (cbrt.f32 (*.f32 (PI.f32) 1/2))) (cbrt.f32 (*.f32 (PI.f32) 1/2)) (neg.f32 (*.f32 (cbrt.f32 (acos.f32 (/.f32 h (-.f32 eta (*.f32 (pow.f32 (*.f32 sinTheta_O (pow.f32 eta -1/2)) 2) 1/2))))) (*.f32 (cbrt.f32 (acos.f32 (/.f32 h (-.f32 eta (*.f32 (pow.f32 (*.f32 sinTheta_O (pow.f32 eta -1/2)) 2) 1/2))))) (cbrt.f32 (acos.f32 (/.f32 h (-.f32 eta (*.f32 (pow.f32 (*.f32 sinTheta_O (pow.f32 eta -1/2)) 2) 1/2))))))))) (fma.f32 (neg.f32 (cbrt.f32 (acos.f32 (/.f32 h (-.f32 eta (*.f32 (pow.f32 (*.f32 sinTheta_O (pow.f32 eta -1/2)) 2) 1/2)))))) (*.f32 (cbrt.f32 (acos.f32 (/.f32 h (-.f32 eta (*.f32 (pow.f32 (*.f32 sinTheta_O (pow.f32 eta -1/2)) 2) 1/2))))) (cbrt.f32 (acos.f32 (/.f32 h (-.f32 eta (*.f32 (pow.f32 (*.f32 sinTheta_O (pow.f32 eta -1/2)) 2) 1/2)))))) (*.f32 (cbrt.f32 (acos.f32 (/.f32 h (-.f32 eta (*.f32 (pow.f32 (*.f32 sinTheta_O (pow.f32 eta -1/2)) 2) 1/2))))) (*.f32 (cbrt.f32 (acos.f32 (/.f32 h (-.f32 eta (*.f32 (pow.f32 (*.f32 sinTheta_O (pow.f32 eta -1/2)) 2) 1/2))))) (cbrt.f32 (acos.f32 (/.f32 h (-.f32 eta (*.f32 (pow.f32 (*.f32 sinTheta_O (pow.f32 eta -1/2)) 2) 1/2)))))))))
2.2b
(asin.f32 (pow.f32 (/.f32 (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))) h) -1))
Compiler

Compiled 4171 to 3060 computations (26.6% saved)

regimes1.9s (18.5%)

Accuracy

Total 0.5b remaining (75.3%)

Threshold costs 0.5b (75.3%)

Counts
141 → 1
Compiler

Compiled 45096 to 31024 computations (31.2% saved)

simplify3.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary32
+-commutative_binary32
sub-neg_binary32
distribute-lft-neg-in_binary32
distribute-rgt-neg-in_binary32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01421
12121
22921
33321
43621
53721
63621

end258.0ms (2.5%)

Compiler

Compiled 494 to 369 computations (25.3% saved)

Profiling

Loading profile data...