Details

Time bar (total: 44.4s)

analyze1.9s (4.4%)

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.6%0.9%98.5%11
0.6%0.9%98.5%12
0.6%0.9%98.5%13
0.6%0.9%98.5%14
Compiler

Compiled 69 to 51 computations (26.1% saved)

sample135.0ms (0.3%)

Algorithm
intervals
Symmetry

(sort cosTheta_i cosTheta_O)

(sort sinTheta_i sinTheta_O)

Results
32.0ms256×body128valid
18.0ms261×pre128true
1.0msbody128nan
Compiler

Compiled 104 to 78 computations (25% saved)

simplify57.0ms (0.1%)

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.0b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.0b
(*.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.0b
(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)

localize56.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.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.0b
(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.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
(fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000)

series215.0ms (0.5%)

Counts
4 → 180
Calls

4 calls:

120.0ms
(*.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)))))
46.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))))
38.0ms
(-.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000) (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v)))
10.0ms
(fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000)

rewrite35.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
44×add-sqr-sqrt_binary32
39×*-un-lft-identity_binary32
35×add-cube-cbrt_binary32
28×exp-sum_binary32
27×prod-diff_binary32
Counts
4 → 123
Calls

4 calls:

12.0ms
(*.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)))))
5.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))))
3.0ms
(-.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)

simplify157.0ms (0.4%)

Algorithm
egg-herbie
Rules
392×times-frac_binary32
288×associate-/l*_binary32
278×associate-*r*_binary32
275×associate-+r+_binary32
243×fma-def_binary32
Counts
303 → 236
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
044110899
1120310395
2515610395

prune323.0ms (0.7%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New2342236
Fresh101
Picked101
Done000
Total2362238
Error
0.0b
Counts
238 → 2
Alt Table
StatusErrorProgram
3.8b
(/.f32 (*.f32 (/.f32 1/2 v) (exp.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000))) (exp.f32 (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v))))
0.1b
(*.f32 (/.f32 1/2 v) (pow.f32 (exp.f32 (*.f32 (cbrt.f32 (-.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000) (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v)))) (cbrt.f32 (-.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000) (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v)))))) (cbrt.f32 (-.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000) (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v))))))
Compiler

Compiled 11002 to 6329 computations (42.5% saved)

localize66.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(exp.f32 (*.f32 (cbrt.f32 (-.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000) (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v)))) (cbrt.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)
0.2b
(cbrt.f32 (-.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000) (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v))))
0.5b
(*.f32 (cbrt.f32 (-.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000) (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v)))) (cbrt.f32 (-.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000) (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v)))))

series5.2s (11.7%)

Counts
3 → 180
Calls

3 calls:

4.0s
(exp.f32 (*.f32 (cbrt.f32 (-.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000) (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v)))) (cbrt.f32 (-.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000) (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v))))))
845.0ms
(*.f32 (cbrt.f32 (-.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000) (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v)))) (cbrt.f32 (-.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000) (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v)))))
335.0ms
(cbrt.f32 (-.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000) (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v))))

rewrite41.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
33×cbrt-prod_binary32
30×add-sqr-sqrt_binary32
28×*-un-lft-identity_binary32
14×cbrt-div_binary32
12×add-cube-cbrt_binary32
Counts
3 → 87
Calls

3 calls:

10.0ms
(*.f32 (cbrt.f32 (-.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000) (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v)))) (cbrt.f32 (-.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000) (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v)))))
2.0ms
(cbrt.f32 (-.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000) (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v))))
2.0ms
(exp.f32 (*.f32 (cbrt.f32 (-.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000) (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v)))) (cbrt.f32 (-.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000) (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v))))))

simplify838.0ms (1.9%)

Algorithm
egg-herbie
Counts
267 → 225
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05582126536

prune2.6s (5.8%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New4001401
Fresh011
Picked101
Done000
Total4012403
Error
0.0b
Counts
403 → 2
Alt Table
StatusErrorProgram
3.8b
(/.f32 (*.f32 (/.f32 1/2 v) (exp.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000))) (exp.f32 (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v))))
0.0b
(*.f32 (/.f32 1/2 v) (pow.f32 (expm1.f32 (log1p.f32 (exp.f32 (*.f32 (cbrt.f32 (-.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000) (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v)))) (cbrt.f32 (-.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000) (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v)))))))) (cbrt.f32 (-.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000) (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v))))))
Compiler

Compiled 109670 to 75338 computations (31.3% saved)

localize75.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000)
0.2b
(cbrt.f32 (-.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000) (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v))))
0.5b
(*.f32 (cbrt.f32 (-.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000) (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v)))) (cbrt.f32 (-.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000) (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v)))))
6.4b
(log1p.f32 (exp.f32 (*.f32 (cbrt.f32 (-.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000) (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v)))) (cbrt.f32 (-.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000) (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v)))))))

series22.4s (50.5%)

Counts
1 → 60
Calls

1 calls:

22.4s
(log1p.f32 (exp.f32 (*.f32 (cbrt.f32 (-.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000) (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v)))) (cbrt.f32 (-.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000) (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v)))))))

rewrite1.0ms (0%)

Algorithm
rewrite-expression-head
Rules
expm1-log1p-u_binary32
*-un-lft-identity_binary32
add-sqr-sqrt_binary32
add-cube-cbrt_binary32
add-cbrt-cube_binary32
Counts
1 → 11
Calls

1 calls:

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

simplify1.1s (2.5%)

Algorithm
egg-herbie
Counts
71 → 64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06282192599

prune4.1s (9.3%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New4010401
Fresh011
Picked011
Done000
Total4012403
Error
0.0b
Counts
403 → 2
Alt Table
StatusErrorProgram
3.8b
(/.f32 (*.f32 (/.f32 1/2 v) (exp.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000))) (exp.f32 (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v))))
0.0b
(*.f32 (/.f32 1/2 v) (pow.f32 (expm1.f32 (log1p.f32 (exp.f32 (*.f32 (cbrt.f32 (-.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000) (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v)))) (cbrt.f32 (-.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000) (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v)))))))) (cbrt.f32 (-.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000) (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v))))))
Compiler

Compiled 180442 to 131611 computations (27.1% saved)

localize55.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(exp.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000))
0.1b
(fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000)
0.4b
(*.f32 (/.f32 1/2 v) (exp.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000)))
1.7b
(/.f32 (*.f32 (/.f32 1/2 v) (exp.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000))) (exp.f32 (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v))))

series229.0ms (0.5%)

Counts
3 → 112
Calls

3 calls:

187.0ms
(/.f32 (*.f32 (/.f32 1/2 v) (exp.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000))) (exp.f32 (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v))))
28.0ms
(*.f32 (/.f32 1/2 v) (exp.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000)))
13.0ms
(exp.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000))

rewrite19.0ms (0%)

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt_binary32
17×add-cbrt-cube_binary32
14×*-un-lft-identity_binary32
14×times-frac_binary32
14×add-cube-cbrt_binary32
Counts
3 → 77
Calls

3 calls:

7.0ms
(/.f32 (*.f32 (/.f32 1/2 v) (exp.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000))) (exp.f32 (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v))))
6.0ms
(*.f32 (/.f32 1/2 v) (exp.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000)))
1.0ms
(exp.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000))

simplify180.0ms (0.4%)

Algorithm
egg-herbie
Rules
385×times-frac_binary32
322×associate-/l*_binary32
252×associate-*r*_binary32
236×associate-/r*_binary32
189×associate-*l*_binary32
Counts
189 → 158
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03167239
19316748
242636683
348636683
450196683

prune233.0ms (0.5%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1740174
Fresh000
Picked011
Done011
Total1742176
Error
0.0b
Counts
176 → 2
Alt Table
StatusErrorProgram
3.8b
(/.f32 (*.f32 (/.f32 1/2 v) (exp.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000))) (exp.f32 (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v))))
0.0b
(*.f32 (/.f32 1/2 v) (pow.f32 (expm1.f32 (log1p.f32 (exp.f32 (*.f32 (cbrt.f32 (-.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000) (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v)))) (cbrt.f32 (-.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000) (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v)))))))) (cbrt.f32 (-.f32 (fma.f32 cosTheta_O (/.f32 cosTheta_i v) 6931/10000) (fma.f32 sinTheta_i (/.f32 sinTheta_O v) (/.f32 1 v))))))
Compiler

Compiled 6311 to 3764 computations (40.4% saved)

regimes1.9s (4.2%)

Accuracy

Total 0.0b remaining (31.6%)

Threshold costs 0.0b (31.6%)

Counts
156 → 1
Compiler

Compiled 56461 to 38606 computations (31.6% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary32
1-exp_binary32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01524
11824
21724

end19.0ms (0%)

Remove

(sort sinTheta_i sinTheta_O)

(sort cosTheta_i cosTheta_O)

Compiler

Compiled 105 to 80 computations (23.8% saved)

sample2.4s (5.4%)

Algorithm
intervals
Results
1.0s8000×body128valid
459.0ms8112×pre128true
14.0ms112×body128nan
Compiler

Compiled 183 to 126 computations (31.1% saved)

Profiling

Loading profile data...