Details

Time bar (total: 7.6s)

analyze2.3s (29.9%)

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 51 to 38 computations (25.5% saved)

sample94.0ms (1.2%)

Algorithm
intervals
Results
34.0ms256×body128valid
13.0ms260×pre128true
0.0msbody128nan
Compiler

Compiled 86 to 65 computations (24.4% saved)

simplify72.0ms (0.9%)

Algorithm
egg-herbie
Rules
982×exp-sum_binary32
570×exp-diff_binary32
458×sub-neg_binary32
380×cancel-sign-sub-inv_binary32
307×div-exp_binary32
Counts
1 → 1
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
02235
15333
214533
351333
4197933
5385633
6478233
7530533

prune9.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.0b
Counts
2 → 2
Alt Table
StatusErrorProgram
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)) 3121444901730491/4503599627370496) (log.f32 (/.f32 1 (*.f32 2 v)))))
0.1b
(*.f32 (/.f32 1/2 v) (exp.f32 (+.f32 (-.f32 (-.f32 (/.f32 (*.f32 cosTheta_i cosTheta_O) v) (/.f32 (*.f32 sinTheta_i sinTheta_O) v)) (/.f32 1 v)) 3121444901730491/4503599627370496)))
Compiler

Compiled 141 to 101 computations (28.4% saved)

localize83.0ms (1.1%)

Local error

Found 4 expressions with local error:

0.1b
(+.f32 (-.f32 (-.f32 (/.f32 (*.f32 cosTheta_i cosTheta_O) v) (/.f32 (*.f32 sinTheta_i sinTheta_O) v)) (/.f32 1 v)) 3121444901730491/4503599627370496)
0.1b
(-.f32 (/.f32 (*.f32 cosTheta_i cosTheta_O) v) (/.f32 (*.f32 sinTheta_i sinTheta_O) v))
7.9b
(/.f32 (*.f32 cosTheta_i cosTheta_O) v)
8.1b
(/.f32 (*.f32 sinTheta_i sinTheta_O) v)

rewrite234.0ms (3.1%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
35×*-un-lft-identity_binary32
27×cancel-sign-sub-inv_binary32
22×associate-+l+_binary32
21×times-frac_binary32
21×add-sqr-sqrt_binary32
Counts
4 → 106
Calls

4 calls:

21.0ms
(+.f32 (-.f32 (-.f32 (/.f32 (*.f32 cosTheta_i cosTheta_O) v) (/.f32 (*.f32 sinTheta_i sinTheta_O) v)) (/.f32 1 v)) 3121444901730491/4503599627370496)
9.0ms
(-.f32 (/.f32 (*.f32 cosTheta_i cosTheta_O) v) (/.f32 (*.f32 sinTheta_i sinTheta_O) v))
4.0ms
(/.f32 (*.f32 sinTheta_i sinTheta_O) v)
4.0ms
(/.f32 (*.f32 cosTheta_i cosTheta_O) v)
Compiler

Compiled 3273 to 1625 computations (50.4% saved)

series340.0ms (4.5%)

Error
0.0b
Counts
4 → 59
Calls

4 calls:

128.0ms
(+.f32 (-.f32 (-.f32 (/.f32 (*.f32 cosTheta_i cosTheta_O) v) (/.f32 (*.f32 sinTheta_i sinTheta_O) v)) (/.f32 1 v)) 3121444901730491/4503599627370496)
79.0ms
(-.f32 (/.f32 (*.f32 cosTheta_i cosTheta_O) v) (/.f32 (*.f32 sinTheta_i sinTheta_O) v))
55.0ms
(/.f32 (*.f32 sinTheta_i sinTheta_O) v)
54.0ms
(/.f32 (*.f32 cosTheta_i cosTheta_O) v)
Compiler

Compiled 3229 to 2388 computations (26% saved)

simplify183.0ms (2.4%)

Algorithm
egg-herbie
Rules
734×times-frac_binary32
293×distribute-rgt-in_binary32
284×distribute-lft-in_binary32
192×sub-neg_binary32
123×exp-prod_binary32
Counts
165 → 132
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02453429
16113190
218952972
348422972
449622972

prune86.0ms (1.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New1311132
Fresh101
Picked101
Done000
Total1331134
Error
0.0b
Counts
134 → 1
Alt Table
StatusErrorProgram
0.0b
(exp.f32 (+.f32 (+.f32 (-.f32 (/.f32 (*.f32 cosTheta_i cosTheta_O) v) (/.f32 (*.f32 sinTheta_i sinTheta_O) v)) (+.f32 3121444901730491/4503599627370496 (/.f32 (/.f32 -1 (sqrt.f32 v)) (sqrt.f32 v)))) (log.f32 (/.f32 1 (*.f32 2 v)))))
Compiler

Compiled 1387 to 720 computations (48.1% saved)

localize87.0ms (1.1%)

Local error

Found 4 expressions with local error:

0.3b
(/.f32 -1 (sqrt.f32 v))
0.3b
(/.f32 (/.f32 -1 (sqrt.f32 v)) (sqrt.f32 v))
7.9b
(/.f32 (*.f32 cosTheta_i cosTheta_O) v)
8.1b
(/.f32 (*.f32 sinTheta_i sinTheta_O) v)

rewrite437.0ms (5.7%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
282×times-frac_binary32
160×*-un-lft-identity_binary32
160×add-sqr-sqrt_binary32
160×add-cube-cbrt_binary32
144×sqrt-prod_binary32
Counts
4 → 256
Calls

4 calls:

10.0ms
(/.f32 (/.f32 -1 (sqrt.f32 v)) (sqrt.f32 v))
4.0ms
(/.f32 (*.f32 sinTheta_i sinTheta_O) v)
4.0ms
(/.f32 (*.f32 cosTheta_i cosTheta_O) v)
3.0ms
(/.f32 -1 (sqrt.f32 v))
Compiler

Compiled 8186 to 3912 computations (52.2% saved)

series145.0ms (1.9%)

Error
0.0b
Counts
4 → 24
Calls

4 calls:

54.0ms
(/.f32 (*.f32 sinTheta_i sinTheta_O) v)
53.0ms
(/.f32 (*.f32 cosTheta_i cosTheta_O) v)
15.0ms
(/.f32 (/.f32 -1 (sqrt.f32 v)) (sqrt.f32 v))
15.0ms
(/.f32 -1 (sqrt.f32 v))
Compiler

Compiled 1693 to 1207 computations (28.7% saved)

simplify273.0ms (3.6%)

Algorithm
egg-herbie
Rules
554×associate-*l/_binary32
525×associate-/r/_binary32
432×associate-*l*_binary32
386×associate-*r/_binary32
267×associate-/l/_binary32
Counts
280 → 213
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
03256334
17285753
219455485
343645443
449705443
549825443

prune150.0ms (2%)

Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New2130213
Fresh000
Picked011
Done000
Total2131214
Error
0.0b
Counts
214 → 1
Alt Table
StatusErrorProgram
0.0b
(exp.f32 (+.f32 (+.f32 (-.f32 (/.f32 (*.f32 cosTheta_i cosTheta_O) v) (/.f32 (*.f32 sinTheta_i sinTheta_O) v)) (+.f32 3121444901730491/4503599627370496 (/.f32 (/.f32 -1 (sqrt.f32 v)) (sqrt.f32 v)))) (log.f32 (/.f32 1 (*.f32 2 v)))))
Compiler

Compiled 3115 to 1548 computations (50.3% saved)

regimes554.0ms (7.3%)

Accuracy

Total 0.0b remaining (0%)

Threshold costs 0.0b (0%)

Compiler

Compiled 6555 to 4957 computations (24.4% saved)

simplify6.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02545
13545
24045
35045
45745
56245
66445
76345

end33.0ms (0.4%)

Remove

(sort sinTheta_i sinTheta_O)

(sort cosTheta_i cosTheta_O)

Compiler

Compiled 170 to 120 computations (29.4% saved)

sample2.5s (33.5%)

Algorithm
intervals
Results
1.0s8000×body128valid
392.0ms8132×pre128true
14.0ms132×body128nan
Compiler

Compiled 124 to 91 computations (26.6% saved)

Profiling

Loading profile data...