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

Time bar (total: 3.9s)

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)

sample439.0ms (11.3%)

Results
298.0ms8256×0valid
Precisions
Click to see histograms. Total time spent on operations: 142.0ms
ival-mult: 129.0ms (90.5% of total)
const: 10.0ms (7% of total)
backward-pass: 3.0ms (2.1% of total)
Bogosity

preprocess28.0ms (0.7%)

Algorithm
egg-herbie
Rules
122×fnmadd-define
120×fnmsub-define
120×fmsub-define
104×fma-define
44×distribute-lft-neg-in
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0818
12715
26815
316715
426415
541015
649815
045
175
2105
0105
Stop Event
iter limit
saturated
saturated
Calls
Call 1
Inputs
(* (* x 1/2) x)
Outputs
(* (* x 1/2) x)
(*.f64 x (*.f64 x #s(literal 1/2 binary64)))
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)
(* 1/2 (* x x))
(* (* (neg x) 1/2) (neg x))
(* 1/2 (* x x))
(neg (* (* (neg x) 1/2) (neg x)))
(* -1/2 (* x x))
Symmetry

(abs x)

explain59.0ms (1.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
44.0ms512×0valid
Compiler

Compiled 30 to 14 computations (53.3% saved)

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

eval0.0ms (0%)

Compiler

Compiled 6 to 4 computations (33.3% saved)

prune1.0ms (0%)

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)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 x #s(literal 1/2 binary64))
cost-diff0
(*.f64 (*.f64 x #s(literal 1/2 binary64)) x)
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 x (*.f64 x #s(literal 1/2 binary64)))
(* x 1/2)
(*.f64 x #s(literal 1/2 binary64))
x
1/2
#s(literal 1/2 binary64)

localize77.0ms (2%)

Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy100.0%
(*.f64 (*.f64 x #s(literal 1/2 binary64)) x)
accuracy100.0%
(*.f64 x #s(literal 1/2 binary64))
Results
71.0ms256×0valid
Compiler

Compiled 12 to 5 computations (58.3% saved)

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

series2.0ms (0%)

Counts
2 → 24
Calls
Call 1
Inputs
#<alt (* (* x 1/2) x)>
#<alt (* x 1/2)>
Outputs
#<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))>
#<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

6 calls:

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

rewrite142.0ms (3.7%)

Algorithm
batch-egg-rewrite
Rules
2200×pow-lowering-pow.f64
2200×pow-lowering-pow.f32
1432×prod-exp
1304×*-lowering-*.f32
1304×*-lowering-*.f64
Iterations

Useful iterations: 7 (0.0ms)

IterNodesCost
0410
1710
21010
31210
41910
53410
69010
72842
818472
918762
1020062
1132692
085792
Stop Event
iter limit
node limit
Counts
2 → 2
Calls
Call 1
Inputs
(* (* x 1/2) x)
(* x 1/2)
Outputs
#s(literal 1/2 binary64)
#s(literal 1/2 binary64)

simplify8.0ms (0.2%)

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 (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))
(* 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 (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))
(* 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 125 to 5 computations (96% saved)

prune2.0ms (0%)

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.8%
(*.f64 #s(literal 1/2 binary64) x)
4.3%
#s(literal 1/2 binary64)
Compiler

Compiled 12 to 9 computations (25% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Localize:

Found 1 expressions of interest:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
036
146
046
Stop Event
iter limit
saturated
Calls
Call 1
Inputs
1/2
(* 1/2 x)
1/2
x
Outputs
1/2
#s(literal 1/2 binary64)
(* 1/2 x)
(*.f64 #s(literal 1/2 binary64) x)
1/2
#s(literal 1/2 binary64)
x

localize18.0ms (0.5%)

Localize:

Found 1 expressions of interest:

NewMetricScoreProgram
accuracy100.0%
(*.f64 #s(literal 1/2 binary64) x)
Results
12.0ms256×0valid
Compiler

Compiled 8 to 4 computations (50% saved)

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

series0.0ms (0%)

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)

rewrite9.0ms (0.2%)

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

simplify4.0ms (0.1%)

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)

eval1.0ms (0%)

Compiler

Compiled 43 to 4 computations (90.7% saved)

prune2.0ms (0%)

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.8%
(*.f64 #s(literal 1/2 binary64) x)
4.3%
#s(literal 1/2 binary64)
Compiler

Compiled 22 to 14 computations (36.4% saved)

regimes4.0ms (0.1%)

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:

2.0ms
x
2.0ms
(*.f64 (*.f64 x #s(literal 1/2 binary64)) 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)

regimes60.0ms (1.6%)

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:

60.0ms
x
Results
AccuracySegmentsBranch
6.8%1x
Compiler

Compiled 2 to 1 computations (50% saved)

regimes1.0ms (0%)

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:

1.0ms
x
Results
AccuracySegmentsBranch
4.3%1x
Compiler

Compiled 2 to 1 computations (50% saved)

simplify7.0ms (0.2%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
059
169
Stop Event
saturated
Calls
Call 1
Inputs
(*.f64 (*.f64 x #s(literal 1/2 binary64)) x)
(*.f64 #s(literal 1/2 binary64) x)
#s(literal 1/2 binary64)
Outputs
(*.f64 (*.f64 x #s(literal 1/2 binary64)) x)
(*.f64 x (*.f64 x #s(literal 1/2 binary64)))
(*.f64 #s(literal 1/2 binary64) x)
(*.f64 x #s(literal 1/2 binary64))
#s(literal 1/2 binary64)

soundness3.0s (76.9%)

Rules
2200×pow-lowering-pow.f64
2200×pow-lowering-pow.f32
1432×prod-exp
1304×*-lowering-*.f32
1304×*-lowering-*.f64
Iterations

Useful iterations: 7 (0.0ms)

IterNodesCost
0410
1710
21010
31210
41910
53410
69010
72842
818472
918762
1020062
1132692
085792
Stop Event
done
iter limit
node limit
Compiler

Compiled 10 to 4 computations (60% saved)

preprocess23.0ms (0.6%)

Remove

(abs x)

Compiler

Compiled 68 to 40 computations (41.2% saved)

end0.0ms (0%)

Profiling

Loading profile data...