Details

Time bar (total: 9.5s)

analyze1.8s (18.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)

sample2.9s (30%)

Results
1.8s8256×body128valid
987.0ms4715×body128invalid
Compiler

Compiled 88 to 60 computations (31.8% saved)

preprocess56.0ms (0.6%)

Algorithm
egg-herbie
Rules
479×fma-neg_binary32
238×unsub-neg_binary32
234×fma-def_binary32
203×sub-neg_binary32
194×div-sub_binary32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
033112
167112
2108112
3225112
4405112
5625112
6989112
72006112
83687112
94699112
033
Stop Event
saturated
node limit
Compiler

Compiled 21 to 13 computations (38.1% saved)

simplify39.0ms (0.4%)

Algorithm
egg-herbie
Rules
664×div-sub_binary32
600×fma-neg_binary32
543×fma-def_binary32
191×distribute-neg-in_binary32
181×unsub-neg_binary32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01428
12628
24028
37828
413928
520428
631928
759528
8106528
9196728
10360828
11488228
Stop Event
node limit
Counts
1 → 2

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
2.8b
Counts
3 → 1
Alt Table
StatusErrorProgram
2.8b
(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 81 to 48 computations (40.7% saved)

localize46.0ms (0.5%)

Local error

Found 4 expressions with local error:

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

series285.0ms (3%)

Counts
4 → 104
Calls

30 calls:

47.0ms
(/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))
h
0
41.0ms
(/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))
h
-inf
38.0ms
(/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))
h
inf
37.0ms
(/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))
eta
0
14.0ms
(/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))
sinTheta_O
-inf

rewrite153.0ms (1.6%)

Algorithm
batch-egg-rewrite
Rules
898×prod-diff_binary32
288×egg-rr
153×add-sqr-sqrt_binary32
147×add-cbrt-cube_binary32
147×log1p-expm1-u_binary32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01498
131198
2426298
Stop Event
node limit
Counts
4 → 288

simplify97.0ms (1%)

Algorithm
egg-herbie
Rules
321×cancel-sign-sub-inv_binary32
240×fma-def_binary32
196×times-frac_binary32
189×associate-/r*_binary32
172×associate-/l*_binary32
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02604664
18914519
238004517
Stop Event
node limit
Counts
392 → 379

prune499.0ms (5.2%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New3718379
Fresh000
Picked101
Done000
Total3728380
Error
0.2b
Counts
380 → 8
Alt Table
StatusErrorProgram
0.8b
(asin.f32 (/.f32 h (-.f32 eta (*.f32 1/2 (/.f32 (pow.f32 sinTheta_O 2) eta)))))
18.4b
(asin.f32 (*.f32 (cbrt.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (*.f32 (/.f32 sinTheta_O (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))) sinTheta_O))))) (cbrt.f32 (/.f32 (*.f32 h h) (-.f32 (*.f32 eta eta) (*.f32 (/.f32 sinTheta_O (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))) sinTheta_O))))))
3.0b
(asin.f32 (*.f32 h (pow.f32 (-.f32 (*.f32 eta eta) (*.f32 (/.f32 sinTheta_O (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))) sinTheta_O)) -1/2)))
7.2b
(asin.f32 (fma.f32 1/2 (*.f32 (/.f32 (*.f32 sinTheta_O sinTheta_O) (pow.f32 eta 3)) h) (/.f32 h eta)))
3.4b
(asin.f32 (/.f32 h (pow.f32 (cbrt.f32 (sqrt.f32 (-.f32 (*.f32 eta eta) (*.f32 (/.f32 sinTheta_O (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))) sinTheta_O)))) 3)))
2.8b
(expm1.f32 (log1p.f32 (asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (*.f32 (/.f32 sinTheta_O (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))) sinTheta_O)))))))
3.0b
(asin.f32 (pow.f32 (/.f32 (sqrt.f32 (-.f32 (*.f32 eta eta) (*.f32 (/.f32 sinTheta_O (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))) sinTheta_O))) h) -1))
2.8b
(asin.f32 (/.f32 h (sqrt.f32 (fma.f32 eta eta (/.f32 (*.f32 sinTheta_O (neg.f32 sinTheta_O)) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))
Compiler

Compiled 18554 to 11170 computations (39.8% saved)

localize29.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(asin.f32 (/.f32 h (-.f32 eta (*.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.0b
(*.f32 1/2 (/.f32 (pow.f32 sinTheta_O 2) eta))
4.8b
(/.f32 (pow.f32 sinTheta_O 2) eta)

series117.0ms (1.2%)

Counts
4 → 24
Calls

30 calls:

34.0ms
(/.f32 h (-.f32 eta (*.f32 1/2 (/.f32 (pow.f32 sinTheta_O 2) eta))))
h
inf
17.0ms
(/.f32 h (-.f32 eta (*.f32 1/2 (/.f32 (pow.f32 sinTheta_O 2) eta))))
h
-inf
15.0ms
(/.f32 h (-.f32 eta (*.f32 1/2 (/.f32 (pow.f32 sinTheta_O 2) eta))))
h
0
4.0ms
(/.f32 h (-.f32 eta (*.f32 1/2 (/.f32 (pow.f32 sinTheta_O 2) eta))))
eta
0
3.0ms
(/.f32 h (-.f32 eta (*.f32 1/2 (/.f32 (pow.f32 sinTheta_O 2) eta))))
sinTheta_O
inf

rewrite71.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
705×prod-diff_binary32
138×add-sqr-sqrt_binary32
133×log1p-expm1-u_binary32
133×expm1-log1p-u_binary32
131×add-cbrt-cube_binary32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01251
127451
2371851
Stop Event
node limit
Counts
4 → 124

simplify36.0ms (0.4%)

Algorithm
egg-herbie
Rules
531×cancel-sign-sub-inv_binary32
363×fma-neg_binary32
334×times-frac_binary32
296×distribute-lft-neg-in_binary32
295×distribute-rgt-neg-in_binary32
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
060804
1178798
2612786
33006780
Stop Event
node limit
Counts
148 → 139

prune148.0ms (1.6%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1354139
Fresh347
Picked101
Done000
Total1398147
Error
0.2b
Counts
147 → 8
Alt Table
StatusErrorProgram
1.4b
(asin.f32 (*.f32 (/.f32 (pow.f32 (cbrt.f32 h) 2) 1) (/.f32 (cbrt.f32 h) (+.f32 eta (*.f32 (/.f32 (*.f32 sinTheta_O sinTheta_O) eta) -1/2)))))
3.0b
(asin.f32 (pow.f32 (/.f32 (sqrt.f32 (-.f32 (*.f32 eta eta) (*.f32 (/.f32 sinTheta_O (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))) sinTheta_O))) h) -1))
0.9b
(expm1.f32 (log1p.f32 (asin.f32 (/.f32 h (+.f32 eta (*.f32 (/.f32 (*.f32 sinTheta_O sinTheta_O) eta) -1/2))))))
0.7b
(asin.f32 (/.f32 h (-.f32 eta (*.f32 1/2 (pow.f32 (/.f32 sinTheta_O (sqrt.f32 eta)) 2)))))
8.0b
(asin.f32 (*.f32 (cbrt.f32 (/.f32 h (+.f32 eta (*.f32 (/.f32 (*.f32 sinTheta_O sinTheta_O) eta) -1/2)))) (cbrt.f32 (pow.f32 (/.f32 h (+.f32 eta (*.f32 (/.f32 (*.f32 sinTheta_O sinTheta_O) eta) -1/2))) 2))))
3.0b
(asin.f32 (*.f32 h (pow.f32 (-.f32 (*.f32 eta eta) (*.f32 (/.f32 sinTheta_O (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))) sinTheta_O)) -1/2)))
7.2b
(asin.f32 (fma.f32 1/2 (*.f32 (/.f32 (*.f32 sinTheta_O sinTheta_O) (pow.f32 eta 3)) h) (/.f32 h eta)))
2.8b
(asin.f32 (/.f32 h (sqrt.f32 (fma.f32 eta eta (/.f32 (*.f32 sinTheta_O (neg.f32 sinTheta_O)) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))
Compiler

Compiled 3722 to 2054 computations (44.8% saved)

localize33.0ms (0.3%)

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.0b
(*.f32 1/2 (pow.f32 (/.f32 sinTheta_O (sqrt.f32 eta)) 2))
0.2b
(pow.f32 (/.f32 sinTheta_O (sqrt.f32 eta)) 2)
0.3b
(/.f32 sinTheta_O (sqrt.f32 eta))

series136.0ms (1.4%)

Counts
4 → 77
Calls

27 calls:

21.0ms
(/.f32 h (-.f32 eta (*.f32 1/2 (pow.f32 (/.f32 sinTheta_O (sqrt.f32 eta)) 2))))
h
-inf
16.0ms
(/.f32 h (-.f32 eta (*.f32 1/2 (pow.f32 (/.f32 sinTheta_O (sqrt.f32 eta)) 2))))
h
inf
15.0ms
(/.f32 h (-.f32 eta (*.f32 1/2 (pow.f32 (/.f32 sinTheta_O (sqrt.f32 eta)) 2))))
h
0
11.0ms
(*.f32 1/2 (pow.f32 (/.f32 sinTheta_O (sqrt.f32 eta)) 2))
eta
-inf
8.0ms
(/.f32 sinTheta_O (sqrt.f32 eta))
eta
-inf

rewrite62.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
735×prod-diff_binary32
231×log1p-udef_binary32
131×add-sqr-sqrt_binary32
127×log1p-expm1-u_binary32
127×expm1-log1p-u_binary32
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01245
126839
2353739
Stop Event
node limit
Counts
4 → 120

simplify48.0ms (0.5%)

Algorithm
egg-herbie
Rules
538×cancel-sign-sub-inv_binary32
366×fma-neg_binary32
334×times-frac_binary32
311×distribute-rgt-neg-in_binary32
233×associate-/l*_binary32
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0681278
11961274
26441238
330791232
Stop Event
node limit
Counts
197 → 142

prune199.0ms (2.1%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1411142
Fresh077
Picked101
Done000
Total1428150
Error
0.2b
Counts
150 → 8
Alt Table
StatusErrorProgram
1.4b
(asin.f32 (*.f32 (/.f32 (pow.f32 (cbrt.f32 h) 2) 1) (/.f32 (cbrt.f32 h) (+.f32 eta (*.f32 (/.f32 (*.f32 sinTheta_O sinTheta_O) eta) -1/2)))))
3.0b
(asin.f32 (pow.f32 (/.f32 (sqrt.f32 (-.f32 (*.f32 eta eta) (*.f32 (/.f32 sinTheta_O (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))) sinTheta_O))) h) -1))
0.9b
(expm1.f32 (log1p.f32 (asin.f32 (/.f32 h (+.f32 eta (*.f32 (/.f32 (*.f32 sinTheta_O sinTheta_O) eta) -1/2))))))
8.0b
(asin.f32 (*.f32 (cbrt.f32 (/.f32 h (+.f32 eta (*.f32 (/.f32 (*.f32 sinTheta_O sinTheta_O) eta) -1/2)))) (cbrt.f32 (pow.f32 (/.f32 h (+.f32 eta (*.f32 (/.f32 (*.f32 sinTheta_O sinTheta_O) eta) -1/2))) 2))))
3.0b
(asin.f32 (*.f32 h (pow.f32 (-.f32 (*.f32 eta eta) (*.f32 (/.f32 sinTheta_O (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))) sinTheta_O)) -1/2)))
7.2b
(asin.f32 (fma.f32 1/2 (*.f32 (/.f32 (*.f32 sinTheta_O sinTheta_O) (pow.f32 eta 3)) h) (/.f32 h eta)))
0.7b
(asin.f32 (/.f32 h (-.f32 eta (*.f32 1/2 (pow.f32 (*.f32 (/.f32 (pow.f32 (cbrt.f32 sinTheta_O) 2) 1) (/.f32 (cbrt.f32 sinTheta_O) (sqrt.f32 eta))) 2)))))
2.8b
(asin.f32 (/.f32 h (sqrt.f32 (fma.f32 eta eta (/.f32 (*.f32 sinTheta_O (neg.f32 sinTheta_O)) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))
Compiler

Compiled 2952 to 1650 computations (44.1% saved)

localize49.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(pow.f32 (*.f32 (/.f32 (pow.f32 (cbrt.f32 sinTheta_O) 2) 1) (/.f32 (cbrt.f32 sinTheta_O) (sqrt.f32 eta))) 2)
0.4b
(/.f32 (cbrt.f32 sinTheta_O) (sqrt.f32 eta))
0.4b
(*.f32 (/.f32 (pow.f32 (cbrt.f32 sinTheta_O) 2) 1) (/.f32 (cbrt.f32 sinTheta_O) (sqrt.f32 eta)))
0.5b
(pow.f32 (cbrt.f32 sinTheta_O) 2)

series216.0ms (2.3%)

Counts
4 → 24
Calls

21 calls:

61.0ms
(*.f32 (/.f32 (pow.f32 (cbrt.f32 sinTheta_O) 2) 1) (/.f32 (cbrt.f32 sinTheta_O) (sqrt.f32 eta)))
sinTheta_O
-inf
50.0ms
(pow.f32 (*.f32 (/.f32 (pow.f32 (cbrt.f32 sinTheta_O) 2) 1) (/.f32 (cbrt.f32 sinTheta_O) (sqrt.f32 eta))) 2)
sinTheta_O
-inf
19.0ms
(pow.f32 (cbrt.f32 sinTheta_O) 2)
sinTheta_O
-inf
17.0ms
(/.f32 (cbrt.f32 sinTheta_O) (sqrt.f32 eta))
eta
-inf
11.0ms
(/.f32 (cbrt.f32 sinTheta_O) (sqrt.f32 eta))
sinTheta_O
-inf

rewrite56.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
488×log-prod_binary32
174×pow1/3_binary32
170×expm1-udef_binary32
170×log1p-udef_binary32
163×log-pow_binary32
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01229
125727
2276927
Stop Event
node limit
Counts
4 → 158

simplify45.0ms (0.5%)

Algorithm
egg-herbie
Rules
434×unswap-sqr_binary32
423×associate-*r/_binary32
392×associate-/r*_binary32
388×associate-/r/_binary32
369×*-commutative_binary32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
010192
117192
224192
345192
4101192
5301192
61212192
73615192
84417192
94602192
104818192
Stop Event
node limit
Counts
182 → 161

prune206.0ms (2.2%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1601161
Fresh077
Picked101
Done000
Total1618169
Error
0.2b
Counts
169 → 8
Alt Table
StatusErrorProgram
1.4b
(asin.f32 (*.f32 (/.f32 (pow.f32 (cbrt.f32 h) 2) 1) (/.f32 (cbrt.f32 h) (+.f32 eta (*.f32 (/.f32 (*.f32 sinTheta_O sinTheta_O) eta) -1/2)))))
3.0b
(asin.f32 (pow.f32 (/.f32 (sqrt.f32 (-.f32 (*.f32 eta eta) (*.f32 (/.f32 sinTheta_O (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))) sinTheta_O))) h) -1))
0.9b
(expm1.f32 (log1p.f32 (asin.f32 (/.f32 h (+.f32 eta (*.f32 (/.f32 (*.f32 sinTheta_O sinTheta_O) eta) -1/2))))))
8.0b
(asin.f32 (*.f32 (cbrt.f32 (/.f32 h (+.f32 eta (*.f32 (/.f32 (*.f32 sinTheta_O sinTheta_O) eta) -1/2)))) (cbrt.f32 (pow.f32 (/.f32 h (+.f32 eta (*.f32 (/.f32 (*.f32 sinTheta_O sinTheta_O) eta) -1/2))) 2))))
3.0b
(asin.f32 (*.f32 h (pow.f32 (-.f32 (*.f32 eta eta) (*.f32 (/.f32 sinTheta_O (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))) sinTheta_O)) -1/2)))
7.2b
(asin.f32 (fma.f32 1/2 (*.f32 (/.f32 (*.f32 sinTheta_O sinTheta_O) (pow.f32 eta 3)) h) (/.f32 h eta)))
0.7b
(asin.f32 (/.f32 h (-.f32 eta (*.f32 1/2 (*.f32 (*.f32 sinTheta_O (cbrt.f32 sinTheta_O)) (/.f32 (pow.f32 (cbrt.f32 sinTheta_O) 2) eta))))))
2.8b
(asin.f32 (/.f32 h (sqrt.f32 (fma.f32 eta eta (/.f32 (*.f32 sinTheta_O (neg.f32 sinTheta_O)) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))
Compiler

Compiled 3638 to 2082 computations (42.8% saved)

regimes2.1s (22.4%)

Accuracy

Total 0.2b remaining (54%)

Threshold costs 0.2b (54%)

Counts
193 → 2
Compiler

Compiled 42980 to 30699 computations (28.6% saved)

bsearch0.0ms (0%)

Algorithm
binary-search
Calls

1 calls:

0.0ms
(/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))
Steps
ItersPointRange
0.0
∈ [
0.0
,
1.401298464324817e-45
]
Compiler

Compiled 13 to 8 computations (38.5% saved)

simplify4.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
02054
12854
23954
34554
44854
Stop Event
saturated

end152.0ms (1.6%)

Stop Event
fuel
Compiler

Compiled 252 to 162 computations (35.7% saved)

Profiling

Loading profile data...