Details

Time bar (total: 9.7s)

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

sample2.6s (27%)

Results
2.6s8256×body128valid
1.0msbody128invalid
Compiler

Compiled 94 to 76 computations (19.1% saved)

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

prune6.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

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

Compiled 90 to 77 computations (14.4% saved)

localize36.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
(sin.f32 (*.f32 (*.f32 2 (PI.f32)) u2))
0.3b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (sin.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))
0.3b
(*.f32 (*.f32 2 (PI.f32)) u2)

series221.0ms (2.3%)

Counts
4 → 52
Calls

4 calls:

201.0ms
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (sin.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))
13.0ms
(sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))
4.0ms
(sin.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:

7.0ms
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (sin.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))
4.0ms
(*.f32 (*.f32 2 (PI.f32)) u2)
2.0ms
(sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))
2.0ms
(sin.f32 (*.f32 (*.f32 2 (PI.f32)) u2))

simplify146.0ms (1.5%)

Algorithm
egg-herbie
Rules
553×cancel-sign-sub-inv_binary32
510×fma-neg_binary32
360×times-frac_binary32
236×associate-*l*_binary32
224×fma-def_binary32
Counts
134 → 166
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02863674
17763341
225593238
344833212
450793212

prune194.0ms (2%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New15511166
Fresh011
Picked101
Done000
Total15612168
Error
0.0b
Counts
168 → 12
Alt Table
StatusErrorProgram
1.7b
(-.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (fma.f32 2 (*.f32 u2 (PI.f32)) (*.f32 4/15 (*.f32 (pow.f32 u2 5) (pow.f32 (PI.f32) 5))))) (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (fma.f32 4/3 (pow.f32 (*.f32 u2 (PI.f32)) 3) (*.f32 8/315 (*.f32 (pow.f32 u2 7) (pow.f32 (PI.f32) 7))))))
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))))) (sin.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))
0.7b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (sin.f32 (*.f32 (*.f32 (*.f32 2 (PI.f32)) (sqrt.f32 u2)) (sqrt.f32 u2))))
0.6b
(*.f32 (*.f32 (fabs.f32 (cbrt.f32 (log1p.f32 (neg.f32 u1)))) (sqrt.f32 (neg.f32 (cbrt.f32 (log1p.f32 (neg.f32 u1)))))) (sin.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))
0.9b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (sin.f32 (*.f32 (*.f32 (*.f32 2 (PI.f32)) (*.f32 (cbrt.f32 u2) (cbrt.f32 u2))) (cbrt.f32 u2))))
13.9b
(*.f32 (sqrt.f32 (neg.f32 (log.f32 (-.f32 1 u1)))) (sin.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))
5.2b
(*.f32 2 (*.f32 u2 (*.f32 (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)))) (sin.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))) (cbrt.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (sin.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))) (cbrt.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (sin.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))
0.5b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (sin.f32 (cbrt.f32 (*.f32 (*.f32 (*.f32 (*.f32 2 (PI.f32)) (*.f32 2 (PI.f32))) (*.f32 2 (PI.f32))) (*.f32 (*.f32 u2 u2) u2)))))
1.8b
(*.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (sqrt.f32 (sin.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))) (sqrt.f32 (sin.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))
0.8b
(*.f32 (sqrt.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (*.f32 (sqrt.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (sin.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))
0.9b
(*.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (*.f32 (cbrt.f32 (sin.f32 (*.f32 (*.f32 2 (PI.f32)) u2))) (cbrt.f32 (sin.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))) (cbrt.f32 (sin.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))
Compiler

Compiled 5142 to 3123 computations (39.3% saved)

localize60.0ms (0.6%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(*.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))
0.3b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (sin.f32 (cbrt.f32 (*.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)))

series233.0ms (2.4%)

Counts
4 → 44
Calls

4 calls:

216.0ms
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (sin.f32 (cbrt.f32 (*.f32 (*.f32 (*.f32 (*.f32 2 (PI.f32)) (*.f32 2 (PI.f32))) (*.f32 2 (PI.f32))) (*.f32 (*.f32 u2 u2) u2)))))
14.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)))

rewrite123.0ms (1.3%)

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:

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

simplify240.0ms (2.5%)

Algorithm
egg-herbie
Rules
658×fma-def_binary32
486×associate-*l*_binary32
416×associate-*r*_binary32
289×cancel-sign-sub-inv_binary32
246×times-frac_binary32
Counts
356 → 227
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
03348080
17095417
227525379
343065370
449315370
549495370

prune290.0ms (3%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New2243227
Fresh4711
Picked101
Done000
Total22910239
Error
0.0b
Counts
239 → 10
Alt Table
StatusErrorProgram
0.5b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (sin.f32 (cbrt.f32 (*.f32 (*.f32 (*.f32 (pow.f32 (PI.f32) 3) 8) (*.f32 u2 u2)) u2))))
0.6b
(*.f32 (*.f32 (fabs.f32 (cbrt.f32 (log1p.f32 (neg.f32 u1)))) (sqrt.f32 (neg.f32 (cbrt.f32 (log1p.f32 (neg.f32 u1)))))) (sin.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))
0.9b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (sin.f32 (*.f32 (*.f32 (*.f32 2 (PI.f32)) (*.f32 (cbrt.f32 u2) (cbrt.f32 u2))) (cbrt.f32 u2))))
13.9b
(*.f32 (sqrt.f32 (neg.f32 (log.f32 (-.f32 1 u1)))) (sin.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))
1.8b
(*.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (sqrt.f32 (sin.f32 (cbrt.f32 (*.f32 (*.f32 (*.f32 (*.f32 2 (PI.f32)) (*.f32 2 (PI.f32))) (*.f32 2 (PI.f32))) (*.f32 (*.f32 u2 u2) u2)))))) (sqrt.f32 (sin.f32 (cbrt.f32 (*.f32 (*.f32 (*.f32 (*.f32 2 (PI.f32)) (*.f32 2 (PI.f32))) (*.f32 2 (PI.f32))) (*.f32 (*.f32 u2 u2) u2))))))
0.8b
(*.f32 (sqrt.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (*.f32 (sqrt.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (sin.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))))) (sin.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))
0.9b
(*.f32 (*.f32 (cbrt.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (sin.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))) (cbrt.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (sin.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))) (cbrt.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (sin.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))
2.9b
(fma.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (*.f32 (pow.f32 u2 3) (pow.f32 (PI.f32) 3))) -6004799503160661/4503599627370496 (*.f32 2 (*.f32 u2 (*.f32 (PI.f32) (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))))))
0.9b
(*.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (*.f32 (cbrt.f32 (sin.f32 (*.f32 (*.f32 2 (PI.f32)) u2))) (cbrt.f32 (sin.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))) (cbrt.f32 (sin.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))
Compiler

Compiled 8626 to 4800 computations (44.4% saved)

localize55.0ms (0.6%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(*.f32 (*.f32 (*.f32 (pow.f32 (PI.f32) 3) 8) (*.f32 u2 u2)) u2)
0.3b
(*.f32 (*.f32 (pow.f32 (PI.f32) 3) 8) (*.f32 u2 u2))
0.3b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (sin.f32 (cbrt.f32 (*.f32 (*.f32 (*.f32 (pow.f32 (PI.f32) 3) 8) (*.f32 u2 u2)) u2))))
1.0b
(pow.f32 (PI.f32) 3)

series212.0ms (2.2%)

Counts
4 → 44
Calls

4 calls:

185.0ms
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (sin.f32 (cbrt.f32 (*.f32 (*.f32 (*.f32 (pow.f32 (PI.f32) 3) 8) (*.f32 u2 u2)) u2))))
14.0ms
(*.f32 (*.f32 (*.f32 (pow.f32 (PI.f32) 3) 8) (*.f32 u2 u2)) u2)
12.0ms
(*.f32 (*.f32 (pow.f32 (PI.f32) 3) 8) (*.f32 u2 u2))
0.0ms
(pow.f32 (PI.f32) 3)

rewrite33.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
65×add-exp-log_binary32
46×prod-exp_binary32
37×add-cbrt-cube_binary32
22×cbrt-unprod_binary32
21×pow1_binary32
Counts
4 → 113
Calls

4 calls:

9.0ms
(*.f32 (*.f32 (*.f32 (pow.f32 (PI.f32) 3) 8) (*.f32 u2 u2)) u2)
7.0ms
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (sin.f32 (cbrt.f32 (*.f32 (*.f32 (*.f32 (pow.f32 (PI.f32) 3) 8) (*.f32 u2 u2)) u2))))
6.0ms
(*.f32 (*.f32 (pow.f32 (PI.f32) 3) 8) (*.f32 u2 u2))
2.0ms
(pow.f32 (PI.f32) 3)

simplify128.0ms (1.3%)

Algorithm
egg-herbie
Rules
613×fma-def_binary32
409×associate-*l*_binary32
373×unswap-sqr_binary32
351×associate-*r*_binary32
292×cancel-sign-sub-inv_binary32
Counts
157 → 175
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02844037
16983666
225223642
345633642
449713642

prune209.0ms (2.2%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1741175
Fresh279
Picked011
Done000
Total1769185
Error
0.0b
Counts
185 → 9
Alt Table
StatusErrorProgram
0.5b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (sin.f32 (cbrt.f32 (*.f32 (*.f32 (*.f32 (pow.f32 (PI.f32) 3) 8) (*.f32 u2 u2)) u2))))
0.6b
(*.f32 (*.f32 (fabs.f32 (cbrt.f32 (log1p.f32 (neg.f32 u1)))) (sqrt.f32 (neg.f32 (cbrt.f32 (log1p.f32 (neg.f32 u1)))))) (sin.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))
0.8b
(*.f32 (sqrt.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (*.f32 (sqrt.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (sin.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))))) (sin.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))
13.9b
(*.f32 (sqrt.f32 (neg.f32 (log.f32 (-.f32 1 u1)))) (sin.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))
0.9b
(*.f32 (*.f32 (cbrt.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (sin.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))) (cbrt.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (sin.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))) (cbrt.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (sin.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))
2.9b
(fma.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (*.f32 (pow.f32 u2 3) (pow.f32 (PI.f32) 3))) -6004799503160661/4503599627370496 (*.f32 2 (*.f32 u2 (*.f32 (PI.f32) (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))))))
0.9b
(*.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (*.f32 (cbrt.f32 (sin.f32 (*.f32 (*.f32 2 (PI.f32)) u2))) (cbrt.f32 (sin.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))) (cbrt.f32 (sin.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))
0.6b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (sin.f32 (cbrt.f32 (*.f32 (*.f32 (*.f32 (*.f32 (pow.f32 (*.f32 (cbrt.f32 (PI.f32)) (cbrt.f32 (PI.f32))) 3) (pow.f32 (cbrt.f32 (PI.f32)) 3)) 8) (*.f32 u2 u2)) u2))))
Compiler

Compiled 5789 to 3373 computations (41.7% saved)

localize49.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(sin.f32 (*.f32 (*.f32 2 (PI.f32)) u2))
0.3b
(*.f32 (*.f32 (fabs.f32 (cbrt.f32 (log1p.f32 (neg.f32 u1)))) (sqrt.f32 (neg.f32 (cbrt.f32 (log1p.f32 (neg.f32 u1)))))) (sin.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))
0.3b
(*.f32 (*.f32 2 (PI.f32)) u2)
0.3b
(*.f32 (fabs.f32 (cbrt.f32 (log1p.f32 (neg.f32 u1)))) (sqrt.f32 (neg.f32 (cbrt.f32 (log1p.f32 (neg.f32 u1))))))

series545.0ms (5.6%)

Counts
2 → 36
Calls

2 calls:

454.0ms
(*.f32 (*.f32 (fabs.f32 (cbrt.f32 (log1p.f32 (neg.f32 u1)))) (sqrt.f32 (neg.f32 (cbrt.f32 (log1p.f32 (neg.f32 u1)))))) (sin.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))
91.0ms
(*.f32 (fabs.f32 (cbrt.f32 (log1p.f32 (neg.f32 u1)))) (sqrt.f32 (neg.f32 (cbrt.f32 (log1p.f32 (neg.f32 u1))))))

rewrite27.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt_binary32
22×associate-*r*_binary32
21×sqrt-prod_binary32
14×cbrt-prod_binary32
12×associate-*l*_binary32
Counts
2 → 74
Calls

2 calls:

11.0ms
(*.f32 (fabs.f32 (cbrt.f32 (log1p.f32 (neg.f32 u1)))) (sqrt.f32 (neg.f32 (cbrt.f32 (log1p.f32 (neg.f32 u1))))))
9.0ms
(*.f32 (*.f32 (fabs.f32 (cbrt.f32 (log1p.f32 (neg.f32 u1)))) (sqrt.f32 (neg.f32 (cbrt.f32 (log1p.f32 (neg.f32 u1)))))) (sin.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))

simplify138.0ms (1.4%)

Algorithm
egg-herbie
Rules
607×associate-*l*_binary32
403×times-frac_binary32
384×fma-def_binary32
327×associate-/r*_binary32
309×associate-*r/_binary32
Counts
110 → 172
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
05428630
115827754
252787754

prune269.0ms (2.8%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New2240224
Fresh077
Picked011
Done011
Total2249233
Error
0.0b
Counts
233 → 9
Alt Table
StatusErrorProgram
0.5b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (sin.f32 (cbrt.f32 (*.f32 (*.f32 (*.f32 (pow.f32 (PI.f32) 3) 8) (*.f32 u2 u2)) u2))))
0.6b
(*.f32 (*.f32 (fabs.f32 (cbrt.f32 (log1p.f32 (neg.f32 u1)))) (sqrt.f32 (neg.f32 (cbrt.f32 (log1p.f32 (neg.f32 u1)))))) (sin.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))
0.8b
(*.f32 (sqrt.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (*.f32 (sqrt.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (sin.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))))) (sin.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))
13.9b
(*.f32 (sqrt.f32 (neg.f32 (log.f32 (-.f32 1 u1)))) (sin.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))
0.9b
(*.f32 (*.f32 (cbrt.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (sin.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))) (cbrt.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (sin.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))) (cbrt.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (sin.f32 (*.f32 (*.f32 2 (PI.f32)) u2)))))
2.9b
(fma.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (*.f32 (pow.f32 u2 3) (pow.f32 (PI.f32) 3))) -6004799503160661/4503599627370496 (*.f32 2 (*.f32 u2 (*.f32 (PI.f32) (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))))))
0.9b
(*.f32 (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (*.f32 (cbrt.f32 (sin.f32 (*.f32 (*.f32 2 (PI.f32)) u2))) (cbrt.f32 (sin.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))) (cbrt.f32 (sin.f32 (*.f32 (*.f32 2 (PI.f32)) u2))))
0.6b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (sin.f32 (cbrt.f32 (*.f32 (*.f32 (*.f32 (*.f32 (pow.f32 (*.f32 (cbrt.f32 (PI.f32)) (cbrt.f32 (PI.f32))) 3) (pow.f32 (cbrt.f32 (PI.f32)) 3)) 8) (*.f32 u2 u2)) u2))))
Compiler

Compiled 12121 to 7040 computations (41.9% saved)

regimes3.2s (33.3%)

Accuracy

Total 0.4b remaining (84.4%)

Threshold costs 0.4b (84.4%)

Counts
254 → 1
Compiler

Compiled 70844 to 55730 computations (21.3% 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
02039
13039
23439
33639
43639

end170.0ms (1.7%)

Compiler

Compiled 301 to 220 computations (26.9% saved)

Profiling

Loading profile data...