Details

Time bar (total: 2.1s)

analyze4.0ms (0.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%0.1%99.9%0
0.1%0%99.9%1
Compiler

Compiled 33 to 24 computations (27.3% saved)

sample1.5s (69.3%)

Results
1.4s8254×body128valid
0.0msbody256valid
Compiler

Compiled 66 to 48 computations (27.3% saved)

preprocess41.0ms (1.9%)

Algorithm
egg-herbie
Rules
601×fma-def_binary32
498×fma-neg_binary32
174×cancel-sign-sub-inv_binary32
94×sub-neg_binary32
89×unsub-neg_binary32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01640
14032
210632
322232
454032
5115332
6198732
7232532
8240532
9241632
033
Stop Event
saturated
saturated
Compiler

Compiled 10 to 7 computations (30% saved)

simplify15.0ms (0.7%)

Algorithm
egg-herbie
Rules
199×fma-def_binary32
155×fma-neg_binary32
47×cancel-sign-sub-inv_binary32
34×sub-neg_binary32
26×unsub-neg_binary32
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0710
1158
2358
3728
41678
53618
66188
77658
87978
98028
Stop Event
saturated
Counts
1 → 2

prune3.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.0b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.1b
(+.f32 (-.f32 1 ux) (*.f32 ux maxCos))
0.1b
(-.f32 (fma.f32 ux maxCos 1) ux)
Compiler

Compiled 54 to 36 computations (33.3% saved)

localize14.0ms (0.7%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(*.f32 ux maxCos)
0.1b
(+.f32 (-.f32 1 ux) (*.f32 ux maxCos))

series7.0ms (0.3%)

Counts
2 → 48
Calls

12 calls:

1.0ms
(+.f32 (-.f32 1 ux) (*.f32 ux maxCos))
ux
-inf
1.0ms
(*.f32 ux maxCos)
maxCos
-inf
1.0ms
(*.f32 ux maxCos)
ux
-inf
1.0ms
(+.f32 (-.f32 1 ux) (*.f32 ux maxCos))
ux
inf
1.0ms
(+.f32 (-.f32 1 ux) (*.f32 ux maxCos))
ux
0

rewrite43.0ms (2%)

Algorithm
batch-egg-rewrite
Rules
836×log1p-expm1-u_binary32
836×expm1-log1p-u_binary32
78×add-sqr-sqrt_binary32
75×add-cbrt-cube_binary32
72×add-log-exp_binary32
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0714
115512
2217912
Stop Event
node limit
Counts
2 → 54

simplify22.0ms (1.1%)

Algorithm
egg-herbie
Rules
157×fma-def_binary32
149×fma-neg_binary32
26×associate--r+_binary32
26×sub-neg_binary32
24×distribute-rgt-in_binary32
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
014303
133267
270267
3145267
4280267
5476267
6646267
7726267
8737267
Stop Event
saturated
Counts
102 → 62

prune41.0ms (2%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New60262
Fresh101
Picked101
Done000
Total62264
Error
0b
Counts
64 → 2
Alt Table
StatusErrorProgram
0.6b
(fma.f32 (pow.f32 (cbrt.f32 (-.f32 1 ux)) 2) (cbrt.f32 (-.f32 1 ux)) (*.f32 ux maxCos))
0.0b
(fma.f32 ux (+.f32 maxCos -1) 1)
Compiler

Compiled 827 to 484 computations (41.5% saved)

localize12.0ms (0.6%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(fma.f32 ux (+.f32 maxCos -1) 1)

series5.0ms (0.2%)

Counts
1 → 24
Calls

6 calls:

2.0ms
(fma.f32 ux (+.f32 maxCos -1) 1)
ux
-inf
1.0ms
(fma.f32 ux (+.f32 maxCos -1) 1)
maxCos
-inf
1.0ms
(fma.f32 ux (+.f32 maxCos -1) 1)
ux
inf
1.0ms
(fma.f32 ux (+.f32 maxCos -1) 1)
ux
0
1.0ms
(fma.f32 ux (+.f32 maxCos -1) 1)
maxCos
inf

rewrite32.0ms (1.5%)

Algorithm
batch-egg-rewrite
Rules
629×log1p-expm1-u_binary32
629×expm1-log1p-u_binary32
276×log-prod_binary32
120×expm1-udef_binary32
120×log1p-udef_binary32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
078
11388
216248
Stop Event
node limit
Counts
1 → 26

simplify19.0ms (0.9%)

Algorithm
egg-herbie
Rules
157×fma-def_binary32
149×fma-neg_binary32
26×associate--r+_binary32
26×sub-neg_binary32
24×distribute-rgt-in_binary32
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
014207
133171
270171
3145171
4280171
5476171
6646171
7726171
8737171
Stop Event
saturated
Counts
50 → 34

prune20.0ms (0.9%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New34034
Fresh011
Picked011
Done000
Total34236
Error
0b
Counts
36 → 2
Alt Table
StatusErrorProgram
0.6b
(fma.f32 (pow.f32 (cbrt.f32 (-.f32 1 ux)) 2) (cbrt.f32 (-.f32 1 ux)) (*.f32 ux maxCos))
0.0b
(fma.f32 ux (+.f32 maxCos -1) 1)
Compiler

Compiled 389 to 288 computations (26% saved)

localize26.0ms (1.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f32 ux maxCos)
0.1b
(cbrt.f32 (-.f32 1 ux))
0.2b
(fma.f32 (pow.f32 (cbrt.f32 (-.f32 1 ux)) 2) (cbrt.f32 (-.f32 1 ux)) (*.f32 ux maxCos))
0.4b
(pow.f32 (cbrt.f32 (-.f32 1 ux)) 2)

series67.0ms (3.2%)

Counts
3 → 26
Calls

12 calls:

19.0ms
(fma.f32 (pow.f32 (cbrt.f32 (-.f32 1 ux)) 2) (cbrt.f32 (-.f32 1 ux)) (*.f32 ux maxCos))
maxCos
0
16.0ms
(fma.f32 (pow.f32 (cbrt.f32 (-.f32 1 ux)) 2) (cbrt.f32 (-.f32 1 ux)) (*.f32 ux maxCos))
maxCos
-inf
15.0ms
(fma.f32 (pow.f32 (cbrt.f32 (-.f32 1 ux)) 2) (cbrt.f32 (-.f32 1 ux)) (*.f32 ux maxCos))
maxCos
inf
3.0ms
(fma.f32 (pow.f32 (cbrt.f32 (-.f32 1 ux)) 2) (cbrt.f32 (-.f32 1 ux)) (*.f32 ux maxCos))
ux
-inf
3.0ms
(fma.f32 (pow.f32 (cbrt.f32 (-.f32 1 ux)) 2) (cbrt.f32 (-.f32 1 ux)) (*.f32 ux maxCos))
ux
inf

rewrite44.0ms (2.1%)

Algorithm
batch-egg-rewrite
Rules
835×log1p-expm1-u_binary32
835×expm1-log1p-u_binary32
500×prod-diff_binary32
95×add-sqr-sqrt_binary32
90×add-cbrt-cube_binary32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01025
120525
2231725
Stop Event
node limit
Counts
3 → 67

simplify29.0ms (1.4%)

Algorithm
egg-herbie
Rules
394×fma-def_binary32
380×cancel-sign-sub-inv_binary32
363×distribute-rgt-neg-in_binary32
306×distribute-lft-neg-in_binary32
265×sub-neg_binary32
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
034227
1100203
2252195
3852185
43161185
Stop Event
node limit
Counts
93 → 85

prune70.0ms (3.3%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1290129
Fresh000
Picked011
Done011
Total1292131
Error
0b
Counts
131 → 2
Alt Table
StatusErrorProgram
0.6b
(fma.f32 (pow.f32 (cbrt.f32 (-.f32 1 ux)) 2) (cbrt.f32 (-.f32 1 ux)) (*.f32 ux maxCos))
0.0b
(fma.f32 ux (+.f32 maxCos -1) 1)
Compiler

Compiled 2158 to 1454 computations (32.6% saved)

regimes97.0ms (4.6%)

Accuracy

Total 0.0b remaining (39.1%)

Threshold costs 0.0b (39.1%)

Counts
25 → 1
Compiler

Compiled 1302 to 993 computations (23.7% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary32
1-exp_binary32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
078
1108
Stop Event
saturated

end37.0ms (1.7%)

Stop Event
done
Compiler

Compiled 44 to 34 computations (22.7% saved)

Profiling

Loading profile data...