Details

Time bar (total: 6.4s)

analyze408.0ms (6.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)

sample2.1s (32.5%)

Results
2.1s8256×body128valid
1.0msbody128invalid
Compiler

Compiled 78 to 62 computations (20.5% saved)

preprocess36.0ms (0.6%)

Algorithm
egg-herbie
Rules
104×fma-neg_binary32
95×fma-def_binary32
60×sub-neg_binary32
45×cancel-sign-sub-inv_binary32
30×distribute-rgt-in_binary32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03088
15984
29884
312484
415584
519184
623184
731984
849084
953184
1058584
1163584
1272684
1377384
1479184
1579484
033
Stop Event
saturated
saturated
Compiler

Compiled 16 to 14 computations (12.5% saved)

simplify12.0ms (0.2%)

Algorithm
egg-herbie
Rules
40×fma-neg_binary32
22×sub-neg_binary32
17×cancel-sign-sub-inv_binary32
13×fma-def_binary32
10×*-commutative_binary32
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01422
12621
23921
34921
46021
57421
69221
711921
814921
916221
1018421
1120621
1224521
1326221
1426821
1526921
Stop Event
saturated
Counts
1 → 2

prune9.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
12.7b
(*.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 2 (*.f32 (PI.f32) u2))))
Compiler

Compiled 90 to 77 computations (14.4% saved)

localize31.0ms (0.5%)

Local error

Found 4 expressions with local error:

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

series166.0ms (2.6%)

Counts
4 → 32
Calls

15 calls:

67.0ms
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 2 (*.f32 (PI.f32) u2))))
u2
inf
58.0ms
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 2 (*.f32 (PI.f32) u2))))
u2
-inf
10.0ms
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 2 (*.f32 (PI.f32) u2))))
u1
0
7.0ms
(sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))
u1
inf
5.0ms
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 2 (*.f32 (PI.f32) u2))))
u1
inf

rewrite55.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
679×prod-diff_binary32
204×expm1-udef_binary32
204×log1p-udef_binary32
132×add-sqr-sqrt_binary32
124×expm1-log1p-u_binary32
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01345
126637
2327537
Stop Event
node limit
Counts
4 → 96

simplify52.0ms (0.8%)

Algorithm
egg-herbie
Rules
538×cancel-sign-sub-inv_binary32
348×times-frac_binary32
276×associate-*l/_binary32
247×associate-/r*_binary32
214×associate-/l*_binary32
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01791948
15711783
220971637
Stop Event
node limit
Counts
128 → 144

prune191.0ms (3%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New13212144
Fresh101
Picked101
Done000
Total13412146
Error
0.1b
Counts
146 → 12
Alt Table
StatusErrorProgram
0.8b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (log.f32 (+.f32 1 (expm1.f32 (cos.f32 (*.f32 (PI.f32) (*.f32 u2 2)))))))
0.4b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (+.f32 (fma.f32 1 (pow.f32 (cos.f32 (*.f32 (PI.f32) u2)) 2) (neg.f32 (*.f32 (cbrt.f32 (pow.f32 (sin.f32 (*.f32 (PI.f32) u2)) 2)) (*.f32 (cbrt.f32 (pow.f32 (sin.f32 (*.f32 (PI.f32) u2)) 2)) (cbrt.f32 (pow.f32 (sin.f32 (*.f32 (PI.f32) u2)) 2)))))) (fma.f32 (neg.f32 (cbrt.f32 (pow.f32 (sin.f32 (*.f32 (PI.f32) u2)) 2))) (*.f32 (cbrt.f32 (pow.f32 (sin.f32 (*.f32 (PI.f32) u2)) 2)) (cbrt.f32 (pow.f32 (sin.f32 (*.f32 (PI.f32) u2)) 2))) (*.f32 (cbrt.f32 (pow.f32 (sin.f32 (*.f32 (PI.f32) u2)) 2)) (*.f32 (cbrt.f32 (pow.f32 (sin.f32 (*.f32 (PI.f32) u2)) 2)) (cbrt.f32 (pow.f32 (sin.f32 (*.f32 (PI.f32) u2)) 2)))))))
0.4b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 2 (log.f32 (pow.f32 (exp.f32 u2) (PI.f32))))))
0.5b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (+.f32 (fma.f32 (*.f32 (cbrt.f32 (pow.f32 (cos.f32 (*.f32 (PI.f32) u2)) 2)) (cbrt.f32 (pow.f32 (cos.f32 (*.f32 (PI.f32) u2)) 2))) (cbrt.f32 (pow.f32 (cos.f32 (*.f32 (PI.f32) u2)) 2)) (neg.f32 (pow.f32 (sin.f32 (*.f32 (PI.f32) u2)) 2))) (fma.f32 (neg.f32 (sin.f32 (*.f32 (PI.f32) u2))) (sin.f32 (*.f32 (PI.f32) u2)) (pow.f32 (sin.f32 (*.f32 (PI.f32) u2)) 2))))
8.5b
(*.f32 (*.f32 (cbrt.f32 (log1p.f32 u1)) (cbrt.f32 (sqrt.f32 (log1p.f32 u1)))) (cos.f32 (*.f32 2 (*.f32 (PI.f32) u2))))
2.0b
(-.f32 (*.f32 (fma.f32 (*.f32 2/3 (pow.f32 u2 4)) (pow.f32 (PI.f32) 4) 1) (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (fma.f32 2 (*.f32 (*.f32 u2 u2) (pow.f32 (PI.f32) 2)) (*.f32 4/45 (*.f32 (pow.f32 u2 6) (pow.f32 (PI.f32) 6))))))
0.5b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (*.f32 (+.f32 (cos.f32 (*.f32 (PI.f32) u2)) (sin.f32 (*.f32 (PI.f32) u2))) (-.f32 (cos.f32 (*.f32 (PI.f32) u2)) (sin.f32 (*.f32 (PI.f32) u2)))))
0.4b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (expm1.f32 (log1p.f32 (cos.f32 (*.f32 (PI.f32) (*.f32 u2 2))))))
15.3b
(sqrt.f32 (neg.f32 (log.f32 (-.f32 1 u1))))
8.5b
(*.f32 (pow.f32 (pow.f32 (log1p.f32 u1) 1/4) 2) (cos.f32 (*.f32 2 (*.f32 (PI.f32) u2))))
0.4b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 2 (pow.f32 (cbrt.f32 (*.f32 (PI.f32) u2)) 3))))
9.8b
(exp.f32 (log.f32 (*.f32 (sqrt.f32 (log1p.f32 u1)) (cos.f32 (*.f32 (PI.f32) (*.f32 u2 2))))))
Compiler

Compiled 5104 to 3184 computations (37.6% saved)

localize45.0ms (0.7%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(cbrt.f32 (*.f32 (PI.f32) u2))
0.2b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 2 (pow.f32 (cbrt.f32 (*.f32 (PI.f32) u2)) 3))))
0.3b
(*.f32 (PI.f32) u2)
0.7b
(pow.f32 (cbrt.f32 (*.f32 (PI.f32) u2)) 3)

series159.0ms (2.5%)

Counts
3 → 20
Calls

12 calls:

54.0ms
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 2 (pow.f32 (cbrt.f32 (*.f32 (PI.f32) u2)) 3))))
u2
inf
53.0ms
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 2 (pow.f32 (cbrt.f32 (*.f32 (PI.f32) u2)) 3))))
u2
-inf
17.0ms
(pow.f32 (cbrt.f32 (*.f32 (PI.f32) u2)) 3)
u2
-inf
8.0ms
(cbrt.f32 (*.f32 (PI.f32) u2))
u2
-inf
5.0ms
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 2 (pow.f32 (cbrt.f32 (*.f32 (PI.f32) u2)) 3))))
u1
0

rewrite50.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
995×prod-diff_binary32
148×add-sqr-sqrt_binary32
143×expm1-log1p-u_binary32
142×log1p-expm1-u_binary32
138×add-cbrt-cube_binary32
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01633
132629
2371129
Stop Event
node limit
Counts
3 → 74

simplify39.0ms (0.6%)

Algorithm
egg-herbie
Rules
528×fma-def_binary32
364×associate-*l*_binary32
359×associate-*r*_binary32
294×cancel-sign-sub-inv_binary32
258×associate-+l+_binary32
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01201250
13571178
212171078
Stop Event
node limit
Counts
94 → 100

prune179.0ms (2.8%)

Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1132115
Fresh2911
Picked011
Done000
Total11512127
Error
0.1b
Counts
127 → 12
Alt Table
StatusErrorProgram
0.8b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (log.f32 (+.f32 1 (expm1.f32 (cos.f32 (*.f32 (PI.f32) (*.f32 u2 2)))))))
0.4b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 2 (log.f32 (pow.f32 (exp.f32 u2) (PI.f32))))))
0.4b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 2 (*.f32 (pow.f32 (cbrt.f32 u2) 2) (*.f32 (cbrt.f32 u2) (PI.f32))))))
0.5b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (+.f32 (fma.f32 (*.f32 (cbrt.f32 (pow.f32 (cos.f32 (*.f32 (PI.f32) u2)) 2)) (cbrt.f32 (pow.f32 (cos.f32 (*.f32 (PI.f32) u2)) 2))) (cbrt.f32 (pow.f32 (cos.f32 (*.f32 (PI.f32) u2)) 2)) (neg.f32 (pow.f32 (sin.f32 (*.f32 (PI.f32) u2)) 2))) (fma.f32 (neg.f32 (sin.f32 (*.f32 (PI.f32) u2))) (sin.f32 (*.f32 (PI.f32) u2)) (pow.f32 (sin.f32 (*.f32 (PI.f32) u2)) 2))))
8.5b
(*.f32 (*.f32 (cbrt.f32 (log1p.f32 u1)) (cbrt.f32 (sqrt.f32 (log1p.f32 u1)))) (cos.f32 (*.f32 2 (*.f32 (PI.f32) u2))))
12.7b
(*.f32 (sqrt.f32 (neg.f32 (log.f32 (-.f32 1 u1)))) (cos.f32 (*.f32 2 (*.f32 (PI.f32) u2))))
2.0b
(-.f32 (*.f32 (fma.f32 (*.f32 2/3 (pow.f32 u2 4)) (pow.f32 (PI.f32) 4) 1) (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (fma.f32 2 (*.f32 (*.f32 u2 u2) (pow.f32 (PI.f32) 2)) (*.f32 4/45 (*.f32 (pow.f32 u2 6) (pow.f32 (PI.f32) 6))))))
0.5b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (*.f32 (+.f32 (cos.f32 (*.f32 (PI.f32) u2)) (sin.f32 (*.f32 (PI.f32) u2))) (-.f32 (cos.f32 (*.f32 (PI.f32) u2)) (sin.f32 (*.f32 (PI.f32) u2)))))
0.4b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (expm1.f32 (log1p.f32 (cos.f32 (*.f32 (PI.f32) (*.f32 u2 2))))))
8.5b
(*.f32 (pow.f32 (pow.f32 (log1p.f32 u1) 1/4) 2) (cos.f32 (*.f32 2 (*.f32 (PI.f32) u2))))
0.4b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 2 (pow.f32 (cbrt.f32 (*.f32 (PI.f32) u2)) 3))))
9.8b
(exp.f32 (log.f32 (*.f32 (sqrt.f32 (log1p.f32 u1)) (cos.f32 (*.f32 (PI.f32) (*.f32 u2 2))))))
Compiler

Compiled 3386 to 2096 computations (38.1% saved)

localize44.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 (*.f32 2 (*.f32 (pow.f32 (cbrt.f32 u2) 2) (*.f32 (cbrt.f32 u2) (PI.f32))))))
0.3b
(*.f32 (pow.f32 (cbrt.f32 u2) 2) (*.f32 (cbrt.f32 u2) (PI.f32)))
0.4b
(*.f32 (cbrt.f32 u2) (PI.f32))
0.5b
(pow.f32 (cbrt.f32 u2) 2)

series221.0ms (3.5%)

Counts
4 → 32
Calls

15 calls:

58.0ms
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 2 (*.f32 (pow.f32 (cbrt.f32 u2) 2) (*.f32 (cbrt.f32 u2) (PI.f32))))))
u2
-inf
53.0ms
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 2 (*.f32 (pow.f32 (cbrt.f32 u2) 2) (*.f32 (cbrt.f32 u2) (PI.f32))))))
u2
inf
50.0ms
(*.f32 (pow.f32 (cbrt.f32 u2) 2) (*.f32 (cbrt.f32 u2) (PI.f32)))
u2
-inf
20.0ms
(pow.f32 (cbrt.f32 u2) 2)
u2
-inf
10.0ms
(*.f32 (cbrt.f32 u2) (PI.f32))
u2
-inf

rewrite50.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
245×expm1-udef_binary32
245×log1p-udef_binary32
174×fma-def_binary32
158×add-sqr-sqrt_binary32
153×associate-*r*_binary32
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01639
132735
2398035
Stop Event
node limit
Counts
4 → 64

simplify34.0ms (0.5%)

Algorithm
egg-herbie
Rules
528×fma-def_binary32
364×associate-*l*_binary32
359×associate-*r*_binary32
294×cancel-sign-sub-inv_binary32
258×associate-+l+_binary32
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01201310
13571238
212171138
Stop Event
node limit
Counts
96 → 91

prune125.0ms (2%)

Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New91091
Fresh01010
Picked011
Done011
Total9112103
Error
0.1b
Counts
103 → 12
Alt Table
StatusErrorProgram
0.8b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (log.f32 (+.f32 1 (expm1.f32 (cos.f32 (*.f32 (PI.f32) (*.f32 u2 2)))))))
0.4b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 2 (log.f32 (pow.f32 (exp.f32 u2) (PI.f32))))))
0.4b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 2 (*.f32 (pow.f32 (cbrt.f32 u2) 2) (*.f32 (cbrt.f32 u2) (PI.f32))))))
0.5b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (+.f32 (fma.f32 (*.f32 (cbrt.f32 (pow.f32 (cos.f32 (*.f32 (PI.f32) u2)) 2)) (cbrt.f32 (pow.f32 (cos.f32 (*.f32 (PI.f32) u2)) 2))) (cbrt.f32 (pow.f32 (cos.f32 (*.f32 (PI.f32) u2)) 2)) (neg.f32 (pow.f32 (sin.f32 (*.f32 (PI.f32) u2)) 2))) (fma.f32 (neg.f32 (sin.f32 (*.f32 (PI.f32) u2))) (sin.f32 (*.f32 (PI.f32) u2)) (pow.f32 (sin.f32 (*.f32 (PI.f32) u2)) 2))))
8.5b
(*.f32 (*.f32 (cbrt.f32 (log1p.f32 u1)) (cbrt.f32 (sqrt.f32 (log1p.f32 u1)))) (cos.f32 (*.f32 2 (*.f32 (PI.f32) u2))))
12.7b
(*.f32 (sqrt.f32 (neg.f32 (log.f32 (-.f32 1 u1)))) (cos.f32 (*.f32 2 (*.f32 (PI.f32) u2))))
2.0b
(-.f32 (*.f32 (fma.f32 (*.f32 2/3 (pow.f32 u2 4)) (pow.f32 (PI.f32) 4) 1) (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (fma.f32 2 (*.f32 (*.f32 u2 u2) (pow.f32 (PI.f32) 2)) (*.f32 4/45 (*.f32 (pow.f32 u2 6) (pow.f32 (PI.f32) 6))))))
0.5b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (*.f32 (+.f32 (cos.f32 (*.f32 (PI.f32) u2)) (sin.f32 (*.f32 (PI.f32) u2))) (-.f32 (cos.f32 (*.f32 (PI.f32) u2)) (sin.f32 (*.f32 (PI.f32) u2)))))
0.4b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (expm1.f32 (log1p.f32 (cos.f32 (*.f32 (PI.f32) (*.f32 u2 2))))))
8.5b
(*.f32 (pow.f32 (pow.f32 (log1p.f32 u1) 1/4) 2) (cos.f32 (*.f32 2 (*.f32 (PI.f32) u2))))
0.4b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 2 (pow.f32 (cbrt.f32 (*.f32 (PI.f32) u2)) 3))))
9.8b
(exp.f32 (log.f32 (*.f32 (sqrt.f32 (log1p.f32 u1)) (cos.f32 (*.f32 (PI.f32) (*.f32 u2 2))))))
Compiler

Compiled 2959 to 1877 computations (36.6% saved)

localize43.0ms (0.7%)

Local error

Found 4 expressions with local error:

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

series303.0ms (4.8%)

Counts
4 → 56
Calls

15 calls:

88.0ms
(log1p.f32 (cos.f32 (*.f32 (PI.f32) (*.f32 u2 2))))
u2
inf
82.0ms
(log1p.f32 (cos.f32 (*.f32 (PI.f32) (*.f32 u2 2))))
u2
-inf
53.0ms
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (expm1.f32 (log1p.f32 (cos.f32 (*.f32 (PI.f32) (*.f32 u2 2))))))
u2
inf
51.0ms
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (expm1.f32 (log1p.f32 (cos.f32 (*.f32 (PI.f32) (*.f32 u2 2))))))
u2
-inf
6.0ms
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (expm1.f32 (log1p.f32 (cos.f32 (*.f32 (PI.f32) (*.f32 u2 2))))))
u1
inf

rewrite48.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
500×prod-diff_binary32
211×expm1-udef_binary32
211×log1p-udef_binary32
136×add-sqr-sqrt_binary32
130×expm1-log1p-u_binary32
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01551
128247
2337047
Stop Event
node limit
Counts
4 → 70

simplify42.0ms (0.7%)

Algorithm
egg-herbie
Rules
669×fma-def_binary32
522×associate-*l*_binary32
486×associate-*r*_binary32
404×cancel-sign-sub-inv_binary32
171×associate-/r*_binary32
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01461713
14361637
214721525
Stop Event
node limit
Counts
126 → 115

prune142.0ms (2.2%)

Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1105115
Fresh279
Picked101
Done112
Total11413127
Error
0.1b
Counts
127 → 13
Alt Table
StatusErrorProgram
0.5b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (*.f32 (+.f32 (cos.f32 (*.f32 (PI.f32) u2)) (sin.f32 (*.f32 (PI.f32) u2))) (-.f32 (cos.f32 (*.f32 (PI.f32) u2)) (sin.f32 (*.f32 (PI.f32) u2)))))
0.4b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (/.f32 (fma.f32 (+.f32 (cos.f32 (*.f32 (PI.f32) (*.f32 u2 2))) 1) (+.f32 (cos.f32 (*.f32 (PI.f32) (*.f32 u2 2))) 1) -1) (+.f32 (+.f32 (cos.f32 (*.f32 (PI.f32) (*.f32 u2 2))) 1) 1)))
0.4b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (cos.f32 (*.f32 2 (*.f32 (pow.f32 (cbrt.f32 u2) 2) (*.f32 (cbrt.f32 u2) (PI.f32))))))
0.5b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (+.f32 (fma.f32 (*.f32 (cbrt.f32 (pow.f32 (cos.f32 (*.f32 (PI.f32) u2)) 2)) (cbrt.f32 (pow.f32 (cos.f32 (*.f32 (PI.f32) u2)) 2))) (cbrt.f32 (pow.f32 (cos.f32 (*.f32 (PI.f32) u2)) 2)) (neg.f32 (pow.f32 (sin.f32 (*.f32 (PI.f32) u2)) 2))) (fma.f32 (neg.f32 (sin.f32 (*.f32 (PI.f32) u2))) (sin.f32 (*.f32 (PI.f32) u2)) (pow.f32 (sin.f32 (*.f32 (PI.f32) u2)) 2))))
8.5b
(*.f32 (*.f32 (cbrt.f32 (log1p.f32 u1)) (cbrt.f32 (sqrt.f32 (log1p.f32 u1)))) (cos.f32 (*.f32 2 (*.f32 (PI.f32) u2))))
2.2b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (expm1.f32 (pow.f32 (sqrt.f32 (log1p.f32 (cos.f32 (*.f32 (PI.f32) (*.f32 u2 2))))) 2)))
1.0b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (fma.f32 (sqrt.f32 (+.f32 (cos.f32 (*.f32 (PI.f32) (*.f32 u2 2))) 1)) (sqrt.f32 (+.f32 (cos.f32 (*.f32 (PI.f32) (*.f32 u2 2))) 1)) -1))
0.5b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (expm1.f32 (log1p.f32 (cos.f32 (log.f32 (pow.f32 (pow.f32 (exp.f32 u2) 2) (PI.f32)))))))
2.0b
(-.f32 (*.f32 (fma.f32 (*.f32 2/3 (pow.f32 u2 4)) (pow.f32 (PI.f32) 4) 1) (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1))))) (*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (fma.f32 2 (*.f32 (*.f32 u2 u2) (pow.f32 (PI.f32) 2)) (*.f32 4/45 (*.f32 (pow.f32 u2 6) (pow.f32 (PI.f32) 6))))))
1.2b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (expm1.f32 (-.f32 (exp.f32 (log1p.f32 (log1p.f32 (cos.f32 (*.f32 (PI.f32) (*.f32 u2 2)))))) 1)))
8.5b
(*.f32 (pow.f32 (pow.f32 (log1p.f32 u1) 1/4) 2) (cos.f32 (*.f32 2 (*.f32 (PI.f32) u2))))
0.8b
(*.f32 (sqrt.f32 (neg.f32 (log1p.f32 (neg.f32 u1)))) (log.f32 (+.f32 1 (expm1.f32 (cos.f32 (*.f32 (PI.f32) (*.f32 u2 2)))))))
9.8b
(exp.f32 (log.f32 (*.f32 (sqrt.f32 (log1p.f32 u1)) (cos.f32 (*.f32 (PI.f32) (*.f32 u2 2))))))
Compiler

Compiled 3222 to 2136 computations (33.7% saved)

regimes1.6s (24.8%)

Accuracy

Total 0.2b remaining (70%)

Threshold costs 0.2b (70%)

Counts
141 → 1
Compiler

Compiled 30318 to 24932 computations (17.8% saved)

simplify2.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
01525
12425
22825
33025
Stop Event
saturated

end231.0ms (3.6%)

Stop Event
fuel
Compiler

Compiled 378 to 294 computations (22.2% saved)

Profiling

Loading profile data...