System.Random.MWC.Distributions:blocks from mwc-random-0.13.3.2

Time bar (total: 1.1s)

analyze0.0ms (0%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
100%100%0%0%0%0%0%1
Compiler

Compiled 7 to 5 computations (28.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 0.0ms
ival-mult: 0.0ms (0% of total)
const: 0.0ms (0% of total)
backward-pass: 0.0ms (0% of total)

sample489.0ms (44.3%)

Results
336.0ms8256×0valid
Precisions
Click to see histograms. Total time spent on operations: 174.0ms
ival-mult: 161.0ms (92.5% of total)
const: 11.0ms (6.3% of total)
backward-pass: 2.0ms (1.1% of total)
Bogosity

preprocess14.0ms (1.2%)

Algorithm
egg-herbie
Rules
44×distribute-lft-neg-in
40×associate-*r*
32×distribute-lft-in
24×cancel-sign-sub-inv
22×distribute-rgt-neg-in
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0818
12715
26815
316715
421915
523115
045
175
2105
0105
Stop Event
iter limit
saturated
saturated
Calls
Call 1
Inputs
(* (* x 1/2) x)
Outputs
(* (* x 1/2) x)
(*.f64 #s(literal 1/2 binary64) (*.f64 x x))
Call 2
Inputs
(* (* x 1/2) x)
(* (* (neg x) 1/2) (neg x))
(neg (* (* (neg x) 1/2) (neg x)))
Outputs
(* (* x 1/2) x)
(* x (* x 1/2))
(* (* (neg x) 1/2) (neg x))
(* x (* x 1/2))
(neg (* (* (neg x) 1/2) (neg x)))
(* -1/2 (* x x))
Symmetry

(abs x)

explain50.0ms (4.5%)

FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-x
00-0-#s(literal 1/2 binary64)
00-0-(*.f64 (*.f64 x #s(literal 1/2 binary64)) x)
00-0-(*.f64 x #s(literal 1/2 binary64))
Results
34.0ms512×0valid
Compiler

Compiled 30 to 20 computations (33.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 20.0ms
ival-mult: 19.0ms (94.6% of total)
const: 1.0ms (5% of total)
backward-pass: 0.0ms (0% of total)

eval0.0ms (0%)

Compiler

Compiled 6 to 4 computations (33.3% saved)

prune1.0ms (0.1%)

Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (*.f64 x #s(literal 1/2 binary64)) x)
Compiler

Compiled 6 to 4 computations (33.3% saved)

localize38.0ms (3.4%)

Algorithm
egg-herbie
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 x #s(literal 1/2 binary64))
cost-diff0
(*.f64 (*.f64 x #s(literal 1/2 binary64)) x)
accuracy100.0%
(*.f64 (*.f64 x #s(literal 1/2 binary64)) x)
accuracy100.0%
(*.f64 x #s(literal 1/2 binary64))
Rules
14×*-lowering-*.f32
14×*-lowering-*.f64
*-commutative
associate-*l*
associate-*r*
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0410
1710
21010
01010
Stop Event
iter limit
saturated
Calls
Call 1
Inputs
(* (* x 1/2) x)
(* x 1/2)
x
1/2
Outputs
(* (* x 1/2) x)
(*.f64 #s(literal 1/2 binary64) (*.f64 x x))
(* x 1/2)
(*.f64 x #s(literal 1/2 binary64))
x
1/2
#s(literal 1/2 binary64)
Results
24.0ms256×0valid
Compiler

Compiled 12 to 8 computations (33.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 6.0ms
ival-mult: 5.0ms (83.3% of total)
const: 1.0ms (16.7% of total)
backward-pass: 0.0ms (0% of total)

series8.0ms (0.7%)

Counts
2 → 24
Calls
Call 1
Inputs
#<alt (* x 1/2)>
#<alt (* (* x 1/2) x)>
Outputs
#<alt (* 1/2 x)>
#<alt (* 1/2 x)>
#<alt (* 1/2 x)>
#<alt (* 1/2 x)>
#<alt (* 1/2 x)>
#<alt (* 1/2 x)>
#<alt (* 1/2 x)>
#<alt (* 1/2 x)>
#<alt (* 1/2 x)>
#<alt (* 1/2 x)>
#<alt (* 1/2 x)>
#<alt (* 1/2 x)>
#<alt (* 1/2 (pow x 2))>
#<alt (* 1/2 (pow x 2))>
#<alt (* 1/2 (pow x 2))>
#<alt (* 1/2 (pow x 2))>
#<alt (* 1/2 (pow x 2))>
#<alt (* 1/2 (pow x 2))>
#<alt (* 1/2 (pow x 2))>
#<alt (* 1/2 (pow x 2))>
#<alt (* 1/2 (pow x 2))>
#<alt (* 1/2 (pow x 2))>
#<alt (* 1/2 (pow x 2))>
#<alt (* 1/2 (pow x 2))>
Calls

6 calls:

TimeVariablePointExpression
4.0ms
x
@inf
(* (* x 1/2) x)
0.0ms
x
@-inf
(* x 1/2)
0.0ms
x
@0
(* (* x 1/2) x)
0.0ms
x
@inf
(* x 1/2)
0.0ms
x
@0
(* x 1/2)

rewrite239.0ms (21.7%)

Algorithm
batch-egg-rewrite
Rules
2136×pow-lowering-pow.f64
2136×pow-lowering-pow.f32
1588×*-lowering-*.f32
1588×*-lowering-*.f64
1412×prod-exp
Iterations

Useful iterations: 7 (0.0ms)

IterNodesCost
046
176
2106
3126
4196
5346
6906
72802
816702
916952
1018182
1130312
084452
Stop Event
iter limit
node limit
Counts
2 → 2
Calls
Call 1
Inputs
(* x 1/2)
(* (* x 1/2) x)
Outputs
#s(literal 1/2 binary64)
#s(literal 1/2 binary64)

simplify5.0ms (0.4%)

Algorithm
egg-herbie
Rules
14×*-lowering-*.f32
14×*-lowering-*.f64
*-commutative
pow-lowering-pow.f64
pow-lowering-pow.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0696
1996
21196
01196
Stop Event
iter limit
saturated
Counts
24 → 24
Calls
Call 1
Inputs
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* 1/2 (pow x 2))
(* 1/2 (pow x 2))
(* 1/2 (pow x 2))
(* 1/2 (pow x 2))
(* 1/2 (pow x 2))
(* 1/2 (pow x 2))
(* 1/2 (pow x 2))
(* 1/2 (pow x 2))
(* 1/2 (pow x 2))
(* 1/2 (pow x 2))
(* 1/2 (pow x 2))
(* 1/2 (pow x 2))
Outputs
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(* 1/2 (pow x 2))
(*.f64 x (*.f64 #s(literal 1/2 binary64) x))
(* 1/2 (pow x 2))
(*.f64 x (*.f64 #s(literal 1/2 binary64) x))
(* 1/2 (pow x 2))
(*.f64 x (*.f64 #s(literal 1/2 binary64) x))
(* 1/2 (pow x 2))
(*.f64 x (*.f64 #s(literal 1/2 binary64) x))
(* 1/2 (pow x 2))
(*.f64 x (*.f64 #s(literal 1/2 binary64) x))
(* 1/2 (pow x 2))
(*.f64 x (*.f64 #s(literal 1/2 binary64) x))
(* 1/2 (pow x 2))
(*.f64 x (*.f64 #s(literal 1/2 binary64) x))
(* 1/2 (pow x 2))
(*.f64 x (*.f64 #s(literal 1/2 binary64) x))
(* 1/2 (pow x 2))
(*.f64 x (*.f64 #s(literal 1/2 binary64) x))
(* 1/2 (pow x 2))
(*.f64 x (*.f64 #s(literal 1/2 binary64) x))
(* 1/2 (pow x 2))
(*.f64 x (*.f64 #s(literal 1/2 binary64) x))
(* 1/2 (pow x 2))
(*.f64 x (*.f64 #s(literal 1/2 binary64) x))

eval10.0ms (0.9%)

Compiler

Compiled 125 to 76 computations (39.2% saved)

prune2.0ms (0.2%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New24226
Fresh000
Picked011
Done000
Total24327
Accuracy
100.0%
Counts
27 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (*.f64 x #s(literal 1/2 binary64)) x)
6.7%
(*.f64 #s(literal 1/2 binary64) x)
4.2%
#s(literal 1/2 binary64)
Compiler

Compiled 12 to 9 computations (25% saved)

localize33.0ms (3%)

Algorithm
egg-herbie
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 #s(literal 1/2 binary64) x)
accuracy100.0%
(*.f64 #s(literal 1/2 binary64) x)
Rules
*-lowering-*.f32
*-lowering-*.f64
*-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
035
145
045
Stop Event
iter limit
saturated
Calls
Call 1
Inputs
1/2
(* 1/2 x)
x
Outputs
1/2
#s(literal 1/2 binary64)
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
x
Results
9.0ms256×0valid
Compiler

Compiled 8 to 6 computations (25% saved)

Precisions
Click to see histograms. Total time spent on operations: 3.0ms
ival-mult: 2.0ms (74.5% of total)
const: 1.0ms (37.3% of total)
backward-pass: 0.0ms (0% of total)

series1.0ms (0.1%)

Counts
1 → 12
Calls
Call 1
Inputs
#<alt (* 1/2 x)>
Outputs
#<alt (* 1/2 x)>
#<alt (* 1/2 x)>
#<alt (* 1/2 x)>
#<alt (* 1/2 x)>
#<alt (* 1/2 x)>
#<alt (* 1/2 x)>
#<alt (* 1/2 x)>
#<alt (* 1/2 x)>
#<alt (* 1/2 x)>
#<alt (* 1/2 x)>
#<alt (* 1/2 x)>
#<alt (* 1/2 x)>
Calls

3 calls:

TimeVariablePointExpression
0.0ms
x
@inf
(* 1/2 x)
0.0ms
x
@0
(* 1/2 x)
0.0ms
x
@-inf
(* 1/2 x)

rewrite7.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
*-lowering-*.f32
*-lowering-*.f64
*-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
033
143
043
Stop Event
iter limit
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(* 1/2 x)
Outputs
(*.f64 #s(literal 1/2 binary64) x)
(*.f64 x #s(literal 1/2 binary64))

simplify3.0ms (0.3%)

Algorithm
egg-herbie
Rules
*-lowering-*.f32
*-lowering-*.f64
*-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0336
1436
0436
Stop Event
iter limit
saturated
Counts
12 → 12
Calls
Call 1
Inputs
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
Outputs
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)

eval2.0ms (0.1%)

Compiler

Compiled 43 to 29 computations (32.6% saved)

prune2.0ms (0.2%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New14014
Fresh000
Picked022
Done011
Total14317
Accuracy
100.0%
Counts
17 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(*.f64 (*.f64 x #s(literal 1/2 binary64)) x)
6.7%
(*.f64 #s(literal 1/2 binary64) x)
4.2%
#s(literal 1/2 binary64)
Compiler

Compiled 22 to 16 computations (27.3% saved)

regimes46.0ms (4.2%)

Counts
3 → 1
Calls
Call 1
Inputs
#s(literal 1/2 binary64)
(*.f64 #s(literal 1/2 binary64) x)
(*.f64 (*.f64 x #s(literal 1/2 binary64)) x)
Outputs
(*.f64 (*.f64 x #s(literal 1/2 binary64)) x)
Calls

2 calls:

44.0ms
(*.f64 (*.f64 x #s(literal 1/2 binary64)) x)
2.0ms
x
Results
AccuracySegmentsBranch
100.0%1x
100.0%1(*.f64 (*.f64 x #s(literal 1/2 binary64)) x)
Compiler

Compiled 8 to 5 computations (37.5% saved)

regimes2.0ms (0.1%)

Counts
2 → 1
Calls
Call 1
Inputs
#s(literal 1/2 binary64)
(*.f64 #s(literal 1/2 binary64) x)
Outputs
(*.f64 #s(literal 1/2 binary64) x)
Calls

1 calls:

1.0ms
x
Results
AccuracySegmentsBranch
6.7%1x
Compiler

Compiled 2 to 1 computations (50% saved)

regimes1.0ms (0.1%)

Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(literal 1/2 binary64)
Outputs
#s(literal 1/2 binary64)
Calls

1 calls:

0.0ms
x
Results
AccuracySegmentsBranch
4.2%1x
Compiler

Compiled 2 to 1 computations (50% saved)

soundness1.0ms (0.1%)

Stop Event
done
Compiler

Compiled 10 to 7 computations (30% saved)

preprocess153.0ms (13.8%)

Remove

(abs x)

Compiler

Compiled 80 to 54 computations (32.5% saved)

end0.0ms (0%)

Profiling

Loading profile data...