Details

Time bar (total: 11.4s)

analyze401.0ms (3.5%)

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.3s (20.2%)

Results
2.2s8256×body128valid
2.0msbody128invalid
Compiler

Compiled 94 to 76 computations (19.1% saved)

simplify15.0ms (0.1%)

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.4b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))
14.4b
(*.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.1b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))
0.4b
(*.f32 (*.f32 2 (PI.f32)) u2)

series198.0ms (1.7%)

Counts
4 → 52
Calls

4 calls:

180.0ms
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))
12.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)

rewrite19.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)
1.0ms
(cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))
1.0ms
(sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))

simplify122.0ms (1.1%)

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

prune222.0ms (1.9%)

Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New15612168
Fresh011
Picked101
Done000
Total15713170
Error
0.1b
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))))
1.4b
(*.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.6b
(*.f32 (sqrt.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (*.f32 (sqrt.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))
0.4b
(*.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.9b
(*.f32 (*.f32 (*.f32 (cbrt.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (cbrt.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))))) (cbrt.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))
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 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (log.f32 (exp.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))
0.4b
(*.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.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))))
2.5b
(+.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)))))
14.4b
(*.f32 (sqrt.f32 (neg.f32 (log.f32 (-.f32 1 u1)))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))
1.4b
(*.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (sqrt.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))) (sqrt.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))
0.4b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 (*.f32 (*.f32 2 (PI.f32)) (sqrt.f32 u2)) (sqrt.f32 u2))))
Compiler

Compiled 5079 to 3116 computations (38.6% saved)

localize46.0ms (0.4%)

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.1b
(*.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.5b
(+.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 (11.2%)

Counts
4 → 44
Calls

4 calls:

504.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)))))
267.0ms
(+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.f32 u2))
256.0ms
(cos.f32 (exp.f32 (+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.f32 u2))))
246.0ms
(exp.f32 (+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.f32 u2)))

rewrite29.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:

7.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
(exp.f32 (+.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
(+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.f32 u2))

simplify109.0ms (1%)

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

prune209.0ms (1.8%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1455150
Fresh5712
Picked101
Done000
Total15112163
Error
0.0b
Counts
163 → 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))))
0.6b
(*.f32 (sqrt.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (*.f32 (sqrt.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))
1.3b
(*.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (sqrt.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))) (sqrt.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 (*.f32 (*.f32 2 (PI.f32)) u2))))
2.5b
(+.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)))))
1.3b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (*.f32 (sqrt.f32 (cos.f32 (exp.f32 (+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.f32 u2))))) (sqrt.f32 (cos.f32 (exp.f32 (+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.f32 u2)))))))
14.4b
(*.f32 (sqrt.f32 (neg.f32 (log.f32 (-.f32 1 u1)))) (cos.f32 (exp.f32 (+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.f32 u2)))))
0.9b
(*.f32 (*.f32 (*.f32 (cbrt.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (cbrt.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))))) (cbrt.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))
1.1b
(*.f32 (exp.f32 (log.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))
14.4b
(*.f32 (sqrt.f32 (neg.f32 (log.f32 (-.f32 1 u1)))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))
0.9b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (log.f32 (exp.f32 (cos.f32 (exp.f32 (+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.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))))))
Compiler

Compiled 4584 to 2843 computations (38% saved)

localize74.0ms (0.6%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(*.f32 (cbrt.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))) (cbrt.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))
0.4b
(*.f32 (*.f32 2 (PI.f32)) u2)
0.5b
(+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.f32 u2))
1.4b
(exp.f32 (+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.f32 u2)))

series291.0ms (2.5%)

Counts
1 → 12
Calls

1 calls:

291.0ms
(*.f32 (cbrt.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))) (cbrt.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))

rewrite10.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt_binary32
16×cbrt-prod_binary32
*-un-lft-identity_binary32
add-cube-cbrt_binary32
pow1_binary32
Counts
1 → 42
Calls

1 calls:

6.0ms
(*.f32 (cbrt.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))) (cbrt.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))

simplify102.0ms (0.9%)

Algorithm
egg-herbie
Rules
833×distribute-rgt-neg-in_binary32
637×fma-def_binary32
479×cancel-sign-sub-inv_binary32
413×*-commutative_binary32
366×log-prod_binary32
Counts
54 → 65
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
0751251
11581219
24251019
31383983
43425824
54506824
64826824
74892824

prune412.0ms (3.6%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1785183
Fresh5611
Picked101
Done000
Total18411195
Error
0.0b
Counts
195 → 11
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 (exp.f32 (fma.f32 (sqrt.f32 (log.f32 (*.f32 2 (PI.f32)))) (sqrt.f32 (log.f32 (*.f32 2 (PI.f32)))) (log.f32 u2))))))
0.9b
(*.f32 (*.f32 (*.f32 (cbrt.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (cbrt.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))))) (cbrt.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))))) (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.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 (+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.f32 (sqrt.f32 u2))) (log.f32 (sqrt.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 (log1p.f32 (expm1.f32 (log.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))))))
1.4b
(*.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (*.f32 (*.f32 (cbrt.f32 (sqrt.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))) (cbrt.f32 (sqrt.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))) (*.f32 (cbrt.f32 (sqrt.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))) (cbrt.f32 (sqrt.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 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (*.f32 (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 (*.f32 (cbrt.f32 (*.f32 (cbrt.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))) (cbrt.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))) (cbrt.f32 (*.f32 (cbrt.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))) (cbrt.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))) (cbrt.f32 (*.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))))))
1.1b
(*.f32 (exp.f32 (log.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))
2.5b
(+.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)))))
0.9b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (log.f32 (exp.f32 (cos.f32 (exp.f32 (+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.f32 u2)))))))
Compiler

Compiled 7628 to 5003 computations (34.4% saved)

localize79.0ms (0.7%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(*.f32 (cbrt.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))) (cbrt.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))
0.4b
(*.f32 (*.f32 2 (PI.f32)) u2)
0.7b
(fma.f32 (sqrt.f32 (log.f32 (*.f32 2 (PI.f32)))) (sqrt.f32 (log.f32 (*.f32 2 (PI.f32)))) (log.f32 u2))
1.4b
(exp.f32 (fma.f32 (sqrt.f32 (log.f32 (*.f32 2 (PI.f32)))) (sqrt.f32 (log.f32 (*.f32 2 (PI.f32)))) (log.f32 u2)))

series1.1s (9.9%)

Counts
2 → 24
Calls

2 calls:

674.0ms
(fma.f32 (sqrt.f32 (log.f32 (*.f32 2 (PI.f32)))) (sqrt.f32 (log.f32 (*.f32 2 (PI.f32)))) (log.f32 u2))
460.0ms
(exp.f32 (fma.f32 (sqrt.f32 (log.f32 (*.f32 2 (PI.f32)))) (sqrt.f32 (log.f32 (*.f32 2 (PI.f32)))) (log.f32 u2)))

rewrite3.0ms (0%)

Algorithm
rewrite-expression-head
Rules
add-log-exp_binary32
*-un-lft-identity_binary32
add-sqr-sqrt_binary32
exp-prod_binary32
add-cube-cbrt_binary32
Counts
2 → 24
Calls

2 calls:

1.0ms
(exp.f32 (fma.f32 (sqrt.f32 (log.f32 (*.f32 2 (PI.f32)))) (sqrt.f32 (log.f32 (*.f32 2 (PI.f32)))) (log.f32 u2)))
0.0ms
(fma.f32 (sqrt.f32 (log.f32 (*.f32 2 (PI.f32)))) (sqrt.f32 (log.f32 (*.f32 2 (PI.f32)))) (log.f32 u2))

simplify58.0ms (0.5%)

Algorithm
egg-herbie
Rules
490×distribute-rgt-in_binary32
485×distribute-lft-in_binary32
419×associate-+l+_binary32
366×associate-*l*_binary32
322×fma-neg_binary32
Counts
48 → 48
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
047687
180495
2177495
3671495
44869495
55143495

prune423.0ms (3.7%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1663169
Fresh4610
Picked011
Done000
Total17010180
Error
0.0b
Counts
180 → 10
Alt Table
StatusErrorProgram
0.4b
(*.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (expm1.f32 (log1p.f32 (cbrt.f32 (pow.f32 (cos.f32 (*.f32 2 (*.f32 u2 (PI.f32)))) 2))))) (cbrt.f32 (cos.f32 (exp.f32 (fma.f32 (sqrt.f32 (log.f32 (*.f32 2 (PI.f32)))) (sqrt.f32 (log.f32 (*.f32 2 (PI.f32)))) (log.f32 u2))))))
0.6b
(*.f32 (sqrt.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (*.f32 (sqrt.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (cos.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 (fma.f32 (sqrt.f32 (log.f32 (*.f32 2 (PI.f32)))) (sqrt.f32 (log.f32 (*.f32 2 (PI.f32)))) (log.f32 u2))))))
0.9b
(*.f32 (*.f32 (*.f32 (cbrt.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (cbrt.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))))) (cbrt.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))
1.4b
(*.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (*.f32 (*.f32 (cbrt.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))) (sqrt.f32 (cbrt.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))) (sqrt.f32 (cbrt.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))) (cbrt.f32 (cos.f32 (exp.f32 (fma.f32 (sqrt.f32 (log.f32 (*.f32 2 (PI.f32)))) (sqrt.f32 (log.f32 (*.f32 2 (PI.f32)))) (log.f32 u2))))))
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.4b
(*.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (*.f32 (*.f32 (cbrt.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))) (*.f32 (cbrt.f32 (cbrt.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))) (cbrt.f32 (cbrt.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))) (cbrt.f32 (cbrt.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))) (cbrt.f32 (cos.f32 (exp.f32 (fma.f32 (sqrt.f32 (log.f32 (*.f32 2 (PI.f32)))) (sqrt.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 (*.f32 (*.f32 2 (PI.f32)) u2))))
0.9b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (log.f32 (exp.f32 (cos.f32 (exp.f32 (+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.f32 u2)))))))
1.4b
(*.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (*.f32 (*.f32 (cbrt.f32 (sqrt.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))) (cbrt.f32 (sqrt.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))) (*.f32 (cbrt.f32 (sqrt.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))) (cbrt.f32 (sqrt.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))))))
Compiler

Compiled 7599 to 5130 computations (32.5% saved)

regimes3.6s (31.5%)

Accuracy

Total 0.3b remaining (81.5%)

Threshold costs 0.3b (81.5%)

Counts
259 → 1
Compiler

Compiled 86969 to 71331 computations (18% 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
02757
14057
24457
34657
44457

end242.0ms (2.1%)

Compiler

Compiled 431 to 343 computations (20.4% saved)

Profiling

Loading profile data...