Details

Time bar (total: 8.4s)

analyze383.0ms (4.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)

sample101.0ms (1.2%)

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

Compiled 58 to 48 computations (17.2% saved)

simplify16.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.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.4b
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)))
13.1b
(*.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)

localize37.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))
0.2b
(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.4b
(*.f32 (*.f32 2 (PI.f32)) u2)

series202.0ms (2.4%)

Counts
4 → 52
Calls

4 calls:

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

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

simplify116.0ms (1.4%)

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

prune216.0ms (2.6%)

Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New15612168
Fresh011
Picked101
Done000
Total15713170
Error
0.2b
Counts
170 → 13
Alt Table
StatusErrorProgram
1.2b
(*.f32 (exp.f32 (log.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))))
1.8b
(*.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))))
2.1b
(*.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)))))
13.1b
(*.f32 (sqrt.f32 (neg.f32 (log.f32 (-.f32 1 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)))))
2.9b
(+.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.0b
(*.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)))))
2.2b
(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)))))
1.0b
(*.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))))
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)))) (log1p.f32 (expm1.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))
0.7b
(*.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)))
Compiler

Compiled 5171 to 3172 computations (38.7% saved)

localize47.0ms (0.6%)

Local error

Found 4 expressions with local error:

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

series181.0ms (2.1%)

Counts
2 → 32
Calls

2 calls:

174.0ms
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (log1p.f32 (expm1.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))
7.0ms
(expm1.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))

rewrite9.0ms (0.1%)

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

2 calls:

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

simplify88.0ms (1.1%)

Algorithm
egg-herbie
Rules
953×fma-neg_binary32
645×fma-def_binary32
384×cancel-sign-sub-inv_binary32
215×associate--l+_binary32
173×associate-/r*_binary32
Counts
74 → 102
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02052466
15282302
216162200
346122192
453972192

prune240.0ms (2.9%)

Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1505155
Fresh4812
Picked101
Done000
Total15513168
Error
0.2b
Counts
168 → 13
Alt Table
StatusErrorProgram
0.5b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (log1p.f32 (expm1.f32 (cos.f32 (exp.f32 (+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.f32 u2)))))))
1.2b
(*.f32 (exp.f32 (log.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))
1.7b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (log1p.f32 (exp.f32 (log.f32 (expm1.f32 (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)))))
1.0b
(*.f32 (*.f32 (cbrt.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (log1p.f32 (expm1.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))) (cbrt.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (log1p.f32 (expm1.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))))) (cbrt.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (log1p.f32 (expm1.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))))
1.8b
(*.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))))
2.1b
(*.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)))))
13.1b
(*.f32 (sqrt.f32 (neg.f32 (log.f32 (-.f32 1 u1)))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))
2.9b
(+.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)))))
2.2b
(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.4b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (log1p.f32 (log.f32 (exp.f32 (expm1.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))))
0.7b
(*.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)))
2.0b
(*.f32 (sqrt.f32 (*.f32 (cos.f32 (*.f32 2 (*.f32 (PI.f32) u2))) (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))))) (sqrt.f32 (*.f32 (cos.f32 (*.f32 2 (*.f32 (PI.f32) u2))) (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))))))
Compiler

Compiled 4670 to 2865 computations (38.7% saved)

localize50.0ms (0.6%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (log1p.f32 (log.f32 (exp.f32 (expm1.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))))
0.2b
(log.f32 (exp.f32 (expm1.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))
0.4b
(*.f32 (*.f32 2 (PI.f32)) u2)
0.7b
(expm1.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))

series186.0ms (2.2%)

Counts
2 → 32
Calls

2 calls:

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

rewrite14.0ms (0.2%)

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

2 calls:

10.0ms
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (log1p.f32 (log.f32 (exp.f32 (expm1.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))))
2.0ms
(log.f32 (exp.f32 (expm1.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))

simplify94.0ms (1.1%)

Algorithm
egg-herbie
Rules
953×fma-neg_binary32
645×fma-def_binary32
384×cancel-sign-sub-inv_binary32
215×associate--l+_binary32
173×associate-/r*_binary32
Counts
81 → 115
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02262763
15452448
216352346
346402338
454262338

prune276.0ms (3.3%)

Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1655170
Fresh6612
Picked011
Done000
Total17112183
Error
0.1b
Counts
183 → 12
Alt Table
StatusErrorProgram
1.0b
(*.f32 (*.f32 (cbrt.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (log1p.f32 (expm1.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))) (cbrt.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (log1p.f32 (expm1.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))))) (cbrt.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (log1p.f32 (expm1.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))))
1.8b
(*.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))))
13.1b
(*.f32 (sqrt.f32 (neg.f32 (log.f32 (-.f32 1 u1)))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))
0.5b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (log1p.f32 (+.f32 (log.f32 (*.f32 (cbrt.f32 (exp.f32 (expm1.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))) (cbrt.f32 (exp.f32 (expm1.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))))) (log.f32 (cbrt.f32 (exp.f32 (expm1.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))))))
0.5b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (log1p.f32 (-.f32 (log.f32 (exp.f32 (exp.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))) (log.f32 (exp.f32 1)))))
2.9b
(+.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.0b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (log1p.f32 (*.f32 (cbrt.f32 (expm1.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))) (log.f32 (exp.f32 (*.f32 (cbrt.f32 (expm1.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))) (cbrt.f32 (expm1.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))))))))
2.2b
(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.4b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (log1p.f32 (log.f32 (exp.f32 (expm1.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))))
0.7b
(*.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)))
1.8b
(*.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (sqrt.f32 (cos.f32 (*.f32 2 (*.f32 (PI.f32) u2))))) (sqrt.f32 (log1p.f32 (log.f32 (exp.f32 (expm1.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 2 (*.f32 (PI.f32) u2)))) (cbrt.f32 (cos.f32 (*.f32 2 (*.f32 (PI.f32) u2)))))) (cbrt.f32 (log1p.f32 (log.f32 (exp.f32 (expm1.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))))))
Compiler

Compiled 5321 to 3374 computations (36.6% saved)

localize64.0ms (0.8%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.4b
(*.f32 (*.f32 2 (PI.f32)) u2)
0.8b
(-.f32 (log.f32 (exp.f32 (exp.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))) (log.f32 (exp.f32 1)))
1.0b
(log.f32 (exp.f32 1))
1.1b
(exp.f32 (exp.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))

series18.0ms (0.2%)

Counts
3 → 24
Calls

3 calls:

10.0ms
(exp.f32 (exp.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))
8.0ms
(-.f32 (log.f32 (exp.f32 (exp.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))) (log.f32 (exp.f32 1)))
0.0ms
(log.f32 (exp.f32 1))

rewrite24.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
80×log-pow_binary32
60×exp-prod_binary32
52×*-un-lft-identity_binary32
49×prod-diff_binary32
42×add-sqr-sqrt_binary32
Counts
3 → 123
Calls

3 calls:

8.0ms
(-.f32 (log.f32 (exp.f32 (exp.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))) (log.f32 (exp.f32 1)))
2.0ms
(exp.f32 (exp.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))
1.0ms
(log.f32 (exp.f32 1))

simplify131.0ms (1.6%)

Algorithm
egg-herbie
Rules
1001×fma-neg_binary32
493×fma-def_binary32
354×*-commutative_binary32
329×sub-neg_binary32
256×cancel-sign-sub-inv_binary32
Counts
147 → 153
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
01862094
13482009
210621940
331291919
448871919
549901916
649061916

prune409.0ms (4.9%)

Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1783181
Fresh1910
Picked101
Done011
Total18013193
Error
0.1b
Counts
193 → 13
Alt Table
StatusErrorProgram
2.9b
(+.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.5b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (log1p.f32 (+.f32 (fma.f32 (exp.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))) (log.f32 (exp.f32 1)) (neg.f32 (*.f32 (sqrt.f32 (log.f32 (exp.f32 1))) (sqrt.f32 (log.f32 (exp.f32 1)))))) (fma.f32 (neg.f32 (sqrt.f32 (log.f32 (exp.f32 1)))) (sqrt.f32 (log.f32 (exp.f32 1))) (*.f32 (sqrt.f32 (log.f32 (exp.f32 1))) (sqrt.f32 (log.f32 (exp.f32 1))))))))
1.8b
(*.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (sqrt.f32 (cos.f32 (*.f32 2 (*.f32 (PI.f32) u2))))) (sqrt.f32 (log1p.f32 (log.f32 (exp.f32 (expm1.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))))))
1.3b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (log1p.f32 (fma.f32 (cbrt.f32 (exp.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))) (log.f32 (exp.f32 (*.f32 (cbrt.f32 (exp.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))) (cbrt.f32 (exp.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))))) -1)))
0.5b
(*.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (*.f32 (cbrt.f32 (cos.f32 (*.f32 2 (*.f32 (PI.f32) u2)))) (cbrt.f32 (cos.f32 (*.f32 2 (*.f32 (PI.f32) u2)))))) (cbrt.f32 (log1p.f32 (log.f32 (exp.f32 (expm1.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))))))
0.5b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (log1p.f32 (-.f32 (log.f32 (exp.f32 (exp.f32 (cos.f32 (exp.f32 (+.f32 (log.f32 (*.f32 2 (PI.f32))) (log.f32 u2))))))) (log.f32 (exp.f32 1)))))
1.0b
(*.f32 (*.f32 (cbrt.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (log1p.f32 (expm1.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))) (cbrt.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (log1p.f32 (expm1.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))))) (cbrt.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (log1p.f32 (expm1.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))))
1.8b
(*.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.5b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (log1p.f32 (+.f32 (log.f32 (*.f32 (cbrt.f32 (exp.f32 (expm1.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))) (cbrt.f32 (exp.f32 (expm1.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))))) (log.f32 (cbrt.f32 (exp.f32 (expm1.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))))))
1.0b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (log1p.f32 (*.f32 (cbrt.f32 (expm1.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))) (log.f32 (exp.f32 (*.f32 (cbrt.f32 (expm1.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))) (cbrt.f32 (expm1.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))))))))
2.2b
(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.4b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (log1p.f32 (log.f32 (exp.f32 (expm1.f32 (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))))
0.7b
(*.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)))
Compiler

Compiled 6279 to 4569 computations (27.2% saved)

regimes3.4s (40.1%)

Accuracy

Total 0.2b remaining (72.7%)

Threshold costs 0.2b (72.7%)

Counts
208 → 1
Compiler

Compiled 53834 to 45134 computations (16.2% 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
01422
12322
22722
32922
42922

end1.0ms (0%)

Compiler

Compiled 16 to 14 computations (12.5% saved)

sample2.1s (25.1%)

Algorithm
intervals
Results
951.0ms8000×body128valid
323.0ms8000×pre128true
0.0mspre128false
Compiler

Compiled 508 to 415 computations (18.3% saved)

Profiling

Loading profile data...