Details

Time bar (total: 20.5s)

analyze597.0ms (2.9%)

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)

sample2.9s (14.2%)

Results
2.7s8256×body128valid
Compiler

Compiled 130 to 94 computations (27.7% saved)

simplify58.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
13.3b
Counts
3 → 2
Alt Table
StatusErrorProgram
13.4b
(*.f32 (sin.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))))))
13.4b
(*.f32 (sin.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)))
Compiler

Compiled 156 to 110 computations (29.5% saved)

localize54.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(sin.f32 (*.f32 (*.f32 uy 2) (PI.f32)))
0.3b
(*.f32 (sin.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)))
0.4b
(*.f32 (*.f32 uy 2) (PI.f32))
14.0b
(fma.f32 (fma.f32 ux maxCos (-.f32 1 ux)) (-.f32 ux (fma.f32 ux maxCos 1)) 1)

series372.0ms (1.8%)

Counts
4 → 80
Calls

4 calls:

351.0ms
(*.f32 (sin.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.0ms
(fma.f32 (fma.f32 ux maxCos (-.f32 1 ux)) (-.f32 ux (fma.f32 ux maxCos 1)) 1)
4.0ms
(sin.f32 (*.f32 (*.f32 uy 2) (PI.f32)))
3.0ms
(*.f32 (*.f32 uy 2) (PI.f32))

rewrite447.0ms (2.2%)

Algorithm
egg-rewrite
Rules
60×egg
33×egg
29×egg
22×egg
Counts
4 → 144
Calls

4 calls:

142.0ms
(*.f32 (sin.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)))
124.0ms
(fma.f32 (fma.f32 ux maxCos (-.f32 1 ux)) (-.f32 ux (fma.f32 ux maxCos 1)) 1)
110.0ms
(sin.f32 (*.f32 (*.f32 uy 2) (PI.f32)))
68.0ms
(*.f32 (*.f32 uy 2) (PI.f32))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0919
119419
2248619
3476719
4486419
5500819
068
11218
213538
350318
01733
135333
2424633
3510633
0710
114010
2157110
3485810
4478010
5494610

simplify193.0ms (0.9%)

Algorithm
egg-herbie
Rules
491×fma-neg_binary32
355×fma-def_binary32
341×sub-neg_binary32
288×associate-*r*_binary32
275×associate-*l*_binary32
Counts
224 → 214
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
02926087
110115248
241495248
349895248

prune309.0ms (1.5%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New20212214
Fresh101
Picked101
Done000
Total20412216
Error
0.3b
Counts
216 → 12
Alt Table
StatusErrorProgram
13.9b
(*.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (fma.f32 (*.f32 (cbrt.f32 (*.f32 (fma.f32 ux maxCos (-.f32 1 ux)) (-.f32 ux (fma.f32 ux maxCos 1)))) (cbrt.f32 (*.f32 (fma.f32 ux maxCos (-.f32 1 ux)) (-.f32 ux (fma.f32 ux maxCos 1))))) (cbrt.f32 (*.f32 (fma.f32 ux maxCos (-.f32 1 ux)) (-.f32 ux (fma.f32 ux maxCos 1)))) 1)))
1.2b
(fma.f32 (sin.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (sqrt.f32 (*.f32 ux (-.f32 2 ux))) (*.f32 (*.f32 (sin.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (sqrt.f32 (/.f32 1 (*.f32 ux (-.f32 2 ux))))) (-.f32 (*.f32 maxCos (*.f32 ux ux)) (*.f32 maxCos ux))))
2.4b
(fma.f32 (sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (+.f32 (*.f32 2 (*.f32 maxCos ux)) (*.f32 (fma.f32 maxCos maxCos 1) (*.f32 ux ux))))) (fma.f32 2 (*.f32 uy (PI.f32)) (*.f32 4/15 (*.f32 (pow.f32 (PI.f32) 5) (pow.f32 uy 5)))) (*.f32 (*.f32 (sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (+.f32 (*.f32 2 (*.f32 maxCos ux)) (*.f32 (fma.f32 maxCos maxCos 1) (*.f32 ux ux))))) (*.f32 (pow.f32 uy 3) (pow.f32 (PI.f32) 3))) -4/3))
7.7b
(*.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (*.f32 (-.f32 2 (*.f32 2 maxCos)) ux)))
1.7b
(-.f32 (*.f32 (sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (+.f32 (*.f32 2 (*.f32 maxCos ux)) (*.f32 (fma.f32 maxCos maxCos 1) (*.f32 ux ux))))) (fma.f32 2 (*.f32 uy (PI.f32)) (*.f32 4/15 (*.f32 (pow.f32 (PI.f32) 5) (pow.f32 uy 5))))) (*.f32 (sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (+.f32 (*.f32 2 (*.f32 maxCos ux)) (*.f32 (fma.f32 maxCos maxCos 1) (*.f32 ux ux))))) (fma.f32 4/3 (*.f32 (pow.f32 uy 3) (pow.f32 (PI.f32) 3)) (*.f32 8/315 (*.f32 (pow.f32 uy 7) (pow.f32 (PI.f32) 7))))))
13.7b
(pow.f32 (sqrt.f32 (*.f32 (sin.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)))) 2)
13.4b
(*.f32 (sin.f32 (*.f32 (*.f32 (+.f32 uy uy) (pow.f32 (cbrt.f32 (PI.f32)) 2)) (cbrt.f32 (PI.f32)))) (sqrt.f32 (fma.f32 (fma.f32 ux maxCos (-.f32 1 ux)) (-.f32 ux (fma.f32 ux maxCos 1)) 1)))
20.8b
(-.f32 (exp.f32 (log1p.f32 (*.f32 (sin.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))))) 1)
1.8b
(-.f32 (+.f32 (*.f32 4/15 (*.f32 (*.f32 (pow.f32 uy 5) (pow.f32 (PI.f32) 5)) (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 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))))))))) (+.f32 (*.f32 8/315 (*.f32 (*.f32 (pow.f32 uy 7) (pow.f32 (PI.f32) 7)) (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 4/3 (*.f32 (*.f32 (pow.f32 (PI.f32) 3) (pow.f32 uy 3)) (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 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (+.f32 (*.f32 2 (*.f32 maxCos ux)) (*.f32 (fma.f32 maxCos maxCos 1) (*.f32 ux ux))))))
13.4b
(*.f32 (sin.f32 (*.f32 (pow.f32 (cbrt.f32 (PI.f32)) 2) (*.f32 (cbrt.f32 (PI.f32)) (+.f32 uy uy)))) (sqrt.f32 (fma.f32 (fma.f32 ux maxCos (-.f32 1 ux)) (-.f32 ux (fma.f32 ux maxCos 1)) 1)))
13.8b
(pow.f32 (pow.f32 (*.f32 (sin.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))) 3) 1/3)
Compiler

Compiled 11629 to 7497 computations (35.5% saved)

localize73.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (+.f32 (*.f32 2 (*.f32 maxCos ux)) (*.f32 (fma.f32 maxCos maxCos 1) (*.f32 ux ux)))))
0.2b
(sin.f32 (*.f32 (*.f32 uy 2) (PI.f32)))
0.3b
(*.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (+.f32 (*.f32 2 (*.f32 maxCos ux)) (*.f32 (fma.f32 maxCos maxCos 1) (*.f32 ux ux))))))
0.4b
(*.f32 (*.f32 uy 2) (PI.f32))

series353.0ms (1.7%)

Counts
2 → 52
Calls

2 calls:

241.0ms
(*.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (+.f32 (*.f32 2 (*.f32 maxCos ux)) (*.f32 (fma.f32 maxCos maxCos 1) (*.f32 ux ux))))))
112.0ms
(sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (+.f32 (*.f32 2 (*.f32 maxCos ux)) (*.f32 (fma.f32 maxCos maxCos 1) (*.f32 ux ux)))))

rewrite239.0ms (1.2%)

Algorithm
egg-rewrite
Rules
27×egg
21×egg
Counts
2 → 48
Calls

2 calls:

160.0ms
(*.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (+.f32 (*.f32 2 (*.f32 maxCos ux)) (*.f32 (fma.f32 maxCos maxCos 1) (*.f32 ux ux))))))
78.0ms
(sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (+.f32 (*.f32 2 (*.f32 maxCos ux)) (*.f32 (fma.f32 maxCos maxCos 1) (*.f32 ux ux)))))
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
02145
144045
2479745
3607145
01533
132132
2403532
3520832

simplify158.0ms (0.8%)

Algorithm
egg-herbie
Rules
575×fma-def_binary32
429×associate-*r*_binary32
307×associate-*l*_binary32
230×times-frac_binary32
198×associate--r+_binary32
Counts
100 → 136
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
04297773
114966864
252216864

prune636.0ms (3.1%)

Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New2169225
Fresh6511
Picked101
Done000
Total22314237
Error
0.1b
Counts
237 → 14
Alt Table
StatusErrorProgram
0.6b
(*.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (/.f32 (sqrt.f32 (-.f32 (*.f32 4 (pow.f32 (fma.f32 maxCos (*.f32 ux ux) ux) 2)) (pow.f32 (*.f32 ux (+.f32 (*.f32 2 maxCos) (*.f32 ux (fma.f32 maxCos maxCos 1)))) 2))) (sqrt.f32 (fma.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux) (*.f32 ux (+.f32 (*.f32 2 maxCos) (*.f32 ux (fma.f32 maxCos maxCos 1))))))))
0.8b
(pow.f32 (cbrt.f32 (*.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (fma.f32 2 (*.f32 maxCos ux) (*.f32 (*.f32 ux ux) (fma.f32 maxCos maxCos 1))))))) 3)
0.9b
(*.f32 (*.f32 (pow.f32 (cbrt.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32)))) 2) (cbrt.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))))) (sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (+.f32 (*.f32 2 (*.f32 maxCos ux)) (*.f32 (fma.f32 maxCos maxCos 1) (*.f32 ux ux))))))
13.7b
(pow.f32 (sqrt.f32 (*.f32 (sin.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)))) 2)
0.9b
(*.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (pow.f32 (cbrt.f32 (sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (*.f32 ux (+.f32 (*.f32 2 maxCos) (*.f32 ux (fma.f32 maxCos maxCos 1))))))) 3))
13.8b
(pow.f32 (pow.f32 (*.f32 (sin.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))) 3) 1/3)
0.5b
(*.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (expm1.f32 (log1p.f32 (sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (*.f32 ux (+.f32 (*.f32 2 maxCos) (*.f32 ux (fma.f32 maxCos maxCos 1)))))))))
0.6b
(*.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (/.f32 (sqrt.f32 (-.f32 (*.f32 8 (pow.f32 (fma.f32 maxCos (*.f32 ux ux) ux) 3)) (pow.f32 (*.f32 ux (+.f32 (*.f32 2 maxCos) (*.f32 ux (fma.f32 maxCos maxCos 1)))) 3))) (sqrt.f32 (+.f32 (*.f32 4 (pow.f32 (fma.f32 maxCos (*.f32 ux ux) ux) 2)) (*.f32 (*.f32 ux (+.f32 (*.f32 2 maxCos) (*.f32 ux (fma.f32 maxCos maxCos 1)))) (fma.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux) (*.f32 ux (+.f32 (*.f32 2 maxCos) (*.f32 ux (fma.f32 maxCos maxCos 1))))))))))
1.2b
(fma.f32 (sin.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (sqrt.f32 (*.f32 ux (-.f32 2 ux))) (*.f32 (*.f32 (sin.f32 (*.f32 2 (*.f32 uy (PI.f32)))) (sqrt.f32 (/.f32 1 (*.f32 ux (-.f32 2 ux))))) (-.f32 (*.f32 maxCos (*.f32 ux ux)) (*.f32 maxCos ux))))
20.8b
(-.f32 (exp.f32 (log1p.f32 (*.f32 (sin.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))))) 1)
1.9b
(*.f32 (sin.f32 (*.f32 (pow.f32 (*.f32 (pow.f32 (*.f32 (+.f32 uy uy) (PI.f32)) 2) uy) 1/3) (cbrt.f32 (*.f32 2 (PI.f32))))) (sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (+.f32 (*.f32 2 (*.f32 maxCos ux)) (*.f32 (fma.f32 maxCos maxCos 1) (*.f32 ux ux))))))
0.5b
(cbrt.f32 (*.f32 (pow.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))) 3) (pow.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (fma.f32 2 (*.f32 maxCos ux) (*.f32 (*.f32 ux ux) (fma.f32 maxCos maxCos 1)))) 3/2)))
0.6b
(*.f32 (sin.f32 (*.f32 (*.f32 (+.f32 uy uy) (pow.f32 (cbrt.f32 (PI.f32)) 2)) (cbrt.f32 (PI.f32)))) (sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (+.f32 (*.f32 2 (*.f32 maxCos ux)) (*.f32 (fma.f32 maxCos maxCos 1) (*.f32 ux ux))))))
2.4b
(fma.f32 (sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (+.f32 (*.f32 2 (*.f32 maxCos ux)) (*.f32 (fma.f32 maxCos maxCos 1) (*.f32 ux ux))))) (fma.f32 2 (*.f32 uy (PI.f32)) (*.f32 4/15 (*.f32 (pow.f32 (PI.f32) 5) (pow.f32 uy 5)))) (*.f32 (*.f32 (sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (+.f32 (*.f32 2 (*.f32 maxCos ux)) (*.f32 (fma.f32 maxCos maxCos 1) (*.f32 ux ux))))) (*.f32 (pow.f32 uy 3) (pow.f32 (PI.f32) 3))) -4/3))
Compiler

Compiled 15769 to 9627 computations (38.9% saved)

localize96.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(pow.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (fma.f32 2 (*.f32 maxCos ux) (*.f32 (*.f32 ux ux) (fma.f32 maxCos maxCos 1)))) 3/2)
0.3b
(*.f32 (pow.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))) 3) (pow.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (fma.f32 2 (*.f32 maxCos ux) (*.f32 (*.f32 ux ux) (fma.f32 maxCos maxCos 1)))) 3/2))
0.4b
(*.f32 (*.f32 uy 2) (PI.f32))
0.7b
(pow.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))) 3)

series1.6s (7.6%)

Counts
3 → 68
Calls

3 calls:

1.4s
(*.f32 (pow.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))) 3) (pow.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (fma.f32 2 (*.f32 maxCos ux) (*.f32 (*.f32 ux ux) (fma.f32 maxCos maxCos 1)))) 3/2))
127.0ms
(pow.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (fma.f32 2 (*.f32 maxCos ux) (*.f32 (*.f32 ux ux) (fma.f32 maxCos maxCos 1)))) 3/2)
17.0ms
(pow.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))) 3)

rewrite287.0ms (1.4%)

Algorithm
egg-rewrite
Rules
25×egg
22×egg
19×egg
Counts
3 → 66
Calls

3 calls:

123.0ms
(*.f32 (pow.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))) 3) (pow.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (fma.f32 2 (*.f32 maxCos ux) (*.f32 (*.f32 ux ux) (fma.f32 maxCos maxCos 1)))) 3/2))
86.0ms
(pow.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))) 3)
75.0ms
(pow.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (fma.f32 2 (*.f32 maxCos ux) (*.f32 (*.f32 ux ux) (fma.f32 maxCos maxCos 1)))) 3/2)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0913
118413
2193513
3516413
02349
147549
2474949
3527749
01534
131434
2355734
3528034

simplify325.0ms (1.6%)

Algorithm
egg-herbie
Rules
463×*-commutative_binary32
403×times-frac_binary32
290×+-commutative_binary32
274×fma-def_binary32
236×associate-+r+_binary32
Counts
134 → 171
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0104519397
1367118917
2521418917

prune912.0ms (4.5%)

Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New2228230
Fresh8513
Picked101
Done000
Total23113244
Error
0.0b
Counts
244 → 13
Alt Table
StatusErrorProgram
0.5b
(cbrt.f32 (*.f32 (pow.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))) 3) (pow.f32 (pow.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (fma.f32 2 (*.f32 maxCos ux) (*.f32 (*.f32 ux ux) (fma.f32 maxCos maxCos 1)))) 3/4) 2)))
22.1b
(cbrt.f32 (*.f32 (-.f32 (exp.f32 (log1p.f32 (pow.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))) 3))) 1) (pow.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (fma.f32 2 (*.f32 maxCos ux) (*.f32 (*.f32 ux ux) (fma.f32 maxCos maxCos 1)))) 3/2)))
13.8b
(pow.f32 (pow.f32 (*.f32 (sin.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))) 3) 1/3)
0.8b
(cbrt.f32 (*.f32 (pow.f32 (sin.f32 (*.f32 (pow.f32 (cbrt.f32 uy) 2) (*.f32 (cbrt.f32 uy) (*.f32 2 (PI.f32))))) 3) (pow.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (fma.f32 2 (*.f32 maxCos ux) (*.f32 (*.f32 ux ux) (fma.f32 maxCos maxCos 1)))) 3/2)))
0.9b
(*.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (pow.f32 (cbrt.f32 (sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (*.f32 ux (+.f32 (*.f32 2 maxCos) (*.f32 ux (fma.f32 maxCos maxCos 1))))))) 3))
1.0b
(cbrt.f32 (*.f32 (pow.f32 (pow.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))) 3/2) 2) (pow.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (fma.f32 2 (*.f32 maxCos ux) (*.f32 (*.f32 ux ux) (fma.f32 maxCos maxCos 1)))) 3/2)))
0.5b
(cbrt.f32 (*.f32 (pow.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))) 3) (pow.f32 (cbrt.f32 (pow.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (fma.f32 2 (*.f32 maxCos ux) (*.f32 (*.f32 ux ux) (fma.f32 maxCos maxCos 1)))) 3/2)) 3)))
0.6b
(*.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (/.f32 (sqrt.f32 (-.f32 (*.f32 8 (pow.f32 (fma.f32 maxCos (*.f32 ux ux) ux) 3)) (pow.f32 (*.f32 ux (+.f32 (*.f32 2 maxCos) (*.f32 ux (fma.f32 maxCos maxCos 1)))) 3))) (sqrt.f32 (+.f32 (*.f32 4 (pow.f32 (fma.f32 maxCos (*.f32 ux ux) ux) 2)) (*.f32 (*.f32 ux (+.f32 (*.f32 2 maxCos) (*.f32 ux (fma.f32 maxCos maxCos 1)))) (fma.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux) (*.f32 ux (+.f32 (*.f32 2 maxCos) (*.f32 ux (fma.f32 maxCos maxCos 1))))))))))
20.8b
(-.f32 (exp.f32 (log1p.f32 (*.f32 (sin.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))))) 1)
4.3b
(cbrt.f32 (*.f32 (-.f32 (*.f32 8 (*.f32 (pow.f32 uy 3) (pow.f32 (PI.f32) 3))) (*.f32 16 (*.f32 (pow.f32 uy 5) (pow.f32 (PI.f32) 5)))) (pow.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (fma.f32 2 (*.f32 maxCos ux) (*.f32 (*.f32 ux ux) (fma.f32 maxCos maxCos 1)))) 3/2)))
13.3b
(cbrt.f32 (*.f32 (pow.f32 (pow.f32 (pow.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))) 3) 3) 1/3) (pow.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (fma.f32 2 (*.f32 maxCos ux) (*.f32 (*.f32 ux ux) (fma.f32 maxCos maxCos 1)))) 3/2)))
2.4b
(fma.f32 (sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (+.f32 (*.f32 2 (*.f32 maxCos ux)) (*.f32 (fma.f32 maxCos maxCos 1) (*.f32 ux ux))))) (fma.f32 2 (*.f32 uy (PI.f32)) (*.f32 4/15 (*.f32 (pow.f32 (PI.f32) 5) (pow.f32 uy 5)))) (*.f32 (*.f32 (sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (+.f32 (*.f32 2 (*.f32 maxCos ux)) (*.f32 (fma.f32 maxCos maxCos 1) (*.f32 ux ux))))) (*.f32 (pow.f32 uy 3) (pow.f32 (PI.f32) 3))) -4/3))
0.7b
(cbrt.f32 (*.f32 (pow.f32 (sin.f32 (*.f32 (*.f32 (+.f32 uy uy) (pow.f32 (cbrt.f32 (PI.f32)) 2)) (cbrt.f32 (PI.f32)))) 3) (pow.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (fma.f32 2 (*.f32 maxCos ux) (*.f32 (*.f32 ux ux) (fma.f32 maxCos maxCos 1)))) 3/2)))
Compiler

Compiled 31480 to 21869 computations (30.5% saved)

localize92.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(*.f32 (pow.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))) 3) (pow.f32 (pow.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (fma.f32 2 (*.f32 maxCos ux) (*.f32 (*.f32 ux ux) (fma.f32 maxCos maxCos 1)))) 3/4) 2))
0.4b
(*.f32 (*.f32 uy 2) (PI.f32))
0.5b
(pow.f32 (pow.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (fma.f32 2 (*.f32 maxCos ux) (*.f32 (*.f32 ux ux) (fma.f32 maxCos maxCos 1)))) 3/4) 2)
0.7b
(pow.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))) 3)

series1.9s (9.4%)

Counts
2 → 56
Calls

2 calls:

1.7s
(*.f32 (pow.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))) 3) (pow.f32 (pow.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (fma.f32 2 (*.f32 maxCos ux) (*.f32 (*.f32 ux ux) (fma.f32 maxCos maxCos 1)))) 3/4) 2))
256.0ms
(pow.f32 (pow.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (fma.f32 2 (*.f32 maxCos ux) (*.f32 (*.f32 ux ux) (fma.f32 maxCos maxCos 1)))) 3/4) 2)

rewrite161.0ms (0.8%)

Algorithm
egg-rewrite
Rules
28×egg
21×egg
Counts
2 → 49
Calls

2 calls:

81.0ms
(pow.f32 (pow.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (fma.f32 2 (*.f32 maxCos ux) (*.f32 (*.f32 ux ux) (fma.f32 maxCos maxCos 1)))) 3/4) 2)
78.0ms
(*.f32 (pow.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))) 3) (pow.f32 (pow.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (fma.f32 2 (*.f32 maxCos ux) (*.f32 (*.f32 ux ux) (fma.f32 maxCos maxCos 1)))) 3/4) 2))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01634
133934
2375434
3545834
02449
150049
2478849
3486149

simplify407.0ms (2%)

Algorithm
egg-herbie
Rules
482×times-frac_binary32
459×*-commutative_binary32
287×+-commutative_binary32
269×fma-def_binary32
236×associate-+r+_binary32
Counts
105 → 144
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0104119477
1366318997
2506718997

prune867.0ms (4.2%)

Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New2360236
Fresh01212
Picked011
Done000
Total23613249
Error
0.0b
Counts
249 → 13
Alt Table
StatusErrorProgram
0.5b
(cbrt.f32 (*.f32 (pow.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))) 3) (pow.f32 (pow.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (fma.f32 2 (*.f32 maxCos ux) (*.f32 (*.f32 ux ux) (fma.f32 maxCos maxCos 1)))) 3/4) 2)))
22.1b
(cbrt.f32 (*.f32 (-.f32 (exp.f32 (log1p.f32 (pow.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))) 3))) 1) (pow.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (fma.f32 2 (*.f32 maxCos ux) (*.f32 (*.f32 ux ux) (fma.f32 maxCos maxCos 1)))) 3/2)))
13.8b
(pow.f32 (pow.f32 (*.f32 (sin.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))) 3) 1/3)
0.8b
(cbrt.f32 (*.f32 (pow.f32 (sin.f32 (*.f32 (pow.f32 (cbrt.f32 uy) 2) (*.f32 (cbrt.f32 uy) (*.f32 2 (PI.f32))))) 3) (pow.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (fma.f32 2 (*.f32 maxCos ux) (*.f32 (*.f32 ux ux) (fma.f32 maxCos maxCos 1)))) 3/2)))
0.9b
(*.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (pow.f32 (cbrt.f32 (sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (*.f32 ux (+.f32 (*.f32 2 maxCos) (*.f32 ux (fma.f32 maxCos maxCos 1))))))) 3))
1.0b
(cbrt.f32 (*.f32 (pow.f32 (pow.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))) 3/2) 2) (pow.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (fma.f32 2 (*.f32 maxCos ux) (*.f32 (*.f32 ux ux) (fma.f32 maxCos maxCos 1)))) 3/2)))
0.5b
(cbrt.f32 (*.f32 (pow.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))) 3) (pow.f32 (cbrt.f32 (pow.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (fma.f32 2 (*.f32 maxCos ux) (*.f32 (*.f32 ux ux) (fma.f32 maxCos maxCos 1)))) 3/2)) 3)))
0.6b
(*.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (/.f32 (sqrt.f32 (-.f32 (*.f32 8 (pow.f32 (fma.f32 maxCos (*.f32 ux ux) ux) 3)) (pow.f32 (*.f32 ux (+.f32 (*.f32 2 maxCos) (*.f32 ux (fma.f32 maxCos maxCos 1)))) 3))) (sqrt.f32 (+.f32 (*.f32 4 (pow.f32 (fma.f32 maxCos (*.f32 ux ux) ux) 2)) (*.f32 (*.f32 ux (+.f32 (*.f32 2 maxCos) (*.f32 ux (fma.f32 maxCos maxCos 1)))) (fma.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux) (*.f32 ux (+.f32 (*.f32 2 maxCos) (*.f32 ux (fma.f32 maxCos maxCos 1))))))))))
20.8b
(-.f32 (exp.f32 (log1p.f32 (*.f32 (sin.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))))) 1)
4.3b
(cbrt.f32 (*.f32 (-.f32 (*.f32 8 (*.f32 (pow.f32 uy 3) (pow.f32 (PI.f32) 3))) (*.f32 16 (*.f32 (pow.f32 uy 5) (pow.f32 (PI.f32) 5)))) (pow.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (fma.f32 2 (*.f32 maxCos ux) (*.f32 (*.f32 ux ux) (fma.f32 maxCos maxCos 1)))) 3/2)))
13.3b
(cbrt.f32 (*.f32 (pow.f32 (pow.f32 (pow.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))) 3) 3) 1/3) (pow.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (fma.f32 2 (*.f32 maxCos ux) (*.f32 (*.f32 ux ux) (fma.f32 maxCos maxCos 1)))) 3/2)))
2.4b
(fma.f32 (sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (+.f32 (*.f32 2 (*.f32 maxCos ux)) (*.f32 (fma.f32 maxCos maxCos 1) (*.f32 ux ux))))) (fma.f32 2 (*.f32 uy (PI.f32)) (*.f32 4/15 (*.f32 (pow.f32 (PI.f32) 5) (pow.f32 uy 5)))) (*.f32 (*.f32 (sqrt.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (+.f32 (*.f32 2 (*.f32 maxCos ux)) (*.f32 (fma.f32 maxCos maxCos 1) (*.f32 ux ux))))) (*.f32 (pow.f32 uy 3) (pow.f32 (PI.f32) 3))) -4/3))
0.7b
(cbrt.f32 (*.f32 (pow.f32 (sin.f32 (*.f32 (*.f32 (+.f32 uy uy) (pow.f32 (cbrt.f32 (PI.f32)) 2)) (cbrt.f32 (PI.f32)))) 3) (pow.f32 (-.f32 (*.f32 2 (fma.f32 maxCos (*.f32 ux ux) ux)) (fma.f32 2 (*.f32 maxCos ux) (*.f32 (*.f32 ux ux) (fma.f32 maxCos maxCos 1)))) 3/2)))
Compiler

Compiled 31926 to 22297 computations (30.2% saved)

regimes7.1s (34.7%)

Accuracy

Total 0.4b remaining (83.5%)

Threshold costs 0.4b (83.5%)

Counts
372 → 1
Compiler

Compiled 179422 to 123005 computations (31.4% 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
02655
13555
23955
34155
44255
54155

end344.0ms (1.7%)

Compiler

Compiled 663 to 448 computations (32.4% saved)

Profiling

Loading profile data...