Details

Time bar (total: 9.8s)

analyze419.0ms (4.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 39 to 31 computations (20.5% saved)

sample2.4s (24.4%)

Results
2.3s8256×body128valid
2.0msbody128invalid
Compiler

Compiled 94 to 76 computations (19.1% saved)

simplify15.0ms (0.2%)

Algorithm
egg-herbie
Rules
40×fma-neg_binary32
22×sub-neg_binary32
17×cancel-sign-sub-inv_binary32
15×fma-def_binary32
11×*-commutative_binary32
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01422
12621
23821
34621
45621
56721
68221
710621
811921
912521
1014421
1114021
1216721
1318021
1418421
1518521
1616321

prune5.0ms (0%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.3b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.3b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))
12.8b
(*.f32 (sqrt.f32 (neg.f32 (log.f32 (-.f32 1 u1)))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))
Compiler

Compiled 90 to 77 computations (14.4% saved)

localize34.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))
0.1b
(cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))
0.2b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))
0.3b
(*.f32 (*.f32 2 (PI.f32)) u2)

series199.0ms (2%)

Counts
4 → 52
Calls

4 calls:

182.0ms
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))
11.0ms
(sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))
3.0ms
(cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))
3.0ms
(*.f32 (*.f32 2 (PI.f32)) u2)

rewrite17.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
21×sqrt-prod_binary32
18×add-sqr-sqrt_binary32
14×associate-*l*_binary32
13×*-un-lft-identity_binary32
13×add-cube-cbrt_binary32
Counts
4 → 82
Calls

4 calls:

6.0ms
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))
4.0ms
(*.f32 (*.f32 2 (PI.f32)) u2)
2.0ms
(cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))
1.0ms
(sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))

simplify120.0ms (1.2%)

Algorithm
egg-herbie
Rules
532×cancel-sign-sub-inv_binary32
449×fma-neg_binary32
324×times-frac_binary32
243×associate-/r*_binary32
229×associate-/l*_binary32
Counts
134 → 168
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02813614
17513315
224193199
345973191
450253191

prune270.0ms (2.8%)

Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New15612168
Fresh011
Picked101
Done000
Total15713170
Error
0.0b
Counts
170 → 13
Alt Table
StatusErrorProgram
0.4b
(*.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (*.f32 (cbrt.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))) (cbrt.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))) (cbrt.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))
3.1b
(exp.f32 (+.f32 (log.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (log.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))
2.2b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (*.f32 (sqrt.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))) (sqrt.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))
0.5b
(*.f32 (sqrt.f32 (*.f32 (cbrt.f32 (log1p.f32 (neg.f32 u1))) (cbrt.f32 (log1p.f32 (neg.f32 u1))))) (*.f32 (sqrt.f32 (neg.f32 (cbrt.f32 (log1p.f32 (neg.f32 u1))))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))
0.5b
(*.f32 (*.f32 (fabs.f32 (cbrt.f32 (log1p.f32 (neg.f32 u1)))) (sqrt.f32 (neg.f32 (cbrt.f32 (log1p.f32 (neg.f32 u1)))))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))
0.8b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (log.f32 (exp.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))
0.8b
(*.f32 (*.f32 (cbrt.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (cbrt.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))))) (*.f32 (cbrt.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))
2.3b
(fma.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (fma.f32 2/3 (*.f32 (pow.f32 u2 4) (pow.f32 (PI.f32) 4)) 1) (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (fma.f32 (pow.f32 (PI.f32) 6) (*.f32 (pow.f32 u2 6) -4/45) (*.f32 (pow.f32 (PI.f32) 2) (*.f32 (*.f32 u2 u2) -2)))))
0.3b
(cbrt.f32 (*.f32 (*.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (*.f32 (*.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))
0.3b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (cbrt.f32 (*.f32 (*.f32 (*.f32 (*.f32 2 (PI.f32)) (*.f32 2 (PI.f32))) (*.f32 2 (PI.f32))) (*.f32 (*.f32 u2 u2) u2)))))
6.1b
(log.f32 (exp.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))
0.3b
(log1p.f32 (expm1.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))
12.8b
(*.f32 (sqrt.f32 (neg.f32 (log.f32 (-.f32 1 u1)))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))
Compiler

Compiled 5147 to 3156 computations (38.7% saved)

localize46.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))
0.2b
(log1p.f32 (expm1.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))
0.2b
(expm1.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))
0.3b
(*.f32 (*.f32 2 (PI.f32)) u2)

series458.0ms (4.7%)

Counts
2 → 40
Calls

2 calls:

245.0ms
(expm1.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))
213.0ms
(log1p.f32 (expm1.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))

rewrite2.0ms (0%)

Algorithm
rewrite-expression-head
Rules
log1p-expm1-u_binary32
*-un-lft-identity_binary32
add-sqr-sqrt_binary32
add-cube-cbrt_binary32
add-cbrt-cube_binary32
Counts
2 → 22
Calls

2 calls:

1.0ms
(expm1.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))
0.0ms
(log1p.f32 (expm1.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))

simplify107.0ms (1.1%)

Algorithm
egg-herbie
Rules
589×cancel-sign-sub-inv_binary32
270×fma-def_binary32
269×fma-neg_binary32
250×associate-*r*_binary32
215×*-commutative_binary32
Counts
62 → 89
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
02924570
19164278
235834278
350784278

prune320.0ms (3.3%)

Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New1875192
Fresh3912
Picked101
Done000
Total19114205
Error
0.0b
Counts
205 → 14
Alt Table
StatusErrorProgram
0.4b
(*.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (*.f32 (cbrt.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))) (cbrt.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))) (cbrt.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))
3.1b
(exp.f32 (+.f32 (log.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (log.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))
3.0b
(log1p.f32 (exp.f32 (log.f32 (expm1.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))))
0.4b
(log1p.f32 (expm1.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (exp.f32 (+.f32 (+.f32 (log.f32 2) (log.f32 (PI.f32))) (log.f32 u2)))))))
0.5b
(*.f32 (*.f32 (fabs.f32 (cbrt.f32 (log1p.f32 (neg.f32 u1)))) (sqrt.f32 (neg.f32 (cbrt.f32 (log1p.f32 (neg.f32 u1)))))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))
0.8b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (log.f32 (exp.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))
0.8b
(*.f32 (*.f32 (cbrt.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (cbrt.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))))) (*.f32 (cbrt.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))
6.1b
(log1p.f32 (log.f32 (exp.f32 (expm1.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))))
0.3b
(cbrt.f32 (*.f32 (*.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (*.f32 (*.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))
0.3b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (cbrt.f32 (*.f32 (*.f32 (*.f32 (*.f32 2 (PI.f32)) (*.f32 2 (PI.f32))) (*.f32 2 (PI.f32))) (*.f32 (*.f32 u2 u2) u2)))))
6.1b
(log.f32 (exp.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))
2.2b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (*.f32 (sqrt.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))) (sqrt.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))
2.9b
(log1p.f32 (expm1.f32 (+.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (*.f32 (pow.f32 (PI.f32) 2) (fma.f32 (*.f32 2/3 (pow.f32 u2 4)) (pow.f32 (PI.f32) 2) (*.f32 (*.f32 u2 u2) -2)))))))
12.8b
(log1p.f32 (expm1.f32 (*.f32 (sqrt.f32 (neg.f32 (log.f32 (-.f32 1 u1)))) (cos.f32 (*.f32 2 (*.f32 (PI.f32) u2))))))
Compiler

Compiled 8816 to 5785 computations (34.4% saved)

localize60.0ms (0.6%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(*.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))
0.3b
(*.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))))
0.3b
(*.f32 (*.f32 2 (PI.f32)) u2)
0.6b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))))

series42.0ms (0.4%)

Counts
3 → 28
Calls

3 calls:

21.0ms
(*.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))))
13.0ms
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))))
7.0ms
(*.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))

rewrite46.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
65×pow1_binary32
61×sqrt-prod_binary32
50×add-sqr-sqrt_binary32
32×pow-prod-up_binary32
31×*-un-lft-identity_binary32
Counts
3 → 163
Calls

3 calls:

13.0ms
(*.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))))
11.0ms
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))))
6.0ms
(*.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))

simplify120.0ms (1.2%)

Algorithm
egg-herbie
Rules
564×fma-def_binary32
321×fma-neg_binary32
218×associate-*l*_binary32
209×associate-*r*_binary32
166×times-frac_binary32
Counts
191 → 242
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02523349
16022791
219022650
346602650
449862650

prune536.0ms (5.5%)

Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New3242326
Fresh21113
Picked101
Done000
Total32713340
Error
0.0b
Counts
340 → 13
Alt Table
StatusErrorProgram
0.4b
(*.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (*.f32 (cbrt.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))) (cbrt.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))) (cbrt.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))
3.1b
(exp.f32 (+.f32 (log.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (log.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))
3.0b
(log1p.f32 (exp.f32 (log.f32 (expm1.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))))
0.4b
(log1p.f32 (expm1.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (exp.f32 (+.f32 (+.f32 (log.f32 2) (log.f32 (PI.f32))) (log.f32 u2)))))))
0.5b
(*.f32 (*.f32 (fabs.f32 (cbrt.f32 (log1p.f32 (neg.f32 u1)))) (sqrt.f32 (neg.f32 (cbrt.f32 (log1p.f32 (neg.f32 u1)))))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))
0.8b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (log.f32 (exp.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))
0.8b
(*.f32 (*.f32 (cbrt.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (cbrt.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))))) (*.f32 (cbrt.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))
6.1b
(log1p.f32 (log.f32 (exp.f32 (expm1.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))))
6.1b
(log.f32 (exp.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))
0.3b
(cbrt.f32 (*.f32 (*.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (*.f32 (/.f32 (+.f32 1 (cos.f32 (*.f32 4 (*.f32 u2 (PI.f32))))) 2) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))
2.2b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (*.f32 (sqrt.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))) (sqrt.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))
0.3b
(cbrt.f32 (*.f32 (*.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (*.f32 (*.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))) (cos.f32 (exp.f32 (+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.f32 u2)))))))
12.8b
(log1p.f32 (expm1.f32 (*.f32 (sqrt.f32 (neg.f32 (log.f32 (-.f32 1 u1)))) (cos.f32 (*.f32 2 (*.f32 (PI.f32) u2))))))
Compiler

Compiled 15027 to 7506 computations (50% saved)

localize78.0ms (0.8%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(*.f32 (*.f32 2 (PI.f32)) u2)
0.4b
(+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.f32 u2))
0.6b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))))
1.4b
(exp.f32 (+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.f32 u2)))

series536.0ms (5.5%)

Counts
2 → 16
Calls

2 calls:

285.0ms
(+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.f32 u2))
251.0ms
(exp.f32 (+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.f32 u2)))

rewrite14.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
23×pow1_binary32
16×log-pow_binary32
15×*-un-lft-identity_binary32
12×distribute-lft-out_binary32
exp-prod_binary32
Counts
2 → 49
Calls

2 calls:

6.0ms
(exp.f32 (+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.f32 u2)))
5.0ms
(+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.f32 u2))

simplify71.0ms (0.7%)

Algorithm
egg-herbie
Rules
867×fma-def_binary32
390×fma-neg_binary32
272×prod-exp_binary32
242×associate-*l/_binary32
191×associate-*r/_binary32
Counts
65 → 62
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
067790
1146630
2441622
31728622
44208622
55111622

prune412.0ms (4.2%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New2213224
Fresh3912
Picked101
Done000
Total22512237
Error
0.0b
Counts
237 → 12
Alt Table
StatusErrorProgram
0.4b
(*.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (*.f32 (cbrt.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))) (cbrt.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))) (cbrt.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))
3.1b
(exp.f32 (+.f32 (log.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (log.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))
0.5b
(*.f32 (*.f32 (fabs.f32 (cbrt.f32 (log1p.f32 (neg.f32 u1)))) (sqrt.f32 (neg.f32 (cbrt.f32 (log1p.f32 (neg.f32 u1)))))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))
0.8b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (log.f32 (exp.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))
0.8b
(*.f32 (*.f32 (cbrt.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (cbrt.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))))) (*.f32 (cbrt.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))
6.1b
(log1p.f32 (log.f32 (exp.f32 (expm1.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))))
0.8b
(cbrt.f32 (*.f32 (*.f32 (exp.f32 (log.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (*.f32 (*.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))) (cos.f32 (exp.f32 (+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.f32 u2)))))))
0.3b
(cbrt.f32 (*.f32 (*.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (*.f32 (*.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)) (cos.f32 (exp.f32 (+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.f32 u2))))) (cos.f32 (exp.f32 (+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.f32 u2)))))))
0.3b
(cbrt.f32 (*.f32 (*.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (*.f32 (*.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))) (cos.f32 (exp.f32 (log.f32 (/.f32 (*.f32 2 (PI.f32)) (exp.f32 (neg.f32 (log.f32 u2))))))))))
0.3b
(cbrt.f32 (*.f32 (*.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (*.f32 (/.f32 (+.f32 1 (cos.f32 (*.f32 4 (*.f32 u2 (PI.f32))))) 2) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))
3.0b
(log1p.f32 (exp.f32 (log.f32 (expm1.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))))
12.8b
(log1p.f32 (expm1.f32 (*.f32 (sqrt.f32 (neg.f32 (log.f32 (-.f32 1 u1)))) (cos.f32 (*.f32 2 (*.f32 (PI.f32) u2))))))
Compiler

Compiled 10925 to 5266 computations (51.8% saved)

regimes3.3s (33.1%)

Accuracy

Total 0.2b remaining (78.1%)

Threshold costs 0.2b (78.1%)

Counts
240 → 1
Compiler

Compiled 78627 to 58895 computations (25.1% saved)

simplify5.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary32
distribute-rgt-neg-in_binary32
neg-sub0_binary32
neg-mul-1_binary32
distribute-lft-neg-in_binary32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02469
14169
25069
36469
47469
57669
67269

end237.0ms (2.4%)

Compiler

Compiled 433 to 316 computations (27% saved)

Profiling

Loading profile data...