Details

Time bar (total: 17.7s)

analyze625.0ms (3.5%)

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

Compiled 51 to 37 computations (27.5% saved)

sample141.0ms (0.8%)

Algorithm
intervals
Results
31.0ms256×body128valid
8.0ms256×pre128true
Compiler

Compiled 82 to 60 computations (26.8% saved)

simplify50.0ms (0.3%)

Algorithm
egg-herbie
Rules
743×sub-neg_binary32
674×fma-neg_binary32
386×associate--l-_binary32
316×distribute-rgt-in_binary32
286×unsub-neg_binary32
Counts
1 → 2
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01739
14135
211735
343133
4175533
5413533
6496633

prune5.0ms (0%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
14.2b
Counts
3 → 2
Alt Table
StatusErrorProgram
14.4b
(*.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (fma.f32 (fma.f32 ux maxCos (-.f32 1 ux)) (-.f32 ux (fma.f32 ux maxCos 1)) 1)))
14.4b
(*.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (-.f32 1 (*.f32 (+.f32 (-.f32 1 ux) (*.f32 ux maxCos)) (+.f32 (-.f32 1 ux) (*.f32 ux maxCos))))))
Compiler

Compiled 156 to 110 computations (29.5% saved)

localize48.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (-.f32 1 (*.f32 (+.f32 (-.f32 1 ux) (*.f32 ux maxCos)) (+.f32 (-.f32 1 ux) (*.f32 ux maxCos))))))
0.3b
(*.f32 (*.f32 uy 2) (PI.f32))
0.4b
(*.f32 (+.f32 (-.f32 1 ux) (*.f32 ux maxCos)) (+.f32 (-.f32 1 ux) (*.f32 ux maxCos)))
14.2b
(-.f32 1 (*.f32 (+.f32 (-.f32 1 ux) (*.f32 ux maxCos)) (+.f32 (-.f32 1 ux) (*.f32 ux maxCos))))

series349.0ms (2%)

Counts
4 → 92
Calls

4 calls:

311.0ms
(*.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (-.f32 1 (*.f32 (+.f32 (-.f32 1 ux) (*.f32 ux maxCos)) (+.f32 (-.f32 1 ux) (*.f32 ux maxCos))))))
22.0ms
(-.f32 1 (*.f32 (+.f32 (-.f32 1 ux) (*.f32 ux maxCos)) (+.f32 (-.f32 1 ux) (*.f32 ux maxCos))))
12.0ms
(*.f32 (+.f32 (-.f32 1 ux) (*.f32 ux maxCos)) (+.f32 (-.f32 1 ux) (*.f32 ux maxCos)))
3.0ms
(*.f32 (*.f32 uy 2) (PI.f32))

rewrite35.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt_binary32
18×pow1_binary32
16×*-un-lft-identity_binary32
14×associate-*r*_binary32
14×add-cube-cbrt_binary32
Counts
4 → 109
Calls

4 calls:

12.0ms
(*.f32 (+.f32 (-.f32 1 ux) (*.f32 ux maxCos)) (+.f32 (-.f32 1 ux) (*.f32 ux maxCos)))
6.0ms
(*.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (-.f32 1 (*.f32 (+.f32 (-.f32 1 ux) (*.f32 ux maxCos)) (+.f32 (-.f32 1 ux) (*.f32 ux maxCos))))))
4.0ms
(-.f32 1 (*.f32 (+.f32 (-.f32 1 ux) (*.f32 ux maxCos)) (+.f32 (-.f32 1 ux) (*.f32 ux maxCos))))
4.0ms
(*.f32 (*.f32 uy 2) (PI.f32))

simplify230.0ms (1.3%)

Algorithm
egg-herbie
Rules
615×associate-*l*_binary32
546×associate-*r*_binary32
390×fma-def_binary32
156×times-frac_binary32
153×associate-/l*_binary32
Counts
201 → 251
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
045010119
114138467
252038467

prune412.0ms (2.3%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New23912251
Fresh101
Picked101
Done000
Total24112253
Error
0.2b
Counts
253 → 12
Alt Table
StatusErrorProgram
14.4b
(*.f32 (*.f32 (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 (fma.f32 maxCos ux (-.f32 1 ux)) (fma.f32 maxCos ux (-.f32 1 ux))))))) (sqrt.f32 (sqrt.f32 (-.f32 1 (*.f32 (+.f32 (-.f32 1 ux) (*.f32 ux maxCos)) (+.f32 (-.f32 1 ux) (*.f32 ux maxCos)))))))
1.2b
(fma.f32 (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (*.f32 (*.f32 maxCos (*.f32 ux ux)) (sqrt.f32 (/.f32 1 (*.f32 ux (-.f32 2 ux))))) (*.f32 (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (-.f32 (sqrt.f32 (*.f32 ux (-.f32 2 ux))) (*.f32 (*.f32 maxCos ux) (sqrt.f32 (/.f32 1 (*.f32 ux (-.f32 2 ux))))))))
14.4b
(log.f32 (exp.f32 (*.f32 (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (sqrt.f32 (-.f32 1 (*.f32 (fma.f32 maxCos ux (-.f32 1 ux)) (fma.f32 maxCos ux (-.f32 1 ux))))))))
1.1b
(-.f32 (+.f32 (*.f32 (*.f32 (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (*.f32 maxCos (pow.f32 ux 2))) (sqrt.f32 (/.f32 1 (-.f32 (*.f32 2 ux) (pow.f32 ux 2))))) (*.f32 (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (sqrt.f32 (-.f32 (*.f32 2 ux) (pow.f32 ux 2))))) (*.f32 (*.f32 (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (*.f32 maxCos ux)) (sqrt.f32 (/.f32 1 (-.f32 (*.f32 2 ux) (pow.f32 ux 2))))))
15.4b
(*.f32 (sqrt.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32)))) (*.f32 (sqrt.f32 (-.f32 1 (*.f32 (fma.f32 maxCos ux (-.f32 1 ux)) (fma.f32 maxCos ux (-.f32 1 ux))))) (sqrt.f32 (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))))))
14.5b
(*.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (-.f32 1 (*.f32 (sqrt.f32 (+.f32 (-.f32 1 ux) (*.f32 ux maxCos))) (*.f32 (sqrt.f32 (+.f32 (-.f32 1 ux) (*.f32 ux maxCos))) (+.f32 (-.f32 1 ux) (*.f32 ux maxCos)))))))
2.2b
(-.f32 (*.f32 (+.f32 (*.f32 2/3 (*.f32 (pow.f32 (PI.f32) 4) (pow.f32 uy 4))) 1) (sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (fma.f32 ux ux (*.f32 (*.f32 maxCos ux) (+.f32 (*.f32 maxCos ux) 2)))))) (*.f32 (sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (fma.f32 ux ux (*.f32 (*.f32 maxCos ux) (+.f32 (*.f32 maxCos ux) 2))))) (+.f32 (*.f32 2 (*.f32 (*.f32 uy uy) (pow.f32 (PI.f32) 2))) (*.f32 4/45 (*.f32 (pow.f32 uy 6) (pow.f32 (PI.f32) 6))))))
0.3b
(*.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))))))
6.9b
(*.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (*.f32 (-.f32 2 (*.f32 2 maxCos)) ux)))
3.9b
(-.f32 (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))))) (*.f32 2 (*.f32 (*.f32 (pow.f32 uy 2) (pow.f32 (PI.f32) 2)) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))))))))
6.6b
(sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))))
14.4b
(*.f32 (cos.f32 (expm1.f32 (log1p.f32 (*.f32 (*.f32 uy 2) (PI.f32))))) (sqrt.f32 (-.f32 1 (*.f32 (+.f32 (-.f32 1 ux) (*.f32 ux maxCos)) (+.f32 (-.f32 1 ux) (*.f32 ux maxCos))))))
Compiler

Compiled 13822 to 8828 computations (36.1% saved)

localize87.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2))
0.1b
(*.f32 maxCos (pow.f32 ux 2))
0.1b
(*.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))))))
0.3b
(*.f32 (*.f32 uy 2) (PI.f32))

series258.0ms (1.5%)

Counts
3 → 32
Calls

3 calls:

237.0ms
(*.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))))))
11.0ms
(*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2))
10.0ms
(*.f32 maxCos (pow.f32 ux 2))

rewrite45.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
41×add-sqr-sqrt_binary32
25×associate-*r*_binary32
22×unswap-sqr_binary32
22×add-exp-log_binary32
18×unpow-prod-down_binary32
Counts
3 → 115
Calls

3 calls:

24.0ms
(*.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))))))
6.0ms
(*.f32 maxCos (pow.f32 ux 2))
6.0ms
(*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2))

simplify124.0ms (0.7%)

Algorithm
egg-herbie
Rules
598×associate-*l*_binary32
551×associate-*r*_binary32
364×fma-def_binary32
202×times-frac_binary32
171×*-commutative_binary32
Counts
147 → 218
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
04488385
113657231
252477231

prune629.0ms (3.6%)

Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New23811249
Fresh9211
Picked101
Done000
Total24813261
Error
0.0b
Counts
261 → 13
Alt Table
StatusErrorProgram
0.5b
(/.f32 (*.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (-.f32 (*.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux))) (*.f32 (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))))))) (sqrt.f32 (+.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))))))
0.9b
(*.f32 (*.f32 (cbrt.f32 (*.f32 (sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (+.f32 (*.f32 (fma.f32 maxCos maxCos 1) (*.f32 ux ux)) (*.f32 2 (*.f32 maxCos ux))))) (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))))) (cbrt.f32 (*.f32 (sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (+.f32 (*.f32 (fma.f32 maxCos maxCos 1) (*.f32 ux ux)) (*.f32 2 (*.f32 maxCos ux))))) (cos.f32 (*.f32 2 (*.f32 uy (PI.f32))))))) (cbrt.f32 (*.f32 (sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (+.f32 (*.f32 (fma.f32 maxCos maxCos 1) (*.f32 ux ux)) (*.f32 2 (*.f32 maxCos ux))))) (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))))))
0.6b
(*.f32 (*.f32 (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (fabs.f32 (cbrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (+.f32 (*.f32 (fma.f32 maxCos maxCos 1) (*.f32 ux ux)) (*.f32 2 (*.f32 maxCos ux))))))) (sqrt.f32 (cbrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))))))
0.3b
(*.f32 (cos.f32 (*.f32 (sqrt.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (sqrt.f32 (*.f32 2 (*.f32 uy (PI.f32)))))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))))))
27.2b
(/.f32 (*.f32 (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (sqrt.f32 (fma.f32 (-.f32 (*.f32 ux ux) (fma.f32 2 (*.f32 maxCos ux) (*.f32 maxCos (*.f32 maxCos (*.f32 ux ux))))) (*.f32 4 (-.f32 (*.f32 (*.f32 maxCos maxCos) (pow.f32 ux 4)) (*.f32 ux ux))) (*.f32 (-.f32 (pow.f32 ux 4) (*.f32 (fma.f32 2 (*.f32 maxCos ux) (*.f32 maxCos (*.f32 maxCos (*.f32 ux ux)))) (fma.f32 2 (*.f32 maxCos ux) (*.f32 maxCos (*.f32 maxCos (*.f32 ux ux)))))) (*.f32 -2 (-.f32 (*.f32 maxCos (*.f32 ux ux)) ux)))))) (sqrt.f32 (*.f32 (-.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (-.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))))))
6.9b
(*.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (*.f32 (-.f32 2 (*.f32 2 maxCos)) ux)))
2.1b
(*.f32 (sqrt.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32)))) (*.f32 (sqrt.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32)))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))))))
0.3b
(*.f32 (cos.f32 (*.f32 (*.f32 (*.f32 2 uy) (*.f32 (cbrt.f32 (PI.f32)) (cbrt.f32 (PI.f32)))) (cbrt.f32 (PI.f32)))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))))))
2.3b
(*.f32 (sqrt.f32 (*.f32 (sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (+.f32 (*.f32 (fma.f32 maxCos maxCos 1) (*.f32 ux ux)) (*.f32 2 (*.f32 maxCos ux))))) (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))))) (sqrt.f32 (*.f32 (sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (+.f32 (*.f32 (fma.f32 maxCos maxCos 1) (*.f32 ux ux)) (*.f32 2 (*.f32 maxCos ux))))) (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))))))
1.1b
(-.f32 (+.f32 (*.f32 (*.f32 (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (*.f32 maxCos (pow.f32 ux 2))) (sqrt.f32 (/.f32 1 (-.f32 (*.f32 2 ux) (pow.f32 ux 2))))) (*.f32 (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (sqrt.f32 (-.f32 (*.f32 2 ux) (pow.f32 ux 2))))) (*.f32 (*.f32 (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (*.f32 maxCos ux)) (sqrt.f32 (/.f32 1 (-.f32 (*.f32 2 ux) (pow.f32 ux 2))))))
0.6b
(*.f32 (*.f32 (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (sqrt.f32 (sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (+.f32 (*.f32 (fma.f32 maxCos maxCos 1) (*.f32 ux ux)) (*.f32 2 (*.f32 maxCos ux))))))) (sqrt.f32 (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))))))
2.8b
(exp.f32 (+.f32 (log.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32)))) (log.f32 (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))))))))
0.4b
(*.f32 (cos.f32 (*.f32 (*.f32 (cbrt.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (cbrt.f32 (*.f32 2 (*.f32 uy (PI.f32))))) (cbrt.f32 (*.f32 2 (*.f32 uy (PI.f32)))))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))))))
Compiler

Compiled 17669 to 11614 computations (34.3% saved)

localize95.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f32 maxCos (pow.f32 ux 2))
0.1b
(*.f32 (cos.f32 (*.f32 (sqrt.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (sqrt.f32 (*.f32 2 (*.f32 uy (PI.f32)))))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))))))
0.3b
(*.f32 uy (PI.f32))
0.5b
(*.f32 (sqrt.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (sqrt.f32 (*.f32 2 (*.f32 uy (PI.f32)))))

series296.0ms (1.7%)

Counts
3 → 48
Calls

3 calls:

280.0ms
(*.f32 (cos.f32 (*.f32 (sqrt.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (sqrt.f32 (*.f32 2 (*.f32 uy (PI.f32)))))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))))))
12.0ms
(*.f32 (sqrt.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (sqrt.f32 (*.f32 2 (*.f32 uy (PI.f32)))))
4.0ms
(*.f32 uy (PI.f32))

rewrite46.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
134×pow1_binary32
73×pow-prod-down_binary32
60×sqrt-pow1_binary32
22×add-sqr-sqrt_binary32
17×*-un-lft-identity_binary32
Counts
3 → 121
Calls

3 calls:

19.0ms
(*.f32 (cos.f32 (*.f32 (sqrt.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (sqrt.f32 (*.f32 2 (*.f32 uy (PI.f32)))))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))))))
9.0ms
(*.f32 (sqrt.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (sqrt.f32 (*.f32 2 (*.f32 uy (PI.f32)))))
3.0ms
(*.f32 uy (PI.f32))

simplify146.0ms (0.8%)

Algorithm
egg-herbie
Rules
660×associate-*r*_binary32
542×associate-*l*_binary32
446×fma-def_binary32
177×times-frac_binary32
167×*-commutative_binary32
Counts
169 → 190
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
04768087
114866999
255326999

prune916.0ms (5.2%)

Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New2632265
Fresh21012
Picked011
Done000
Total26513278
Error
0.0b
Counts
278 → 13
Alt Table
StatusErrorProgram
0.6b
(*.f32 (*.f32 (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (fabs.f32 (cbrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (+.f32 (*.f32 (fma.f32 maxCos maxCos 1) (*.f32 ux ux)) (*.f32 2 (*.f32 maxCos ux))))))) (sqrt.f32 (cbrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))))))
0.3b
(*.f32 (cos.f32 (*.f32 (sqrt.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (sqrt.f32 (*.f32 2 (*.f32 uy (PI.f32)))))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))))))
27.2b
(/.f32 (*.f32 (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (sqrt.f32 (fma.f32 (-.f32 (*.f32 ux ux) (fma.f32 2 (*.f32 maxCos ux) (*.f32 maxCos (*.f32 maxCos (*.f32 ux ux))))) (*.f32 4 (-.f32 (*.f32 (*.f32 maxCos maxCos) (pow.f32 ux 4)) (*.f32 ux ux))) (*.f32 (-.f32 (pow.f32 ux 4) (*.f32 (fma.f32 2 (*.f32 maxCos ux) (*.f32 maxCos (*.f32 maxCos (*.f32 ux ux)))) (fma.f32 2 (*.f32 maxCos ux) (*.f32 maxCos (*.f32 maxCos (*.f32 ux ux)))))) (*.f32 -2 (-.f32 (*.f32 maxCos (*.f32 ux ux)) ux)))))) (sqrt.f32 (*.f32 (-.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (-.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))))))
6.9b
(*.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (*.f32 (-.f32 2 (*.f32 2 maxCos)) ux)))
2.3b
(*.f32 (sqrt.f32 (-.f32 (*.f32 2 ux) (pow.f32 ux 2))) (cos.f32 (*.f32 uy (*.f32 (PI.f32) (pow.f32 (sqrt.f32 2) 2)))))
0.3b
(*.f32 (cos.f32 (*.f32 (PI.f32) (*.f32 uy (pow.f32 (sqrt.f32 2) 2)))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))))))
2.3b
(*.f32 (sqrt.f32 (*.f32 (sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (+.f32 (*.f32 (fma.f32 maxCos maxCos 1) (*.f32 ux ux)) (*.f32 2 (*.f32 maxCos ux))))) (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))))) (sqrt.f32 (*.f32 (sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (+.f32 (*.f32 (fma.f32 maxCos maxCos 1) (*.f32 ux ux)) (*.f32 2 (*.f32 maxCos ux))))) (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))))))
1.1b
(-.f32 (+.f32 (*.f32 (*.f32 (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (*.f32 maxCos (pow.f32 ux 2))) (sqrt.f32 (/.f32 1 (-.f32 (*.f32 2 ux) (pow.f32 ux 2))))) (*.f32 (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (sqrt.f32 (-.f32 (*.f32 2 ux) (pow.f32 ux 2))))) (*.f32 (*.f32 (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (*.f32 maxCos ux)) (sqrt.f32 (/.f32 1 (-.f32 (*.f32 2 ux) (pow.f32 ux 2))))))
0.5b
(/.f32 (*.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (-.f32 (*.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux))) (*.f32 (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))))))) (sqrt.f32 (+.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))))))
0.6b
(*.f32 (*.f32 (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (sqrt.f32 (sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (+.f32 (*.f32 (fma.f32 maxCos maxCos 1) (*.f32 ux ux)) (*.f32 2 (*.f32 maxCos ux))))))) (sqrt.f32 (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))))))
2.8b
(exp.f32 (+.f32 (log.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32)))) (log.f32 (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))))))))
0.4b
(*.f32 (cos.f32 (*.f32 (*.f32 (cbrt.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (cbrt.f32 (*.f32 2 (*.f32 uy (PI.f32))))) (cbrt.f32 (*.f32 2 (*.f32 uy (PI.f32)))))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))))))
2.1b
(*.f32 (sqrt.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32)))) (*.f32 (sqrt.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32)))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))))))
Compiler

Compiled 19876 to 13350 computations (32.8% saved)

localize94.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f32 maxCos (pow.f32 ux 2))
0.1b
(*.f32 (cos.f32 (*.f32 (PI.f32) (*.f32 uy (pow.f32 (sqrt.f32 2) 2)))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))))))
0.3b
(*.f32 (PI.f32) (*.f32 uy (pow.f32 (sqrt.f32 2) 2)))
1.0b
(pow.f32 (sqrt.f32 2) 2)

series318.0ms (1.8%)

Counts
3 → 28
Calls

3 calls:

272.0ms
(*.f32 (cos.f32 (*.f32 (PI.f32) (*.f32 uy (pow.f32 (sqrt.f32 2) 2)))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))))))
45.0ms
(*.f32 (PI.f32) (*.f32 uy (pow.f32 (sqrt.f32 2) 2)))
0.0ms
(pow.f32 (sqrt.f32 2) 2)

rewrite38.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
16×add-exp-log_binary32
16×add-sqr-sqrt_binary32
15×*-un-lft-identity_binary32
10×associate-*r*_binary32
10×add-cbrt-cube_binary32
Counts
3 → 80
Calls

3 calls:

20.0ms
(*.f32 (cos.f32 (*.f32 (PI.f32) (*.f32 uy (pow.f32 (sqrt.f32 2) 2)))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))))))
7.0ms
(*.f32 (PI.f32) (*.f32 uy (pow.f32 (sqrt.f32 2) 2)))
2.0ms
(pow.f32 (sqrt.f32 2) 2)

simplify121.0ms (0.7%)

Algorithm
egg-herbie
Rules
667×associate-*r*_binary32
543×associate-*l*_binary32
448×fma-def_binary32
177×times-frac_binary32
166×associate-/l*_binary32
Counts
108 → 164
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
04708543
114956479
254866479

prune692.0ms (3.9%)

Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New2063209
Fresh2911
Picked101
Done011
Total20913222
Error
0.0b
Counts
222 → 13
Alt Table
StatusErrorProgram
0.6b
(*.f32 (*.f32 (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (fabs.f32 (cbrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (+.f32 (*.f32 (fma.f32 maxCos maxCos 1) (*.f32 ux ux)) (*.f32 2 (*.f32 maxCos ux))))))) (sqrt.f32 (cbrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))))))
0.3b
(*.f32 (cos.f32 (*.f32 (sqrt.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (sqrt.f32 (*.f32 2 (*.f32 uy (PI.f32)))))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))))))
27.2b
(/.f32 (*.f32 (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (sqrt.f32 (fma.f32 (-.f32 (*.f32 ux ux) (fma.f32 2 (*.f32 maxCos ux) (*.f32 maxCos (*.f32 maxCos (*.f32 ux ux))))) (*.f32 4 (-.f32 (*.f32 (*.f32 maxCos maxCos) (pow.f32 ux 4)) (*.f32 ux ux))) (*.f32 (-.f32 (pow.f32 ux 4) (*.f32 (fma.f32 2 (*.f32 maxCos ux) (*.f32 maxCos (*.f32 maxCos (*.f32 ux ux)))) (fma.f32 2 (*.f32 maxCos ux) (*.f32 maxCos (*.f32 maxCos (*.f32 ux ux)))))) (*.f32 -2 (-.f32 (*.f32 maxCos (*.f32 ux ux)) ux)))))) (sqrt.f32 (*.f32 (-.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (-.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))))))
6.9b
(*.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (*.f32 (-.f32 2 (*.f32 2 maxCos)) ux)))
2.3b
(*.f32 (sqrt.f32 (*.f32 (sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (+.f32 (*.f32 (fma.f32 maxCos maxCos 1) (*.f32 ux ux)) (*.f32 2 (*.f32 maxCos ux))))) (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))))) (sqrt.f32 (*.f32 (sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (+.f32 (*.f32 (fma.f32 maxCos maxCos 1) (*.f32 ux ux)) (*.f32 2 (*.f32 maxCos ux))))) (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))))))
0.5b
(/.f32 (*.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (-.f32 (*.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux))) (*.f32 (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))))))) (sqrt.f32 (+.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))))))
2.1b
(*.f32 (sqrt.f32 (cos.f32 (*.f32 (PI.f32) (*.f32 uy (pow.f32 (sqrt.f32 2) 2))))) (*.f32 (sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (+.f32 (*.f32 (fma.f32 maxCos maxCos 1) (*.f32 ux ux)) (*.f32 2 (*.f32 maxCos ux))))) (sqrt.f32 (cos.f32 (*.f32 uy (*.f32 2 (PI.f32)))))))
0.6b
(*.f32 (*.f32 (cos.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (sqrt.f32 (sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (+.f32 (*.f32 (fma.f32 maxCos maxCos 1) (*.f32 ux ux)) (*.f32 2 (*.f32 maxCos ux))))))) (sqrt.f32 (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))))))
2.8b
(exp.f32 (+.f32 (log.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32)))) (log.f32 (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))))))))
0.4b
(*.f32 (cos.f32 (*.f32 (*.f32 (cbrt.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (cbrt.f32 (*.f32 2 (*.f32 uy (PI.f32))))) (cbrt.f32 (*.f32 2 (*.f32 uy (PI.f32)))))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))))))
0.5b
(*.f32 (*.f32 (cbrt.f32 (cos.f32 (*.f32 (PI.f32) (*.f32 uy (pow.f32 (sqrt.f32 2) 2))))) (cbrt.f32 (cos.f32 (*.f32 (PI.f32) (*.f32 uy (pow.f32 (sqrt.f32 2) 2)))))) (*.f32 (sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (+.f32 (*.f32 (fma.f32 maxCos maxCos 1) (*.f32 ux ux)) (*.f32 2 (*.f32 maxCos ux))))) (cbrt.f32 (cos.f32 (*.f32 uy (*.f32 2 (PI.f32)))))))
0.4b
(*.f32 (cos.f32 (*.f32 (PI.f32) (*.f32 uy (pow.f32 (sqrt.f32 2) 2)))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (log.f32 (exp.f32 (*.f32 maxCos (*.f32 ux ux))))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux)))))))
2.1b
(*.f32 (sqrt.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32)))) (*.f32 (sqrt.f32 (cos.f32 (*.f32 (*.f32 uy 2) (PI.f32)))) (sqrt.f32 (-.f32 (+.f32 (*.f32 2 (*.f32 maxCos (pow.f32 ux 2))) (*.f32 2 ux)) (+.f32 (pow.f32 ux 2) (+.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)) (*.f32 2 (*.f32 maxCos ux))))))))
Compiler

Compiled 15726 to 10972 computations (30.2% saved)

regimes9.7s (55%)

Accuracy

Total 0.3b remaining (77.4%)

Threshold costs 0.3b (77.4%)

Counts
442 → 1
Compiler

Compiled 268735 to 197709 computations (26.4% saved)

simplify5.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02770
14270
25170
36370
48670
510270
611270
711870
812070
911970

end1.0ms (0%)

Compiler

Compiled 47 to 36 computations (23.4% saved)

sample2.2s (12.2%)

Algorithm
intervals
Results
930.0ms8000×body128valid
283.0ms8000×pre128true
Compiler

Compiled 876 to 611 computations (30.3% saved)

Profiling

Loading profile data...