Details

Time bar (total: 8.9s)

analyze392.0ms (4.4%)

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)

sample97.0ms (1.1%)

Algorithm
intervals
Results
33.0ms256×body128valid
9.0ms256×pre128true
Compiler

Compiled 58 to 48 computations (17.2% saved)

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

prune6.0ms (0.1%)

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.7b
(*.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)

localize42.0ms (0.5%)

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)

series308.0ms (3.5%)

Counts
4 → 52
Calls

4 calls:

286.0ms
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))
13.0ms
(sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))
4.0ms
(cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))
4.0ms
(*.f32 (*.f32 2 (PI.f32)) u2)

rewrite23.0ms (0.3%)

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:

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

simplify200.0ms (2.3%)

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

prune205.0ms (2.3%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New15810168
Fresh101
Picked101
Done000
Total16010170
Error
0.1b
Counts
170 → 10
Alt Table
StatusErrorProgram
1.1b
(*.f32 (exp.f32 (log.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))
0.3b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (exp.f32 (+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.f32 u2)))))
0.6b
(*.f32 (*.f32 (sqrt.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (sqrt.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))
0.5b
(*.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))))
0.6b
(*.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.9b
(*.f32 (*.f32 (cbrt.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))) (cbrt.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))) (cbrt.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))
0.3b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (log.f32 (exp.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))
0.9b
(*.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.5b
(*.f32 (*.f32 (sqrt.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (sqrt.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))) (*.f32 (sqrt.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (sqrt.f32 (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)))))
Compiler

Compiled 4995 to 3028 computations (39.4% saved)

localize48.0ms (0.5%)

Local error

Found 4 expressions with local error:

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

series233.0ms (2.6%)

Counts
3 → 44
Calls

3 calls:

227.0ms
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (log.f32 (exp.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))
3.0ms
(cos.f32 (log.f32 (exp.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))
3.0ms
(log.f32 (exp.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))

rewrite14.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt_binary32
13×associate-*l*_binary32
11×sqrt-prod_binary32
10×*-un-lft-identity_binary32
10×add-cube-cbrt_binary32
Counts
3 → 59
Calls

3 calls:

6.0ms
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (log.f32 (exp.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))
3.0ms
(cos.f32 (log.f32 (exp.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))
1.0ms
(log.f32 (exp.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))

simplify103.0ms (1.2%)

Algorithm
egg-herbie
Rules
789×fma-neg_binary32
592×fma-def_binary32
345×cancel-sign-sub-inv_binary32
271×associate-+l+_binary32
200×associate--l+_binary32
Counts
103 → 133
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02242876
15292664
215722534
348592528
454902528

prune233.0ms (2.6%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1592161
Fresh279
Picked011
Done000
Total16110171
Error
0.1b
Counts
171 → 10
Alt Table
StatusErrorProgram
1.1b
(*.f32 (exp.f32 (log.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))
0.3b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (exp.f32 (+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.f32 u2)))))
0.6b
(*.f32 (*.f32 (sqrt.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (sqrt.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))
0.5b
(*.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))))
0.6b
(*.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.9b
(*.f32 (*.f32 (cbrt.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))) (cbrt.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))) (cbrt.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))
0.3b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (log.f32 (exp.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))
0.4b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (-.f32 (*.f32 (cos.f32 (log.f32 (*.f32 (cbrt.f32 (exp.f32 (*.f32 (*.f32 2 (PI.f32)) u2))) (cbrt.f32 (exp.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))) (cos.f32 (log.f32 (cbrt.f32 (exp.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))) (*.f32 (sin.f32 (log.f32 (*.f32 (cbrt.f32 (exp.f32 (*.f32 (*.f32 2 (PI.f32)) u2))) (cbrt.f32 (exp.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))) (sin.f32 (log.f32 (cbrt.f32 (exp.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)))))
2.5b
(*.f32 (sqrt.f32 (*.f32 (cos.f32 (*.f32 2 (*.f32 u2 (PI.f32)))) (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))))) (sqrt.f32 (*.f32 (cos.f32 (*.f32 2 (*.f32 u2 (PI.f32)))) (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))))))
Compiler

Compiled 4674 to 2806 computations (40% saved)

localize49.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(cos.f32 (exp.f32 (+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.f32 u2))))
0.2b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (exp.f32 (+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.f32 u2)))))
0.4b
(+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.f32 u2))
1.4b
(exp.f32 (+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.f32 u2)))

series1.3s (14.8%)

Counts
4 → 44
Calls

4 calls:

534.0ms
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (exp.f32 (+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.f32 u2)))))
290.0ms
(exp.f32 (+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.f32 u2)))
254.0ms
(cos.f32 (exp.f32 (+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.f32 u2))))
241.0ms
(+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.f32 u2))

rewrite30.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
27×pow1_binary32
22×*-un-lft-identity_binary32
16×log-pow_binary32
16×add-sqr-sqrt_binary32
13×associate-*l*_binary32
Counts
4 → 89
Calls

4 calls:

8.0ms
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (exp.f32 (+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.f32 u2)))))
6.0ms
(+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.f32 u2))
6.0ms
(cos.f32 (exp.f32 (+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.f32 u2))))
5.0ms
(exp.f32 (+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.f32 u2)))

simplify110.0ms (1.2%)

Algorithm
egg-herbie
Rules
562×fma-def_binary32
392×associate-*l*_binary32
307×associate-*r*_binary32
233×fma-neg_binary32
210×distribute-rgt-in_binary32
Counts
133 → 150
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02083009
15032654
214962576
346302572
449602572

prune264.0ms (3%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1464150
Fresh268
Picked101
Done011
Total14911160
Error
0.0b
Counts
160 → 11
Alt Table
StatusErrorProgram
1.1b
(*.f32 (exp.f32 (log.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))
0.9b
(*.f32 (*.f32 (cbrt.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (exp.f32 (+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.f32 u2)))))) (cbrt.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (exp.f32 (+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.f32 u2))))))) (cbrt.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (exp.f32 (+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.f32 u2)))))))
0.6b
(*.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 (exp.f32 (+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.f32 u2))))))
2.5b
(*.f32 (sqrt.f32 (*.f32 (cos.f32 (*.f32 2 (*.f32 u2 (PI.f32)))) (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))))) (sqrt.f32 (*.f32 (cos.f32 (*.f32 2 (*.f32 u2 (PI.f32)))) (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))))))
0.9b
(*.f32 (*.f32 (cbrt.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))) (cbrt.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))) (cbrt.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))
0.3b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (log.f32 (exp.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))
0.4b
(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 (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))))) (cos.f32 (exp.f32 (+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.f32 u2)))))))
0.4b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (-.f32 (*.f32 (cos.f32 (log.f32 (*.f32 (cbrt.f32 (exp.f32 (*.f32 (*.f32 2 (PI.f32)) u2))) (cbrt.f32 (exp.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))) (cos.f32 (log.f32 (cbrt.f32 (exp.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))) (*.f32 (sin.f32 (log.f32 (*.f32 (cbrt.f32 (exp.f32 (*.f32 (*.f32 2 (PI.f32)) u2))) (cbrt.f32 (exp.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))) (sin.f32 (log.f32 (cbrt.f32 (exp.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))))))
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 (exp.f32 (+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.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.5b
(*.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))))
Compiler

Compiled 4729 to 2928 computations (38.1% saved)

localize89.0ms (1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
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.4b
(+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.f32 u2))
0.5b
(*.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)))

series36.0ms (0.4%)

Counts
2 → 16
Calls

2 calls:

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

rewrite38.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
61×sqrt-prod_binary32
57×pow1_binary32
43×add-sqr-sqrt_binary32
31×pow-prod-up_binary32
29×sqrt-pow1_binary32
Counts
2 → 134
Calls

2 calls:

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

simplify106.0ms (1.2%)

Algorithm
egg-herbie
Rules
488×fma-def_binary32
426×associate-+l+_binary32
276×associate-+r+_binary32
216×fma-neg_binary32
170×associate-*l*_binary32
Counts
150 → 191
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01902558
14502158
214892054
347792052
450092052

prune783.0ms (8.8%)

Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New3725377
Fresh189
Picked101
Done011
Total37414388
Error
0.0b
Counts
388 → 14
Alt Table
StatusErrorProgram
1.1b
(*.f32 (exp.f32 (log.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))
0.9b
(*.f32 (*.f32 (cbrt.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (exp.f32 (+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.f32 u2)))))) (cbrt.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (exp.f32 (+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.f32 u2))))))) (cbrt.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (exp.f32 (+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.f32 u2)))))))
1.4b
(cbrt.f32 (*.f32 (exp.f32 (*.f32 3 (log.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))))) (*.f32 (*.f32 (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))))) (cos.f32 (exp.f32 (+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.f32 u2)))))))
0.3b
(cbrt.f32 (*.f32 (pow.f32 (neg.f32 (log1p.f32 (neg.f32 u1))) 3/2) (*.f32 (*.f32 (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))))) (cos.f32 (exp.f32 (+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.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.4b
(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 (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))))) (cos.f32 (exp.f32 (+.f32 (fma.f32 2 (log.f32 (cbrt.f32 u2)) (log.f32 (*.f32 2 (PI.f32)))) (log.f32 (cbrt.f32 u2))))))))
0.9b
(*.f32 (*.f32 (cbrt.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))) (cbrt.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))) (cbrt.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))
0.3b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (log.f32 (exp.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))
0.4b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (-.f32 (*.f32 (cos.f32 (log.f32 (*.f32 (cbrt.f32 (exp.f32 (*.f32 (*.f32 2 (PI.f32)) u2))) (cbrt.f32 (exp.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))) (cos.f32 (log.f32 (cbrt.f32 (exp.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))) (*.f32 (sin.f32 (log.f32 (*.f32 (cbrt.f32 (exp.f32 (*.f32 (*.f32 2 (PI.f32)) u2))) (cbrt.f32 (exp.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))) (sin.f32 (log.f32 (cbrt.f32 (exp.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))))))
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 (exp.f32 (+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.f32 u2))))))
0.6b
(*.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 (exp.f32 (+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.f32 u2))))))
0.4b
(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 (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))))) (cos.f32 (expm1.f32 (log1p.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))))
18.2b
(cbrt.f32 (*.f32 (log.f32 (exp.f32 (pow.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) 3))) (*.f32 (*.f32 (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))))) (cos.f32 (exp.f32 (+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.f32 u2)))))))
0.5b
(*.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))))
Compiler

Compiled 20706 to 10851 computations (47.6% saved)

regimes1.7s (19.5%)

Accuracy

Total 0.3b remaining (82.2%)

Threshold costs 0.3b (82.2%)

Counts
139 → 1
Compiler

Compiled 44826 to 33556 computations (25.1% 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
01626
12526
22926
33126
43126

end1.0ms (0%)

Compiler

Compiled 18 to 16 computations (11.1% saved)

sample2.4s (27.2%)

Algorithm
intervals
Results
986.0ms8000×body128valid
500.0ms8000×pre128true
0.0mspre128false
Compiler

Compiled 602 to 457 computations (24.1% saved)

Profiling

Loading profile data...