Details

Time bar (total: 27.9s)

analyze1.9s (6.8%)

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.1s (11%)

Results
1.9s8256×body128valid
985.0ms4583×body128invalid
Compiler

Compiled 109 to 73 computations (33% saved)

simplify143.0ms (0.5%)

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

localize43.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))
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
(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))))))))
2.7b
(sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))

series482.0ms (1.7%)

Counts
4 → 104
Calls

4 calls:

356.0ms
(/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))
78.0ms
(sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))
33.0ms
(-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))
15.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))))))))

rewrite40.0ms (0.1%)

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:

10.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))))))))

simplify141.0ms (0.5%)

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

prune286.0ms (1%)

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.6b
(asin.f32 (*.f32 (/.f32 1 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))) (/.f32 h (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))))
3.3b
(asin.f32 (/.f32 h (*.f32 (fabs.f32 (cbrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) (sqrt.f32 (cbrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))))
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))))))))))
0.5b
(asin.f32 (/.f32 (/.f32 h (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)))))))))
3.2b
(asin.f32 (*.f32 h (/.f32 1 (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))
1.0b
(asin.f32 (/.f32 h (-.f32 eta (*.f32 1/2 (/.f32 (pow.f32 sinTheta_O 2) eta)))))
Compiler

Compiled 9840 to 5901 computations (40% saved)

localize56.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(asin.f32 (/.f32 (/.f32 h (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.0b
(sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))
0.2b
(/.f32 h (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))
0.4b
(/.f32 (/.f32 h (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))))))))

series2.4s (8.6%)

Counts
4 → 98
Calls

4 calls:

1.6s
(/.f32 (/.f32 h (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))))))))
749.0ms
(/.f32 h (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 (/.f32 h (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)))))))))

rewrite195.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
657×times-frac_binary32
565×add-sqr-sqrt_binary32
479×sqrt-prod_binary32
383×*-un-lft-identity_binary32
245×add-cube-cbrt_binary32
Counts
4 → 433
Calls

4 calls:

34.0ms
(/.f32 (/.f32 h (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))))))))
20.0ms
(sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))
14.0ms
(/.f32 h (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))
0.0ms
(asin.f32 (/.f32 (/.f32 h (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)))))))))

simplify724.0ms (2.6%)

Algorithm
egg-herbie
Rules
961×fma-def_binary32
558×times-frac_binary32
443×associate-/l/_binary32
200×*-commutative_binary32
111×+-commutative_binary32
Counts
531 → 413
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
087241477
1254740731
2493540706
3542040706

prune666.0ms (2.4%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New4103413
Fresh235
Picked101
Done000
Total4136419
Error
0b
Counts
419 → 6
Alt Table
StatusErrorProgram
0.8b
(asin.f32 (*.f32 (/.f32 1 (sqrt.f32 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))) (/.f32 (/.f32 h (sqrt.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))))))))))
3.3b
(asin.f32 (/.f32 h (*.f32 (fabs.f32 (cbrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) (sqrt.f32 (cbrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))))
0.9b
(asin.f32 (*.f32 (/.f32 (*.f32 (cbrt.f32 h) (cbrt.f32 h)) (fabs.f32 (cbrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))) (/.f32 (/.f32 (cbrt.f32 h) (sqrt.f32 (cbrt.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.5b
(asin.f32 (/.f32 (*.f32 h (sqrt.f32 (/.f32 1 (fma.f32 sinTheta_O (pow.f32 (/.f32 1 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))) 1/4) eta)))) (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))
3.2b
(asin.f32 (*.f32 h (/.f32 1 (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))
1.0b
(asin.f32 (/.f32 h (-.f32 eta (*.f32 1/2 (/.f32 (pow.f32 sinTheta_O 2) eta)))))
Compiler

Compiled 28250 to 18985 computations (32.8% saved)

localize71.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f32 1 (fma.f32 sinTheta_O (pow.f32 (/.f32 1 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))) 1/4) eta))
0.1b
(sqrt.f32 (/.f32 1 (fma.f32 sinTheta_O (pow.f32 (/.f32 1 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))) 1/4) eta)))
0.3b
(*.f32 h (sqrt.f32 (/.f32 1 (fma.f32 sinTheta_O (pow.f32 (/.f32 1 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))) 1/4) eta))))
0.4b
(/.f32 (*.f32 h (sqrt.f32 (/.f32 1 (fma.f32 sinTheta_O (pow.f32 (/.f32 1 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))) 1/4) eta)))) (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))

series2.5s (9%)

Counts
4 → 86
Calls

4 calls:

1.6s
(/.f32 (*.f32 h (sqrt.f32 (/.f32 1 (fma.f32 sinTheta_O (pow.f32 (/.f32 1 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))) 1/4) eta)))) (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))
755.0ms
(*.f32 h (sqrt.f32 (/.f32 1 (fma.f32 sinTheta_O (pow.f32 (/.f32 1 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))) 1/4) eta))))
88.0ms
(sqrt.f32 (/.f32 1 (fma.f32 sinTheta_O (pow.f32 (/.f32 1 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))) 1/4) eta)))
36.0ms
(/.f32 1 (fma.f32 sinTheta_O (pow.f32 (/.f32 1 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))) 1/4) eta))

rewrite44.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
67×add-sqr-sqrt_binary32
51×sqrt-prod_binary32
48×times-frac_binary32
38×*-un-lft-identity_binary32
32×add-cube-cbrt_binary32
Counts
4 → 142
Calls

4 calls:

19.0ms
(/.f32 (*.f32 h (sqrt.f32 (/.f32 1 (fma.f32 sinTheta_O (pow.f32 (/.f32 1 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))) 1/4) eta)))) (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))
7.0ms
(*.f32 h (sqrt.f32 (/.f32 1 (fma.f32 sinTheta_O (pow.f32 (/.f32 1 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))) 1/4) eta))))
2.0ms
(/.f32 1 (fma.f32 sinTheta_O (pow.f32 (/.f32 1 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))) 1/4) eta))
2.0ms
(sqrt.f32 (/.f32 1 (fma.f32 sinTheta_O (pow.f32 (/.f32 1 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))) 1/4) eta)))

simplify248.0ms (0.9%)

Algorithm
egg-herbie
Rules
965×times-frac_binary32
494×fma-def_binary32
240×*-commutative_binary32
128×+-commutative_binary32
111×sub-neg_binary32
Counts
228 → 266
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
074914121
1232313619
2500013619
3498013619

prune478.0ms (1.7%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New2660266
Fresh055
Picked011
Done000
Total2666272
Error
0b
Counts
272 → 6
Alt Table
StatusErrorProgram
0.8b
(asin.f32 (*.f32 (/.f32 1 (sqrt.f32 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))) (/.f32 (/.f32 h (sqrt.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))))))))))
3.3b
(asin.f32 (/.f32 h (*.f32 (fabs.f32 (cbrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) (sqrt.f32 (cbrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))))
0.9b
(asin.f32 (*.f32 (/.f32 (*.f32 (cbrt.f32 h) (cbrt.f32 h)) (fabs.f32 (cbrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))) (/.f32 (/.f32 (cbrt.f32 h) (sqrt.f32 (cbrt.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.5b
(asin.f32 (/.f32 (*.f32 h (sqrt.f32 (/.f32 1 (fma.f32 sinTheta_O (pow.f32 (/.f32 1 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))) 1/4) eta)))) (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))
3.2b
(asin.f32 (*.f32 h (/.f32 1 (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))
1.0b
(asin.f32 (/.f32 h (-.f32 eta (*.f32 1/2 (/.f32 (pow.f32 sinTheta_O 2) eta)))))
Compiler

Compiled 18759 to 13821 computations (26.3% saved)

localize71.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(/.f32 h (sqrt.f32 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))
0.3b
(/.f32 1 (sqrt.f32 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))
0.4b
(/.f32 (/.f32 h (sqrt.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 (/.f32 1 (sqrt.f32 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))) (/.f32 (/.f32 h (sqrt.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)))))))))

series6.0s (21.4%)

Counts
4 → 114
Calls

4 calls:

2.6s
(/.f32 (/.f32 h (sqrt.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.7s
(/.f32 h (sqrt.f32 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))
1.6s
(*.f32 (/.f32 1 (sqrt.f32 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))) (/.f32 (/.f32 h (sqrt.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)))))))))
79.0ms
(/.f32 1 (sqrt.f32 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))

rewrite850.0ms (3%)

Algorithm
rewrite-expression-head
Rules
1943×times-frac_binary32
1807×sqrt-prod_binary32
1731×add-sqr-sqrt_binary32
1010×*-un-lft-identity_binary32
677×add-cube-cbrt_binary32
Counts
4 → 1121
Calls

4 calls:

219.0ms
(*.f32 (/.f32 1 (sqrt.f32 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))) (/.f32 (/.f32 h (sqrt.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)))))))))
39.0ms
(/.f32 (/.f32 h (sqrt.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))))))))
16.0ms
(/.f32 1 (sqrt.f32 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))
13.0ms
(/.f32 h (sqrt.f32 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))

simplify1.4s (5%)

Algorithm
egg-herbie
Rules
796×fma-def_binary32
505×*-commutative_binary32
230×associate-*r/_binary32
197×associate-/l/_binary32
172×+-commutative_binary32
Counts
1235 → 990
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01445100976
14676100858
25353100858

prune1.9s (7%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New9900990
Fresh044
Picked011
Done011
Total9906996
Error
0b
Counts
996 → 6
Alt Table
StatusErrorProgram
0.8b
(asin.f32 (*.f32 (/.f32 1 (sqrt.f32 (sqrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))) (/.f32 (/.f32 h (sqrt.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))))))))))
3.3b
(asin.f32 (/.f32 h (*.f32 (fabs.f32 (cbrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))) (sqrt.f32 (cbrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))))
0.9b
(asin.f32 (*.f32 (/.f32 (*.f32 (cbrt.f32 h) (cbrt.f32 h)) (fabs.f32 (cbrt.f32 (+.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))) (/.f32 (/.f32 (cbrt.f32 h) (sqrt.f32 (cbrt.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.5b
(asin.f32 (/.f32 (*.f32 h (sqrt.f32 (/.f32 1 (fma.f32 sinTheta_O (pow.f32 (/.f32 1 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))) 1/4) eta)))) (sqrt.f32 (-.f32 eta (/.f32 sinTheta_O (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))
3.2b
(asin.f32 (*.f32 h (/.f32 1 (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))
1.0b
(asin.f32 (/.f32 h (-.f32 eta (*.f32 1/2 (/.f32 (pow.f32 sinTheta_O 2) eta)))))
Compiler

Compiled 83189 to 56087 computations (32.6% saved)

regimes4.0s (14.4%)

Accuracy

Total 0.3b remaining (93%)

Threshold costs 0.3b (93%)

Counts
275 → 1
Compiler

Compiled 117693 to 79086 computations (32.8% 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
02148
13048
24048
34648
44948
54848

end147.0ms (0.5%)

Compiler

Compiled 280 to 187 computations (33.2% saved)

Profiling

Loading profile data...