Details

Time bar (total: 11.1s)

analyze2.9s (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.2s (56%)

Results
6.1s8256×body128valid
Compiler

Compiled 338 to 238 computations (29.6% saved)

simplify44.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

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

localize108.0ms (1%)

Local error

Found 4 expressions with local error:

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

series123.0ms (1.1%)

Counts
4 → 96
Calls

4 calls:

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

rewrite92.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
307×expm1-udef_binary32
307×log1p-udef_binary32
171×add-sqr-sqrt_binary32
159×add-log-exp_binary32
159×log1p-expm1-u_binary32
Counts
4 → 95
Calls

4 calls:

90.0ms
(/.f32 (cos.f32 (atan.f32 (*.f32 (/.f32 alphay alphax) (tan.f32 (*.f32 (PI.f32) (fma.f32 2 u1 1/2)))))) (*.f32 alphax alphax))
90.0ms
(*.f32 (PI.f32) (fma.f32 2 u1 1/2))
90.0ms
(tan.f32 (*.f32 (PI.f32) (fma.f32 2 u1 1/2)))
90.0ms
(cos.f32 (atan.f32 (*.f32 (/.f32 alphay alphax) (tan.f32 (*.f32 (PI.f32) (fma.f32 2 u1 1/2))))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01668
133767
2417667
3527167
000
100

simplify89.0ms (0.8%)

Algorithm
egg-herbie
Rules
714×times-frac_binary32
580×associate-*r*_binary32
483×associate-*l*_binary32
462×associate-/l*_binary32
280×associate-/r*_binary32
Counts
191 → 111
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0722477
12102437
27752434
351122434

prune743.0ms (6.7%)

Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New2900290
Fresh000
Picked011
Done000
Total2901291
Error
0.2b
Counts
291 → 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 24173 to 15520 computations (35.8% saved)

regimes627.0ms (5.7%)

Accuracy

Total 0.0b remaining (0%)

Threshold costs 0.0b (0%)

Counts
14 → 1
Compiler

Compiled 14993 to 10331 computations (31.1% saved)

simplify4.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

end124.0ms (1.1%)

Compiler

Compiled 231 to 159 computations (31.2% saved)

Profiling

Loading profile data...