Details

Time bar (total: 11.9s)

analyze3.1s (26.3%)

Algorithm
search
Search
TrueOtherFalseIter
0%0%100%0
0%0%100%1
0%0%100%2
0%0%100%3
0%0%100%4
0%0%100%5
0%0%100%6
0%0%100%7
0%0%100%8
0%0%100%9
0%0%100%10
0%0%100%11
0%0%100%12
0%0%100%13
0%0%100%14
Compiler

Compiled 123 to 87 computations (29.3% saved)

sample6.5s (54.1%)

Results
6.4s8256×body128valid
Compiler

Compiled 338 to 238 computations (29.6% saved)

simplify45.0ms (0.4%)

Algorithm
egg-herbie
Rules
801×fma-def_binary32
676×div-sub_binary32
601×times-frac_binary32
366×associate-/l/_binary32
346×distribute-rgt-in_binary32
Counts
1 → 2
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
033138
166133
2117125
3212117
4404117
51310117
64092117
75339117

prune7.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.2b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.2b
(/.f32 1 (sqrt.f32 (+.f32 1 (/.f32 (/.f32 u0 (fma.f32 (cos.f32 (atan.f32 (*.f32 (/.f32 alphay alphax) (tan.f32 (*.f32 (PI.f32) (fma.f32 2 u1 1/2)))))) (/.f32 (cos.f32 (atan.f32 (*.f32 (/.f32 alphay alphax) (tan.f32 (*.f32 (PI.f32) (fma.f32 2 u1 1/2)))))) (*.f32 alphax alphax)) (/.f32 (*.f32 (sin.f32 (atan.f32 (*.f32 (/.f32 alphay alphax) (tan.f32 (*.f32 (PI.f32) (fma.f32 2 u1 1/2)))))) (sin.f32 (atan.f32 (*.f32 (/.f32 alphay alphax) (tan.f32 (*.f32 (PI.f32) (fma.f32 2 u1 1/2))))))) (*.f32 alphay alphay)))) (-.f32 1 u0)))))
Compiler

Compiled 319 to 215 computations (32.6% saved)

localize112.0ms (0.9%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.4b
(*.f32 (PI.f32) (fma.f32 2 u1 1/2))
0.4b
(*.f32 (/.f32 alphay alphax) (tan.f32 (*.f32 (PI.f32) (fma.f32 2 u1 1/2))))
12.8b
(cos.f32 (atan.f32 (*.f32 (/.f32 alphay alphax) (tan.f32 (*.f32 (PI.f32) (fma.f32 2 u1 1/2))))))
13.2b
(tan.f32 (*.f32 (PI.f32) (fma.f32 2 u1 1/2)))

series194.0ms (1.6%)

Counts
4 → 96
Calls

4 calls:

135.0ms
(*.f32 (/.f32 alphay alphax) (tan.f32 (*.f32 (PI.f32) (fma.f32 2 u1 1/2))))
30.0ms
(tan.f32 (*.f32 (PI.f32) (fma.f32 2 u1 1/2)))
26.0ms
(cos.f32 (atan.f32 (*.f32 (/.f32 alphay alphax) (tan.f32 (*.f32 (PI.f32) (fma.f32 2 u1 1/2))))))
3.0ms
(*.f32 (PI.f32) (fma.f32 2 u1 1/2))

rewrite19.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt_binary32
16×associate-*l*_binary32
14×*-un-lft-identity_binary32
14×add-cube-cbrt_binary32
11×add-cbrt-cube_binary32
Counts
4 → 84
Calls

4 calls:

8.0ms
(*.f32 (/.f32 alphay alphax) (tan.f32 (*.f32 (PI.f32) (fma.f32 2 u1 1/2))))
3.0ms
(*.f32 (PI.f32) (fma.f32 2 u1 1/2))
1.0ms
(tan.f32 (*.f32 (PI.f32) (fma.f32 2 u1 1/2)))
1.0ms
(cos.f32 (atan.f32 (*.f32 (/.f32 alphay alphax) (tan.f32 (*.f32 (PI.f32) (fma.f32 2 u1 1/2))))))

simplify115.0ms (1%)

Algorithm
egg-herbie
Rules
717×fma-def_binary32
585×associate-*l/_binary32
298×associate-/r/_binary32
226×associate-*r*_binary32
190×distribute-lft-in_binary32
Counts
180 → 145
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02564788
16444574
224924519
354744519

prune1.3s (10.8%)

Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New5420542
Fresh000
Picked011
Done000
Total5421543
Error
0.2b
Counts
543 → 1
Alt Table
StatusErrorProgram
0.2b
(/.f32 1 (sqrt.f32 (+.f32 1 (/.f32 (/.f32 u0 (fma.f32 (cos.f32 (atan.f32 (*.f32 (/.f32 alphay alphax) (tan.f32 (*.f32 (PI.f32) (fma.f32 2 u1 1/2)))))) (/.f32 (cos.f32 (atan.f32 (*.f32 (/.f32 alphay alphax) (tan.f32 (*.f32 (PI.f32) (fma.f32 2 u1 1/2)))))) (*.f32 alphax alphax)) (/.f32 (*.f32 (sin.f32 (atan.f32 (*.f32 (/.f32 alphay alphax) (tan.f32 (*.f32 (PI.f32) (fma.f32 2 u1 1/2)))))) (sin.f32 (atan.f32 (*.f32 (/.f32 alphay alphax) (tan.f32 (*.f32 (PI.f32) (fma.f32 2 u1 1/2))))))) (*.f32 alphay alphay)))) (-.f32 1 u0)))))
Compiler

Compiled 47625 to 29927 computations (37.2% saved)

regimes389.0ms (3.3%)

Accuracy

Total 0.0b remaining (0%)

Threshold costs 0.0b (0%)

Counts
10 → 1
Compiler

Compiled 11145 to 7679 computations (31.1% saved)

simplify5.0ms (0%)

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
029117
136117
240117
342117
443117
542117

end160.0ms (1.3%)

Compiler

Compiled 231 to 159 computations (31.2% saved)

Profiling

Loading profile data...