Details

Time bar (total: 8.7s)

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

sample96.0ms (1.1%)

Algorithm
intervals
Results
31.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.3b
Counts
3 → 2
Alt Table
StatusErrorProgram
14.2b
(*.f32 (sqrt.f32 (neg.f32 (log.f32 (-.f32 1 u1)))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))
0.3b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))
Compiler

Compiled 90 to 77 computations (14.4% saved)

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

series200.0ms (2.3%)

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

rewrite16.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))
2.0ms
(sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))

simplify116.0ms (1.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

prune227.0ms (2.6%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New15711168
Fresh101
Picked101
Done000
Total15911170
Error
0.1b
Counts
170 → 11
Alt Table
StatusErrorProgram
0.7b
(*.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.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)))))
0.5b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (*.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 (*.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.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 (*.f32 (*.f32 2 (PI.f32)) u2)) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))
2.0b
(*.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 (expm1.f32 (log1p.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))
6.8b
(log.f32 (pow.f32 (exp.f32 (cos.f32 (*.f32 2 (*.f32 u2 (PI.f32))))) (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))))
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))))
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.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 5081 to 3094 computations (39.1% saved)

localize58.0ms (0.7%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(*.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)))))
0.3b
(*.f32 (*.f32 u2 u2) u2)
0.3b
(*.f32 (*.f32 (*.f32 (*.f32 2 (PI.f32)) (*.f32 2 (PI.f32))) (*.f32 2 (PI.f32))) (*.f32 (*.f32 u2 u2) u2))
1.0b
(*.f32 (*.f32 2 (PI.f32)) (*.f32 2 (PI.f32)))

series201.0ms (2.3%)

Counts
4 → 44
Calls

4 calls:

184.0ms
(*.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)))))
13.0ms
(*.f32 (*.f32 (*.f32 (*.f32 2 (PI.f32)) (*.f32 2 (PI.f32))) (*.f32 2 (PI.f32))) (*.f32 (*.f32 u2 u2) u2))
3.0ms
(*.f32 (*.f32 u2 u2) u2)
0.0ms
(*.f32 (*.f32 2 (PI.f32)) (*.f32 2 (PI.f32)))

rewrite119.0ms (1.4%)

Algorithm
rewrite-expression-head
Rules
817×pow1_binary32
401×pow-prod-down_binary32
218×add-cbrt-cube_binary32
215×add-exp-log_binary32
213×pow-prod-up_binary32
Counts
4 → 312
Calls

4 calls:

37.0ms
(*.f32 (*.f32 (*.f32 (*.f32 2 (PI.f32)) (*.f32 2 (PI.f32))) (*.f32 2 (PI.f32))) (*.f32 (*.f32 u2 u2) u2))
9.0ms
(*.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)))))
5.0ms
(*.f32 (*.f32 2 (PI.f32)) (*.f32 2 (PI.f32)))
4.0ms
(*.f32 (*.f32 u2 u2) u2)

simplify213.0ms (2.5%)

Algorithm
egg-herbie
Rules
554×fma-def_binary32
492×associate-*l*_binary32
418×associate-*r*_binary32
284×cancel-sign-sub-inv_binary32
247×log-prod_binary32
Counts
356 → 226
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
03317581
16915325
227065270
342465256
449055256
549405256

prune436.0ms (5%)

Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New2242226
Fresh1910
Picked011
Done000
Total22512237
Error
0.1b
Counts
237 → 12
Alt Table
StatusErrorProgram
0.4b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (cbrt.f32 (*.f32 (*.f32 (exp.f32 (log.f32 (*.f32 (*.f32 2 (PI.f32)) (*.f32 2 (PI.f32))))) (*.f32 2 (PI.f32))) (*.f32 (*.f32 u2 u2) 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 (*.f32 (*.f32 2 (PI.f32)) u2)) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))) (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.5b
(*.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (*.f32 (cbrt.f32 (cos.f32 (cbrt.f32 (*.f32 8 (*.f32 (pow.f32 u2 3) (pow.f32 (PI.f32) 3)))))) (cbrt.f32 (cos.f32 (cbrt.f32 (*.f32 8 (*.f32 (pow.f32 u2 3) (pow.f32 (PI.f32) 3)))))))) (cbrt.f32 (cos.f32 (cbrt.f32 (*.f32 (*.f32 (*.f32 (*.f32 2 (PI.f32)) (*.f32 2 (PI.f32))) (*.f32 2 (PI.f32))) (*.f32 (*.f32 u2 u2) u2))))))
0.7b
(*.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.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)))))
2.0b
(*.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 (expm1.f32 (log1p.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))
6.8b
(log.f32 (pow.f32 (exp.f32 (cos.f32 (*.f32 2 (*.f32 u2 (PI.f32))))) (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))))
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))))
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.5b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (*.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 (*.f32 (*.f32 2 (PI.f32)) u2)))))
Compiler

Compiled 8611 to 4829 computations (43.9% saved)

localize41.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 (expm1.f32 (log1p.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))
0.2b
(log1p.f32 (*.f32 (*.f32 2 (PI.f32)) u2))
0.3b
(expm1.f32 (log1p.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))
0.4b
(*.f32 (*.f32 2 (PI.f32)) u2)

series185.0ms (2.1%)

Counts
3 → 44
Calls

3 calls:

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

rewrite11.0ms (0.1%)

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

3 calls:

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

simplify104.0ms (1.2%)

Algorithm
egg-herbie
Rules
741×fma-def_binary32
500×times-frac_binary32
437×fma-neg_binary32
401×cancel-sign-sub-inv_binary32
286×associate-/r*_binary32
Counts
99 → 139
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02502959
16442759
220452648
346342628
453392628

prune247.0ms (2.9%)

Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New1661167
Fresh1910
Picked011
Done011
Total16712179
Error
0.1b
Counts
179 → 12
Alt Table
StatusErrorProgram
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 (cbrt.f32 (*.f32 8 (*.f32 (pow.f32 u2 3) (pow.f32 (PI.f32) 3)))))) (cbrt.f32 (cos.f32 (cbrt.f32 (*.f32 8 (*.f32 (pow.f32 u2 3) (pow.f32 (PI.f32) 3)))))))) (cbrt.f32 (cos.f32 (cbrt.f32 (*.f32 (*.f32 (*.f32 (*.f32 2 (PI.f32)) (*.f32 2 (PI.f32))) (*.f32 2 (PI.f32))) (*.f32 (*.f32 u2 u2) u2))))))
0.7b
(*.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.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)))))
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 (*.f32 (*.f32 2 (PI.f32)) u2)) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))
2.0b
(*.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 (expm1.f32 (log1p.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))
6.8b
(log.f32 (pow.f32 (exp.f32 (cos.f32 (*.f32 2 (*.f32 u2 (PI.f32))))) (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))))
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))))
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.7b
(+.f32 (*.f32 (*.f32 (cos.f32 (exp.f32 (log1p.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))) (cos.f32 1)) (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (*.f32 (*.f32 (sin.f32 (exp.f32 (log1p.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))) (sin.f32 1)) (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))))
0.5b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (*.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 (*.f32 (*.f32 2 (PI.f32)) u2)))))
Compiler

Compiled 5012 to 3032 computations (39.5% saved)

localize54.0ms (0.6%)

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

series42.0ms (0.5%)

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

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

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

simplify112.0ms (1.3%)

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

prune633.0ms (7.3%)

Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New3233326
Fresh279
Picked011
Done112
Total32612338
Error
0.1b
Counts
338 → 12
Alt Table
StatusErrorProgram
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 (*.f32 (*.f32 2 (PI.f32)) u2)) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))) (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 (*.f32 (*.f32 2 (PI.f32)) u2)) (cos.f32 (*.f32 (*.f32 2 (PI.f32)) u2))) (cos.f32 (*.f32 (*.f32 (cbrt.f32 (*.f32 2 (*.f32 u2 (PI.f32)))) (cbrt.f32 (*.f32 2 (*.f32 u2 (PI.f32))))) (cbrt.f32 (*.f32 2 (*.f32 u2 (PI.f32)))))))))
2.0b
(*.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
(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 (*.f32 2 (PI.f32)) (sqrt.f32 u2)) (sqrt.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 (cbrt.f32 (*.f32 8 (*.f32 (pow.f32 u2 3) (pow.f32 (PI.f32) 3)))))) (cbrt.f32 (cos.f32 (cbrt.f32 (*.f32 8 (*.f32 (pow.f32 u2 3) (pow.f32 (PI.f32) 3)))))))) (cbrt.f32 (cos.f32 (cbrt.f32 (*.f32 (*.f32 (*.f32 (*.f32 2 (PI.f32)) (*.f32 2 (PI.f32))) (*.f32 2 (PI.f32))) (*.f32 (*.f32 u2 u2) u2))))))
0.4b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (expm1.f32 (log1p.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))
6.8b
(log.f32 (pow.f32 (exp.f32 (cos.f32 (*.f32 2 (*.f32 u2 (PI.f32))))) (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))))
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))))
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
(cbrt.f32 (*.f32 (*.f32 (cbrt.f32 (pow.f32 (neg.f32 (log1p.f32 (neg.f32 u1))) 3)) (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.7b
(+.f32 (*.f32 (*.f32 (cos.f32 (exp.f32 (log1p.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))) (cos.f32 1)) (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (*.f32 (*.f32 (sin.f32 (exp.f32 (log1p.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))) (sin.f32 1)) (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))))
Compiler

Compiled 14793 to 7301 computations (50.6% saved)

regimes3.0s (34.6%)

Accuracy

Total 0.2b remaining (73.5%)

Threshold costs 0.2b (73.5%)

Counts
208 → 1
Compiler

Compiled 62040 to 48394 computations (22% 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
01934
12834
23234
33434
43434

end1.0ms (0%)

Compiler

Compiled 23 to 21 computations (8.7% saved)

sample2.1s (23.9%)

Algorithm
intervals
Results
931.0ms8000×body128valid
290.0ms8000×pre128true
0.0mspre128false
Compiler

Compiled 473 to 344 computations (27.3% saved)

Profiling

Loading profile data...