Details

Time bar (total: 13.3s)

analyze2.0s (15%)

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.3s (24.5%)

Results
2.0s8256×body128valid
1.1s4596×body128invalid
Compiler

Compiled 109 to 73 computations (33% saved)

simplify145.0ms (1.1%)

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
1.5b
Counts
2 → 1
Alt Table
StatusErrorProgram
1.5b
(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)

localize47.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.3b
(sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))

series392.0ms (2.9%)

Counts
4 → 104
Calls

4 calls:

289.0ms
(/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))
43.0ms
(sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))
39.0ms
(-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))
20.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))))))))

rewrite42.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
55×times-frac_binary32
50×add-sqr-sqrt_binary32
46×sqrt-prod_binary32
31×*-un-lft-identity_binary32
29×add-cube-cbrt_binary32
Counts
4 → 130
Calls

4 calls:

14.0ms
(sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))
9.0ms
(/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))
8.0ms
(-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))
0.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))))))))

simplify153.0ms (1.2%)

Algorithm
egg-herbie
Rules
340×associate-/l*_binary32
315×fma-def_binary32
291×associate-*r*_binary32
263×associate-*l*_binary32
259×times-frac_binary32
Counts
234 → 238
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
050610010
113799290
249979290

prune295.0ms (2.2%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New2326238
Fresh000
Picked101
Done000
Total2336239
Error
0.0b
Counts
239 → 6
Alt Table
StatusErrorProgram
0.9b
(asin.f32 (*.f32 (/.f32 (*.f32 (cbrt.f32 h) (cbrt.f32 h)) (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))) (/.f32 (cbrt.f32 h) (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))))
2.4b
(asin.f32 (*.f32 (sqrt.f32 (/.f32 1 (-.f32 (pow.f32 eta 2) (*.f32 (pow.f32 sinTheta_O 2) (sqrt.f32 (/.f32 1 (-.f32 1 (pow.f32 sinTheta_O 2)))))))) h))
1.7b
(asin.f32 (/.f32 1 (/.f32 (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))) h)))
0.6b
(asin.f32 (/.f32 h (-.f32 eta (*.f32 1/2 (/.f32 (pow.f32 sinTheta_O 2) eta)))))
1.8b
(asin.f32 (/.f32 h (sqrt.f32 (*.f32 (*.f32 (cbrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))) (cbrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) (cbrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))))
0.5b
(asin.f32 (/.f32 h (*.f32 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))))
Compiler

Compiled 9854 to 5909 computations (40% saved)

localize60.0ms (0.5%)

Local error

Found 4 expressions with local error:

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

series1.8s (13.4%)

Counts
4 → 98
Calls

4 calls:

1.6s
(/.f32 h (*.f32 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))
147.0ms
(*.f32 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))
55.0ms
(sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))
24.0ms
(asin.f32 (/.f32 h (*.f32 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))))

rewrite86.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
44×add-sqr-sqrt_binary32
26×sqrt-prod_binary32
26×sqrt-div_binary32
17×*-un-lft-identity_binary32
11×associate-*r*_binary32
Counts
4 → 110
Calls

4 calls:

34.0ms
(*.f32 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))
26.0ms
(/.f32 h (*.f32 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))
13.0ms
(sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))
0.0ms
(asin.f32 (/.f32 h (*.f32 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))))

simplify225.0ms (1.7%)

Algorithm
egg-herbie
Rules
767×times-frac_binary32
615×fma-def_binary32
265×*-commutative_binary32
155×+-commutative_binary32
106×associate-+r+_binary32
Counts
208 → 222
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
077816661
1255416064
2501716064

prune626.0ms (4.7%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New2202222
Fresh145
Picked011
Done000
Total2217228
Error
0b
Counts
228 → 7
Alt Table
StatusErrorProgram
0.5b
(asin.f32 (/.f32 h (*.f32 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))))
0.8b
(asin.f32 (/.f32 h (*.f32 (*.f32 (cbrt.f32 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))) (cbrt.f32 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))) (*.f32 (cbrt.f32 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))) (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))))
1.7b
(asin.f32 (/.f32 1 (/.f32 (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))) h)))
0.6b
(asin.f32 (/.f32 h (-.f32 eta (*.f32 1/2 (/.f32 (pow.f32 sinTheta_O 2) eta)))))
0.8b
(*.f32 (*.f32 (cbrt.f32 (asin.f32 (/.f32 h (*.f32 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))))) (cbrt.f32 (asin.f32 (/.f32 h (*.f32 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))))) (cbrt.f32 (asin.f32 (/.f32 h (*.f32 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))))))
1.8b
(asin.f32 (/.f32 h (sqrt.f32 (*.f32 (*.f32 (cbrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))) (cbrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) (cbrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))))
2.4b
(asin.f32 (*.f32 (sqrt.f32 (/.f32 1 (-.f32 (pow.f32 eta 2) (*.f32 (pow.f32 sinTheta_O 2) (sqrt.f32 (/.f32 1 (-.f32 1 (pow.f32 sinTheta_O 2)))))))) h))
Compiler

Compiled 19244 to 14319 computations (25.6% saved)

localize31.0ms (0.2%)

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)))))
3.9b
(/.f32 (pow.f32 sinTheta_O 2) eta)

series185.0ms (1.4%)

Counts
4 → 24
Calls

4 calls:

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

rewrite26.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
61×times-frac_binary32
57×add-sqr-sqrt_binary32
45×*-un-lft-identity_binary32
45×add-cube-cbrt_binary32
28×associate-*r*_binary32
Counts
4 → 146
Calls

4 calls:

9.0ms
(*.f32 1/2 (/.f32 (pow.f32 sinTheta_O 2) eta))
3.0ms
(/.f32 h (-.f32 eta (*.f32 1/2 (/.f32 (pow.f32 sinTheta_O 2) eta))))
3.0ms
(/.f32 (pow.f32 sinTheta_O 2) eta)
0.0ms
(asin.f32 (/.f32 h (-.f32 eta (*.f32 1/2 (/.f32 (pow.f32 sinTheta_O 2) eta)))))

simplify111.0ms (0.8%)

Algorithm
egg-herbie
Rules
745×times-frac_binary32
683×associate-/l*_binary32
303×associate-/l/_binary32
256×associate-/r/_binary32
192×fma-def_binary32
Counts
170 → 256
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02633462
15533057
215652942
348272936
449932936

prune391.0ms (2.9%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New2542256
Fresh235
Picked011
Done011
Total2567263
Error
0b
Counts
263 → 7
Alt Table
StatusErrorProgram
0.8b
(asin.f32 (*.f32 h (/.f32 1 (fma.f32 (/.f32 (*.f32 sinTheta_O sinTheta_O) eta) -1/2 eta))))
1.8b
(asin.f32 (/.f32 h (sqrt.f32 (*.f32 (*.f32 (cbrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))) (cbrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) (cbrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))))
0.5b
(asin.f32 (/.f32 h (*.f32 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))))
0.8b
(asin.f32 (/.f32 h (*.f32 (*.f32 (cbrt.f32 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))) (cbrt.f32 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))) (*.f32 (cbrt.f32 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))) (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))))
0.8b
(*.f32 (*.f32 (cbrt.f32 (asin.f32 (/.f32 h (*.f32 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))))) (cbrt.f32 (asin.f32 (/.f32 h (*.f32 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))))) (cbrt.f32 (asin.f32 (/.f32 h (*.f32 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))))))
0.7b
(asin.f32 (/.f32 1 (/.f32 (fma.f32 (/.f32 (*.f32 sinTheta_O sinTheta_O) eta) -1/2 eta) h)))
0.6b
(asin.f32 (/.f32 h (-.f32 eta (*.f32 1/2 (/.f32 (pow.f32 sinTheta_O 2) eta)))))
Compiler

Compiled 5813 to 3431 computations (41% saved)

localize35.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f32 (fma.f32 (/.f32 (*.f32 sinTheta_O sinTheta_O) eta) -1/2 eta) h)
0.1b
(asin.f32 (/.f32 1 (/.f32 (fma.f32 (/.f32 (*.f32 sinTheta_O sinTheta_O) eta) -1/2 eta) h)))
0.2b
(/.f32 1 (/.f32 (fma.f32 (/.f32 (*.f32 sinTheta_O sinTheta_O) eta) -1/2 eta) h))
3.9b
(/.f32 (*.f32 sinTheta_O sinTheta_O) eta)

series152.0ms (1.1%)

Counts
4 → 132
Calls

4 calls:

90.0ms
(/.f32 1 (/.f32 (fma.f32 (/.f32 (*.f32 sinTheta_O sinTheta_O) eta) -1/2 eta) h))
42.0ms
(/.f32 (fma.f32 (/.f32 (*.f32 sinTheta_O sinTheta_O) eta) -1/2 eta) h)
12.0ms
(/.f32 (*.f32 sinTheta_O sinTheta_O) eta)
7.0ms
(asin.f32 (/.f32 1 (/.f32 (fma.f32 (/.f32 (*.f32 sinTheta_O sinTheta_O) eta) -1/2 eta) h)))

rewrite22.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
87×times-frac_binary32
56×*-un-lft-identity_binary32
56×add-sqr-sqrt_binary32
56×add-cube-cbrt_binary32
22×add-exp-log_binary32
Counts
4 → 140
Calls

4 calls:

4.0ms
(/.f32 1 (/.f32 (fma.f32 (/.f32 (*.f32 sinTheta_O sinTheta_O) eta) -1/2 eta) h))
4.0ms
(/.f32 (*.f32 sinTheta_O sinTheta_O) eta)
2.0ms
(/.f32 (fma.f32 (/.f32 (*.f32 sinTheta_O sinTheta_O) eta) -1/2 eta) h)
0.0ms
(asin.f32 (/.f32 1 (/.f32 (fma.f32 (/.f32 (*.f32 sinTheta_O sinTheta_O) eta) -1/2 eta) h)))

simplify151.0ms (1.1%)

Algorithm
egg-herbie
Rules
740×associate-/l*_binary32
508×associate-/r*_binary32
453×associate-/r/_binary32
418×associate-*l/_binary32
360×associate-/l/_binary32
Counts
272 → 214
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02265890
14805261
215385222
348245216
449375216

prune269.0ms (2%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New2140214
Fresh044
Picked011
Done022
Total2147221
Error
0b
Counts
221 → 7
Alt Table
StatusErrorProgram
0.8b
(asin.f32 (*.f32 h (/.f32 1 (fma.f32 (/.f32 (*.f32 sinTheta_O sinTheta_O) eta) -1/2 eta))))
1.8b
(asin.f32 (/.f32 h (sqrt.f32 (*.f32 (*.f32 (cbrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))) (cbrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) (cbrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))))
0.5b
(asin.f32 (/.f32 h (*.f32 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))))
0.8b
(asin.f32 (/.f32 h (*.f32 (*.f32 (cbrt.f32 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))) (cbrt.f32 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))) (*.f32 (cbrt.f32 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))) (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))))
0.8b
(*.f32 (*.f32 (cbrt.f32 (asin.f32 (/.f32 h (*.f32 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))))) (cbrt.f32 (asin.f32 (/.f32 h (*.f32 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))))) (cbrt.f32 (asin.f32 (/.f32 h (*.f32 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))))))
0.7b
(asin.f32 (/.f32 1 (/.f32 (fma.f32 (/.f32 (*.f32 sinTheta_O sinTheta_O) eta) -1/2 eta) h)))
0.6b
(asin.f32 (/.f32 h (-.f32 eta (*.f32 1/2 (/.f32 (pow.f32 sinTheta_O 2) eta)))))
Compiler

Compiled 5229 to 2660 computations (49.1% saved)

regimes2.7s (20%)

Accuracy

Total 0.4b remaining (94.6%)

Threshold costs 0.4b (94.6%)

Counts
202 → 1
Compiler

Compiled 74288 to 47211 computations (36.4% saved)

simplify3.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01949
13049
24049
34649
44949
54849

end160.0ms (1.2%)

Compiler

Compiled 350 to 228 computations (34.9% saved)

Profiling

Loading profile data...