Details

Time bar (total: 7.9s)

analyze447.0ms (5.6%)

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 37 to 28 computations (24.3% saved)

sample2.0s (25.7%)

Results
2.0s8256×body128valid
1.0msbody128invalid
Compiler

Compiled 88 to 67 computations (23.9% saved)

simplify9.0ms (0.1%)

Algorithm
egg-herbie
Rules
11×sub-neg_binary32
+-commutative_binary32
fma-def_binary32
*-commutative_binary32
div-sub_binary32
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01117
11717
22117
32717
43417
54417
65417
76917
87617
97917
108017
116017

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.3b
Counts
2 → 1
Alt Table
StatusErrorProgram
0.3b
(*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (cos.f32 (*.f32 314159265359/50000000000 u2)))
Compiler

Compiled 42 to 33 computations (21.4% saved)

localize36.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(cos.f32 (*.f32 314159265359/50000000000 u2))
0.1b
(/.f32 u1 (-.f32 1 u1))
0.2b
(*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (cos.f32 (*.f32 314159265359/50000000000 u2)))
0.3b
(*.f32 314159265359/50000000000 u2)

series37.0ms (0.5%)

Counts
4 → 36
Calls

4 calls:

26.0ms
(*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (cos.f32 (*.f32 314159265359/50000000000 u2)))
5.0ms
(*.f32 314159265359/50000000000 u2)
3.0ms
(/.f32 u1 (-.f32 1 u1))
3.0ms
(cos.f32 (*.f32 314159265359/50000000000 u2))

rewrite43.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
59×add-sqr-sqrt_binary32
50×*-un-lft-identity_binary32
37×times-frac_binary32
30×associate-*l*_binary32
29×add-cube-cbrt_binary32
Counts
4 → 119
Calls

4 calls:

17.0ms
(*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (cos.f32 (*.f32 314159265359/50000000000 u2)))
6.0ms
(/.f32 u1 (-.f32 1 u1))
5.0ms
(*.f32 314159265359/50000000000 u2)
2.0ms
(cos.f32 (*.f32 314159265359/50000000000 u2))

simplify115.0ms (1.5%)

Algorithm
egg-herbie
Rules
452×associate-*l*_binary32
431×fma-def_binary32
378×associate-/r*_binary32
357×times-frac_binary32
249×associate-/l*_binary32
Counts
155 → 194
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02602854
15652690
216372568
345982568
449612568

prune408.0ms (5.2%)

Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New18113194
Fresh000
Picked101
Done000
Total18213195
Error
0.0b
Counts
195 → 13
Alt Table
StatusErrorProgram
1.3b
(*.f32 (sqrt.f32 (exp.f32 (log.f32 (/.f32 u1 (-.f32 1 u1))))) (cos.f32 (*.f32 314159265359/50000000000 u2)))
0.7b
(*.f32 (sqrt.f32 (/.f32 (*.f32 (cbrt.f32 u1) (cbrt.f32 u1)) (+.f32 1 (sqrt.f32 u1)))) (*.f32 (sqrt.f32 (/.f32 (cbrt.f32 u1) (-.f32 1 (sqrt.f32 u1)))) (cos.f32 (*.f32 314159265359/50000000000 u2))))
0.9b
(*.f32 (*.f32 (cbrt.f32 (*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (cos.f32 (*.f32 314159265359/50000000000 u2)))) (cbrt.f32 (*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (cos.f32 (*.f32 314159265359/50000000000 u2))))) (cbrt.f32 (*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (cos.f32 (*.f32 314159265359/50000000000 u2)))))
0.6b
(*.f32 (sqrt.f32 (/.f32 (sqrt.f32 u1) (*.f32 (cbrt.f32 (-.f32 1 u1)) (cbrt.f32 (-.f32 1 u1))))) (*.f32 (sqrt.f32 (/.f32 (sqrt.f32 u1) (cbrt.f32 (-.f32 1 u1)))) (cos.f32 (*.f32 314159265359/50000000000 u2))))
0.9b
(*.f32 (*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (sqrt.f32 (cos.f32 (*.f32 314159265359/50000000000 u2)))) (sqrt.f32 (cos.f32 (*.f32 314159265359/50000000000 u2))))
0.4b
(*.f32 (sqrt.f32 (/.f32 1 (+.f32 (/.f32 1 u1) -1))) (cos.f32 (*.f32 314159265359/50000000000 u2)))
7.6b
(*.f32 (sqrt.f32 u1) (cos.f32 (*.f32 314159265359/50000000000 u2)))
0.5b
(*.f32 (sqrt.f32 u1) (*.f32 (sqrt.f32 (/.f32 1 (-.f32 1 u1))) (cos.f32 (*.f32 314159265359/50000000000 u2))))
0.3b
(*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (cos.f32 (expm1.f32 (log1p.f32 (*.f32 314159265359/50000000000 u2)))))
1.6b
(*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (-.f32 (+.f32 1 (*.f32 9740909103402808085817682884085781839780052161/150000000000000000000000000000000000000000000 (pow.f32 u2 4))) (+.f32 (*.f32 98696044010906577398881/5000000000000000000000 (pow.f32 u2 2)) (*.f32 961389193575684075633145058384385882649239799132134631991269883031841/11250000000000000000000000000000000000000000000000000000000000000000 (pow.f32 u2 6)))))
0.4b
(*.f32 (sqrt.f32 (*.f32 (/.f32 1 (*.f32 (cbrt.f32 (-.f32 1 u1)) (cbrt.f32 (-.f32 1 u1)))) (/.f32 u1 (cbrt.f32 (-.f32 1 u1))))) (cos.f32 (*.f32 314159265359/50000000000 u2)))
0.4b
(/.f32 (*.f32 (sqrt.f32 u1) (cos.f32 (*.f32 314159265359/50000000000 u2))) (sqrt.f32 (-.f32 1 u1)))
0.3b
(*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (cos.f32 (*.f32 (sqrt.f32 314159265359/50000000000) (*.f32 (sqrt.f32 314159265359/50000000000) u2))))
Compiler

Compiled 4477 to 3302 computations (26.2% saved)

localize37.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (cos.f32 (expm1.f32 (log1p.f32 (*.f32 314159265359/50000000000 u2)))))
0.2b
(log1p.f32 (*.f32 314159265359/50000000000 u2))
0.3b
(expm1.f32 (log1p.f32 (*.f32 314159265359/50000000000 u2)))
0.3b
(*.f32 314159265359/50000000000 u2)

series33.0ms (0.4%)

Counts
3 → 44
Calls

3 calls:

28.0ms
(*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (cos.f32 (expm1.f32 (log1p.f32 (*.f32 314159265359/50000000000 u2)))))
3.0ms
(log1p.f32 (*.f32 314159265359/50000000000 u2))
2.0ms
(expm1.f32 (log1p.f32 (*.f32 314159265359/50000000000 u2)))

rewrite20.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt_binary32
27×associate-*l*_binary32
26×sqrt-prod_binary32
24×*-un-lft-identity_binary32
19×times-frac_binary32
Counts
3 → 71
Calls

3 calls:

14.0ms
(*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (cos.f32 (expm1.f32 (log1p.f32 (*.f32 314159265359/50000000000 u2)))))
1.0ms
(log1p.f32 (*.f32 314159265359/50000000000 u2))
0.0ms
(expm1.f32 (log1p.f32 (*.f32 314159265359/50000000000 u2)))

simplify127.0ms (1.6%)

Algorithm
egg-herbie
Rules
524×fma-neg_binary32
442×associate-*l*_binary32
405×fma-def_binary32
382×associate-*r*_binary32
322×associate-/r*_binary32
Counts
115 → 150
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02332365
15122238
214812114
345552109
449892109
549362109

prune250.0ms (3.2%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1693172
Fresh3912
Picked101
Done000
Total17312185
Error
0.0b
Counts
185 → 12
Alt Table
StatusErrorProgram
1.3b
(*.f32 (sqrt.f32 (exp.f32 (log.f32 (/.f32 u1 (-.f32 1 u1))))) (cos.f32 (*.f32 314159265359/50000000000 u2)))
0.7b
(*.f32 (sqrt.f32 (/.f32 (*.f32 (cbrt.f32 u1) (cbrt.f32 u1)) (+.f32 1 (sqrt.f32 u1)))) (*.f32 (sqrt.f32 (/.f32 (cbrt.f32 u1) (-.f32 1 (sqrt.f32 u1)))) (cos.f32 (*.f32 314159265359/50000000000 u2))))
0.9b
(*.f32 (*.f32 (cbrt.f32 (*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (cos.f32 (*.f32 314159265359/50000000000 u2)))) (cbrt.f32 (*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (cos.f32 (*.f32 314159265359/50000000000 u2))))) (cbrt.f32 (*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (cos.f32 (*.f32 314159265359/50000000000 u2)))))
0.6b
(*.f32 (sqrt.f32 (/.f32 (sqrt.f32 u1) (*.f32 (cbrt.f32 (-.f32 1 u1)) (cbrt.f32 (-.f32 1 u1))))) (*.f32 (sqrt.f32 (/.f32 (sqrt.f32 u1) (cbrt.f32 (-.f32 1 u1)))) (cos.f32 (*.f32 314159265359/50000000000 u2))))
0.9b
(*.f32 (*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (sqrt.f32 (cos.f32 (*.f32 314159265359/50000000000 u2)))) (sqrt.f32 (cos.f32 (*.f32 314159265359/50000000000 u2))))
0.4b
(*.f32 (sqrt.f32 (/.f32 1 (+.f32 (/.f32 1 u1) -1))) (cos.f32 (*.f32 314159265359/50000000000 u2)))
7.6b
(*.f32 (sqrt.f32 u1) (cos.f32 (*.f32 314159265359/50000000000 u2)))
0.6b
(*.f32 (sqrt.f32 (/.f32 (sqrt.f32 u1) (+.f32 1 (sqrt.f32 u1)))) (*.f32 (sqrt.f32 (/.f32 (sqrt.f32 u1) (-.f32 1 (sqrt.f32 u1)))) (cos.f32 (expm1.f32 (log1p.f32 (*.f32 314159265359/50000000000 u2))))))
1.6b
(*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (-.f32 (+.f32 1 (*.f32 9740909103402808085817682884085781839780052161/150000000000000000000000000000000000000000000 (pow.f32 u2 4))) (+.f32 (*.f32 98696044010906577398881/5000000000000000000000 (pow.f32 u2 2)) (*.f32 961389193575684075633145058384385882649239799132134631991269883031841/11250000000000000000000000000000000000000000000000000000000000000000 (pow.f32 u2 6)))))
0.4b
(*.f32 (sqrt.f32 (*.f32 (/.f32 1 (*.f32 (cbrt.f32 (-.f32 1 u1)) (cbrt.f32 (-.f32 1 u1)))) (/.f32 u1 (cbrt.f32 (-.f32 1 u1))))) (cos.f32 (*.f32 314159265359/50000000000 u2)))
0.4b
(/.f32 (*.f32 (sqrt.f32 u1) (cos.f32 (expm1.f32 (log1p.f32 (*.f32 314159265359/50000000000 u2))))) (sqrt.f32 (-.f32 1 u1)))
0.5b
(*.f32 (sqrt.f32 (/.f32 1 (sqrt.f32 (-.f32 1 u1)))) (*.f32 (sqrt.f32 (/.f32 u1 (sqrt.f32 (-.f32 1 u1)))) (cos.f32 (expm1.f32 (log1p.f32 (*.f32 314159265359/50000000000 u2))))))
Compiler

Compiled 4405 to 3394 computations (23% saved)

localize35.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(+.f32 (/.f32 1 u1) -1)
0.2b
(*.f32 (sqrt.f32 (/.f32 1 (+.f32 (/.f32 1 u1) -1))) (cos.f32 (*.f32 314159265359/50000000000 u2)))
0.2b
(/.f32 1 (+.f32 (/.f32 1 u1) -1))
0.3b
(*.f32 314159265359/50000000000 u2)

series36.0ms (0.5%)

Counts
3 → 44
Calls

3 calls:

31.0ms
(*.f32 (sqrt.f32 (/.f32 1 (+.f32 (/.f32 1 u1) -1))) (cos.f32 (*.f32 314159265359/50000000000 u2)))
3.0ms
(/.f32 1 (+.f32 (/.f32 1 u1) -1))
1.0ms
(+.f32 (/.f32 1 u1) -1)

rewrite39.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
78×add-sqr-sqrt_binary32
75×times-frac_binary32
70×*-un-lft-identity_binary32
37×add-cube-cbrt_binary32
33×associate-*l*_binary32
Counts
3 → 140
Calls

3 calls:

15.0ms
(*.f32 (sqrt.f32 (/.f32 1 (+.f32 (/.f32 1 u1) -1))) (cos.f32 (*.f32 314159265359/50000000000 u2)))
7.0ms
(/.f32 1 (+.f32 (/.f32 1 u1) -1))
7.0ms
(+.f32 (/.f32 1 u1) -1)

simplify120.0ms (1.5%)

Algorithm
egg-herbie
Rules
563×times-frac_binary32
406×associate-*l*_binary32
404×fma-def_binary32
323×fma-neg_binary32
283×associate-/l*_binary32
Counts
184 → 224
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01953451
14563312
214063160
346073156
449303156

prune365.0ms (4.6%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New2442246
Fresh3811
Picked011
Done000
Total24711258
Error
0.0b
Counts
258 → 11
Alt Table
StatusErrorProgram
0.9b
(*.f32 (*.f32 (cbrt.f32 (*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (cos.f32 (*.f32 314159265359/50000000000 u2)))) (cbrt.f32 (*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (cos.f32 (*.f32 314159265359/50000000000 u2))))) (cbrt.f32 (*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (cos.f32 (*.f32 314159265359/50000000000 u2)))))
0.9b
(*.f32 (*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (sqrt.f32 (cos.f32 (*.f32 314159265359/50000000000 u2)))) (sqrt.f32 (cos.f32 (*.f32 314159265359/50000000000 u2))))
0.4b
(*.f32 (sqrt.f32 (/.f32 1 (+.f32 (/.f32 1 u1) -1))) (cos.f32 (*.f32 314159265359/50000000000 u2)))
7.6b
(*.f32 (sqrt.f32 u1) (cos.f32 (*.f32 314159265359/50000000000 u2)))
0.6b
(*.f32 (sqrt.f32 (/.f32 (sqrt.f32 u1) (+.f32 1 (sqrt.f32 u1)))) (*.f32 (sqrt.f32 (/.f32 (sqrt.f32 u1) (-.f32 1 (sqrt.f32 u1)))) (cos.f32 (expm1.f32 (log1p.f32 (*.f32 314159265359/50000000000 u2))))))
0.5b
(*.f32 (sqrt.f32 (/.f32 1 (*.f32 (+.f32 (sqrt.f32 (/.f32 1 u1)) 1) (-.f32 (sqrt.f32 (/.f32 1 u1)) 1)))) (cos.f32 (*.f32 314159265359/50000000000 u2)))
0.7b
(*.f32 (sqrt.f32 (/.f32 (*.f32 (cbrt.f32 u1) (cbrt.f32 u1)) (+.f32 1 (sqrt.f32 u1)))) (*.f32 (sqrt.f32 (/.f32 (cbrt.f32 u1) (-.f32 1 (sqrt.f32 u1)))) (cos.f32 (*.f32 314159265359/50000000000 u2))))
1.3b
(*.f32 (sqrt.f32 (exp.f32 (neg.f32 (log.f32 (+.f32 -1 (/.f32 1 u1)))))) (cos.f32 (*.f32 314159265359/50000000000 u2)))
0.4b
(*.f32 (sqrt.f32 (*.f32 (/.f32 1 (*.f32 (cbrt.f32 (-.f32 1 u1)) (cbrt.f32 (-.f32 1 u1)))) (/.f32 u1 (cbrt.f32 (-.f32 1 u1))))) (cos.f32 (*.f32 314159265359/50000000000 u2)))
0.4b
(/.f32 (*.f32 (sqrt.f32 u1) (cos.f32 (expm1.f32 (log1p.f32 (*.f32 314159265359/50000000000 u2))))) (sqrt.f32 (-.f32 1 u1)))
0.5b
(*.f32 (sqrt.f32 (/.f32 1 (sqrt.f32 (-.f32 1 u1)))) (*.f32 (sqrt.f32 (/.f32 u1 (sqrt.f32 (-.f32 1 u1)))) (cos.f32 (expm1.f32 (log1p.f32 (*.f32 314159265359/50000000000 u2))))))
Compiler

Compiled 5935 to 5002 computations (15.7% saved)

localize43.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(/.f32 (*.f32 (sqrt.f32 u1) (cos.f32 (expm1.f32 (log1p.f32 (*.f32 314159265359/50000000000 u2))))) (sqrt.f32 (-.f32 1 u1)))
0.2b
(log1p.f32 (*.f32 314159265359/50000000000 u2))
0.3b
(expm1.f32 (log1p.f32 (*.f32 314159265359/50000000000 u2)))
0.3b
(*.f32 314159265359/50000000000 u2)

series32.0ms (0.4%)

Counts
1 → 16
Calls

1 calls:

32.0ms
(/.f32 (*.f32 (sqrt.f32 u1) (cos.f32 (expm1.f32 (log1p.f32 (*.f32 314159265359/50000000000 u2))))) (sqrt.f32 (-.f32 1 u1)))

rewrite10.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
12×sqrt-prod_binary32
11×*-un-lft-identity_binary32
11×add-sqr-sqrt_binary32
associate-/r*_binary32
times-frac_binary32
Counts
1 → 37
Calls

1 calls:

7.0ms
(/.f32 (*.f32 (sqrt.f32 u1) (cos.f32 (expm1.f32 (log1p.f32 (*.f32 314159265359/50000000000 u2))))) (sqrt.f32 (-.f32 1 u1)))

simplify70.0ms (0.9%)

Algorithm
egg-herbie
Rules
525×times-frac_binary32
464×associate-/l*_binary32
415×associate-/r*_binary32
316×associate-*l*_binary32
243×fma-def_binary32
Counts
53 → 71
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01481464
13641321
211951251
342981218
450001218

prune197.0ms (2.5%)

Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1450145
Fresh099
Picked011
Done011
Total14511156
Error
0.0b
Counts
156 → 11
Alt Table
StatusErrorProgram
0.9b
(*.f32 (*.f32 (cbrt.f32 (*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (cos.f32 (*.f32 314159265359/50000000000 u2)))) (cbrt.f32 (*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (cos.f32 (*.f32 314159265359/50000000000 u2))))) (cbrt.f32 (*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (cos.f32 (*.f32 314159265359/50000000000 u2)))))
0.9b
(*.f32 (*.f32 (sqrt.f32 (/.f32 u1 (-.f32 1 u1))) (sqrt.f32 (cos.f32 (*.f32 314159265359/50000000000 u2)))) (sqrt.f32 (cos.f32 (*.f32 314159265359/50000000000 u2))))
0.4b
(*.f32 (sqrt.f32 (/.f32 1 (+.f32 (/.f32 1 u1) -1))) (cos.f32 (*.f32 314159265359/50000000000 u2)))
7.6b
(*.f32 (sqrt.f32 u1) (cos.f32 (*.f32 314159265359/50000000000 u2)))
0.6b
(*.f32 (sqrt.f32 (/.f32 (sqrt.f32 u1) (+.f32 1 (sqrt.f32 u1)))) (*.f32 (sqrt.f32 (/.f32 (sqrt.f32 u1) (-.f32 1 (sqrt.f32 u1)))) (cos.f32 (expm1.f32 (log1p.f32 (*.f32 314159265359/50000000000 u2))))))
0.5b
(*.f32 (sqrt.f32 (/.f32 1 (*.f32 (+.f32 (sqrt.f32 (/.f32 1 u1)) 1) (-.f32 (sqrt.f32 (/.f32 1 u1)) 1)))) (cos.f32 (*.f32 314159265359/50000000000 u2)))
0.7b
(*.f32 (sqrt.f32 (/.f32 (*.f32 (cbrt.f32 u1) (cbrt.f32 u1)) (+.f32 1 (sqrt.f32 u1)))) (*.f32 (sqrt.f32 (/.f32 (cbrt.f32 u1) (-.f32 1 (sqrt.f32 u1)))) (cos.f32 (*.f32 314159265359/50000000000 u2))))
1.3b
(*.f32 (sqrt.f32 (exp.f32 (neg.f32 (log.f32 (+.f32 -1 (/.f32 1 u1)))))) (cos.f32 (*.f32 314159265359/50000000000 u2)))
0.4b
(*.f32 (sqrt.f32 (*.f32 (/.f32 1 (*.f32 (cbrt.f32 (-.f32 1 u1)) (cbrt.f32 (-.f32 1 u1)))) (/.f32 u1 (cbrt.f32 (-.f32 1 u1))))) (cos.f32 (*.f32 314159265359/50000000000 u2)))
0.4b
(/.f32 (*.f32 (sqrt.f32 u1) (cos.f32 (expm1.f32 (log1p.f32 (*.f32 314159265359/50000000000 u2))))) (sqrt.f32 (-.f32 1 u1)))
0.5b
(*.f32 (sqrt.f32 (/.f32 1 (sqrt.f32 (-.f32 1 u1)))) (*.f32 (sqrt.f32 (/.f32 u1 (sqrt.f32 (-.f32 1 u1)))) (cos.f32 (expm1.f32 (log1p.f32 (*.f32 314159265359/50000000000 u2))))))
Compiler

Compiled 3384 to 2554 computations (24.5% saved)

regimes3.2s (40.3%)

Accuracy

Total 0.2b remaining (73.9%)

Threshold costs 0.2b (73.9%)

Counts
267 → 1
Compiler

Compiled 51401 to 41463 computations (19.3% saved)

simplify3.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
01321
11921
22321
32521
42621
52521

end173.0ms (2.2%)

Compiler

Compiled 285 to 228 computations (20% saved)

Profiling

Loading profile data...